代码整理,组件窗口移动到项目中,公共库代码新建UserSystem共同静态数据,v1.6.14

This commit is contained in:
dathlin
2017-10-15 16:04:28 +08:00
parent 2a3a0c5f98
commit 5a5aeca134
54 changed files with 2979 additions and 317 deletions

View File

@@ -21,7 +21,7 @@ namespace ClientsLibrary
{
InitializeComponent();
Icon = UserClient.GetFormWindowIcon();
Icon = UserSystem.GetFormWindowIcon();
m_selected = selected;
}
@@ -35,7 +35,7 @@ namespace ClientsLibrary
{
// 初始化
OperateResultString result = UserClient.Net_simplify_client.ReadFromServer(CommonLibrary.CommonHeadCode.SimplifyHeadCode., "");
OperateResultString result = UserClient.Net_simplify_client.ReadFromServer(CommonHeadCode.SimplifyHeadCode., "");
if (result.IsSuccess)
{
List<UserAccount> accounts = JArray.Parse(result.Content).ToObject<List<UserAccount>>();
@@ -68,8 +68,8 @@ namespace ClientsLibrary
// 本地化
UILocalization();
dataGridView1.RowsDefaultCellStyle.SelectionBackColor = dataGridView1.RowsDefaultCellStyle.BackColor;
dataGridView1.RowsDefaultCellStyle.SelectionForeColor = dataGridView1.RowsDefaultCellStyle.ForeColor;
// dataGridView1.RowsDefaultCellStyle.SelectionBackColor = dataGridView1.RowsDefaultCellStyle.BackColor;
// dataGridView1.RowsDefaultCellStyle.SelectionForeColor = dataGridView1.RowsDefaultCellStyle.ForeColor;
}