Esempio n. 1
0
        private void btnDailyUpload_Click(object sender, EventArgs e)
        {
            FrmSDailyUpload1 dailyUpload = new FrmSDailyUpload1();

            dailyUpload.Show();
            this.Hide();
        }
Esempio n. 2
0
 private void btnSignin_Click(object sender, EventArgs e)
 {
     if (txtUsername.Text == "" || txtPassword.Text == "")
     {
         lblError.Text = "Please enter username and password!";
     }
     else if (txtUsername.Text.ToLower() == "admin" && txtPassword.Text == "1nn0v$")
     {
         this.Hide();
         //FrmUpload upload = new FrmUpload();
         //upload.Show();
         FrmSDailyUpload1 DlyUpld = new FrmSDailyUpload1();
         DlyUpld.Show();
         this.Hide();
     }
     else
     {
         lblError.Text = "Invalid username and password!";
     }
 }