tao.mo

代码提交

mt
2020年11月18日14:32:22
......@@ -14,7 +14,7 @@
<add key="language" value="zh-CHS" />
<add key="DefaultLanguage" value="zh-CHS" />
<!--Process Name-->
<add key="ProcessesName" value="DMSSSOAgent" />
<add key="ProcessesName" value="DMSSSOAgentDemo" />
<!--Rich Client Directory Path-->
<add key="RCDirPath" value="C:/DMSTemp/" />
<!--Rich Client File Type-->
......
......@@ -90,37 +90,24 @@
//
// conMenuForm
//
this.conMenuForm.AccessibleDescription = null;
this.conMenuForm.AccessibleName = null;
resources.ApplyResources(this.conMenuForm, "conMenuForm");
this.conMenuForm.BackgroundImage = null;
this.conMenuForm.Font = null;
this.conMenuForm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.关闭ToolStripMenuItem});
this.conMenuForm.Name = "conMenuFile";
resources.ApplyResources(this.conMenuForm, "conMenuForm");
//
// 关闭ToolStripMenuItem
//
this.关闭ToolStripMenuItem.AccessibleDescription = null;
this.关闭ToolStripMenuItem.AccessibleName = null;
resources.ApplyResources(this.关闭ToolStripMenuItem, "关闭ToolStripMenuItem");
this.关闭ToolStripMenuItem.BackgroundImage = null;
this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem";
this.关闭ToolStripMenuItem.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.关闭ToolStripMenuItem, "关闭ToolStripMenuItem");
//
// notifyIcon1
//
resources.ApplyResources(this.notifyIcon1, "notifyIcon1");
this.notifyIcon1.ContextMenuStrip = this.conMenuApp;
resources.ApplyResources(this.notifyIcon1, "notifyIcon1");
this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick);
//
// conMenuApp
//
this.conMenuApp.AccessibleDescription = null;
this.conMenuApp.AccessibleName = null;
resources.ApplyResources(this.conMenuApp, "conMenuApp");
this.conMenuApp.BackgroundImage = null;
this.conMenuApp.Font = null;
this.conMenuApp.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.conMenuOpen,
this.conMenuTestCon,
......@@ -134,74 +121,49 @@
this.conRelog,
this.conMenuAppClose});
this.conMenuApp.Name = "conMenuApp";
resources.ApplyResources(this.conMenuApp, "conMenuApp");
//
// conMenuOpen
//
this.conMenuOpen.AccessibleDescription = null;
this.conMenuOpen.AccessibleName = null;
resources.ApplyResources(this.conMenuOpen, "conMenuOpen");
this.conMenuOpen.BackgroundImage = null;
this.conMenuOpen.Name = "conMenuOpen";
this.conMenuOpen.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuOpen, "conMenuOpen");
this.conMenuOpen.Click += new System.EventHandler(this.conMenuOpen_Click);
//
// conMenuTestCon
//
this.conMenuTestCon.AccessibleDescription = null;
this.conMenuTestCon.AccessibleName = null;
resources.ApplyResources(this.conMenuTestCon, "conMenuTestCon");
this.conMenuTestCon.BackgroundImage = null;
this.conMenuTestCon.Name = "conMenuTestCon";
this.conMenuTestCon.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuTestCon, "conMenuTestCon");
this.conMenuTestCon.Click += new System.EventHandler(this.conMenuTestCon_Click);
//
// toolStripSeparator1
//
this.toolStripSeparator1.AccessibleDescription = null;
this.toolStripSeparator1.AccessibleName = null;
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
this.toolStripSeparator1.Name = "toolStripSeparator1";
resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
//
// conMenuUpdate
//
this.conMenuUpdate.AccessibleDescription = null;
this.conMenuUpdate.AccessibleName = null;
resources.ApplyResources(this.conMenuUpdate, "conMenuUpdate");
this.conMenuUpdate.BackgroundImage = null;
this.conMenuUpdate.Name = "conMenuUpdate";
this.conMenuUpdate.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuUpdate, "conMenuUpdate");
this.conMenuUpdate.Click += new System.EventHandler(this.conMenuUpdate_Click);
//
// toolStripSeparator2
//
this.toolStripSeparator2.AccessibleDescription = null;
this.toolStripSeparator2.AccessibleName = null;
resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");
this.toolStripSeparator2.Name = "toolStripSeparator2";
resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");
//
// conMenuChangeUser
//
this.conMenuChangeUser.AccessibleDescription = null;
this.conMenuChangeUser.AccessibleName = null;
resources.ApplyResources(this.conMenuChangeUser, "conMenuChangeUser");
this.conMenuChangeUser.BackgroundImage = null;
this.conMenuChangeUser.Name = "conMenuChangeUser";
this.conMenuChangeUser.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuChangeUser, "conMenuChangeUser");
this.conMenuChangeUser.Click += new System.EventHandler(this.conMenuChangeUser_Click);
//
// toolStripSeparator5
//
this.toolStripSeparator5.AccessibleDescription = null;
this.toolStripSeparator5.AccessibleName = null;
resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5");
this.toolStripSeparator5.Name = "toolStripSeparator5";
resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5");
//
// conMenuSelectLanguage
//
this.conMenuSelectLanguage.AccessibleDescription = null;
this.conMenuSelectLanguage.AccessibleName = null;
resources.ApplyResources(this.conMenuSelectLanguage, "conMenuSelectLanguage");
this.conMenuSelectLanguage.BackgroundImage = null;
this.conMenuSelectLanguage.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.conMenuDefault,
this.toolStripSeparator4,
......@@ -209,80 +171,52 @@
this.conMenuCN,
this.conMenuCNT});
this.conMenuSelectLanguage.Name = "conMenuSelectLanguage";
this.conMenuSelectLanguage.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuSelectLanguage, "conMenuSelectLanguage");
//
// conMenuDefault
//
this.conMenuDefault.AccessibleDescription = null;
this.conMenuDefault.AccessibleName = null;
resources.ApplyResources(this.conMenuDefault, "conMenuDefault");
this.conMenuDefault.BackgroundImage = null;
this.conMenuDefault.Name = "conMenuDefault";
this.conMenuDefault.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuDefault, "conMenuDefault");
this.conMenuDefault.Click += new System.EventHandler(this.conMenuDefault_Click);
//
// toolStripSeparator4
//
this.toolStripSeparator4.AccessibleDescription = null;
this.toolStripSeparator4.AccessibleName = null;
resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4");
this.toolStripSeparator4.Name = "toolStripSeparator4";
resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4");
//
// conMenuEN
//
this.conMenuEN.AccessibleDescription = null;
this.conMenuEN.AccessibleName = null;
resources.ApplyResources(this.conMenuEN, "conMenuEN");
this.conMenuEN.BackgroundImage = null;
this.conMenuEN.Name = "conMenuEN";
this.conMenuEN.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuEN, "conMenuEN");
this.conMenuEN.Click += new System.EventHandler(this.conMenuEN_Click);
//
// conMenuCN
//
this.conMenuCN.AccessibleDescription = null;
this.conMenuCN.AccessibleName = null;
resources.ApplyResources(this.conMenuCN, "conMenuCN");
this.conMenuCN.BackgroundImage = null;
this.conMenuCN.Name = "conMenuCN";
this.conMenuCN.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuCN, "conMenuCN");
this.conMenuCN.Click += new System.EventHandler(this.conMenuCN_Click);
//
// conMenuCNT
//
this.conMenuCNT.AccessibleDescription = null;
this.conMenuCNT.AccessibleName = null;
resources.ApplyResources(this.conMenuCNT, "conMenuCNT");
this.conMenuCNT.BackgroundImage = null;
this.conMenuCNT.Name = "conMenuCNT";
this.conMenuCNT.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuCNT, "conMenuCNT");
this.conMenuCNT.Click += new System.EventHandler(this.conMenuCNT_Click);
//
// toolStripSeparator3
//
this.toolStripSeparator3.AccessibleDescription = null;
this.toolStripSeparator3.AccessibleName = null;
resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3");
this.toolStripSeparator3.Name = "toolStripSeparator3";
resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3");
//
// conRelog
//
this.conRelog.AccessibleDescription = null;
this.conRelog.AccessibleName = null;
resources.ApplyResources(this.conRelog, "conRelog");
this.conRelog.BackgroundImage = null;
this.conRelog.Name = "conRelog";
this.conRelog.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conRelog, "conRelog");
this.conRelog.Click += new System.EventHandler(this.reLogToolStripMenuItem_Click);
//
// conMenuAppClose
//
this.conMenuAppClose.AccessibleDescription = null;
this.conMenuAppClose.AccessibleName = null;
resources.ApplyResources(this.conMenuAppClose, "conMenuAppClose");
this.conMenuAppClose.BackgroundImage = null;
this.conMenuAppClose.Name = "conMenuAppClose";
this.conMenuAppClose.ShortcutKeyDisplayString = null;
resources.ApplyResources(this.conMenuAppClose, "conMenuAppClose");
this.conMenuAppClose.Click += new System.EventHandler(this.conMenuAppClose_Click);
//
// imageList1
......@@ -295,127 +229,87 @@
//
// pnlLeft
//
this.pnlLeft.AccessibleDescription = null;
this.pnlLeft.AccessibleName = null;
resources.ApplyResources(this.pnlLeft, "pnlLeft");
this.pnlLeft.Font = null;
this.pnlLeft.Name = "pnlLeft";
this.pnlLeft.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pnlLeft_MouseMove);
this.pnlLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pnlLeft_MouseDown);
this.pnlLeft.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pnlLeft_MouseMove);
//
// panel1
//
this.panel1.AccessibleDescription = null;
this.panel1.AccessibleName = null;
resources.ApplyResources(this.panel1, "panel1");
this.panel1.BackColor = System.Drawing.Color.White;
this.panel1.BackgroundImage = null;
this.panel1.Controls.Add(this.label1);
this.panel1.Controls.Add(this.llblUserName);
this.panel1.Controls.Add(this.btnClose);
this.panel1.Controls.Add(this.btnMini);
this.panel1.Font = null;
resources.ApplyResources(this.panel1, "panel1");
this.panel1.Name = "panel1";
//
// label1
//
this.label1.AccessibleDescription = null;
this.label1.AccessibleName = null;
resources.ApplyResources(this.label1, "label1");
this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(101)))), ((int)(((byte)(1)))));
this.label1.Name = "label1";
//
// llblUserName
//
this.llblUserName.AccessibleDescription = null;
this.llblUserName.AccessibleName = null;
resources.ApplyResources(this.llblUserName, "llblUserName");
this.llblUserName.Font = null;
this.llblUserName.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
this.llblUserName.Name = "llblUserName";
this.llblUserName.TabStop = true;
//
// btnClose
//
this.btnClose.AccessibleDescription = null;
this.btnClose.AccessibleName = null;
resources.ApplyResources(this.btnClose, "btnClose");
this.btnClose.Font = null;
this.btnClose.Name = "btnClose";
this.btnClose.UseVisualStyleBackColor = true;
this.btnClose.Click += new System.EventHandler(this.btnClose_Click);
//
// btnMini
//
this.btnMini.AccessibleDescription = null;
this.btnMini.AccessibleName = null;
resources.ApplyResources(this.btnMini, "btnMini");
this.btnMini.Font = null;
this.btnMini.Name = "btnMini";
this.btnMini.UseVisualStyleBackColor = true;
this.btnMini.Click += new System.EventHandler(this.btnMini_Click);
//
// panel2
//
this.panel2.AccessibleDescription = null;
this.panel2.AccessibleName = null;
resources.ApplyResources(this.panel2, "panel2");
this.panel2.BackColor = System.Drawing.Color.White;
this.panel2.Font = null;
resources.ApplyResources(this.panel2, "panel2");
this.panel2.Name = "panel2";
//
// panel3
//
this.panel3.AccessibleDescription = null;
this.panel3.AccessibleName = null;
resources.ApplyResources(this.panel3, "panel3");
this.panel3.BackColor = System.Drawing.Color.White;
this.panel3.Font = null;
resources.ApplyResources(this.panel3, "panel3");
this.panel3.Name = "panel3";
//
// panel4
//
this.panel4.AccessibleDescription = null;
this.panel4.AccessibleName = null;
resources.ApplyResources(this.panel4, "panel4");
this.panel4.BackColor = System.Drawing.Color.White;
this.panel4.BackgroundImage = null;
this.panel4.Controls.Add(this.tabSysList);
this.panel4.Font = null;
resources.ApplyResources(this.panel4, "panel4");
this.panel4.Name = "panel4";
//
// tabSysList
//
this.tabSysList.AccessibleDescription = null;
this.tabSysList.AccessibleName = null;
resources.ApplyResources(this.tabSysList, "tabSysList");
this.tabSysList.BackgroundImage = null;
this.tabSysList.Controls.Add(this.tabW);
this.tabSysList.Controls.Add(this.tabRC);
this.tabSysList.Font = null;
resources.ApplyResources(this.tabSysList, "tabSysList");
this.tabSysList.Name = "tabSysList";
this.tabSysList.SelectedIndex = 0;
this.tabSysList.SelectedIndexChanged += new System.EventHandler(this.tabSysList_SelectedIndexChanged);
//
// tabW
//
this.tabW.AccessibleDescription = null;
this.tabW.AccessibleName = null;
resources.ApplyResources(this.tabW, "tabW");
this.tabW.BackgroundImage = null;
this.tabW.Controls.Add(this.dvSysListW);
this.tabW.Font = null;
resources.ApplyResources(this.tabW, "tabW");
this.tabW.Name = "tabW";
this.tabW.UseVisualStyleBackColor = true;
//
// dvSysListW
//
this.dvSysListW.AccessibleDescription = null;
this.dvSysListW.AccessibleName = null;
this.dvSysListW.AllowUserToAddRows = false;
resources.ApplyResources(this.dvSysListW, "dvSysListW");
this.dvSysListW.BackgroundColor = System.Drawing.Color.White;
this.dvSysListW.BackgroundImage = null;
this.dvSysListW.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dvSysListW.ColumnHeadersVisible = false;
this.dvSysListW.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
......@@ -430,7 +324,7 @@
dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dvSysListW.DefaultCellStyle = dataGridViewCellStyle9;
this.dvSysListW.Font = null;
resources.ApplyResources(this.dvSysListW, "dvSysListW");
this.dvSysListW.Name = "dvSysListW";
this.dvSysListW.RowHeadersVisible = false;
this.dvSysListW.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
......@@ -462,23 +356,15 @@
//
// tabRC
//
this.tabRC.AccessibleDescription = null;
this.tabRC.AccessibleName = null;
resources.ApplyResources(this.tabRC, "tabRC");
this.tabRC.BackgroundImage = null;
this.tabRC.Controls.Add(this.dvSysListRC);
this.tabRC.Font = null;
resources.ApplyResources(this.tabRC, "tabRC");
this.tabRC.Name = "tabRC";
this.tabRC.UseVisualStyleBackColor = true;
//
// dvSysListRC
//
this.dvSysListRC.AccessibleDescription = null;
this.dvSysListRC.AccessibleName = null;
this.dvSysListRC.AllowUserToAddRows = false;
resources.ApplyResources(this.dvSysListRC, "dvSysListRC");
this.dvSysListRC.BackgroundColor = System.Drawing.Color.White;
this.dvSysListRC.BackgroundImage = null;
this.dvSysListRC.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dvSysListRC.ColumnHeadersVisible = false;
this.dvSysListRC.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
......@@ -493,7 +379,7 @@
dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
this.dvSysListRC.DefaultCellStyle = dataGridViewCellStyle12;
this.dvSysListRC.Font = null;
resources.ApplyResources(this.dvSysListRC, "dvSysListRC");
this.dvSysListRC.Name = "dvSysListRC";
this.dvSysListRC.RowHeadersVisible = false;
this.dvSysListRC.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0)))));
......@@ -525,19 +411,15 @@
//
// DMSSSOAgent
//
this.AccessibleDescription = null;
this.AccessibleName = null;
resources.ApplyResources(this, "$this");
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.White;
this.BackgroundImage = null;
this.ContextMenuStrip = this.conMenuForm;
this.Controls.Add(this.panel4);
this.Controls.Add(this.panel3);
this.Controls.Add(this.panel2);
this.Controls.Add(this.panel1);
this.Controls.Add(this.pnlLeft);
this.Font = null;
this.Name = "DMSSSOAgent";
this.Load += new System.EventHandler(this.DMSSSOAgent_Load);
this.SizeChanged += new System.EventHandler(this.DMSSSOAgent_SizeChanged);
......
......@@ -140,7 +140,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="App.config" />
<None Include="App.config">
<SubType>Designer</SubType>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
......
This diff could not be displayed because it is too large.
......@@ -152,17 +152,17 @@ namespace DMSSSOAgent
this.Dispose();
}
}
else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "AD_FAILED")
else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "AD_CONNECTION_FALIED")
{
MessageBox.Show("此账号在AD里没有通过验证,请联系Helpdesk");
MessageBox.Show("连接AD服务器错误,请联系Helpdesk");
}
else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "DMS_FAILED")
else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "AD_VALIDATE_FALIED")
{
MessageBox.Show("此帐号无DMS权限,有问题请联系Helpdesk");
MessageBox.Show("请使用正确的TNT Global Link ID和密码登录(同Windows登录),如需帮助,请联系Helpdesk");
}
else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "DMS_PROHIBIT")
else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "VALIDATE_FALIED")
{
MessageBox.Show("此账号在DMS已禁用,有问题请联系Helpdesk ");
MessageBox.Show("此账号无DMS权限,请联系Helpdesk");
}
else
{
......