Пример #1
0
 public void SavePassword(string login, string pass)
 {
     if (SavePass.Checked == true)
     {
         SavePassword SP = new SavePassword(login, pass);
     }
 }
Пример #2
0
        private void LoginForm_Load(object sender, EventArgs e)
        {
            SavePassword SP = new SavePassword();

            if (SP.CheckedFile())
            {
                ConnectionToDB(SP.GetData(0), SP.GetData(1));
            }
        }
Пример #3
0
        private void ChangeButton_Click(object sender, EventArgs e)
        {
            SavePassword SP = new SavePassword();

            SP.ClearData();
            LoginForm lf = new LoginForm();

            lf.Show();
            this.Close();
        }