private void CancelButton_Click(object sender, RoutedEventArgs e) { this.Hide(); var window = new AdminWindow(); window.ShowDialog(); }
private void Button_Click(object sender, RoutedEventArgs e) { if (passwordBox.Password == DataManager.Instance.AdminPassword) { this.Hide(); AdminWindow window = new AdminWindow(); window.ShowDialog(); } }
private void Button_Click(object sender, RoutedEventArgs e) { DataManager.Instance.SelectedRoomFeatures.Clear(); DataManager.Instance.SelectedRoomImages.Clear(); this.Hide(); var window = new AdminWindow(); window.ShowDialog(); }