コード例 #1
0
        private void scheduler_EditAppointmentFormShowing(object sender, DevExpress.Xpf.Scheduler.EditAppointmentFormEventArgs e)
        {
            SchedulerControl control = sender as SchedulerControl;

            if (Object.Equals(control, null))
            {
                return;
            }
            e.Form        = new MyAppointmentEditForm(sender as SchedulerControl, e.Appointment);
            e.AllowResize = false;
        }
コード例 #2
0
 void employeeScheduler_EditAppointmentFormShowing(object sender, DevExpress.Xpf.Scheduler.EditAppointmentFormEventArgs e)
 {
     _currentCorasauBaseEntity = CreateSourceObject(e.Appointment);
     e.Form = new EmployeeTaskSchedulerDialog(employeeScheduler, e.Appointment);
 }