Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Decompiled with JetBrains decompiler
- // Type: LD_Control_Panel.MainF
- // Assembly: LD Control Panel, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
- // MVID: 1C35DC1F-4716-4B0A-BBE4-4D6742E5565B
- // Assembly location: C:\Users\00117817\AppData\Local\Apps\2.0\DO9LNPAY.3EK\1JY6W31B.XAY\ldco..tion_fdc2db1df3f3505c_0001.0001_8a2378ef2d6816ee\LD Control Panel.exe
- using LDCPLibs;
- using MetroFramework;
- using MetroFramework.Components;
- using MetroFramework.Controls;
- using MetroFramework.Forms;
- using System;
- using System.ComponentModel;
- using System.Configuration;
- using System.Drawing;
- using System.Windows.Forms;
- namespace LD_Control_Panel
- {
- public class MainF : MetroForm
- {
- private User user = new User(Loading.getUsername());
- private IContainer components;
- private MetroTile mtGestionCompte;
- private MetroTile mtGestionCommande;
- private MetroTile mtDisconnect;
- private MetroLabel lNewPassword;
- private MetroLabel lRenewPassword;
- private MetroTile mtMenuV;
- private MetroTile mtMenuH;
- private MetroTextBox tbRenewPassword;
- private MetroTextBox tbNewPassword;
- private MetroButton bValidatePassword;
- private MetroTile mtAccueil;
- private MetroLabel lTitle;
- private MetroTile mtSubtitle;
- private MetroLabel lNewsLDCP;
- private MetroTextBox tbNewsLDCP;
- private MetroLabel lFooter;
- private MetroRadioButton rbNon;
- private MetroRadioButton rbOui;
- private MetroLabel lDispo;
- private MetroLabel lEnCours;
- private MetroLabel lFIni;
- private MetroTextBox tbMail;
- private MetroButton bChangerMail;
- private MetroLabel lCompetences;
- private MetroCheckBox cbHTML;
- private MetroCheckBox cbCSS;
- private MetroCheckBox cbPHP;
- private MetroCheckBox cbJavaScript;
- private MetroCheckBox cbSkript;
- private MetroCheckBox cbSQL;
- private MetroCheckBox cbBash;
- private MetroCheckBox cbFramework;
- private MetroCheckBox cbJava;
- private MetroCheckBox cbC;
- private MetroComboBox cbStyle;
- private MetroButton bNewUsername;
- private MetroTextBox tbNewUsername;
- private MetroStyleManager msManager;
- private MetroLabel lStyle;
- private MetroTile mtUser;
- public MainF()
- {
- this.InitializeComponent();
- }
- private void MainF_Load(object sender, EventArgs e)
- {
- this.StyleManager = this.msManager;
- this.SetAccueil();
- this.setComp();
- this.mtUser.Text = this.user.getUsername();
- this.tbMail.Text = this.user.getMail();
- this.tbNewUsername.Text = this.user.getUsername();
- if (ConnectF.theme.Equals("lightblue"))
- this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Light, "Light Blue");
- if (ConnectF.theme.Equals("lightgreen"))
- this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Light, "Light Green");
- if (ConnectF.theme.Equals("lightyellow"))
- this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Light, "Light Yellow");
- if (ConnectF.theme.Equals("lightred"))
- this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Light, "Light Red");
- if (ConnectF.theme.Equals("lightorange"))
- this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Light, "Light Orange");
- if (ConnectF.theme.Equals("lightsilver"))
- this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Light, "Light Silver");
- if (ConnectF.theme.Equals("darkblue"))
- this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Dark, "Dark Blue");
- if (ConnectF.theme.Equals("darkgreen"))
- this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Dark, "Dark Green");
- if (ConnectF.theme.Equals("darkyellow"))
- this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Dark, "Dark Yellow");
- if (ConnectF.theme.Equals("darkred"))
- this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Dark, "Dark Red");
- if (ConnectF.theme.Equals("darkorange"))
- this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Dark, "Dark Orange");
- if (!ConnectF.theme.Equals("darksilver"))
- return;
- this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Dark, "Dark Silver");
- }
- private void mtAccueil_Click(object sender, EventArgs e)
- {
- this.SetAccueil();
- }
- private void mtGestionCommande_Click(object sender, EventArgs e)
- {
- this.SetCmdGestion();
- }
- private void mtGestionCompte_Click(object sender, EventArgs e)
- {
- this.SetCompteGestion();
- }
- private void setComp()
- {
- this.cbBash.Checked = this.user.getCompetence("Bash");
- this.cbC.Checked = this.user.getCompetence("C");
- this.cbCSS.Checked = this.user.getCompetence("CSS");
- this.cbFramework.Checked = this.user.getCompetence("Framework");
- this.cbHTML.Checked = this.user.getCompetence("HTML");
- this.cbJava.Checked = this.user.getCompetence("Java");
- this.cbJavaScript.Checked = this.user.getCompetence("Javascript");
- this.cbPHP.Checked = this.user.getCompetence("PHP");
- this.cbSkript.Checked = this.user.getCompetence("Skript");
- this.cbSQL.Checked = this.user.getCompetence("MySQL");
- if (this.user.getDispo())
- this.rbOui.Checked = true;
- else
- this.rbNon.Checked = true;
- }
- private void mtDisconnect_Click(object sender, EventArgs e)
- {
- Environment.Exit(0);
- }
- private void MainF_FormClosing(object sender, FormClosingEventArgs e)
- {
- Environment.Exit(0);
- }
- private void bValidatePassword_Click(object sender, EventArgs e)
- {
- if (this.tbNewPassword.Text.Equals(this.tbRenewPassword.Text) && !this.tbNewPassword.Text.Equals(""))
- {
- this.user.setPassword(this.tbNewPassword.Text);
- int num = (int) MetroMessageBox.Show((IWin32Window) this, "Votre mot de passe a étais modifier !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- }
- else
- {
- int num1 = (int) MetroMessageBox.Show((IWin32Window) this, "Les mots de passe sont différents ou vide !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
- }
- }
- private void bChangerMail_Click(object sender, EventArgs e)
- {
- if (!this.tbMail.Text.Equals("") && this.tbMail.Text.Contains("@") && this.tbMail.Text.Contains("."))
- {
- this.user.setMail(this.tbMail.Text);
- int num = (int) MetroMessageBox.Show((IWin32Window) this, "Votre adresse Email a étais modifier !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- }
- else
- {
- int num1 = (int) MetroMessageBox.Show((IWin32Window) this, "Votre adresse mail n'est pas valide !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
- }
- }
- private void cbHTML_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("HTML", this.cbHTML.Checked);
- }
- private void cbCSS_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("CSS", this.cbCSS.Checked);
- }
- private void cbPHP_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("PHP", this.cbPHP.Checked);
- }
- private void cbJavaScript_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("Javascript", this.cbJavaScript.Checked);
- }
- private void cbSkript_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("Skript", this.cbSkript.Checked);
- }
- private void cbSQL_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("MySQL", this.cbSQL.Checked);
- }
- private void cbBash_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("Bash", this.cbBash.Checked);
- }
- private void cbFramework_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("Framework", this.cbFramework.Checked);
- }
- private void cbJava_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("Java", this.cbJava.Checked);
- }
- private void cbC_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setCompetence("C", this.cbC.Checked);
- }
- private void rbOui_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setDispo(false);
- }
- private void rbNon_CheckedChanged(object sender, EventArgs e)
- {
- this.user.setDispo(true);
- }
- private void cbStyle_SelectedIndexChanged(object sender, EventArgs e)
- {
- if (this.cbStyle.SelectedIndex.Equals(0))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "lightblue");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Light, "Light Blue");
- }
- if (this.cbStyle.SelectedIndex.Equals(1))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "lightgreen");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Light, "Light Green");
- }
- if (this.cbStyle.SelectedIndex.Equals(2))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "lightyellow");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Light, "Light Yellow");
- }
- if (this.cbStyle.SelectedIndex.Equals(3))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "lightred");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Light, "Light Red");
- }
- if (this.cbStyle.SelectedIndex.Equals(4))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "lightorange");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Light, "Light Orange");
- }
- if (this.cbStyle.SelectedIndex.Equals(5))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "lightsilver");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Light, "Light Silver");
- }
- if (this.cbStyle.SelectedIndex.Equals(7))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "darkblue");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Blue, MetroThemeStyle.Dark, "Dark Blue");
- }
- if (this.cbStyle.SelectedIndex.Equals(8))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "darkgreen");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Green, MetroThemeStyle.Dark, "Dark Green");
- }
- if (this.cbStyle.SelectedIndex.Equals(9))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "darkyellow");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Yellow, MetroThemeStyle.Dark, "Dark Yellow");
- }
- if (this.cbStyle.SelectedIndex.Equals(10))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "darkred");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Red, MetroThemeStyle.Dark, "Dark Red");
- }
- if (this.cbStyle.SelectedIndex.Equals(11))
- {
- System.Configuration.Configuration configuration = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration.AppSettings.Settings.Remove("theme");
- configuration.AppSettings.Settings.Add("theme", "darkorange");
- int num = 0;
- configuration.Save((ConfigurationSaveMode) num);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Orange, MetroThemeStyle.Dark, "Dark Orange");
- }
- if (!this.cbStyle.SelectedIndex.Equals(12))
- return;
- System.Configuration.Configuration configuration1 = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None);
- configuration1.AppSettings.Settings.Remove("theme");
- configuration1.AppSettings.Settings.Add("theme", "darksilver");
- int num1 = 0;
- configuration1.Save((ConfigurationSaveMode) num1);
- ConfigurationManager.RefreshSection("appSettings");
- this.setTheme(MetroColorStyle.Silver, MetroThemeStyle.Dark, "Dark Silver");
- }
- private void SetAccueil()
- {
- this.lTitle.Text = "ACCUEIL && NEWS";
- this.lNewPassword.Hide();
- this.lRenewPassword.Hide();
- this.tbNewPassword.Hide();
- this.tbRenewPassword.Hide();
- this.bValidatePassword.Hide();
- this.lNewsLDCP.Show();
- this.tbNewsLDCP.Show();
- this.lEnCours.Hide();
- this.lFIni.Hide();
- this.lDispo.Hide();
- this.rbOui.Hide();
- this.rbNon.Hide();
- this.tbMail.Hide();
- this.bChangerMail.Hide();
- this.lCompetences.Hide();
- this.cbBash.Hide();
- this.cbC.Hide();
- this.cbSQL.Hide();
- this.cbCSS.Hide();
- this.cbFramework.Hide();
- this.cbHTML.Hide();
- this.cbJava.Hide();
- this.cbJavaScript.Hide();
- this.cbPHP.Hide();
- this.cbSkript.Hide();
- this.tbNewUsername.Hide();
- this.bNewUsername.Hide();
- }
- private void SetCmdGestion()
- {
- this.lTitle.Text = "GESTION DES COMMANDES";
- this.lNewPassword.Hide();
- this.lRenewPassword.Hide();
- this.tbNewPassword.Hide();
- this.tbRenewPassword.Hide();
- this.bValidatePassword.Hide();
- this.lNewsLDCP.Hide();
- this.tbNewsLDCP.Hide();
- this.lDispo.Hide();
- this.rbOui.Hide();
- this.rbNon.Hide();
- this.lEnCours.Hide();
- this.lFIni.Hide();
- this.tbMail.Hide();
- this.bChangerMail.Hide();
- this.lCompetences.Hide();
- this.cbBash.Hide();
- this.cbSQL.Hide();
- this.cbC.Hide();
- this.cbCSS.Hide();
- this.cbFramework.Hide();
- this.cbHTML.Hide();
- this.cbJava.Hide();
- this.cbJavaScript.Hide();
- this.cbPHP.Hide();
- this.cbSkript.Hide();
- this.tbNewUsername.Hide();
- this.bNewUsername.Hide();
- }
- private void SetCompteGestion()
- {
- this.lTitle.Text = "GESTION DU COMPTE";
- this.lNewPassword.Show();
- this.lRenewPassword.Show();
- this.tbNewPassword.Show();
- this.tbRenewPassword.Show();
- this.bValidatePassword.Show();
- this.lNewsLDCP.Hide();
- this.tbNewsLDCP.Hide();
- this.lDispo.Show();
- this.rbOui.Show();
- this.rbNon.Show();
- this.lEnCours.Show();
- this.lFIni.Show();
- this.tbMail.Show();
- this.bChangerMail.Show();
- this.lCompetences.Show();
- this.cbBash.Show();
- this.cbC.Show();
- this.cbCSS.Show();
- this.cbSQL.Show();
- this.cbFramework.Show();
- this.cbHTML.Show();
- this.cbJava.Show();
- this.cbJavaScript.Show();
- this.cbPHP.Show();
- this.cbSkript.Show();
- this.tbNewUsername.Show();
- this.bNewUsername.Show();
- }
- private void setTheme(MetroColorStyle color, MetroThemeStyle theme, string cbText)
- {
- this.msManager.Style = color;
- this.msManager.Theme = theme;
- this.cbStyle.Text = cbText;
- this.Refresh();
- }
- private void MainF_FormClosing_1(object sender, FormClosingEventArgs e)
- {
- Environment.Exit(0);
- }
- private void bNewUsername_Click(object sender, EventArgs e)
- {
- if (!this.tbNewUsername.Text.Equals(""))
- {
- this.user.setName(this.tbNewUsername.Text);
- this.mtUser.Text = this.tbNewUsername.Text;
- int num = (int) MetroMessageBox.Show((IWin32Window) this, "Nom d'utilisateur modifié !", "Success", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
- }
- else
- {
- int num1 = (int) MetroMessageBox.Show((IWin32Window) this, "Le nom d'utilisateur est vide !", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);
- }
- }
- protected override void Dispose(bool disposing)
- {
- if (disposing && this.components != null)
- this.components.Dispose();
- base.Dispose(disposing);
- }
- private void InitializeComponent()
- {
- this.components = (IContainer) new Container();
- this.mtGestionCompte = new MetroTile();
- this.mtGestionCommande = new MetroTile();
- this.mtDisconnect = new MetroTile();
- this.lNewPassword = new MetroLabel();
- this.lRenewPassword = new MetroLabel();
- this.mtMenuV = new MetroTile();
- this.mtMenuH = new MetroTile();
- this.tbRenewPassword = new MetroTextBox();
- this.tbNewPassword = new MetroTextBox();
- this.bValidatePassword = new MetroButton();
- this.mtAccueil = new MetroTile();
- this.lTitle = new MetroLabel();
- this.mtSubtitle = new MetroTile();
- this.lNewsLDCP = new MetroLabel();
- this.tbNewsLDCP = new MetroTextBox();
- this.lFooter = new MetroLabel();
- this.rbNon = new MetroRadioButton();
- this.rbOui = new MetroRadioButton();
- this.lDispo = new MetroLabel();
- this.lEnCours = new MetroLabel();
- this.lFIni = new MetroLabel();
- this.tbMail = new MetroTextBox();
- this.bChangerMail = new MetroButton();
- this.lCompetences = new MetroLabel();
- this.cbHTML = new MetroCheckBox();
- this.cbCSS = new MetroCheckBox();
- this.cbPHP = new MetroCheckBox();
- this.cbJavaScript = new MetroCheckBox();
- this.cbSkript = new MetroCheckBox();
- this.cbSQL = new MetroCheckBox();
- this.cbBash = new MetroCheckBox();
- this.cbFramework = new MetroCheckBox();
- this.cbJava = new MetroCheckBox();
- this.cbC = new MetroCheckBox();
- this.cbStyle = new MetroComboBox();
- this.bNewUsername = new MetroButton();
- this.tbNewUsername = new MetroTextBox();
- this.msManager = new MetroStyleManager(this.components);
- this.lStyle = new MetroLabel();
- this.mtUser = new MetroTile();
- ((ISupportInitialize) this.msManager).BeginInit();
- this.SuspendLayout();
- this.mtGestionCompte.ActiveControl = (Control) null;
- this.mtGestionCompte.Location = new Point(23, 181);
- this.mtGestionCompte.Name = "mtGestionCompte";
- this.mtGestionCompte.Size = new Size(170, 35);
- this.mtGestionCompte.TabIndex = 5;
- this.mtGestionCompte.Text = "Gestion du compte";
- this.mtGestionCompte.TextAlign = ContentAlignment.MiddleLeft;
- this.mtGestionCompte.UseSelectable = true;
- this.mtGestionCompte.Click += new EventHandler(this.mtGestionCompte_Click);
- this.mtGestionCommande.ActiveControl = (Control) null;
- this.mtGestionCommande.Location = new Point(23, 140);
- this.mtGestionCommande.Name = "mtGestionCommande";
- this.mtGestionCommande.Size = new Size(170, 35);
- this.mtGestionCommande.TabIndex = 6;
- this.mtGestionCommande.Text = "Gestion des commandes";
- this.mtGestionCommande.TextAlign = ContentAlignment.MiddleLeft;
- this.mtGestionCommande.UseSelectable = true;
- this.mtGestionCommande.Click += new EventHandler(this.mtGestionCommande_Click);
- this.mtDisconnect.ActiveControl = (Control) null;
- this.mtDisconnect.Location = new Point(23, 497);
- this.mtDisconnect.Name = "mtDisconnect";
- this.mtDisconnect.Size = new Size(170, 25);
- this.mtDisconnect.TabIndex = 8;
- this.mtDisconnect.Text = "Déconnexion";
- this.mtDisconnect.TextAlign = ContentAlignment.MiddleLeft;
- this.mtDisconnect.UseSelectable = true;
- this.mtDisconnect.Click += new EventHandler(this.mtDisconnect_Click);
- this.lNewPassword.AutoSize = true;
- this.lNewPassword.Location = new Point(306, 119);
- this.lNewPassword.Name = "lNewPassword";
- this.lNewPassword.Size = new Size(151, 19);
- this.lNewPassword.TabIndex = 10;
- this.lNewPassword.Text = "Nouveau mot de passe :";
- this.lRenewPassword.AutoSize = true;
- this.lRenewPassword.Location = new Point(241, 148);
- this.lRenewPassword.Name = "lRenewPassword";
- this.lRenewPassword.Size = new Size(216, 19);
- this.lRenewPassword.TabIndex = 11;
- this.lRenewPassword.Text = "Vérification nouveau mot de passe :";
- this.mtMenuV.ActiveControl = (Control) null;
- this.mtMenuV.BackColor = Color.DodgerBlue;
- this.mtMenuV.Enabled = false;
- this.mtMenuV.Location = new Point(218, 68);
- this.mtMenuV.Name = "mtMenuV";
- this.mtMenuV.Size = new Size(5, 486);
- this.mtMenuV.TabIndex = 12;
- this.mtMenuV.UseSelectable = true;
- this.mtMenuH.ActiveControl = (Control) null;
- this.mtMenuH.BackColor = Color.DodgerBlue;
- this.mtMenuH.Enabled = false;
- this.mtMenuH.Location = new Point(-14, 67);
- this.mtMenuH.Name = "mtMenuH";
- this.mtMenuH.Size = new Size(237, 5);
- this.mtMenuH.TabIndex = 13;
- this.mtMenuH.UseSelectable = true;
- this.tbRenewPassword.CustomButton.Image = (Image) null;
- this.tbRenewPassword.CustomButton.Location = new Point(83, 1);
- this.tbRenewPassword.CustomButton.Name = "";
- this.tbRenewPassword.CustomButton.Size = new Size(21, 21);
- this.tbRenewPassword.CustomButton.Style = MetroColorStyle.Blue;
- this.tbRenewPassword.CustomButton.TabIndex = 1;
- this.tbRenewPassword.CustomButton.Theme = MetroThemeStyle.Light;
- this.tbRenewPassword.CustomButton.UseSelectable = true;
- this.tbRenewPassword.CustomButton.Visible = false;
- this.tbRenewPassword.Lines = new string[0];
- this.tbRenewPassword.Location = new Point(463, 148);
- this.tbRenewPassword.MaxLength = (int) short.MaxValue;
- this.tbRenewPassword.Name = "tbRenewPassword";
- this.tbRenewPassword.PasswordChar = '*';
- this.tbRenewPassword.ScrollBars = ScrollBars.None;
- this.tbRenewPassword.SelectedText = "";
- this.tbRenewPassword.SelectionLength = 0;
- this.tbRenewPassword.SelectionStart = 0;
- this.tbRenewPassword.Size = new Size(105, 23);
- this.tbRenewPassword.TabIndex = 0;
- this.tbRenewPassword.UseSelectable = true;
- this.tbRenewPassword.WaterMarkColor = Color.FromArgb(109, 109, 109);
- this.tbRenewPassword.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
- this.tbNewPassword.CustomButton.Image = (Image) null;
- this.tbNewPassword.CustomButton.Location = new Point(83, 1);
- this.tbNewPassword.CustomButton.Name = "";
- this.tbNewPassword.CustomButton.Size = new Size(21, 21);
- this.tbNewPassword.CustomButton.Style = MetroColorStyle.Blue;
- this.tbNewPassword.CustomButton.TabIndex = 1;
- this.tbNewPassword.CustomButton.Theme = MetroThemeStyle.Light;
- this.tbNewPassword.CustomButton.UseSelectable = true;
- this.tbNewPassword.CustomButton.Visible = false;
- this.tbNewPassword.Lines = new string[0];
- this.tbNewPassword.Location = new Point(463, 119);
- this.tbNewPassword.MaxLength = (int) short.MaxValue;
- this.tbNewPassword.Name = "tbNewPassword";
- this.tbNewPassword.PasswordChar = '*';
- this.tbNewPassword.ScrollBars = ScrollBars.None;
- this.tbNewPassword.SelectedText = "";
- this.tbNewPassword.SelectionLength = 0;
- this.tbNewPassword.SelectionStart = 0;
- this.tbNewPassword.Size = new Size(105, 23);
- this.tbNewPassword.TabIndex = 1;
- this.tbNewPassword.UseSelectable = true;
- this.tbNewPassword.WaterMarkColor = Color.FromArgb(109, 109, 109);
- this.tbNewPassword.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
- this.bValidatePassword.Location = new Point(584, 119);
- this.bValidatePassword.Name = "bValidatePassword";
- this.bValidatePassword.Size = new Size(109, 52);
- this.bValidatePassword.TabIndex = 14;
- this.bValidatePassword.Text = "Validation";
- this.bValidatePassword.UseSelectable = true;
- this.bValidatePassword.Click += new EventHandler(this.bValidatePassword_Click);
- this.mtAccueil.ActiveControl = (Control) null;
- this.mtAccueil.Location = new Point(23, 99);
- this.mtAccueil.Name = "mtAccueil";
- this.mtAccueil.Size = new Size(170, 35);
- this.mtAccueil.TabIndex = 15;
- this.mtAccueil.Text = "Accueil && News";
- this.mtAccueil.TextAlign = ContentAlignment.MiddleLeft;
- this.mtAccueil.UseSelectable = true;
- this.mtAccueil.Click += new EventHandler(this.mtAccueil_Click);
- this.lTitle.AutoSize = true;
- this.lTitle.BackColor = Color.Transparent;
- this.lTitle.FontSize = MetroLabelSize.Tall;
- this.lTitle.Location = new Point(227, 67);
- this.lTitle.Name = "lTitle";
- this.lTitle.Size = new Size(231, 25);
- this.lTitle.TabIndex = 16;
- this.lTitle.Text = "GESTION DES COMMANDES";
- this.mtSubtitle.ActiveControl = (Control) null;
- this.mtSubtitle.BackColor = Color.DodgerBlue;
- this.mtSubtitle.Enabled = false;
- this.mtSubtitle.Location = new Point(223, 95);
- this.mtSubtitle.Name = "mtSubtitle";
- this.mtSubtitle.Size = new Size(235, 5);
- this.mtSubtitle.TabIndex = 17;
- this.mtSubtitle.UseSelectable = true;
- this.lNewsLDCP.AutoSize = true;
- this.lNewsLDCP.Location = new Point(241, 119);
- this.lNewsLDCP.Name = "lNewsLDCP";
- this.lNewsLDCP.Size = new Size(116, 19);
- this.lNewsLDCP.TabIndex = 18;
- this.lNewsLDCP.Text = "News de Lekydev :";
- this.tbNewsLDCP.CustomButton.Image = (Image) null;
- this.tbNewsLDCP.CustomButton.Location = new Point(-151, 2);
- this.tbNewsLDCP.CustomButton.Name = "";
- this.tbNewsLDCP.CustomButton.Size = new Size(365, 365);
- this.tbNewsLDCP.CustomButton.Style = MetroColorStyle.Blue;
- this.tbNewsLDCP.CustomButton.TabIndex = 1;
- this.tbNewsLDCP.CustomButton.Theme = MetroThemeStyle.Light;
- this.tbNewsLDCP.CustomButton.UseSelectable = true;
- this.tbNewsLDCP.CustomButton.Visible = false;
- this.tbNewsLDCP.Lines = new string[0];
- this.tbNewsLDCP.Location = new Point(241, 152);
- this.tbNewsLDCP.MaxLength = (int) short.MaxValue;
- this.tbNewsLDCP.Multiline = true;
- this.tbNewsLDCP.Name = "tbNewsLDCP";
- this.tbNewsLDCP.PasswordChar = char.MinValue;
- this.tbNewsLDCP.ReadOnly = true;
- this.tbNewsLDCP.ScrollBars = ScrollBars.None;
- this.tbNewsLDCP.SelectedText = "";
- this.tbNewsLDCP.SelectionLength = 0;
- this.tbNewsLDCP.SelectionStart = 0;
- this.tbNewsLDCP.Size = new Size(217, 370);
- this.tbNewsLDCP.TabIndex = 19;
- this.tbNewsLDCP.UseSelectable = true;
- this.tbNewsLDCP.WaterMarkColor = Color.FromArgb(109, 109, 109);
- this.tbNewsLDCP.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
- this.lFooter.AutoSize = true;
- this.lFooter.FontSize = MetroLabelSize.Small;
- this.lFooter.Location = new Point(890, 495);
- this.lFooter.Name = "lFooter";
- this.lFooter.Size = new Size(138, 30);
- this.lFooter.TabIndex = 21;
- this.lFooter.Text = "Version : 1.1.0.3\r\nCode && Design by Frozen ";
- this.lFooter.TextAlign = ContentAlignment.TopRight;
- this.lFooter.UseMnemonic = false;
- this.rbNon.AutoSize = true;
- this.rbNon.FontWeight = MetroCheckBoxWeight.Light;
- this.rbNon.Location = new Point(370, 197);
- this.rbNon.Name = "rbNon";
- this.rbNon.Size = new Size(45, 15);
- this.rbNon.TabIndex = 23;
- this.rbNon.Text = "Non";
- this.rbNon.UseSelectable = true;
- this.rbNon.CheckedChanged += new EventHandler(this.rbNon_CheckedChanged);
- this.rbOui.AutoSize = true;
- this.rbOui.FontWeight = MetroCheckBoxWeight.Light;
- this.rbOui.Location = new Point(324, 197);
- this.rbOui.Name = "rbOui";
- this.rbOui.Size = new Size(40, 15);
- this.rbOui.TabIndex = 24;
- this.rbOui.Text = "Oui";
- this.rbOui.UseSelectable = true;
- this.rbOui.CheckedChanged += new EventHandler(this.rbOui_CheckedChanged);
- this.lDispo.AutoSize = true;
- this.lDispo.Location = new Point(241, 193);
- this.lDispo.Name = "lDispo";
- this.lDispo.Size = new Size(77, 19);
- this.lDispo.TabIndex = 25;
- this.lDispo.Text = "Disponible :";
- this.lEnCours.AutoSize = true;
- this.lEnCours.Location = new Point(241, 238);
- this.lEnCours.Name = "lEnCours";
- this.lEnCours.Size = new Size(150, 19);
- this.lEnCours.TabIndex = 26;
- this.lEnCours.Text = "Commande en cours : 0";
- this.lFIni.AutoSize = true;
- this.lFIni.Location = new Point(241, 257);
- this.lFIni.Name = "lFIni";
- this.lFIni.Size = new Size(158, 19);
- this.lFIni.TabIndex = 27;
- this.lFIni.Text = "Commandes terminée : 0";
- this.tbMail.CustomButton.Image = (Image) null;
- this.tbMail.CustomButton.Location = new Point(106, 1);
- this.tbMail.CustomButton.Name = "";
- this.tbMail.CustomButton.Size = new Size(21, 21);
- this.tbMail.CustomButton.Style = MetroColorStyle.Blue;
- this.tbMail.CustomButton.TabIndex = 1;
- this.tbMail.CustomButton.Theme = MetroThemeStyle.Light;
- this.tbMail.CustomButton.UseSelectable = true;
- this.tbMail.CustomButton.Visible = false;
- this.tbMail.Lines = new string[0];
- this.tbMail.Location = new Point(861, 119);
- this.tbMail.MaxLength = (int) short.MaxValue;
- this.tbMail.Name = "tbMail";
- this.tbMail.PasswordChar = char.MinValue;
- this.tbMail.ScrollBars = ScrollBars.None;
- this.tbMail.SelectedText = "";
- this.tbMail.SelectionLength = 0;
- this.tbMail.SelectionStart = 0;
- this.tbMail.Size = new Size(128, 23);
- this.tbMail.TabIndex = 29;
- this.tbMail.UseSelectable = true;
- this.tbMail.WaterMarkColor = Color.FromArgb(109, 109, 109);
- this.tbMail.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
- this.bChangerMail.Location = new Point(861, 152);
- this.bChangerMail.Name = "bChangerMail";
- this.bChangerMail.Size = new Size(128, 23);
- this.bChangerMail.TabIndex = 30;
- this.bChangerMail.Text = "Changer d'email";
- this.bChangerMail.UseSelectable = true;
- this.bChangerMail.Click += new EventHandler(this.bChangerMail_Click);
- this.lCompetences.AutoSize = true;
- this.lCompetences.Location = new Point(241, 302);
- this.lCompetences.Name = "lCompetences";
- this.lCompetences.Size = new Size(96, 19);
- this.lCompetences.TabIndex = 31;
- this.lCompetences.Text = "Compétences :";
- this.cbHTML.AutoSize = true;
- this.cbHTML.Location = new Point(251, 327);
- this.cbHTML.Name = "cbHTML";
- this.cbHTML.Size = new Size(56, 15);
- this.cbHTML.TabIndex = 32;
- this.cbHTML.Text = "HTML";
- this.cbHTML.UseSelectable = true;
- this.cbHTML.CheckedChanged += new EventHandler(this.cbHTML_CheckedChanged);
- this.cbCSS.AutoSize = true;
- this.cbCSS.Location = new Point(251, 348);
- this.cbCSS.Name = "cbCSS";
- this.cbCSS.Size = new Size(43, 15);
- this.cbCSS.TabIndex = 33;
- this.cbCSS.Text = "CSS";
- this.cbCSS.UseSelectable = true;
- this.cbCSS.CheckedChanged += new EventHandler(this.cbCSS_CheckedChanged);
- this.cbPHP.AutoSize = true;
- this.cbPHP.Location = new Point(251, 369);
- this.cbPHP.Name = "cbPHP";
- this.cbPHP.Size = new Size(46, 15);
- this.cbPHP.TabIndex = 34;
- this.cbPHP.Text = "PHP";
- this.cbPHP.UseSelectable = true;
- this.cbPHP.CheckedChanged += new EventHandler(this.cbPHP_CheckedChanged);
- this.cbJavaScript.AutoSize = true;
- this.cbJavaScript.Location = new Point(251, 390);
- this.cbJavaScript.Name = "cbJavaScript";
- this.cbJavaScript.Size = new Size(75, 15);
- this.cbJavaScript.TabIndex = 35;
- this.cbJavaScript.Text = "JavaScript";
- this.cbJavaScript.UseSelectable = true;
- this.cbJavaScript.CheckedChanged += new EventHandler(this.cbJavaScript_CheckedChanged);
- this.cbSkript.AutoSize = true;
- this.cbSkript.Location = new Point(251, 411);
- this.cbSkript.Name = "cbSkript";
- this.cbSkript.Size = new Size(53, 15);
- this.cbSkript.TabIndex = 36;
- this.cbSkript.Text = "Skript";
- this.cbSkript.UseSelectable = true;
- this.cbSkript.CheckedChanged += new EventHandler(this.cbSkript_CheckedChanged);
- this.cbSQL.AutoSize = true;
- this.cbSQL.Location = new Point(251, 432);
- this.cbSQL.Name = "cbSQL";
- this.cbSQL.Size = new Size(44, 15);
- this.cbSQL.TabIndex = 37;
- this.cbSQL.Text = "SQL";
- this.cbSQL.UseSelectable = true;
- this.cbSQL.CheckedChanged += new EventHandler(this.cbSQL_CheckedChanged);
- this.cbBash.AutoSize = true;
- this.cbBash.Location = new Point(251, 453);
- this.cbBash.Name = "cbBash";
- this.cbBash.Size = new Size(48, 15);
- this.cbBash.TabIndex = 38;
- this.cbBash.Text = "Bash";
- this.cbBash.UseSelectable = true;
- this.cbBash.CheckedChanged += new EventHandler(this.cbBash_CheckedChanged);
- this.cbFramework.AutoSize = true;
- this.cbFramework.Location = new Point(251, 474);
- this.cbFramework.Name = "cbFramework";
- this.cbFramework.Size = new Size(82, 15);
- this.cbFramework.TabIndex = 39;
- this.cbFramework.Text = "Framework";
- this.cbFramework.UseSelectable = true;
- this.cbFramework.CheckedChanged += new EventHandler(this.cbFramework_CheckedChanged);
- this.cbJava.AutoSize = true;
- this.cbJava.Location = new Point(251, 495);
- this.cbJava.Name = "cbJava";
- this.cbJava.Size = new Size(45, 15);
- this.cbJava.TabIndex = 40;
- this.cbJava.Text = "Java";
- this.cbJava.UseSelectable = true;
- this.cbJava.CheckedChanged += new EventHandler(this.cbJava_CheckedChanged);
- this.cbC.AutoSize = true;
- this.cbC.Location = new Point(339, 327);
- this.cbC.Name = "cbC";
- this.cbC.Size = new Size(31, 15);
- this.cbC.TabIndex = 41;
- this.cbC.Text = "C";
- this.cbC.UseSelectable = true;
- this.cbC.CheckedChanged += new EventHandler(this.cbC_CheckedChanged);
- this.cbStyle.FontWeight = MetroComboBoxWeight.Light;
- this.cbStyle.FormattingEnabled = true;
- this.cbStyle.ItemHeight = 23;
- this.cbStyle.Items.AddRange(new object[13]
- {
- (object) "Light Blue",
- (object) "Light Green",
- (object) "Light Yellow",
- (object) "Light Red",
- (object) "Light Orange",
- (object) "Light Silver",
- (object) "",
- (object) "Dark Blue",
- (object) "Dark Green",
- (object) "Dark Yellow",
- (object) "Dark Red",
- (object) "Dark Orange",
- (object) "Dark Silver"
- });
- this.cbStyle.Location = new Point(72, 422);
- this.cbStyle.Name = "cbStyle";
- this.cbStyle.Size = new Size(121, 29);
- this.cbStyle.TabIndex = 42;
- this.cbStyle.UseSelectable = true;
- this.cbStyle.SelectedIndexChanged += new EventHandler(this.cbStyle_SelectedIndexChanged);
- this.bNewUsername.Enabled = false;
- this.bNewUsername.Location = new Point(713, 148);
- this.bNewUsername.Name = "bNewUsername";
- this.bNewUsername.Size = new Size(128, 23);
- this.bNewUsername.TabIndex = 44;
- this.bNewUsername.Text = "Changer de pseudo";
- this.bNewUsername.UseSelectable = true;
- this.bNewUsername.Click += new EventHandler(this.bNewUsername_Click);
- this.tbNewUsername.CustomButton.Image = (Image) null;
- this.tbNewUsername.CustomButton.Location = new Point(106, 1);
- this.tbNewUsername.CustomButton.Name = "";
- this.tbNewUsername.CustomButton.Size = new Size(21, 21);
- this.tbNewUsername.CustomButton.Style = MetroColorStyle.Blue;
- this.tbNewUsername.CustomButton.TabIndex = 1;
- this.tbNewUsername.CustomButton.Theme = MetroThemeStyle.Light;
- this.tbNewUsername.CustomButton.UseSelectable = true;
- this.tbNewUsername.CustomButton.Visible = false;
- this.tbNewUsername.Enabled = false;
- this.tbNewUsername.Lines = new string[0];
- this.tbNewUsername.Location = new Point(713, 119);
- this.tbNewUsername.MaxLength = (int) short.MaxValue;
- this.tbNewUsername.Name = "tbNewUsername";
- this.tbNewUsername.PasswordChar = char.MinValue;
- this.tbNewUsername.ScrollBars = ScrollBars.None;
- this.tbNewUsername.SelectedText = "";
- this.tbNewUsername.SelectionLength = 0;
- this.tbNewUsername.SelectionStart = 0;
- this.tbNewUsername.Size = new Size(128, 23);
- this.tbNewUsername.TabIndex = 45;
- this.tbNewUsername.UseSelectable = true;
- this.tbNewUsername.WaterMarkColor = Color.FromArgb(109, 109, 109);
- this.tbNewUsername.WaterMarkFont = new Font("Segoe UI", 12f, FontStyle.Italic, GraphicsUnit.Pixel);
- this.msManager.Owner = (ContainerControl) this;
- this.lStyle.AutoSize = true;
- this.lStyle.Location = new Point(23, 425);
- this.lStyle.Name = "lStyle";
- this.lStyle.Size = new Size(43, 19);
- this.lStyle.TabIndex = 43;
- this.lStyle.Text = "Style :";
- this.mtUser.ActiveControl = (Control) null;
- this.mtUser.BackColor = SystemColors.Desktop;
- this.mtUser.Enabled = false;
- this.mtUser.Location = new Point(23, 474);
- this.mtUser.Name = "mtUser";
- this.mtUser.Size = new Size(170, 25);
- this.mtUser.Style = MetroColorStyle.Silver;
- this.mtUser.TabIndex = 22;
- this.mtUser.Text = "User";
- this.mtUser.TextAlign = ContentAlignment.MiddleLeft;
- this.mtUser.UseSelectable = true;
- this.AutoScaleDimensions = new SizeF(6f, 13f);
- this.AutoScaleMode = AutoScaleMode.Font;
- this.ClientSize = new Size(1051, 545);
- this.Controls.Add((Control) this.tbNewUsername);
- this.Controls.Add((Control) this.bNewUsername);
- this.Controls.Add((Control) this.lStyle);
- this.Controls.Add((Control) this.cbStyle);
- this.Controls.Add((Control) this.cbC);
- this.Controls.Add((Control) this.cbJava);
- this.Controls.Add((Control) this.cbFramework);
- this.Controls.Add((Control) this.cbBash);
- this.Controls.Add((Control) this.cbSQL);
- this.Controls.Add((Control) this.cbSkript);
- this.Controls.Add((Control) this.cbJavaScript);
- this.Controls.Add((Control) this.cbPHP);
- this.Controls.Add((Control) this.cbCSS);
- this.Controls.Add((Control) this.cbHTML);
- this.Controls.Add((Control) this.lCompetences);
- this.Controls.Add((Control) this.bChangerMail);
- this.Controls.Add((Control) this.tbMail);
- this.Controls.Add((Control) this.lFIni);
- this.Controls.Add((Control) this.lEnCours);
- this.Controls.Add((Control) this.lDispo);
- this.Controls.Add((Control) this.rbOui);
- this.Controls.Add((Control) this.rbNon);
- this.Controls.Add((Control) this.mtUser);
- this.Controls.Add((Control) this.lFooter);
- this.Controls.Add((Control) this.tbNewsLDCP);
- this.Controls.Add((Control) this.lNewsLDCP);
- this.Controls.Add((Control) this.mtSubtitle);
- this.Controls.Add((Control) this.lTitle);
- this.Controls.Add((Control) this.mtAccueil);
- this.Controls.Add((Control) this.bValidatePassword);
- this.Controls.Add((Control) this.tbRenewPassword);
- this.Controls.Add((Control) this.tbNewPassword);
- this.Controls.Add((Control) this.mtMenuH);
- this.Controls.Add((Control) this.mtMenuV);
- this.Controls.Add((Control) this.lRenewPassword);
- this.Controls.Add((Control) this.lNewPassword);
- this.Controls.Add((Control) this.mtDisconnect);
- this.Controls.Add((Control) this.mtGestionCommande);
- this.Controls.Add((Control) this.mtGestionCompte);
- this.MaximizeBox = false;
- this.Name = "MainF";
- this.Resizable = false;
- this.ShadowType = MetroFormShadowType.DropShadow;
- this.SizeGripStyle = SizeGripStyle.Hide;
- this.Style = MetroColorStyle.Default;
- this.Text = "LD Control Panel ";
- this.Theme = MetroThemeStyle.Default;
- this.FormClosing += new FormClosingEventHandler(this.MainF_FormClosing_1);
- this.Load += new EventHandler(this.MainF_Load);
- ((ISupportInitialize) this.msManager).EndInit();
- this.ResumeLayout(false);
- this.PerformLayout();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement