예제 #1
0
        internal static Seance ShowDialog_Redactor(Seance seance)
        {
            Window_SeanceRedactor wd = new Window_SeanceRedactor();

            wd.InitValues(seance);
            wd.ShowDialog();
            return(wd.okPress ? wd.objectToWork.Clone() as Seance : null);
        }
예제 #2
0
        internal static void ShowDialog_View(Seance seance)
        {
            Window_SeanceRedactor wd = new Window_SeanceRedactor();

            wd.InitValues(seance);
            wd.labelEditCinemaRoom.IsEnabled = false;
            wd.labelEditFilm.IsEnabled       = false;
            wd.dateTimePicker.IsEnabled      = false;
            wd.ShowDialog();
        }