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); }
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(); }