Esempio n. 1
0
    public override void Assign(ScheduleBase source)
    {
        base.Assign(source);
        EditableSchedule editableSchedule = source as EditableSchedule;

        if (editableSchedule != null)
        {
            Subject     = editableSchedule.Subject;
            Description = editableSchedule.Description;
            StartTime   = editableSchedule.StartTime;
            EndTime     = editableSchedule.EndTime;
        }
    }
Esempio n. 2
0
    static void InsertAppointment()
    {
        EditableSchedule carScheduling = GetAppointmentToInsert <EditableSchedule>(EditableDataObject, SchedulerDemoHelper.DefaultAppointmentStorage);

        CarsDataProvider.InsertSchedule <EditableSchedule>(carScheduling);
    }