private void OpenRulesWindow(object sender, RoutedEventArgs e) { Window rules = new Rules(); rules.Show(); }