예제 #1
0
 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;
      }
 }
예제 #2
0
 public override void ShowUpdateForm(long id)
 {
     frmMeeting frm = new frmMeeting(id, false);
      frm.RefreshData += new frmMeeting.UpdateDataScheduler(UpdateSchedulerControl);
      HelpProtocolForm.ShowModalDialog(this, frm);
 }
예제 #3
0
 public override void ShowViewForm(long id)
 {
     frmMeeting frm = new frmMeeting(id, null);
      HelpProtocolForm.ShowModalDialog(this, frm);
 }
예제 #4
0
 public override long[] ShowAddForm()
 {
     frmMeeting frm = new frmMeeting();
      frm.RefreshData += new frmMeeting.UpdateDataScheduler(UpdateSchedulerControl);
      HelpProtocolForm.ShowModalDialog(this, frm);
      return null;
 }