private void btnSetLimits_Click(object sender, RoutedEventArgs e) { Preferences limits = new Preferences(true); limits.ShowDialog(); }
private void btnPreferences_Click(object sender, RoutedEventArgs e) { Preferences preferences = new Preferences(false); preferences.ShowDialog(); }