Пример #1
0
        private void RoomsButton_Clicked(object sender, RoutedEventArgs e)
        {
            Window roomsWindow = new RoomsWindow();

            roomsWindow.Owner = this;
            this.Hide();
            roomsWindow.Show();
        }
Пример #2
0
 //parameter ownerWin is temp solution
 public AddRoomWindow(Room newRoom, RoomsWindow ownerWin)
 {
     this.newRoom  = newRoom;
     this.ownerWin = ownerWin;
     InitializeComponent();
 }