Commit 8bebd17f authored by 段廷瑞's avatar 段廷瑞

1、APP模块管理:默认连接204FTT

parent d6fe4c49
......@@ -3,7 +3,7 @@
<appSettings>
<add key="LoginInfo" value="wwF/xpBzWek=" />
<add key="LoginVerify" value="v86f5Q3Xa7U=" />
<add key="UpdateTime" value="2021-12-01 16:00:39.650" />
<add key="UpdateTime" value="2021-12-06 17:08:47.432" />
</appSettings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
......
......@@ -108,4 +108,10 @@
<UserId>sa</UserId>
<Pwd>a*1</Pwd>
</links>
<links>
<Link>120.192.78.70,5088</Link>
<DbName>JHD_HY_210911</DbName>
<UserId>sa</UserId>
<Pwd>a*1</Pwd>
</links>
</DocumentElement>
\ No newline at end of file
......@@ -333,6 +333,7 @@
this.Name = "wAppModel";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
this.Text = "APP模块编辑";
this.Load += new System.EventHandler(this.wAppModel_Load);
((System.ComponentModel.ISupportInitialize)(this.dgvAppModel)).EndInit();
this.toolStrip1.ResumeLayout(false);
this.toolStrip1.PerformLayout();
......
......@@ -21,12 +21,19 @@ namespace Tools.UI
/// <summary>
/// 刷新数据时的筛选语句
/// </summary>
private string strWhere;
private string strWhere = "1=1";
public wAppModel()
{
InitializeComponent();
}
private void wAppModel_Load(object sender, EventArgs e)
{
var link = Utils.GetDbLinkString204("FTT");
this.tstbLinkString.Text = Utils.GetDbItemModel(link).ToString();
this.InitDBHelper(link);
this.InitData();
}
public override void InitData()
{
......@@ -107,5 +114,6 @@ namespace Tools.UI
tabControl1.SelectedTab = tabSql;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment