internal static CinemaRoom ShowDialog_Redactor(CinemaRoom room) { Window_CinemaRoomRedactor wstr = new Window_CinemaRoomRedactor(); wstr.InitValues(room); wstr.ShowDialog(); return(wstr.okPress ? wstr.roomObject.Clone() as CinemaRoom : null); }
internal static void ShowDialog_View(CinemaRoom room) { Window_CinemaRoomRedactor wstr = new Window_CinemaRoomRedactor(); wstr.InitValues(room); wstr.richTextBoxScheme.IsReadOnly = true; wstr.textBoxName.IsReadOnly = true; wstr.ShowDialog(); }