Example #1
0
        private void btn_ConfigureSaltDialog_Click(object sender, RoutedEventArgs e)
        {
            SaltInputWindow SaltInputWindow1 = new SaltInputWindow();

            SaltInputWindow1.Show();
            SaltInputWindow1.Activate();
        }
Example #2
0
        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();
            }
        }