Exemple #1
0
        private void accordionControlElement4_Click(object sender, EventArgs e)
        {
            frmAddEditVeterinary frm = new frmAddEditVeterinary(null, Models.MethodType.Add);

            frm.ShowDialog();
            entityServerModeSource1.QueryableSource = new Models.ModelDb().Veterinaries;
        }
Exemple #2
0
 private void accordionControlElement5_Click(object sender, EventArgs e)
 {
     if (gridView1.GetFocusedRow() is Veterinaries item)
     {
         frmAddEditVeterinary frm = new frmAddEditVeterinary(item.Id, Models.MethodType.Edit);
         frm.ShowDialog();
         entityServerModeSource1.QueryableSource = new Models.ModelDb().Veterinaries;
     }
 }