Example #1
0
        private void timer1_Tick(object sender, EventArgs e)
        {
            PasswordDTO password = (PasswordDTO)cbApplication.SelectedItem;

            StringSendKeys(password.UserName);
            SendKeys.Send("{TAB}");
            StringSendKeys(password.Password);
            SendKeys.Send("{ENTER}");
            timer1.Stop();
        }
Example #2
0
 public frmPassword(string appCode)
 {
     InitializeComponent();
     if (!string.IsNullOrEmpty(appCode))
     {
         psw = Program.DataAccess.Passwords.FirstOrDefault(c => c.ApplicationCode == appCode);
     }
     else
     {
         Close();
     }
 }
Example #3
0
 public frmPassword()
 {
     InitializeComponent();
     psw = new PasswordDTO();
 }