Beispiel #1
0
 private void btn_Creat_Click(object sender, EventArgs e)
 {
     this.Hide();
     VariableGlobal.groupe_id = 0;
     FrmGroup group = new FrmGroup();
     group.Show();
 }
Beispiel #2
0
        private void btn_Edit_Click(object sender, EventArgs e)
        {
            foreach (DataGridViewRow item in this.dataGridViewX1.SelectedRows)
            {
                if (item.Cells[1].Value != null)
                {

                    VariableGlobal.groupe_id = Convert.ToInt32(item.Cells[3].Value.ToString());
                    this.Hide();
                    FrmGroup group = new FrmGroup();
                    group.Show();
                }
            }
        }