private void btn_ConfigureSaltDialog_Click(object sender, RoutedEventArgs e) { SaltInputWindow SaltInputWindow1 = new SaltInputWindow(); SaltInputWindow1.Show(); SaltInputWindow1.Activate(); }
public MainWindow() { InitializeComponent(); // Check to see if a key exists already, and prompt the user to create one if it does not. if (!MSPWDStorage.MasterKeyFileExists()) { SaltInputWindow SaltInputWindow1 = new SaltInputWindow(); SaltInputWindow1.Show(); SaltInputWindow1.Activate(); } }