Ejemplo n.º 1
0
        private void ShowEventSettingInfo(Appointment e, bool newEvent)
        {
            MainWindowViewModel          o1  = this.vm1;
            EventSettings                wnd = new EventSettings();
            EventSettingsWindowViewModel s   = wnd.vm1;

            if (newEvent)
            {
                s.LoadNewEventInfo(e, o1.CalendarModel);
            }
            else
            {
                s.LoadEventInfo(e, o1.CalendarModel);
            }
            bool?res = wnd.ShowDialog();
        }