Beispiel #1
0
        public frmGesVersion(int id)
        {
            cv = new ctrlVersion();
            InitializeComponent();
            idJeu = id;

            btnDetails.Click += new EventHandler(detailVersion_Click);
            btnAjout.Click += new EventHandler(ajoutVersion_Click);

            ButtonsVisible(true);

            chargerColonnes();
            afficherDonnees();
        }
Beispiel #2
0
        public frmGestVersion()
        {
            InitializeComponent();

            this.btnDetails.Click += new EventHandler(btnDetails_Click);
            this.btnAjout.Click += new EventHandler(ajoutVersion_Click);
            this.btnRecherche.Click += new EventHandler(btnRechercher_click);
            this.btnX.Click += new EventHandler(btnX_click);

            ButtonsVisible(true);

            ctrlVers = new ctrlVersion();
            idJeu = 3;
        }
Beispiel #3
0
        public frmGesVersion()
        {
            InitializeComponent();

            this.btnDetails.Click += new EventHandler(btnDetails_Click);
            this.btnAjout.Click += new EventHandler(ajoutVersion_Click);
            this.btnRecherche.Click += new EventHandler(btnRechercher_click);
            this.btnX.Click += new EventHandler(btnX_click);
            this.txtRecherche.KeyDown += new KeyEventHandler(txtRecherche_KeyDown);

            ButtonsVisible(true);
            disableMenu();

            ctrlVers = new ctrlVersion();
            idJeu = 3;
        }
Beispiel #4
0
 // Load les trucs de base presente dans chacune des possibilités de formes
 private void loadFrmGeneral()
 {
     InitializeComponent();
     this.PositionBtn(350);
     ctrlVers = new ctrlVersion();
     this.btnEnregistrer.Click += new EventHandler(enregistrer);
     this.btnSupprimer.Click += new EventHandler(btnSupprimer_Click);
 }