コード例 #1
0
 private void WebsiteList_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (WebsiteList.SelectedItem != null)
     {
         _currentWebsite = (Website)WebsiteList.SelectedItem;
         EnterMasterPassword enterMasterPasswordWindow = new EnterMasterPassword(UserId, this);
         enterMasterPasswordWindow.Show();
     }
 }
コード例 #2
0
        private void BtnClickCreateWebsite(object sender, RoutedEventArgs e)
        {
            if (WebsiteNameTxtBox.Text == null || WebsitePasswordTxtBox.Password == null)
            {
                return;
            }

            EnterMasterPassword enterMasterPasswordWindow = new EnterMasterPassword(UserId, this);

            enterMasterPasswordWindow.Show();
        }
コード例 #3
0
        private void BtnClickUpdateWebsite(object sender, RoutedEventArgs e)
        {
            EnterMasterPassword masterPasswordWindow = new EnterMasterPassword(_userId, this);

            masterPasswordWindow.Show();
        }