Example #1
0
        private void setPasswordToolStripMenuItem_Click(object sender, EventArgs e)
        {
            PasswordDialog passDG = new PasswordDialog();

            if (passDG.ShowDialog() == System.Windows.Forms.DialogResult.OK)
            {
                currentPage.browser.Password = passDG.Password;
                currentPage.browser.UserName = passDG.Username;
            }
        }
Example #2
0
 private void setPasswordToolStripMenuItem_Click(object sender, EventArgs e)
 {
     PasswordDialog passDG = new PasswordDialog();
     if (passDG.ShowDialog() == System.Windows.Forms.DialogResult.OK)
     {
         currentPage.browser.Password = passDG.Password;
         currentPage.browser.UserName = passDG.Username;
     }
 }