Showing
5 changed files
with
40 additions
and
156 deletions
| ... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
| 14 | <add key="language" value="zh-CHS" /> | 14 | <add key="language" value="zh-CHS" /> |
| 15 | <add key="DefaultLanguage" value="zh-CHS" /> | 15 | <add key="DefaultLanguage" value="zh-CHS" /> |
| 16 | <!--Process Name--> | 16 | <!--Process Name--> |
| 17 | - <add key="ProcessesName" value="DMSSSOAgent" /> | 17 | + <add key="ProcessesName" value="DMSSSOAgentDemo" /> |
| 18 | <!--Rich Client Directory Path--> | 18 | <!--Rich Client Directory Path--> |
| 19 | <add key="RCDirPath" value="C:/DMSTemp/" /> | 19 | <add key="RCDirPath" value="C:/DMSTemp/" /> |
| 20 | <!--Rich Client File Type--> | 20 | <!--Rich Client File Type--> | ... | ... |
| ... | @@ -90,37 +90,24 @@ | ... | @@ -90,37 +90,24 @@ |
| 90 | // | 90 | // |
| 91 | // conMenuForm | 91 | // conMenuForm |
| 92 | // | 92 | // |
| 93 | - this.conMenuForm.AccessibleDescription = null; | ||
| 94 | - this.conMenuForm.AccessibleName = null; | ||
| 95 | - resources.ApplyResources(this.conMenuForm, "conMenuForm"); | ||
| 96 | - this.conMenuForm.BackgroundImage = null; | ||
| 97 | - this.conMenuForm.Font = null; | ||
| 98 | this.conMenuForm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | 93 | this.conMenuForm.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| 99 | this.关闭ToolStripMenuItem}); | 94 | this.关闭ToolStripMenuItem}); |
| 100 | this.conMenuForm.Name = "conMenuFile"; | 95 | this.conMenuForm.Name = "conMenuFile"; |
| 96 | + resources.ApplyResources(this.conMenuForm, "conMenuForm"); | ||
| 101 | // | 97 | // |
| 102 | // 关闭ToolStripMenuItem | 98 | // 关闭ToolStripMenuItem |
| 103 | // | 99 | // |
| 104 | - this.关闭ToolStripMenuItem.AccessibleDescription = null; | ||
| 105 | - this.关闭ToolStripMenuItem.AccessibleName = null; | ||
| 106 | - resources.ApplyResources(this.关闭ToolStripMenuItem, "关闭ToolStripMenuItem"); | ||
| 107 | - this.关闭ToolStripMenuItem.BackgroundImage = null; | ||
| 108 | this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem"; | 100 | this.关闭ToolStripMenuItem.Name = "关闭ToolStripMenuItem"; |
| 109 | - this.关闭ToolStripMenuItem.ShortcutKeyDisplayString = null; | 101 | + resources.ApplyResources(this.关闭ToolStripMenuItem, "关闭ToolStripMenuItem"); |
| 110 | // | 102 | // |
| 111 | // notifyIcon1 | 103 | // notifyIcon1 |
| 112 | // | 104 | // |
| 113 | - resources.ApplyResources(this.notifyIcon1, "notifyIcon1"); | ||
| 114 | this.notifyIcon1.ContextMenuStrip = this.conMenuApp; | 105 | this.notifyIcon1.ContextMenuStrip = this.conMenuApp; |
| 106 | + resources.ApplyResources(this.notifyIcon1, "notifyIcon1"); | ||
| 115 | this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick); | 107 | this.notifyIcon1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.notifyIcon1_MouseDoubleClick); |
| 116 | // | 108 | // |
| 117 | // conMenuApp | 109 | // conMenuApp |
| 118 | // | 110 | // |
| 119 | - this.conMenuApp.AccessibleDescription = null; | ||
| 120 | - this.conMenuApp.AccessibleName = null; | ||
| 121 | - resources.ApplyResources(this.conMenuApp, "conMenuApp"); | ||
| 122 | - this.conMenuApp.BackgroundImage = null; | ||
| 123 | - this.conMenuApp.Font = null; | ||
| 124 | this.conMenuApp.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { | 111 | this.conMenuApp.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| 125 | this.conMenuOpen, | 112 | this.conMenuOpen, |
| 126 | this.conMenuTestCon, | 113 | this.conMenuTestCon, |
| ... | @@ -134,74 +121,49 @@ | ... | @@ -134,74 +121,49 @@ |
| 134 | this.conRelog, | 121 | this.conRelog, |
| 135 | this.conMenuAppClose}); | 122 | this.conMenuAppClose}); |
| 136 | this.conMenuApp.Name = "conMenuApp"; | 123 | this.conMenuApp.Name = "conMenuApp"; |
| 124 | + resources.ApplyResources(this.conMenuApp, "conMenuApp"); | ||
| 137 | // | 125 | // |
| 138 | // conMenuOpen | 126 | // conMenuOpen |
| 139 | // | 127 | // |
| 140 | - this.conMenuOpen.AccessibleDescription = null; | ||
| 141 | - this.conMenuOpen.AccessibleName = null; | ||
| 142 | - resources.ApplyResources(this.conMenuOpen, "conMenuOpen"); | ||
| 143 | - this.conMenuOpen.BackgroundImage = null; | ||
| 144 | this.conMenuOpen.Name = "conMenuOpen"; | 128 | this.conMenuOpen.Name = "conMenuOpen"; |
| 145 | - this.conMenuOpen.ShortcutKeyDisplayString = null; | 129 | + resources.ApplyResources(this.conMenuOpen, "conMenuOpen"); |
| 146 | this.conMenuOpen.Click += new System.EventHandler(this.conMenuOpen_Click); | 130 | this.conMenuOpen.Click += new System.EventHandler(this.conMenuOpen_Click); |
| 147 | // | 131 | // |
| 148 | // conMenuTestCon | 132 | // conMenuTestCon |
| 149 | // | 133 | // |
| 150 | - this.conMenuTestCon.AccessibleDescription = null; | ||
| 151 | - this.conMenuTestCon.AccessibleName = null; | ||
| 152 | - resources.ApplyResources(this.conMenuTestCon, "conMenuTestCon"); | ||
| 153 | - this.conMenuTestCon.BackgroundImage = null; | ||
| 154 | this.conMenuTestCon.Name = "conMenuTestCon"; | 134 | this.conMenuTestCon.Name = "conMenuTestCon"; |
| 155 | - this.conMenuTestCon.ShortcutKeyDisplayString = null; | 135 | + resources.ApplyResources(this.conMenuTestCon, "conMenuTestCon"); |
| 156 | this.conMenuTestCon.Click += new System.EventHandler(this.conMenuTestCon_Click); | 136 | this.conMenuTestCon.Click += new System.EventHandler(this.conMenuTestCon_Click); |
| 157 | // | 137 | // |
| 158 | // toolStripSeparator1 | 138 | // toolStripSeparator1 |
| 159 | // | 139 | // |
| 160 | - this.toolStripSeparator1.AccessibleDescription = null; | ||
| 161 | - this.toolStripSeparator1.AccessibleName = null; | ||
| 162 | - resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1"); | ||
| 163 | this.toolStripSeparator1.Name = "toolStripSeparator1"; | 140 | this.toolStripSeparator1.Name = "toolStripSeparator1"; |
| 141 | + resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1"); | ||
| 164 | // | 142 | // |
| 165 | // conMenuUpdate | 143 | // conMenuUpdate |
| 166 | // | 144 | // |
| 167 | - this.conMenuUpdate.AccessibleDescription = null; | ||
| 168 | - this.conMenuUpdate.AccessibleName = null; | ||
| 169 | - resources.ApplyResources(this.conMenuUpdate, "conMenuUpdate"); | ||
| 170 | - this.conMenuUpdate.BackgroundImage = null; | ||
| 171 | this.conMenuUpdate.Name = "conMenuUpdate"; | 145 | this.conMenuUpdate.Name = "conMenuUpdate"; |
| 172 | - this.conMenuUpdate.ShortcutKeyDisplayString = null; | 146 | + resources.ApplyResources(this.conMenuUpdate, "conMenuUpdate"); |
| 173 | this.conMenuUpdate.Click += new System.EventHandler(this.conMenuUpdate_Click); | 147 | this.conMenuUpdate.Click += new System.EventHandler(this.conMenuUpdate_Click); |
| 174 | // | 148 | // |
| 175 | // toolStripSeparator2 | 149 | // toolStripSeparator2 |
| 176 | // | 150 | // |
| 177 | - this.toolStripSeparator2.AccessibleDescription = null; | ||
| 178 | - this.toolStripSeparator2.AccessibleName = null; | ||
| 179 | - resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2"); | ||
| 180 | this.toolStripSeparator2.Name = "toolStripSeparator2"; | 151 | this.toolStripSeparator2.Name = "toolStripSeparator2"; |
| 152 | + resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2"); | ||
| 181 | // | 153 | // |
| 182 | // conMenuChangeUser | 154 | // conMenuChangeUser |
| 183 | // | 155 | // |
| 184 | - this.conMenuChangeUser.AccessibleDescription = null; | ||
| 185 | - this.conMenuChangeUser.AccessibleName = null; | ||
| 186 | - resources.ApplyResources(this.conMenuChangeUser, "conMenuChangeUser"); | ||
| 187 | - this.conMenuChangeUser.BackgroundImage = null; | ||
| 188 | this.conMenuChangeUser.Name = "conMenuChangeUser"; | 156 | this.conMenuChangeUser.Name = "conMenuChangeUser"; |
| 189 | - this.conMenuChangeUser.ShortcutKeyDisplayString = null; | 157 | + resources.ApplyResources(this.conMenuChangeUser, "conMenuChangeUser"); |
| 190 | this.conMenuChangeUser.Click += new System.EventHandler(this.conMenuChangeUser_Click); | 158 | this.conMenuChangeUser.Click += new System.EventHandler(this.conMenuChangeUser_Click); |
| 191 | // | 159 | // |
| 192 | // toolStripSeparator5 | 160 | // toolStripSeparator5 |
| 193 | // | 161 | // |
| 194 | - this.toolStripSeparator5.AccessibleDescription = null; | ||
| 195 | - this.toolStripSeparator5.AccessibleName = null; | ||
| 196 | - resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5"); | ||
| 197 | this.toolStripSeparator5.Name = "toolStripSeparator5"; | 162 | this.toolStripSeparator5.Name = "toolStripSeparator5"; |
| 163 | + resources.ApplyResources(this.toolStripSeparator5, "toolStripSeparator5"); | ||
| 198 | // | 164 | // |
| 199 | // conMenuSelectLanguage | 165 | // conMenuSelectLanguage |
| 200 | // | 166 | // |
| 201 | - this.conMenuSelectLanguage.AccessibleDescription = null; | ||
| 202 | - this.conMenuSelectLanguage.AccessibleName = null; | ||
| 203 | - resources.ApplyResources(this.conMenuSelectLanguage, "conMenuSelectLanguage"); | ||
| 204 | - this.conMenuSelectLanguage.BackgroundImage = null; | ||
| 205 | this.conMenuSelectLanguage.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { | 167 | this.conMenuSelectLanguage.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { |
| 206 | this.conMenuDefault, | 168 | this.conMenuDefault, |
| 207 | this.toolStripSeparator4, | 169 | this.toolStripSeparator4, |
| ... | @@ -209,80 +171,52 @@ | ... | @@ -209,80 +171,52 @@ |
| 209 | this.conMenuCN, | 171 | this.conMenuCN, |
| 210 | this.conMenuCNT}); | 172 | this.conMenuCNT}); |
| 211 | this.conMenuSelectLanguage.Name = "conMenuSelectLanguage"; | 173 | this.conMenuSelectLanguage.Name = "conMenuSelectLanguage"; |
| 212 | - this.conMenuSelectLanguage.ShortcutKeyDisplayString = null; | 174 | + resources.ApplyResources(this.conMenuSelectLanguage, "conMenuSelectLanguage"); |
| 213 | // | 175 | // |
| 214 | // conMenuDefault | 176 | // conMenuDefault |
| 215 | // | 177 | // |
| 216 | - this.conMenuDefault.AccessibleDescription = null; | ||
| 217 | - this.conMenuDefault.AccessibleName = null; | ||
| 218 | - resources.ApplyResources(this.conMenuDefault, "conMenuDefault"); | ||
| 219 | - this.conMenuDefault.BackgroundImage = null; | ||
| 220 | this.conMenuDefault.Name = "conMenuDefault"; | 178 | this.conMenuDefault.Name = "conMenuDefault"; |
| 221 | - this.conMenuDefault.ShortcutKeyDisplayString = null; | 179 | + resources.ApplyResources(this.conMenuDefault, "conMenuDefault"); |
| 222 | this.conMenuDefault.Click += new System.EventHandler(this.conMenuDefault_Click); | 180 | this.conMenuDefault.Click += new System.EventHandler(this.conMenuDefault_Click); |
| 223 | // | 181 | // |
| 224 | // toolStripSeparator4 | 182 | // toolStripSeparator4 |
| 225 | // | 183 | // |
| 226 | - this.toolStripSeparator4.AccessibleDescription = null; | ||
| 227 | - this.toolStripSeparator4.AccessibleName = null; | ||
| 228 | - resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4"); | ||
| 229 | this.toolStripSeparator4.Name = "toolStripSeparator4"; | 184 | this.toolStripSeparator4.Name = "toolStripSeparator4"; |
| 185 | + resources.ApplyResources(this.toolStripSeparator4, "toolStripSeparator4"); | ||
| 230 | // | 186 | // |
| 231 | // conMenuEN | 187 | // conMenuEN |
| 232 | // | 188 | // |
| 233 | - this.conMenuEN.AccessibleDescription = null; | ||
| 234 | - this.conMenuEN.AccessibleName = null; | ||
| 235 | - resources.ApplyResources(this.conMenuEN, "conMenuEN"); | ||
| 236 | - this.conMenuEN.BackgroundImage = null; | ||
| 237 | this.conMenuEN.Name = "conMenuEN"; | 189 | this.conMenuEN.Name = "conMenuEN"; |
| 238 | - this.conMenuEN.ShortcutKeyDisplayString = null; | 190 | + resources.ApplyResources(this.conMenuEN, "conMenuEN"); |
| 239 | this.conMenuEN.Click += new System.EventHandler(this.conMenuEN_Click); | 191 | this.conMenuEN.Click += new System.EventHandler(this.conMenuEN_Click); |
| 240 | // | 192 | // |
| 241 | // conMenuCN | 193 | // conMenuCN |
| 242 | // | 194 | // |
| 243 | - this.conMenuCN.AccessibleDescription = null; | ||
| 244 | - this.conMenuCN.AccessibleName = null; | ||
| 245 | - resources.ApplyResources(this.conMenuCN, "conMenuCN"); | ||
| 246 | - this.conMenuCN.BackgroundImage = null; | ||
| 247 | this.conMenuCN.Name = "conMenuCN"; | 195 | this.conMenuCN.Name = "conMenuCN"; |
| 248 | - this.conMenuCN.ShortcutKeyDisplayString = null; | 196 | + resources.ApplyResources(this.conMenuCN, "conMenuCN"); |
| 249 | this.conMenuCN.Click += new System.EventHandler(this.conMenuCN_Click); | 197 | this.conMenuCN.Click += new System.EventHandler(this.conMenuCN_Click); |
| 250 | // | 198 | // |
| 251 | // conMenuCNT | 199 | // conMenuCNT |
| 252 | // | 200 | // |
| 253 | - this.conMenuCNT.AccessibleDescription = null; | ||
| 254 | - this.conMenuCNT.AccessibleName = null; | ||
| 255 | - resources.ApplyResources(this.conMenuCNT, "conMenuCNT"); | ||
| 256 | - this.conMenuCNT.BackgroundImage = null; | ||
| 257 | this.conMenuCNT.Name = "conMenuCNT"; | 201 | this.conMenuCNT.Name = "conMenuCNT"; |
| 258 | - this.conMenuCNT.ShortcutKeyDisplayString = null; | 202 | + resources.ApplyResources(this.conMenuCNT, "conMenuCNT"); |
| 259 | this.conMenuCNT.Click += new System.EventHandler(this.conMenuCNT_Click); | 203 | this.conMenuCNT.Click += new System.EventHandler(this.conMenuCNT_Click); |
| 260 | // | 204 | // |
| 261 | // toolStripSeparator3 | 205 | // toolStripSeparator3 |
| 262 | // | 206 | // |
| 263 | - this.toolStripSeparator3.AccessibleDescription = null; | ||
| 264 | - this.toolStripSeparator3.AccessibleName = null; | ||
| 265 | - resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3"); | ||
| 266 | this.toolStripSeparator3.Name = "toolStripSeparator3"; | 207 | this.toolStripSeparator3.Name = "toolStripSeparator3"; |
| 208 | + resources.ApplyResources(this.toolStripSeparator3, "toolStripSeparator3"); | ||
| 267 | // | 209 | // |
| 268 | // conRelog | 210 | // conRelog |
| 269 | // | 211 | // |
| 270 | - this.conRelog.AccessibleDescription = null; | ||
| 271 | - this.conRelog.AccessibleName = null; | ||
| 272 | - resources.ApplyResources(this.conRelog, "conRelog"); | ||
| 273 | - this.conRelog.BackgroundImage = null; | ||
| 274 | this.conRelog.Name = "conRelog"; | 212 | this.conRelog.Name = "conRelog"; |
| 275 | - this.conRelog.ShortcutKeyDisplayString = null; | 213 | + resources.ApplyResources(this.conRelog, "conRelog"); |
| 276 | this.conRelog.Click += new System.EventHandler(this.reLogToolStripMenuItem_Click); | 214 | this.conRelog.Click += new System.EventHandler(this.reLogToolStripMenuItem_Click); |
| 277 | // | 215 | // |
| 278 | // conMenuAppClose | 216 | // conMenuAppClose |
| 279 | // | 217 | // |
| 280 | - this.conMenuAppClose.AccessibleDescription = null; | ||
| 281 | - this.conMenuAppClose.AccessibleName = null; | ||
| 282 | - resources.ApplyResources(this.conMenuAppClose, "conMenuAppClose"); | ||
| 283 | - this.conMenuAppClose.BackgroundImage = null; | ||
| 284 | this.conMenuAppClose.Name = "conMenuAppClose"; | 218 | this.conMenuAppClose.Name = "conMenuAppClose"; |
| 285 | - this.conMenuAppClose.ShortcutKeyDisplayString = null; | 219 | + resources.ApplyResources(this.conMenuAppClose, "conMenuAppClose"); |
| 286 | this.conMenuAppClose.Click += new System.EventHandler(this.conMenuAppClose_Click); | 220 | this.conMenuAppClose.Click += new System.EventHandler(this.conMenuAppClose_Click); |
| 287 | // | 221 | // |
| 288 | // imageList1 | 222 | // imageList1 |
| ... | @@ -295,127 +229,87 @@ | ... | @@ -295,127 +229,87 @@ |
| 295 | // | 229 | // |
| 296 | // pnlLeft | 230 | // pnlLeft |
| 297 | // | 231 | // |
| 298 | - this.pnlLeft.AccessibleDescription = null; | ||
| 299 | - this.pnlLeft.AccessibleName = null; | ||
| 300 | resources.ApplyResources(this.pnlLeft, "pnlLeft"); | 232 | resources.ApplyResources(this.pnlLeft, "pnlLeft"); |
| 301 | - this.pnlLeft.Font = null; | ||
| 302 | this.pnlLeft.Name = "pnlLeft"; | 233 | this.pnlLeft.Name = "pnlLeft"; |
| 303 | - this.pnlLeft.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pnlLeft_MouseMove); | ||
| 304 | this.pnlLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pnlLeft_MouseDown); | 234 | this.pnlLeft.MouseDown += new System.Windows.Forms.MouseEventHandler(this.pnlLeft_MouseDown); |
| 235 | + this.pnlLeft.MouseMove += new System.Windows.Forms.MouseEventHandler(this.pnlLeft_MouseMove); | ||
| 305 | // | 236 | // |
| 306 | // panel1 | 237 | // panel1 |
| 307 | // | 238 | // |
| 308 | - this.panel1.AccessibleDescription = null; | ||
| 309 | - this.panel1.AccessibleName = null; | ||
| 310 | - resources.ApplyResources(this.panel1, "panel1"); | ||
| 311 | this.panel1.BackColor = System.Drawing.Color.White; | 239 | this.panel1.BackColor = System.Drawing.Color.White; |
| 312 | - this.panel1.BackgroundImage = null; | ||
| 313 | this.panel1.Controls.Add(this.label1); | 240 | this.panel1.Controls.Add(this.label1); |
| 314 | this.panel1.Controls.Add(this.llblUserName); | 241 | this.panel1.Controls.Add(this.llblUserName); |
| 315 | this.panel1.Controls.Add(this.btnClose); | 242 | this.panel1.Controls.Add(this.btnClose); |
| 316 | this.panel1.Controls.Add(this.btnMini); | 243 | this.panel1.Controls.Add(this.btnMini); |
| 317 | - this.panel1.Font = null; | 244 | + resources.ApplyResources(this.panel1, "panel1"); |
| 318 | this.panel1.Name = "panel1"; | 245 | this.panel1.Name = "panel1"; |
| 319 | // | 246 | // |
| 320 | // label1 | 247 | // label1 |
| 321 | // | 248 | // |
| 322 | - this.label1.AccessibleDescription = null; | ||
| 323 | - this.label1.AccessibleName = null; | ||
| 324 | resources.ApplyResources(this.label1, "label1"); | 249 | resources.ApplyResources(this.label1, "label1"); |
| 325 | this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(101)))), ((int)(((byte)(1))))); | 250 | this.label1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(101)))), ((int)(((byte)(1))))); |
| 326 | this.label1.Name = "label1"; | 251 | this.label1.Name = "label1"; |
| 327 | // | 252 | // |
| 328 | // llblUserName | 253 | // llblUserName |
| 329 | // | 254 | // |
| 330 | - this.llblUserName.AccessibleDescription = null; | ||
| 331 | - this.llblUserName.AccessibleName = null; | ||
| 332 | resources.ApplyResources(this.llblUserName, "llblUserName"); | 255 | resources.ApplyResources(this.llblUserName, "llblUserName"); |
| 333 | - this.llblUserName.Font = null; | ||
| 334 | this.llblUserName.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); | 256 | this.llblUserName.LinkColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); |
| 335 | this.llblUserName.Name = "llblUserName"; | 257 | this.llblUserName.Name = "llblUserName"; |
| 336 | this.llblUserName.TabStop = true; | 258 | this.llblUserName.TabStop = true; |
| 337 | // | 259 | // |
| 338 | // btnClose | 260 | // btnClose |
| 339 | // | 261 | // |
| 340 | - this.btnClose.AccessibleDescription = null; | ||
| 341 | - this.btnClose.AccessibleName = null; | ||
| 342 | resources.ApplyResources(this.btnClose, "btnClose"); | 262 | resources.ApplyResources(this.btnClose, "btnClose"); |
| 343 | - this.btnClose.Font = null; | ||
| 344 | this.btnClose.Name = "btnClose"; | 263 | this.btnClose.Name = "btnClose"; |
| 345 | this.btnClose.UseVisualStyleBackColor = true; | 264 | this.btnClose.UseVisualStyleBackColor = true; |
| 346 | this.btnClose.Click += new System.EventHandler(this.btnClose_Click); | 265 | this.btnClose.Click += new System.EventHandler(this.btnClose_Click); |
| 347 | // | 266 | // |
| 348 | // btnMini | 267 | // btnMini |
| 349 | // | 268 | // |
| 350 | - this.btnMini.AccessibleDescription = null; | ||
| 351 | - this.btnMini.AccessibleName = null; | ||
| 352 | resources.ApplyResources(this.btnMini, "btnMini"); | 269 | resources.ApplyResources(this.btnMini, "btnMini"); |
| 353 | - this.btnMini.Font = null; | ||
| 354 | this.btnMini.Name = "btnMini"; | 270 | this.btnMini.Name = "btnMini"; |
| 355 | this.btnMini.UseVisualStyleBackColor = true; | 271 | this.btnMini.UseVisualStyleBackColor = true; |
| 356 | this.btnMini.Click += new System.EventHandler(this.btnMini_Click); | 272 | this.btnMini.Click += new System.EventHandler(this.btnMini_Click); |
| 357 | // | 273 | // |
| 358 | // panel2 | 274 | // panel2 |
| 359 | // | 275 | // |
| 360 | - this.panel2.AccessibleDescription = null; | ||
| 361 | - this.panel2.AccessibleName = null; | ||
| 362 | - resources.ApplyResources(this.panel2, "panel2"); | ||
| 363 | this.panel2.BackColor = System.Drawing.Color.White; | 276 | this.panel2.BackColor = System.Drawing.Color.White; |
| 364 | - this.panel2.Font = null; | 277 | + resources.ApplyResources(this.panel2, "panel2"); |
| 365 | this.panel2.Name = "panel2"; | 278 | this.panel2.Name = "panel2"; |
| 366 | // | 279 | // |
| 367 | // panel3 | 280 | // panel3 |
| 368 | // | 281 | // |
| 369 | - this.panel3.AccessibleDescription = null; | ||
| 370 | - this.panel3.AccessibleName = null; | ||
| 371 | - resources.ApplyResources(this.panel3, "panel3"); | ||
| 372 | this.panel3.BackColor = System.Drawing.Color.White; | 282 | this.panel3.BackColor = System.Drawing.Color.White; |
| 373 | - this.panel3.Font = null; | 283 | + resources.ApplyResources(this.panel3, "panel3"); |
| 374 | this.panel3.Name = "panel3"; | 284 | this.panel3.Name = "panel3"; |
| 375 | // | 285 | // |
| 376 | // panel4 | 286 | // panel4 |
| 377 | // | 287 | // |
| 378 | - this.panel4.AccessibleDescription = null; | ||
| 379 | - this.panel4.AccessibleName = null; | ||
| 380 | - resources.ApplyResources(this.panel4, "panel4"); | ||
| 381 | this.panel4.BackColor = System.Drawing.Color.White; | 288 | this.panel4.BackColor = System.Drawing.Color.White; |
| 382 | - this.panel4.BackgroundImage = null; | ||
| 383 | this.panel4.Controls.Add(this.tabSysList); | 289 | this.panel4.Controls.Add(this.tabSysList); |
| 384 | - this.panel4.Font = null; | 290 | + resources.ApplyResources(this.panel4, "panel4"); |
| 385 | this.panel4.Name = "panel4"; | 291 | this.panel4.Name = "panel4"; |
| 386 | // | 292 | // |
| 387 | // tabSysList | 293 | // tabSysList |
| 388 | // | 294 | // |
| 389 | - this.tabSysList.AccessibleDescription = null; | ||
| 390 | - this.tabSysList.AccessibleName = null; | ||
| 391 | - resources.ApplyResources(this.tabSysList, "tabSysList"); | ||
| 392 | - this.tabSysList.BackgroundImage = null; | ||
| 393 | this.tabSysList.Controls.Add(this.tabW); | 295 | this.tabSysList.Controls.Add(this.tabW); |
| 394 | this.tabSysList.Controls.Add(this.tabRC); | 296 | this.tabSysList.Controls.Add(this.tabRC); |
| 395 | - this.tabSysList.Font = null; | 297 | + resources.ApplyResources(this.tabSysList, "tabSysList"); |
| 396 | this.tabSysList.Name = "tabSysList"; | 298 | this.tabSysList.Name = "tabSysList"; |
| 397 | this.tabSysList.SelectedIndex = 0; | 299 | this.tabSysList.SelectedIndex = 0; |
| 398 | this.tabSysList.SelectedIndexChanged += new System.EventHandler(this.tabSysList_SelectedIndexChanged); | 300 | this.tabSysList.SelectedIndexChanged += new System.EventHandler(this.tabSysList_SelectedIndexChanged); |
| 399 | // | 301 | // |
| 400 | // tabW | 302 | // tabW |
| 401 | // | 303 | // |
| 402 | - this.tabW.AccessibleDescription = null; | ||
| 403 | - this.tabW.AccessibleName = null; | ||
| 404 | - resources.ApplyResources(this.tabW, "tabW"); | ||
| 405 | - this.tabW.BackgroundImage = null; | ||
| 406 | this.tabW.Controls.Add(this.dvSysListW); | 304 | this.tabW.Controls.Add(this.dvSysListW); |
| 407 | - this.tabW.Font = null; | 305 | + resources.ApplyResources(this.tabW, "tabW"); |
| 408 | this.tabW.Name = "tabW"; | 306 | this.tabW.Name = "tabW"; |
| 409 | this.tabW.UseVisualStyleBackColor = true; | 307 | this.tabW.UseVisualStyleBackColor = true; |
| 410 | // | 308 | // |
| 411 | // dvSysListW | 309 | // dvSysListW |
| 412 | // | 310 | // |
| 413 | - this.dvSysListW.AccessibleDescription = null; | ||
| 414 | - this.dvSysListW.AccessibleName = null; | ||
| 415 | this.dvSysListW.AllowUserToAddRows = false; | 311 | this.dvSysListW.AllowUserToAddRows = false; |
| 416 | - resources.ApplyResources(this.dvSysListW, "dvSysListW"); | ||
| 417 | this.dvSysListW.BackgroundColor = System.Drawing.Color.White; | 312 | this.dvSysListW.BackgroundColor = System.Drawing.Color.White; |
| 418 | - this.dvSysListW.BackgroundImage = null; | ||
| 419 | this.dvSysListW.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | 313 | this.dvSysListW.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| 420 | this.dvSysListW.ColumnHeadersVisible = false; | 314 | this.dvSysListW.ColumnHeadersVisible = false; |
| 421 | this.dvSysListW.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | 315 | this.dvSysListW.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
| ... | @@ -430,7 +324,7 @@ | ... | @@ -430,7 +324,7 @@ |
| 430 | dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | 324 | dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| 431 | dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | 325 | dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| 432 | this.dvSysListW.DefaultCellStyle = dataGridViewCellStyle9; | 326 | this.dvSysListW.DefaultCellStyle = dataGridViewCellStyle9; |
| 433 | - this.dvSysListW.Font = null; | 327 | + resources.ApplyResources(this.dvSysListW, "dvSysListW"); |
| 434 | this.dvSysListW.Name = "dvSysListW"; | 328 | this.dvSysListW.Name = "dvSysListW"; |
| 435 | this.dvSysListW.RowHeadersVisible = false; | 329 | this.dvSysListW.RowHeadersVisible = false; |
| 436 | this.dvSysListW.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); | 330 | this.dvSysListW.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); |
| ... | @@ -462,23 +356,15 @@ | ... | @@ -462,23 +356,15 @@ |
| 462 | // | 356 | // |
| 463 | // tabRC | 357 | // tabRC |
| 464 | // | 358 | // |
| 465 | - this.tabRC.AccessibleDescription = null; | ||
| 466 | - this.tabRC.AccessibleName = null; | ||
| 467 | - resources.ApplyResources(this.tabRC, "tabRC"); | ||
| 468 | - this.tabRC.BackgroundImage = null; | ||
| 469 | this.tabRC.Controls.Add(this.dvSysListRC); | 359 | this.tabRC.Controls.Add(this.dvSysListRC); |
| 470 | - this.tabRC.Font = null; | 360 | + resources.ApplyResources(this.tabRC, "tabRC"); |
| 471 | this.tabRC.Name = "tabRC"; | 361 | this.tabRC.Name = "tabRC"; |
| 472 | this.tabRC.UseVisualStyleBackColor = true; | 362 | this.tabRC.UseVisualStyleBackColor = true; |
| 473 | // | 363 | // |
| 474 | // dvSysListRC | 364 | // dvSysListRC |
| 475 | // | 365 | // |
| 476 | - this.dvSysListRC.AccessibleDescription = null; | ||
| 477 | - this.dvSysListRC.AccessibleName = null; | ||
| 478 | this.dvSysListRC.AllowUserToAddRows = false; | 366 | this.dvSysListRC.AllowUserToAddRows = false; |
| 479 | - resources.ApplyResources(this.dvSysListRC, "dvSysListRC"); | ||
| 480 | this.dvSysListRC.BackgroundColor = System.Drawing.Color.White; | 367 | this.dvSysListRC.BackgroundColor = System.Drawing.Color.White; |
| 481 | - this.dvSysListRC.BackgroundImage = null; | ||
| 482 | this.dvSysListRC.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; | 368 | this.dvSysListRC.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; |
| 483 | this.dvSysListRC.ColumnHeadersVisible = false; | 369 | this.dvSysListRC.ColumnHeadersVisible = false; |
| 484 | this.dvSysListRC.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { | 370 | this.dvSysListRC.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { |
| ... | @@ -493,7 +379,7 @@ | ... | @@ -493,7 +379,7 @@ |
| 493 | dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; | 379 | dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; |
| 494 | dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | 380 | dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |
| 495 | this.dvSysListRC.DefaultCellStyle = dataGridViewCellStyle12; | 381 | this.dvSysListRC.DefaultCellStyle = dataGridViewCellStyle12; |
| 496 | - this.dvSysListRC.Font = null; | 382 | + resources.ApplyResources(this.dvSysListRC, "dvSysListRC"); |
| 497 | this.dvSysListRC.Name = "dvSysListRC"; | 383 | this.dvSysListRC.Name = "dvSysListRC"; |
| 498 | this.dvSysListRC.RowHeadersVisible = false; | 384 | this.dvSysListRC.RowHeadersVisible = false; |
| 499 | this.dvSysListRC.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); | 385 | this.dvSysListRC.RowTemplate.DefaultCellStyle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); |
| ... | @@ -525,19 +411,15 @@ | ... | @@ -525,19 +411,15 @@ |
| 525 | // | 411 | // |
| 526 | // DMSSSOAgent | 412 | // DMSSSOAgent |
| 527 | // | 413 | // |
| 528 | - this.AccessibleDescription = null; | ||
| 529 | - this.AccessibleName = null; | ||
| 530 | resources.ApplyResources(this, "$this"); | 414 | resources.ApplyResources(this, "$this"); |
| 531 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; | 415 | this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; |
| 532 | this.BackColor = System.Drawing.Color.White; | 416 | this.BackColor = System.Drawing.Color.White; |
| 533 | - this.BackgroundImage = null; | ||
| 534 | this.ContextMenuStrip = this.conMenuForm; | 417 | this.ContextMenuStrip = this.conMenuForm; |
| 535 | this.Controls.Add(this.panel4); | 418 | this.Controls.Add(this.panel4); |
| 536 | this.Controls.Add(this.panel3); | 419 | this.Controls.Add(this.panel3); |
| 537 | this.Controls.Add(this.panel2); | 420 | this.Controls.Add(this.panel2); |
| 538 | this.Controls.Add(this.panel1); | 421 | this.Controls.Add(this.panel1); |
| 539 | this.Controls.Add(this.pnlLeft); | 422 | this.Controls.Add(this.pnlLeft); |
| 540 | - this.Font = null; | ||
| 541 | this.Name = "DMSSSOAgent"; | 423 | this.Name = "DMSSSOAgent"; |
| 542 | this.Load += new System.EventHandler(this.DMSSSOAgent_Load); | 424 | this.Load += new System.EventHandler(this.DMSSSOAgent_Load); |
| 543 | this.SizeChanged += new System.EventHandler(this.DMSSSOAgent_SizeChanged); | 425 | this.SizeChanged += new System.EventHandler(this.DMSSSOAgent_SizeChanged); | ... | ... |
| ... | @@ -140,7 +140,9 @@ | ... | @@ -140,7 +140,9 @@ |
| 140 | <DependentUpon>Resources.resx</DependentUpon> | 140 | <DependentUpon>Resources.resx</DependentUpon> |
| 141 | <DesignTime>True</DesignTime> | 141 | <DesignTime>True</DesignTime> |
| 142 | </Compile> | 142 | </Compile> |
| 143 | - <None Include="App.config" /> | 143 | + <None Include="App.config"> |
| 144 | + <SubType>Designer</SubType> | ||
| 145 | + </None> | ||
| 144 | <None Include="Properties\Settings.settings"> | 146 | <None Include="Properties\Settings.settings"> |
| 145 | <Generator>SettingsSingleFileGenerator</Generator> | 147 | <Generator>SettingsSingleFileGenerator</Generator> |
| 146 | <LastGenOutput>Settings.Designer.cs</LastGenOutput> | 148 | <LastGenOutput>Settings.Designer.cs</LastGenOutput> | ... | ... |
This diff could not be displayed because it is too large.
| ... | @@ -152,17 +152,17 @@ namespace DMSSSOAgent | ... | @@ -152,17 +152,17 @@ namespace DMSSSOAgent |
| 152 | this.Dispose(); | 152 | this.Dispose(); |
| 153 | } | 153 | } |
| 154 | } | 154 | } |
| 155 | - else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "AD_FAILED") | 155 | + else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "AD_CONNECTION_FALIED") |
| 156 | { | 156 | { |
| 157 | - MessageBox.Show("此账号在AD里没有通过验证,请联系Helpdesk"); | 157 | + MessageBox.Show("连接AD服务器错误,请联系Helpdesk"); |
| 158 | } | 158 | } |
| 159 | - else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "DMS_FAILED") | 159 | + else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "AD_VALIDATE_FALIED") |
| 160 | { | 160 | { |
| 161 | - MessageBox.Show("此帐号无DMS权限,有问题请联系Helpdesk"); | 161 | + MessageBox.Show("请使用正确的TNT Global Link ID和密码登录(同Windows登录),如需帮助,请联系Helpdesk"); |
| 162 | } | 162 | } |
| 163 | - else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "DMS_PROHIBIT") | 163 | + else if (((System.Xml.XmlNode[])(oUserInfo[0]))[0].Value == "VALIDATE_FALIED") |
| 164 | { | 164 | { |
| 165 | - MessageBox.Show("此账号在DMS已禁用,有问题请联系Helpdesk "); | 165 | + MessageBox.Show("此账号无DMS权限,请联系Helpdesk"); |
| 166 | } | 166 | } |
| 167 | else | 167 | else |
| 168 | { | 168 | { | ... | ... |
-
Please register or login to post a comment