private void OpenAddRoomWindow()
        {
            var AddRoomWindow    = new AddRoomWindow();
            var AddRoomViewModel = new AddRoomViewModel(AddRoomWindow);

            AddRoomWindow.DataContext = AddRoomViewModel;
            AddRoomWindow.Show();
        }
        private void AddRoomClicked(object sender, RoutedEventArgs e)
        {
            var addRoomWindow = new AddRoomWindow();

            addRoomWindow.Show();
        }
Exemple #3
0
        private void MenuItemAddRoom_Click(object sender, RoutedEventArgs e)
        {
            AddRoomWindow addRoomWindow = new AddRoomWindow();

            addRoomWindow.Show();
        }