Beispiel #1
0
        /// <summary>
        /// 调用编辑界面
        /// </summary>
        public void Edit()
        {
            var shell  = GlobalData.GetShell();
            var editor = new EditCalendarViewModel();

            editor.SetCalendar(this.CurrentCalendar.Key, this.CurrentCalendar.Value);
            shell.ShowDialog(editor, 700, 500);
        }
Beispiel #2
0
 public void ShowAddCalendar(EditCalendarViewModel vm = null)
 {
     this.ShowDialog(vm ?? new EditCalendarViewModel(), 700, 500);
 }
Beispiel #3
0
 /// <summary>
 /// 调用编辑界面
 /// </summary>
 public void Edit() {
     var shell = GlobalData.GetShell();
     var editor = new EditCalendarViewModel();
     editor.SetCalendar(this.CurrentCalendar.Key, this.CurrentCalendar.Value);
     shell.ShowDialog(editor, 700, 500);
 }
Beispiel #4
0
 public void ShowAddCalendar(EditCalendarViewModel vm = null) {
     this.ShowDialog(vm ?? new EditCalendarViewModel(), 700, 500);
 }