Esempio n. 1
0
        private void Add_Trainess_Click(object sender, EventArgs e)
        {
            AddTrainessForm f_atf = new AddTrainessForm();

            f_atf.ShowDialog();
            updatData();
        }
Esempio n. 2
0
 private void Edit_Trainess_Click(object sender, EventArgs e)
 {
     if (dgv_Trainess.SelectedRows.Count > 0)
     {
         TrainessClass   trainess = dgv_Trainess.SelectedRows[0].Tag as TrainessClass;
         AddTrainessForm f_at     = new AddTrainessForm(trainess);
         f_at.ShowDialog();
         updatData();
     }
 }