private void ModifyItem(Schedule item)
        {
            ScheduleItemDialog itemDialog = new ScheduleItemDialog(item);

            //itemDialog.allSchedule = allSchedule;
            itemDialog.ItemChanged = ItemChanged;
            itemDialog.ShowDialog(this);
        }
        private void AddItem()
        {
            Schedule newSchedule = new Schedule()
            {
                NAME                = "新建日程",
                ACTIVITY_GUID       = CO_IA.Client.RiasPortal.ModuleContainer.Activity.Guid,
                STARTTIME           = DateTime.Now,
                STOPTIME            = DateTime.Now.AddDays(3),
                GUID                = Guid.NewGuid().ToString(),
                MEMO                = "",
                ScheduleDetailInfos = new ScheduleDetail[0]
            };
            ScheduleItemDialog itemDialog = new ScheduleItemDialog(newSchedule);

            //itemDialog.allSchedule = allSchedule;
            itemDialog.ItemChanged = ItemChanged;
            itemDialog.ShowDialog(this);
        }