Beispiel #1
0
        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);
        }
Beispiel #2
0
        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();
        }