Advertisement
Guest User

Untitled

a guest
Aug 3rd, 2016
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 42.72 KB | None | 0 0
  1. // Decompiled with JetBrains decompiler
  2. // Type: LD_Control_Panel.MainF
  3. // Assembly: LD Control Panel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
  4. // MVID: 1C35DC1F-4716-4B0A-BBE4-4D6742E5565B
  5. // Assembly location: C:\Users\00117817\AppData\Local\Apps\2.0\DO9LNPAY.3EK\1JY6W31B.XAY\ldco..tion_fdc2db1df3f3505c_0001.0001_8a2378ef2d6816ee\LD Control Panel.exe
  6.  
  7. using LDCPLibs;
  8. using MetroFramework;
  9. using MetroFramework.Components;
  10. using MetroFramework.Controls;
  11. using MetroFramework.Forms;
  12. using System;
  13. using System.ComponentModel;
  14. using System.Configuration;
  15. using System.Drawing;
  16. using System.Windows.Forms;
  17.  
  18. namespace LD_Control_Panel
  19. {
  20. public class MainF : MetroForm
  21. {
  22. private User user = new User(Loading.getUsername());
  23. private IContainer components;
  24. private MetroTile mtGestionCompte;
  25. private MetroTile mtGestionCommande;
  26. private MetroTile mtDisconnect;
  27. private MetroLabel lNewPassword;
  28. private MetroLabel lRenewPassword;
  29. private MetroTile mtMenuV;
  30. private MetroTile mtMenuH;
  31. private MetroTextBox tbRenewPassword;
  32. private MetroTextBox tbNewPassword;
  33. private MetroButton bValidatePassword;
  34. private MetroTile mtAccueil;
  35. private MetroLabel lTitle;
  36. private MetroTile mtSubtitle;
  37. private MetroLabel lNewsLDCP;
  38. private MetroTextBox tbNewsLDCP;
  39. private MetroLabel lFooter;
  40. private MetroRadioButton rbNon;
  41. private MetroRadioButton rbOui;
  42. private MetroLabel lDispo;
  43. private MetroLabel lEnCours;
  44. private MetroLabel lFIni;
  45. private MetroTextBox tbMail;
  46. private MetroButton bChangerMail;
  47. private MetroLabel lCompetences;
  48. private MetroCheckBox cbHTML;
  49. private MetroCheckBox cbCSS;
  50. private MetroCheckBox cbPHP;
  51. private MetroCheckBox cbJavaScript;
  52. private MetroCheckBox cbSkript;
  53. private MetroCheckBox cbSQL;
  54. private MetroCheckBox cbBash;
  55. private MetroCheckBox cbFramework;
  56. private MetroCheckBox cbJava;
  57. private MetroCheckBox cbC;
  58. private MetroComboBox cbStyle;
  59. private MetroButton bNewUsername;
  60. private MetroTextBox tbNewUsername;
  61. private MetroStyleManager msManager;
  62. private MetroLabel lStyle;
  63. private MetroTile mtUser;
  64.  
  65. public MainF()
  66. {
  67. this.InitializeComponent();
  68. }
  69.  
  70. private void MainF_Load(object sender, EventArgs e)
  71. {
  72. this.StyleManager = this.msManager;
  73. this.SetAccueil();
  74. this.setComp();
  75. this.mtUser.Text = this.user.getUsername();
  76. this.tbMail.Text = this.user.getMail();
  77. this.tbNewUsername.Text = this.user.getUsername();
  78. if (ConnectF.theme.Equals("lightblue"))
  79. this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Light, "Light Blue");
  80. if (ConnectF.theme.Equals("lightgreen"))
  81. this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Light, "Light Green");
  82. if (ConnectF.theme.Equals("lightyellow"))
  83. this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Light, "Light Yellow");
  84. if (ConnectF.theme.Equals("lightred"))
  85. this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Light, "Light Red");
  86. if (ConnectF.theme.Equals("lightorange"))
  87. this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Light, "Light Orange");
  88. if (ConnectF.theme.Equals("lightsilver"))
  89. this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Light, "Light Silver");
  90. if (ConnectF.theme.Equals("darkblue"))
  91. this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Dark, "Dark Blue");
  92. if (ConnectF.theme.Equals("darkgreen"))
  93. this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Dark, "Dark Green");
  94. if (ConnectF.theme.Equals("darkyellow"))
  95. this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Dark, "Dark Yellow");
  96. if (ConnectF.theme.Equals("darkred"))
  97. this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Dark, "Dark Red");
  98. if (ConnectF.theme.Equals("darkorange"))
  99. this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Dark, "Dark Orange");
  100. if (!ConnectF.theme.Equals("darksilver"))
  101. return;
  102. this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Dark, "Dark Silver");
  103. }
  104.  
  105. private void mtAccueil_Click(object sender, EventArgs e)
  106. {
  107. this.SetAccueil();
  108. }
  109.  
  110. private void mtGestionCommande_Click(object sender, EventArgs e)
  111. {
  112. this.SetCmdGestion();
  113. }
  114.  
  115. private void mtGestionCompte_Click(object sender, EventArgs e)
  116. {
  117. this.SetCompteGestion();
  118. }
  119.  
  120. private void setComp()
  121. {
  122. this.cbBash.Checked = this.user.getCompetence("Bash");
  123. this.cbC.Checked = this.user.getCompetence("C");
  124. this.cbCSS.Checked = this.user.getCompetence("CSS");
  125. this.cbFramework.Checked = this.user.getCompetence("Framework");
  126. this.cbHTML.Checked = this.user.getCompetence("HTML");
  127. this.cbJava.Checked = this.user.getCompetence("Java");
  128. this.cbJavaScript.Checked = this.user.getCompetence("Javascript");
  129. this.cbPHP.Checked = this.user.getCompetence("PHP");
  130. this.cbSkript.Checked = this.user.getCompetence("Skript");
  131. this.cbSQL.Checked = this.user.getCompetence("MySQL");
  132. if (this.user.getDispo())
  133. this.rbOui.Checked = true;
  134. else
  135. this.rbNon.Checked = true;
  136. }
  137.  
  138. private void mtDisconnect_Click(object sender, EventArgs e)
  139. {
  140. Environment.Exit(0);
  141. }
  142.  
  143. private void MainF_FormClosing(object sender, FormClosingEventArgs e)
  144. {
  145. Environment.Exit(0);
  146. }
  147.  
  148. private void bValidatePassword_Click(object sender, EventArgs e)
  149. {
  150. if (this.tbNewPassword.Text.Equals(this.tbRenewPassword.Text) && !this.tbNewPassword.Text.Equals(""))
  151. {
  152. this.user.setPassword(this.tbNewPassword.Text);
  153. int num = (int) MetroMessageBox.Show((IWin32Window) this, "Votre mot de passe a étais modifier !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  154. }
  155. else
  156. {
  157. int num1 = (int) MetroMessageBox.Show((IWin32Window) this, "Les mots de passe sont différents ou vide !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
  158. }
  159. }
  160.  
  161. private void bChangerMail_Click(object sender, EventArgs e)
  162. {
  163. if (!this.tbMail.Text.Equals("") && this.tbMail.Text.Contains("@") && this.tbMail.Text.Contains("."))
  164. {
  165. this.user.setMail(this.tbMail.Text);
  166. int num = (int) MetroMessageBox.Show((IWin32Window) this, "Votre adresse Email a étais modifier !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  167. }
  168. else
  169. {
  170. int num1 = (int) MetroMessageBox.Show((IWin32Window) this, "Votre adresse mail n'est pas valide !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  171. }
  172. }
  173.  
  174. private void cbHTML_CheckedChanged(object sender, EventArgs e)
  175. {
  176. this.user.setCompetence("HTML", this.cbHTML.Checked);
  177. }
  178.  
  179. private void cbCSS_CheckedChanged(object sender, EventArgs e)
  180. {
  181. this.user.setCompetence("CSS", this.cbCSS.Checked);
  182. }
  183.  
  184. private void cbPHP_CheckedChanged(object sender, EventArgs e)
  185. {
  186. this.user.setCompetence("PHP", this.cbPHP.Checked);
  187. }
  188.  
  189. private void cbJavaScript_CheckedChanged(object sender, EventArgs e)
  190. {
  191. this.user.setCompetence("Javascript", this.cbJavaScript.Checked);
  192. }
  193.  
  194. private void cbSkript_CheckedChanged(object sender, EventArgs e)
  195. {
  196. this.user.setCompetence("Skript", this.cbSkript.Checked);
  197. }
  198.  
  199. private void cbSQL_CheckedChanged(object sender, EventArgs e)
  200. {
  201. this.user.setCompetence("MySQL", this.cbSQL.Checked);
  202. }
  203.  
  204. private void cbBash_CheckedChanged(object sender, EventArgs e)
  205. {
  206. this.user.setCompetence("Bash", this.cbBash.Checked);
  207. }
  208.  
  209. private void cbFramework_CheckedChanged(object sender, EventArgs e)
  210. {
  211. this.user.setCompetence("Framework", this.cbFramework.Checked);
  212. }
  213.  
  214. private void cbJava_CheckedChanged(object sender, EventArgs e)
  215. {
  216. this.user.setCompetence("Java", this.cbJava.Checked);
  217. }
  218.  
  219. private void cbC_CheckedChanged(object sender, EventArgs e)
  220. {
  221. this.user.setCompetence("C", this.cbC.Checked);
  222. }
  223.  
  224. private void rbOui_CheckedChanged(object sender, EventArgs e)
  225. {
  226. this.user.setDispo(false);
  227. }
  228.  
  229. private void rbNon_CheckedChanged(object sender, EventArgs e)
  230. {
  231. this.user.setDispo(true);
  232. }
  233.  
  234. private void cbStyle_SelectedIndexChanged(object sender, EventArgs e)
  235. {
  236. if (this.cbStyle.SelectedIndex.Equals(0))
  237. {
  238. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  239. configuration.AppSettings.Settings.Remove("theme");
  240. configuration.AppSettings.Settings.Add("theme", "lightblue");
  241. int num = 0;
  242. configuration.Save((ConfigurationSaveMode) num);
  243. ConfigurationManager.RefreshSection("appSettings");
  244. this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Light, "Light Blue");
  245. }
  246. if (this.cbStyle.SelectedIndex.Equals(1))
  247. {
  248. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  249. configuration.AppSettings.Settings.Remove("theme");
  250. configuration.AppSettings.Settings.Add("theme", "lightgreen");
  251. int num = 0;
  252. configuration.Save((ConfigurationSaveMode) num);
  253. ConfigurationManager.RefreshSection("appSettings");
  254. this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Light, "Light Green");
  255. }
  256. if (this.cbStyle.SelectedIndex.Equals(2))
  257. {
  258. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  259. configuration.AppSettings.Settings.Remove("theme");
  260. configuration.AppSettings.Settings.Add("theme", "lightyellow");
  261. int num = 0;
  262. configuration.Save((ConfigurationSaveMode) num);
  263. ConfigurationManager.RefreshSection("appSettings");
  264. this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Light, "Light Yellow");
  265. }
  266. if (this.cbStyle.SelectedIndex.Equals(3))
  267. {
  268. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  269. configuration.AppSettings.Settings.Remove("theme");
  270. configuration.AppSettings.Settings.Add("theme", "lightred");
  271. int num = 0;
  272. configuration.Save((ConfigurationSaveMode) num);
  273. ConfigurationManager.RefreshSection("appSettings");
  274. this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Light, "Light Red");
  275. }
  276. if (this.cbStyle.SelectedIndex.Equals(4))
  277. {
  278. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  279. configuration.AppSettings.Settings.Remove("theme");
  280. configuration.AppSettings.Settings.Add("theme", "lightorange");
  281. int num = 0;
  282. configuration.Save((ConfigurationSaveMode) num);
  283. ConfigurationManager.RefreshSection("appSettings");
  284. this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Light, "Light Orange");
  285. }
  286. if (this.cbStyle.SelectedIndex.Equals(5))
  287. {
  288. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  289. configuration.AppSettings.Settings.Remove("theme");
  290. configuration.AppSettings.Settings.Add("theme", "lightsilver");
  291. int num = 0;
  292. configuration.Save((ConfigurationSaveMode) num);
  293. ConfigurationManager.RefreshSection("appSettings");
  294. this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Light, "Light Silver");
  295. }
  296. if (this.cbStyle.SelectedIndex.Equals(7))
  297. {
  298. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  299. configuration.AppSettings.Settings.Remove("theme");
  300. configuration.AppSettings.Settings.Add("theme", "darkblue");
  301. int num = 0;
  302. configuration.Save((ConfigurationSaveMode) num);
  303. ConfigurationManager.RefreshSection("appSettings");
  304. this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Dark, "Dark Blue");
  305. }
  306. if (this.cbStyle.SelectedIndex.Equals(8))
  307. {
  308. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  309. configuration.AppSettings.Settings.Remove("theme");
  310. configuration.AppSettings.Settings.Add("theme", "darkgreen");
  311. int num = 0;
  312. configuration.Save((ConfigurationSaveMode) num);
  313. ConfigurationManager.RefreshSection("appSettings");
  314. this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Dark, "Dark Green");
  315. }
  316. if (this.cbStyle.SelectedIndex.Equals(9))
  317. {
  318. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  319. configuration.AppSettings.Settings.Remove("theme");
  320. configuration.AppSettings.Settings.Add("theme", "darkyellow");
  321. int num = 0;
  322. configuration.Save((ConfigurationSaveMode) num);
  323. ConfigurationManager.RefreshSection("appSettings");
  324. this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Dark, "Dark Yellow");
  325. }
  326. if (this.cbStyle.SelectedIndex.Equals(10))
  327. {
  328. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  329. configuration.AppSettings.Settings.Remove("theme");
  330. configuration.AppSettings.Settings.Add("theme", "darkred");
  331. int num = 0;
  332. configuration.Save((ConfigurationSaveMode) num);
  333. ConfigurationManager.RefreshSection("appSettings");
  334. this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Dark, "Dark Red");
  335. }
  336. if (this.cbStyle.SelectedIndex.Equals(11))
  337. {
  338. System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  339. configuration.AppSettings.Settings.Remove("theme");
  340. configuration.AppSettings.Settings.Add("theme", "darkorange");
  341. int num = 0;
  342. configuration.Save((ConfigurationSaveMode) num);
  343. ConfigurationManager.RefreshSection("appSettings");
  344. this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Dark, "Dark Orange");
  345. }
  346. if (!this.cbStyle.SelectedIndex.Equals(12))
  347. return;
  348. System.Configuration.Configuration configuration1 = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
  349. configuration1.AppSettings.Settings.Remove("theme");
  350. configuration1.AppSettings.Settings.Add("theme", "darksilver");
  351. int num1 = 0;
  352. configuration1.Save((ConfigurationSaveMode) num1);
  353. ConfigurationManager.RefreshSection("appSettings");
  354. this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Dark, "Dark Silver");
  355. }
  356.  
  357. private void SetAccueil()
  358. {
  359. this.lTitle.Text = "ACCUEIL && NEWS";
  360. this.lNewPassword.Hide();
  361. this.lRenewPassword.Hide();
  362. this.tbNewPassword.Hide();
  363. this.tbRenewPassword.Hide();
  364. this.bValidatePassword.Hide();
  365. this.lNewsLDCP.Show();
  366. this.tbNewsLDCP.Show();
  367. this.lEnCours.Hide();
  368. this.lFIni.Hide();
  369. this.lDispo.Hide();
  370. this.rbOui.Hide();
  371. this.rbNon.Hide();
  372. this.tbMail.Hide();
  373. this.bChangerMail.Hide();
  374. this.lCompetences.Hide();
  375. this.cbBash.Hide();
  376. this.cbC.Hide();
  377. this.cbSQL.Hide();
  378. this.cbCSS.Hide();
  379. this.cbFramework.Hide();
  380. this.cbHTML.Hide();
  381. this.cbJava.Hide();
  382. this.cbJavaScript.Hide();
  383. this.cbPHP.Hide();
  384. this.cbSkript.Hide();
  385. this.tbNewUsername.Hide();
  386. this.bNewUsername.Hide();
  387. }
  388.  
  389. private void SetCmdGestion()
  390. {
  391. this.lTitle.Text = "GESTION DES COMMANDES";
  392. this.lNewPassword.Hide();
  393. this.lRenewPassword.Hide();
  394. this.tbNewPassword.Hide();
  395. this.tbRenewPassword.Hide();
  396. this.bValidatePassword.Hide();
  397. this.lNewsLDCP.Hide();
  398. this.tbNewsLDCP.Hide();
  399. this.lDispo.Hide();
  400. this.rbOui.Hide();
  401. this.rbNon.Hide();
  402. this.lEnCours.Hide();
  403. this.lFIni.Hide();
  404. this.tbMail.Hide();
  405. this.bChangerMail.Hide();
  406. this.lCompetences.Hide();
  407. this.cbBash.Hide();
  408. this.cbSQL.Hide();
  409. this.cbC.Hide();
  410. this.cbCSS.Hide();
  411. this.cbFramework.Hide();
  412. this.cbHTML.Hide();
  413. this.cbJava.Hide();
  414. this.cbJavaScript.Hide();
  415. this.cbPHP.Hide();
  416. this.cbSkript.Hide();
  417. this.tbNewUsername.Hide();
  418. this.bNewUsername.Hide();
  419. }
  420.  
  421. private void SetCompteGestion()
  422. {
  423. this.lTitle.Text = "GESTION DU COMPTE";
  424. this.lNewPassword.Show();
  425. this.lRenewPassword.Show();
  426. this.tbNewPassword.Show();
  427. this.tbRenewPassword.Show();
  428. this.bValidatePassword.Show();
  429. this.lNewsLDCP.Hide();
  430. this.tbNewsLDCP.Hide();
  431. this.lDispo.Show();
  432. this.rbOui.Show();
  433. this.rbNon.Show();
  434. this.lEnCours.Show();
  435. this.lFIni.Show();
  436. this.tbMail.Show();
  437. this.bChangerMail.Show();
  438. this.lCompetences.Show();
  439. this.cbBash.Show();
  440. this.cbC.Show();
  441. this.cbCSS.Show();
  442. this.cbSQL.Show();
  443. this.cbFramework.Show();
  444. this.cbHTML.Show();
  445. this.cbJava.Show();
  446. this.cbJavaScript.Show();
  447. this.cbPHP.Show();
  448. this.cbSkript.Show();
  449. this.tbNewUsername.Show();
  450. this.bNewUsername.Show();
  451. }
  452.  
  453. private void setTheme(MetroColorStyle color, MetroThemeStyle theme, string cbText)
  454. {
  455. this.msManager.Style = color;
  456. this.msManager.Theme = theme;
  457. this.cbStyle.Text = cbText;
  458. this.Refresh();
  459. }
  460.  
  461. private void MainF_FormClosing_1(object sender, FormClosingEventArgs e)
  462. {
  463. Environment.Exit(0);
  464. }
  465.  
  466. private void bNewUsername_Click(object sender, EventArgs e)
  467. {
  468. if (!this.tbNewUsername.Text.Equals(""))
  469. {
  470. this.user.setName(this.tbNewUsername.Text);
  471. this.mtUser.Text = this.tbNewUsername.Text;
  472. int num = (int) MetroMessageBox.Show((IWin32Window) this, "Nom d'utilisateur modifié !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
  473. }
  474. else
  475. {
  476. int num1 = (int) MetroMessageBox.Show((IWin32Window) this, "Le nom d'utilisateur est vide !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
  477. }
  478. }
  479.  
  480. protected override void Dispose(bool disposing)
  481. {
  482. if (disposing && this.components != null)
  483. this.components.Dispose();
  484. base.Dispose(disposing);
  485. }
  486.  
  487. private void InitializeComponent()
  488. {
  489. this.components = (IContainer) new Container();
  490. this.mtGestionCompte = new MetroTile();
  491. this.mtGestionCommande = new MetroTile();
  492. this.mtDisconnect = new MetroTile();
  493. this.lNewPassword = new MetroLabel();
  494. this.lRenewPassword = new MetroLabel();
  495. this.mtMenuV = new MetroTile();
  496. this.mtMenuH = new MetroTile();
  497. this.tbRenewPassword = new MetroTextBox();
  498. this.tbNewPassword = new MetroTextBox();
  499. this.bValidatePassword = new MetroButton();
  500. this.mtAccueil = new MetroTile();
  501. this.lTitle = new MetroLabel();
  502. this.mtSubtitle = new MetroTile();
  503. this.lNewsLDCP = new MetroLabel();
  504. this.tbNewsLDCP = new MetroTextBox();
  505. this.lFooter = new MetroLabel();
  506. this.rbNon = new MetroRadioButton();
  507. this.rbOui = new MetroRadioButton();
  508. this.lDispo = new MetroLabel();
  509. this.lEnCours = new MetroLabel();
  510. this.lFIni = new MetroLabel();
  511. this.tbMail = new MetroTextBox();
  512. this.bChangerMail = new MetroButton();
  513. this.lCompetences = new MetroLabel();
  514. this.cbHTML = new MetroCheckBox();
  515. this.cbCSS = new MetroCheckBox();
  516. this.cbPHP = new MetroCheckBox();
  517. this.cbJavaScript = new MetroCheckBox();
  518. this.cbSkript = new MetroCheckBox();
  519. this.cbSQL = new MetroCheckBox();
  520. this.cbBash = new MetroCheckBox();
  521. this.cbFramework = new MetroCheckBox();
  522. this.cbJava = new MetroCheckBox();
  523. this.cbC = new MetroCheckBox();
  524. this.cbStyle = new MetroComboBox();
  525. this.bNewUsername = new MetroButton();
  526. this.tbNewUsername = new MetroTextBox();
  527. this.msManager = new MetroStyleManager(this.components);
  528. this.lStyle = new MetroLabel();
  529. this.mtUser = new MetroTile();
  530. ((ISupportInitialize) this.msManager).BeginInit();
  531. this.SuspendLayout();
  532. this.mtGestionCompte.ActiveControl = (Control) null;
  533. this.mtGestionCompte.Location = new Point(23, 181);
  534. this.mtGestionCompte.Name = "mtGestionCompte";
  535. this.mtGestionCompte.Size = new Size(170, 35);
  536. this.mtGestionCompte.TabIndex = 5;
  537. this.mtGestionCompte.Text = "Gestion du compte";
  538. this.mtGestionCompte.TextAlign = ContentAlignment.MiddleLeft;
  539. this.mtGestionCompte.UseSelectable = true;
  540. this.mtGestionCompte.Click += new EventHandler(this.mtGestionCompte_Click);
  541. this.mtGestionCommande.ActiveControl = (Control) null;
  542. this.mtGestionCommande.Location = new Point(23, 140);
  543. this.mtGestionCommande.Name = "mtGestionCommande";
  544. this.mtGestionCommande.Size = new Size(170, 35);
  545. this.mtGestionCommande.TabIndex = 6;
  546. this.mtGestionCommande.Text = "Gestion des commandes";
  547. this.mtGestionCommande.TextAlign = ContentAlignment.MiddleLeft;
  548. this.mtGestionCommande.UseSelectable = true;
  549. this.mtGestionCommande.Click += new EventHandler(this.mtGestionCommande_Click);
  550. this.mtDisconnect.ActiveControl = (Control) null;
  551. this.mtDisconnect.Location = new Point(23, 497);
  552. this.mtDisconnect.Name = "mtDisconnect";
  553. this.mtDisconnect.Size = new Size(170, 25);
  554. this.mtDisconnect.TabIndex = 8;
  555. this.mtDisconnect.Text = "Déconnexion";
  556. this.mtDisconnect.TextAlign = ContentAlignment.MiddleLeft;
  557. this.mtDisconnect.UseSelectable = true;
  558. this.mtDisconnect.Click += new EventHandler(this.mtDisconnect_Click);
  559. this.lNewPassword.AutoSize = true;
  560. this.lNewPassword.Location = new Point(306, 119);
  561. this.lNewPassword.Name = "lNewPassword";
  562. this.lNewPassword.Size = new Size(151, 19);
  563. this.lNewPassword.TabIndex = 10;
  564. this.lNewPassword.Text = "Nouveau mot de passe :";
  565. this.lRenewPassword.AutoSize = true;
  566. this.lRenewPassword.Location = new Point(241, 148);
  567. this.lRenewPassword.Name = "lRenewPassword";
  568. this.lRenewPassword.Size = new Size(216, 19);
  569. this.lRenewPassword.TabIndex = 11;
  570. this.lRenewPassword.Text = "Vérification nouveau mot de passe :";
  571. this.mtMenuV.ActiveControl = (Control) null;
  572. this.mtMenuV.BackColor = Color.DodgerBlue;
  573. this.mtMenuV.Enabled = false;
  574. this.mtMenuV.Location = new Point(218, 68);
  575. this.mtMenuV.Name = "mtMenuV";
  576. this.mtMenuV.Size = new Size(5, 486);
  577. this.mtMenuV.TabIndex = 12;
  578. this.mtMenuV.UseSelectable = true;
  579. this.mtMenuH.ActiveControl = (Control) null;
  580. this.mtMenuH.BackColor = Color.DodgerBlue;
  581. this.mtMenuH.Enabled = false;
  582. this.mtMenuH.Location = new Point(-14, 67);
  583. this.mtMenuH.Name = "mtMenuH";
  584. this.mtMenuH.Size = new Size(237, 5);
  585. this.mtMenuH.TabIndex = 13;
  586. this.mtMenuH.UseSelectable = true;
  587. this.tbRenewPassword.CustomButton.Image = (Image) null;
  588. this.tbRenewPassword.CustomButton.Location = new Point(83, 1);
  589. this.tbRenewPassword.CustomButton.Name = "";
  590. this.tbRenewPassword.CustomButton.Size = new Size(21, 21);
  591. this.tbRenewPassword.CustomButton.Style = MetroColorStyle.Blue;
  592. this.tbRenewPassword.CustomButton.TabIndex = 1;
  593. this.tbRenewPassword.CustomButton.Theme = MetroThemeStyle.Light;
  594. this.tbRenewPassword.CustomButton.UseSelectable = true;
  595. this.tbRenewPassword.CustomButton.Visible = false;
  596. this.tbRenewPassword.Lines = new string[0];
  597. this.tbRenewPassword.Location = new Point(463, 148);
  598. this.tbRenewPassword.MaxLength = (int) short.MaxValue;
  599. this.tbRenewPassword.Name = "tbRenewPassword";
  600. this.tbRenewPassword.PasswordChar = '*';
  601. this.tbRenewPassword.ScrollBars = ScrollBars.None;
  602. this.tbRenewPassword.SelectedText = "";
  603. this.tbRenewPassword.SelectionLength = 0;
  604. this.tbRenewPassword.SelectionStart = 0;
  605. this.tbRenewPassword.Size = new Size(105, 23);
  606. this.tbRenewPassword.TabIndex = 0;
  607. this.tbRenewPassword.UseSelectable = true;
  608. this.tbRenewPassword.WaterMarkColor = Color.FromArgb(109, 109, 109);
  609. this.tbRenewPassword.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
  610. this.tbNewPassword.CustomButton.Image = (Image) null;
  611. this.tbNewPassword.CustomButton.Location = new Point(83, 1);
  612. this.tbNewPassword.CustomButton.Name = "";
  613. this.tbNewPassword.CustomButton.Size = new Size(21, 21);
  614. this.tbNewPassword.CustomButton.Style = MetroColorStyle.Blue;
  615. this.tbNewPassword.CustomButton.TabIndex = 1;
  616. this.tbNewPassword.CustomButton.Theme = MetroThemeStyle.Light;
  617. this.tbNewPassword.CustomButton.UseSelectable = true;
  618. this.tbNewPassword.CustomButton.Visible = false;
  619. this.tbNewPassword.Lines = new string[0];
  620. this.tbNewPassword.Location = new Point(463, 119);
  621. this.tbNewPassword.MaxLength = (int) short.MaxValue;
  622. this.tbNewPassword.Name = "tbNewPassword";
  623. this.tbNewPassword.PasswordChar = '*';
  624. this.tbNewPassword.ScrollBars = ScrollBars.None;
  625. this.tbNewPassword.SelectedText = "";
  626. this.tbNewPassword.SelectionLength = 0;
  627. this.tbNewPassword.SelectionStart = 0;
  628. this.tbNewPassword.Size = new Size(105, 23);
  629. this.tbNewPassword.TabIndex = 1;
  630. this.tbNewPassword.UseSelectable = true;
  631. this.tbNewPassword.WaterMarkColor = Color.FromArgb(109, 109, 109);
  632. this.tbNewPassword.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
  633. this.bValidatePassword.Location = new Point(584, 119);
  634. this.bValidatePassword.Name = "bValidatePassword";
  635. this.bValidatePassword.Size = new Size(109, 52);
  636. this.bValidatePassword.TabIndex = 14;
  637. this.bValidatePassword.Text = "Validation";
  638. this.bValidatePassword.UseSelectable = true;
  639. this.bValidatePassword.Click += new EventHandler(this.bValidatePassword_Click);
  640. this.mtAccueil.ActiveControl = (Control) null;
  641. this.mtAccueil.Location = new Point(23, 99);
  642. this.mtAccueil.Name = "mtAccueil";
  643. this.mtAccueil.Size = new Size(170, 35);
  644. this.mtAccueil.TabIndex = 15;
  645. this.mtAccueil.Text = "Accueil && News";
  646. this.mtAccueil.TextAlign = ContentAlignment.MiddleLeft;
  647. this.mtAccueil.UseSelectable = true;
  648. this.mtAccueil.Click += new EventHandler(this.mtAccueil_Click);
  649. this.lTitle.AutoSize = true;
  650. this.lTitle.BackColor = Color.Transparent;
  651. this.lTitle.FontSize = MetroLabelSize.Tall;
  652. this.lTitle.Location = new Point(227, 67);
  653. this.lTitle.Name = "lTitle";
  654. this.lTitle.Size = new Size(231, 25);
  655. this.lTitle.TabIndex = 16;
  656. this.lTitle.Text = "GESTION DES COMMANDES";
  657. this.mtSubtitle.ActiveControl = (Control) null;
  658. this.mtSubtitle.BackColor = Color.DodgerBlue;
  659. this.mtSubtitle.Enabled = false;
  660. this.mtSubtitle.Location = new Point(223, 95);
  661. this.mtSubtitle.Name = "mtSubtitle";
  662. this.mtSubtitle.Size = new Size(235, 5);
  663. this.mtSubtitle.TabIndex = 17;
  664. this.mtSubtitle.UseSelectable = true;
  665. this.lNewsLDCP.AutoSize = true;
  666. this.lNewsLDCP.Location = new Point(241, 119);
  667. this.lNewsLDCP.Name = "lNewsLDCP";
  668. this.lNewsLDCP.Size = new Size(116, 19);
  669. this.lNewsLDCP.TabIndex = 18;
  670. this.lNewsLDCP.Text = "News de Lekydev :";
  671. this.tbNewsLDCP.CustomButton.Image = (Image) null;
  672. this.tbNewsLDCP.CustomButton.Location = new Point(-151, 2);
  673. this.tbNewsLDCP.CustomButton.Name = "";
  674. this.tbNewsLDCP.CustomButton.Size = new Size(365, 365);
  675. this.tbNewsLDCP.CustomButton.Style = MetroColorStyle.Blue;
  676. this.tbNewsLDCP.CustomButton.TabIndex = 1;
  677. this.tbNewsLDCP.CustomButton.Theme = MetroThemeStyle.Light;
  678. this.tbNewsLDCP.CustomButton.UseSelectable = true;
  679. this.tbNewsLDCP.CustomButton.Visible = false;
  680. this.tbNewsLDCP.Lines = new string[0];
  681. this.tbNewsLDCP.Location = new Point(241, 152);
  682. this.tbNewsLDCP.MaxLength = (int) short.MaxValue;
  683. this.tbNewsLDCP.Multiline = true;
  684. this.tbNewsLDCP.Name = "tbNewsLDCP";
  685. this.tbNewsLDCP.PasswordChar = char.MinValue;
  686. this.tbNewsLDCP.ReadOnly = true;
  687. this.tbNewsLDCP.ScrollBars = ScrollBars.None;
  688. this.tbNewsLDCP.SelectedText = "";
  689. this.tbNewsLDCP.SelectionLength = 0;
  690. this.tbNewsLDCP.SelectionStart = 0;
  691. this.tbNewsLDCP.Size = new Size(217, 370);
  692. this.tbNewsLDCP.TabIndex = 19;
  693. this.tbNewsLDCP.UseSelectable = true;
  694. this.tbNewsLDCP.WaterMarkColor = Color.FromArgb(109, 109, 109);
  695. this.tbNewsLDCP.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
  696. this.lFooter.AutoSize = true;
  697. this.lFooter.FontSize = MetroLabelSize.Small;
  698. this.lFooter.Location = new Point(890, 495);
  699. this.lFooter.Name = "lFooter";
  700. this.lFooter.Size = new Size(138, 30);
  701. this.lFooter.TabIndex = 21;
  702. this.lFooter.Text = "Version : 1.1.0.3\r\nCode && Design by Frozen ";
  703. this.lFooter.TextAlign = ContentAlignment.TopRight;
  704. this.lFooter.UseMnemonic = false;
  705. this.rbNon.AutoSize = true;
  706. this.rbNon.FontWeight = MetroCheckBoxWeight.Light;
  707. this.rbNon.Location = new Point(370, 197);
  708. this.rbNon.Name = "rbNon";
  709. this.rbNon.Size = new Size(45, 15);
  710. this.rbNon.TabIndex = 23;
  711. this.rbNon.Text = "Non";
  712. this.rbNon.UseSelectable = true;
  713. this.rbNon.CheckedChanged += new EventHandler(this.rbNon_CheckedChanged);
  714. this.rbOui.AutoSize = true;
  715. this.rbOui.FontWeight = MetroCheckBoxWeight.Light;
  716. this.rbOui.Location = new Point(324, 197);
  717. this.rbOui.Name = "rbOui";
  718. this.rbOui.Size = new Size(40, 15);
  719. this.rbOui.TabIndex = 24;
  720. this.rbOui.Text = "Oui";
  721. this.rbOui.UseSelectable = true;
  722. this.rbOui.CheckedChanged += new EventHandler(this.rbOui_CheckedChanged);
  723. this.lDispo.AutoSize = true;
  724. this.lDispo.Location = new Point(241, 193);
  725. this.lDispo.Name = "lDispo";
  726. this.lDispo.Size = new Size(77, 19);
  727. this.lDispo.TabIndex = 25;
  728. this.lDispo.Text = "Disponible :";
  729. this.lEnCours.AutoSize = true;
  730. this.lEnCours.Location = new Point(241, 238);
  731. this.lEnCours.Name = "lEnCours";
  732. this.lEnCours.Size = new Size(150, 19);
  733. this.lEnCours.TabIndex = 26;
  734. this.lEnCours.Text = "Commande en cours : 0";
  735. this.lFIni.AutoSize = true;
  736. this.lFIni.Location = new Point(241, 257);
  737. this.lFIni.Name = "lFIni";
  738. this.lFIni.Size = new Size(158, 19);
  739. this.lFIni.TabIndex = 27;
  740. this.lFIni.Text = "Commandes terminée : 0";
  741. this.tbMail.CustomButton.Image = (Image) null;
  742. this.tbMail.CustomButton.Location = new Point(106, 1);
  743. this.tbMail.CustomButton.Name = "";
  744. this.tbMail.CustomButton.Size = new Size(21, 21);
  745. this.tbMail.CustomButton.Style = MetroColorStyle.Blue;
  746. this.tbMail.CustomButton.TabIndex = 1;
  747. this.tbMail.CustomButton.Theme = MetroThemeStyle.Light;
  748. this.tbMail.CustomButton.UseSelectable = true;
  749. this.tbMail.CustomButton.Visible = false;
  750. this.tbMail.Lines = new string[0];
  751. this.tbMail.Location = new Point(861, 119);
  752. this.tbMail.MaxLength = (int) short.MaxValue;
  753. this.tbMail.Name = "tbMail";
  754. this.tbMail.PasswordChar = char.MinValue;
  755. this.tbMail.ScrollBars = ScrollBars.None;
  756. this.tbMail.SelectedText = "";
  757. this.tbMail.SelectionLength = 0;
  758. this.tbMail.SelectionStart = 0;
  759. this.tbMail.Size = new Size(128, 23);
  760. this.tbMail.TabIndex = 29;
  761. this.tbMail.UseSelectable = true;
  762. this.tbMail.WaterMarkColor = Color.FromArgb(109, 109, 109);
  763. this.tbMail.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
  764. this.bChangerMail.Location = new Point(861, 152);
  765. this.bChangerMail.Name = "bChangerMail";
  766. this.bChangerMail.Size = new Size(128, 23);
  767. this.bChangerMail.TabIndex = 30;
  768. this.bChangerMail.Text = "Changer d'email";
  769. this.bChangerMail.UseSelectable = true;
  770. this.bChangerMail.Click += new EventHandler(this.bChangerMail_Click);
  771. this.lCompetences.AutoSize = true;
  772. this.lCompetences.Location = new Point(241, 302);
  773. this.lCompetences.Name = "lCompetences";
  774. this.lCompetences.Size = new Size(96, 19);
  775. this.lCompetences.TabIndex = 31;
  776. this.lCompetences.Text = "Compétences :";
  777. this.cbHTML.AutoSize = true;
  778. this.cbHTML.Location = new Point(251, 327);
  779. this.cbHTML.Name = "cbHTML";
  780. this.cbHTML.Size = new Size(56, 15);
  781. this.cbHTML.TabIndex = 32;
  782. this.cbHTML.Text = "HTML";
  783. this.cbHTML.UseSelectable = true;
  784. this.cbHTML.CheckedChanged += new EventHandler(this.cbHTML_CheckedChanged);
  785. this.cbCSS.AutoSize = true;
  786. this.cbCSS.Location = new Point(251, 348);
  787. this.cbCSS.Name = "cbCSS";
  788. this.cbCSS.Size = new Size(43, 15);
  789. this.cbCSS.TabIndex = 33;
  790. this.cbCSS.Text = "CSS";
  791. this.cbCSS.UseSelectable = true;
  792. this.cbCSS.CheckedChanged += new EventHandler(this.cbCSS_CheckedChanged);
  793. this.cbPHP.AutoSize = true;
  794. this.cbPHP.Location = new Point(251, 369);
  795. this.cbPHP.Name = "cbPHP";
  796. this.cbPHP.Size = new Size(46, 15);
  797. this.cbPHP.TabIndex = 34;
  798. this.cbPHP.Text = "PHP";
  799. this.cbPHP.UseSelectable = true;
  800. this.cbPHP.CheckedChanged += new EventHandler(this.cbPHP_CheckedChanged);
  801. this.cbJavaScript.AutoSize = true;
  802. this.cbJavaScript.Location = new Point(251, 390);
  803. this.cbJavaScript.Name = "cbJavaScript";
  804. this.cbJavaScript.Size = new Size(75, 15);
  805. this.cbJavaScript.TabIndex = 35;
  806. this.cbJavaScript.Text = "JavaScript";
  807. this.cbJavaScript.UseSelectable = true;
  808. this.cbJavaScript.CheckedChanged += new EventHandler(this.cbJavaScript_CheckedChanged);
  809. this.cbSkript.AutoSize = true;
  810. this.cbSkript.Location = new Point(251, 411);
  811. this.cbSkript.Name = "cbSkript";
  812. this.cbSkript.Size = new Size(53, 15);
  813. this.cbSkript.TabIndex = 36;
  814. this.cbSkript.Text = "Skript";
  815. this.cbSkript.UseSelectable = true;
  816. this.cbSkript.CheckedChanged += new EventHandler(this.cbSkript_CheckedChanged);
  817. this.cbSQL.AutoSize = true;
  818. this.cbSQL.Location = new Point(251, 432);
  819. this.cbSQL.Name = "cbSQL";
  820. this.cbSQL.Size = new Size(44, 15);
  821. this.cbSQL.TabIndex = 37;
  822. this.cbSQL.Text = "SQL";
  823. this.cbSQL.UseSelectable = true;
  824. this.cbSQL.CheckedChanged += new EventHandler(this.cbSQL_CheckedChanged);
  825. this.cbBash.AutoSize = true;
  826. this.cbBash.Location = new Point(251, 453);
  827. this.cbBash.Name = "cbBash";
  828. this.cbBash.Size = new Size(48, 15);
  829. this.cbBash.TabIndex = 38;
  830. this.cbBash.Text = "Bash";
  831. this.cbBash.UseSelectable = true;
  832. this.cbBash.CheckedChanged += new EventHandler(this.cbBash_CheckedChanged);
  833. this.cbFramework.AutoSize = true;
  834. this.cbFramework.Location = new Point(251, 474);
  835. this.cbFramework.Name = "cbFramework";
  836. this.cbFramework.Size = new Size(82, 15);
  837. this.cbFramework.TabIndex = 39;
  838. this.cbFramework.Text = "Framework";
  839. this.cbFramework.UseSelectable = true;
  840. this.cbFramework.CheckedChanged += new EventHandler(this.cbFramework_CheckedChanged);
  841. this.cbJava.AutoSize = true;
  842. this.cbJava.Location = new Point(251, 495);
  843. this.cbJava.Name = "cbJava";
  844. this.cbJava.Size = new Size(45, 15);
  845. this.cbJava.TabIndex = 40;
  846. this.cbJava.Text = "Java";
  847. this.cbJava.UseSelectable = true;
  848. this.cbJava.CheckedChanged += new EventHandler(this.cbJava_CheckedChanged);
  849. this.cbC.AutoSize = true;
  850. this.cbC.Location = new Point(339, 327);
  851. this.cbC.Name = "cbC";
  852. this.cbC.Size = new Size(31, 15);
  853. this.cbC.TabIndex = 41;
  854. this.cbC.Text = "C";
  855. this.cbC.UseSelectable = true;
  856. this.cbC.CheckedChanged += new EventHandler(this.cbC_CheckedChanged);
  857. this.cbStyle.FontWeight = MetroComboBoxWeight.Light;
  858. this.cbStyle.FormattingEnabled = true;
  859. this.cbStyle.ItemHeight = 23;
  860. this.cbStyle.Items.AddRange(new object[13]
  861. {
  862. (object) "Light Blue",
  863. (object) "Light Green",
  864. (object) "Light Yellow",
  865. (object) "Light Red",
  866. (object) "Light Orange",
  867. (object) "Light Silver",
  868. (object) "",
  869. (object) "Dark Blue",
  870. (object) "Dark Green",
  871. (object) "Dark Yellow",
  872. (object) "Dark Red",
  873. (object) "Dark Orange",
  874. (object) "Dark Silver"
  875. });
  876. this.cbStyle.Location = new Point(72, 422);
  877. this.cbStyle.Name = "cbStyle";
  878. this.cbStyle.Size = new Size(121, 29);
  879. this.cbStyle.TabIndex = 42;
  880. this.cbStyle.UseSelectable = true;
  881. this.cbStyle.SelectedIndexChanged += new EventHandler(this.cbStyle_SelectedIndexChanged);
  882. this.bNewUsername.Enabled = false;
  883. this.bNewUsername.Location = new Point(713, 148);
  884. this.bNewUsername.Name = "bNewUsername";
  885. this.bNewUsername.Size = new Size(128, 23);
  886. this.bNewUsername.TabIndex = 44;
  887. this.bNewUsername.Text = "Changer de pseudo";
  888. this.bNewUsername.UseSelectable = true;
  889. this.bNewUsername.Click += new EventHandler(this.bNewUsername_Click);
  890. this.tbNewUsername.CustomButton.Image = (Image) null;
  891. this.tbNewUsername.CustomButton.Location = new Point(106, 1);
  892. this.tbNewUsername.CustomButton.Name = "";
  893. this.tbNewUsername.CustomButton.Size = new Size(21, 21);
  894. this.tbNewUsername.CustomButton.Style = MetroColorStyle.Blue;
  895. this.tbNewUsername.CustomButton.TabIndex = 1;
  896. this.tbNewUsername.CustomButton.Theme = MetroThemeStyle.Light;
  897. this.tbNewUsername.CustomButton.UseSelectable = true;
  898. this.tbNewUsername.CustomButton.Visible = false;
  899. this.tbNewUsername.Enabled = false;
  900. this.tbNewUsername.Lines = new string[0];
  901. this.tbNewUsername.Location = new Point(713, 119);
  902. this.tbNewUsername.MaxLength = (int) short.MaxValue;
  903. this.tbNewUsername.Name = "tbNewUsername";
  904. this.tbNewUsername.PasswordChar = char.MinValue;
  905. this.tbNewUsername.ScrollBars = ScrollBars.None;
  906. this.tbNewUsername.SelectedText = "";
  907. this.tbNewUsername.SelectionLength = 0;
  908. this.tbNewUsername.SelectionStart = 0;
  909. this.tbNewUsername.Size = new Size(128, 23);
  910. this.tbNewUsername.TabIndex = 45;
  911. this.tbNewUsername.UseSelectable = true;
  912. this.tbNewUsername.WaterMarkColor = Color.FromArgb(109, 109, 109);
  913. this.tbNewUsername.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
  914. this.msManager.Owner = (ContainerControl) this;
  915. this.lStyle.AutoSize = true;
  916. this.lStyle.Location = new Point(23, 425);
  917. this.lStyle.Name = "lStyle";
  918. this.lStyle.Size = new Size(43, 19);
  919. this.lStyle.TabIndex = 43;
  920. this.lStyle.Text = "Style :";
  921. this.mtUser.ActiveControl = (Control) null;
  922. this.mtUser.BackColor = SystemColors.Desktop;
  923. this.mtUser.Enabled = false;
  924. this.mtUser.Location = new Point(23, 474);
  925. this.mtUser.Name = "mtUser";
  926. this.mtUser.Size = new Size(170, 25);
  927. this.mtUser.Style = MetroColorStyle.Silver;
  928. this.mtUser.TabIndex = 22;
  929. this.mtUser.Text = "User";
  930. this.mtUser.TextAlign = ContentAlignment.MiddleLeft;
  931. this.mtUser.UseSelectable = true;
  932. this.AutoScaleDimensions = new SizeF(6f, 13f);
  933. this.AutoScaleMode = AutoScaleMode.Font;
  934. this.ClientSize = new Size(1051, 545);
  935. this.Controls.Add((Control) this.tbNewUsername);
  936. this.Controls.Add((Control) this.bNewUsername);
  937. this.Controls.Add((Control) this.lStyle);
  938. this.Controls.Add((Control) this.cbStyle);
  939. this.Controls.Add((Control) this.cbC);
  940. this.Controls.Add((Control) this.cbJava);
  941. this.Controls.Add((Control) this.cbFramework);
  942. this.Controls.Add((Control) this.cbBash);
  943. this.Controls.Add((Control) this.cbSQL);
  944. this.Controls.Add((Control) this.cbSkript);
  945. this.Controls.Add((Control) this.cbJavaScript);
  946. this.Controls.Add((Control) this.cbPHP);
  947. this.Controls.Add((Control) this.cbCSS);
  948. this.Controls.Add((Control) this.cbHTML);
  949. this.Controls.Add((Control) this.lCompetences);
  950. this.Controls.Add((Control) this.bChangerMail);
  951. this.Controls.Add((Control) this.tbMail);
  952. this.Controls.Add((Control) this.lFIni);
  953. this.Controls.Add((Control) this.lEnCours);
  954. this.Controls.Add((Control) this.lDispo);
  955. this.Controls.Add((Control) this.rbOui);
  956. this.Controls.Add((Control) this.rbNon);
  957. this.Controls.Add((Control) this.mtUser);
  958. this.Controls.Add((Control) this.lFooter);
  959. this.Controls.Add((Control) this.tbNewsLDCP);
  960. this.Controls.Add((Control) this.lNewsLDCP);
  961. this.Controls.Add((Control) this.mtSubtitle);
  962. this.Controls.Add((Control) this.lTitle);
  963. this.Controls.Add((Control) this.mtAccueil);
  964. this.Controls.Add((Control) this.bValidatePassword);
  965. this.Controls.Add((Control) this.tbRenewPassword);
  966. this.Controls.Add((Control) this.tbNewPassword);
  967. this.Controls.Add((Control) this.mtMenuH);
  968. this.Controls.Add((Control) this.mtMenuV);
  969. this.Controls.Add((Control) this.lRenewPassword);
  970. this.Controls.Add((Control) this.lNewPassword);
  971. this.Controls.Add((Control) this.mtDisconnect);
  972. this.Controls.Add((Control) this.mtGestionCommande);
  973. this.Controls.Add((Control) this.mtGestionCompte);
  974. this.MaximizeBox = false;
  975. this.Name = "MainF";
  976. this.Resizable = false;
  977. this.ShadowType = MetroFormShadowType.DropShadow;
  978. this.SizeGripStyle = SizeGripStyle.Hide;
  979. this.Style = MetroColorStyle.Default;
  980. this.Text = "LD Control Panel ";
  981. this.Theme = MetroThemeStyle.Default;
  982. this.FormClosing += new FormClosingEventHandler(this.MainF_FormClosing_1);
  983. this.Load += new EventHandler(this.MainF_Load);
  984. ((ISupportInitialize) this.msManager).EndInit();
  985. this.ResumeLayout(false);
  986. this.PerformLayout();
  987. }
  988. }
  989. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement