private void butSync_Click(object sender, RoutedEventArgs e) { DataExchangeWizard dc = new DataExchangeWizard(); dc.WindowStartupLocation = WindowStartupLocation.CenterScreen; dc.ShowDialog(); }
private void butExchnageData_Click(object sender, RoutedEventArgs e) { DataExchangeWizard de = new DataExchangeWizard(); de.WindowStartupLocation = WindowStartupLocation.CenterScreen; if ((bool)de.ShowDialog()) { } else { } }