public MainWindow() { InitializeComponent(); if ( !Settings.Default.FirstRunLicensingConfigurationFinished ) { var dialog = new ConfigurationDialog(); dialog.ShowDialog(); } }
void Configure_Click( object sender, RoutedEventArgs e ) { var dialog = new ConfigurationDialog { Owner = this }; dialog.ShowDialog(); }