예제 #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;
        }
예제 #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;
     }
 }