private void schedulerControl_EditAppointmentFormShowing(object sender, AppointmentFormEventArgs e) { Appointment app = e.Appointment; try { if (app.GetValue(this.schedulerStorage, "ID") != null) { frmMeeting frm = new frmMeeting(HelpNumber.ParseInt64(app.GetValue(this.schedulerStorage, "ID")), null); HelpProtocolForm.ShowModalDialog(this, frm); } e.Handled = true; } catch { e.Handled = true; return; } }
public override void ShowUpdateForm(long id) { frmMeeting frm = new frmMeeting(id, false); frm.RefreshData += new frmMeeting.UpdateDataScheduler(UpdateSchedulerControl); HelpProtocolForm.ShowModalDialog(this, frm); }
public override void ShowViewForm(long id) { frmMeeting frm = new frmMeeting(id, null); HelpProtocolForm.ShowModalDialog(this, frm); }
public override long[] ShowAddForm() { frmMeeting frm = new frmMeeting(); frm.RefreshData += new frmMeeting.UpdateDataScheduler(UpdateSchedulerControl); HelpProtocolForm.ShowModalDialog(this, frm); return null; }