예제 #1
0
        void SoldClick()
        {
            Window_ChoseElementWindow wd = new Window_ChoseElementWindow(typeof(Seance), DataBaseWorker.Instance, true);
            Seance dialogRes             = wd.ShowDialogWithResult(-1) as Seance;

            if (dialogRes == null)
            {
                return;
            }
            Window_CinemaRoomViewer crv = new Window_CinemaRoomViewer(DataBaseWorker.Instance, dialogRes);

            crv.ShowDialog_Redactor();
        }
예제 #2
0
        private void labelEditCinemaRoom_MouseDown(object sender, MouseButtonEventArgs e)
        {
            Window_ChoseElementWindow wd = new Window_ChoseElementWindow(typeof(CinemaRoom), DataBaseWorker.Instance);

            objectToWork.Room = wd.ShowDialogWithResult(objectToWork.Room) as CinemaRoom;
        }
예제 #3
0
        void SeancesClick()
        {
            Window_ChoseElementWindow wd = new Window_ChoseElementWindow(typeof(Seance), DataBaseWorker.Instance);

            wd.ShowDialogWithResult(-1);
        }