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

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

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

            addRoomWindow.Show();
        }