public frmGesSysExp() { InitializeComponent(); btnAjout.Click += new EventHandler(ajoutSysExp_Click); btnDetails.Click += new EventHandler(btnDetails_Click); btnRecherche.Click += new System.EventHandler(btnRecherche_Click); btnX.Click += new EventHandler(btnX_Click); ButtonsVisible(true); gestionSysteme = new ctrlSysExp(); }
public frmDetSysExp() { InitializeComponent(); this.PositionBtn(315); this.btnActiverModif.Click += new EventHandler(activerModif); this.btnEnregistrer.Click += new EventHandler(btnEnregistrer_Click); this.btnCopier.Click += new EventHandler(btnCopier_Click); this.btnCopier.Enabled = false; gestionSysExp = new ctrlSysExp(); annuler = true; }
public frmGesSysExp(string _us) { InitializeComponent(); btnAjout.Click += new EventHandler(ajoutSysExp_Click); btnDetails.Click += new EventHandler(btnDetails_Click); btnRecherche.Click += new System.EventHandler(btnRecherche_Click); btnX.Click += new EventHandler(btnX_Click); txtRecherche.KeyDown += new KeyEventHandler(txtRecherche_KeyDown); sortColumn = 1; ButtonsVisible(true); gestionSysteme = new ctrlSysExp(); UserNm = _us; }
// avec authentification public frmDetSysExp(int lvla) { InitializeComponent(); this.PositionBtn(315); this.btnActiverModif.Click += new EventHandler(activerModif); this.btnEnregistrer.Click += new EventHandler(btnEnregistrer_Click); this.btnCopier.Click += new EventHandler(btnCopier_Click); this.btnCopier.Enabled = false; this.btnAnnuler.Click += new EventHandler(btnAnnuler_click); gestionSysExp = new ctrlSysExp(); annuler = false; lvlAcces = lvla; checkLvlAcces(); }
public frmDetSysExp(string[] info) { InitializeComponent(); this.PositionBtn(315); this.btnActiverModif.Click += new EventHandler(activerModif); this.btnEnregistrer.Click += new EventHandler(btnEnregistrer_Click); this.btnSupprimer.Click += new EventHandler(btnSupprimer_Click); this.btnCopier.Click += new EventHandler(btnCopier_Click); txtNom.Text = info[2]; infoSysExp = info; gestionSysExp = new ctrlSysExp(); annuler = true; ancienSysExp = new SystemeExploitation(); }
private void update() { gestionSysteme = new ctrlSysExp(); var formOuvert = new frmGesSysExp(); formOuvert.Show(); this.Hide(); formOuvert.Closed += (s, args) => this.Close(); }