Пример #1
0
        private void ShowDialogForm(Assignment label)
        {
            AssignmentForm frm = new AssignmentForm(_control, GetAppointment(label), _currentBooking, gridControl1);

            frm.ShowDialog();
            frm.Dispose();
        }
Пример #2
0
 private void add_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     try
     {
         AssignmentForm frm = new AssignmentForm(_control, CreateNewAppointment(_apt), _currentBooking, gridControl1);
         frm.ShowDialog();
         frm.Dispose();
     }
     catch (Exception ex)
     {
         WIN.SCHEDULING_APP.GUI.Utility.ErrorHandler.Show(ex);
     }
 }