Example #1
0
        private void Btn_up_Click(object sender, EventArgs e)
        {
            int           position = lb_lesGerants.SelectedIndex;
            Gerant        gerant   = (Gerant)lb_lesGerants.Items[position];
            F_Edit_Gerant fedit    = new F_Edit_Gerant(state.modified, gerant.State1, lb_lesGerants.Items, position);

            fedit.Show();
        }
Example #2
0
        private void Btn_Add_Click(object sender, EventArgs e)
        {
            F_Edit_Gerant fadd = new F_Edit_Gerant(state.added, lb_lesGerants.Items, lg);

            fadd.Show();
        }