示例#1
0
 private void TextBox1_TextChanged(object sender, System.EventArgs e)
 {
     label1.Text     = LoginPageTextBox.ChangeTextBox1Text(txtboxUsername);
     label1.Location = SetLocationLoginPage.SetLabelLocation(Width, label1.Width);
 }
示例#2
0
 private void LoginPage_Load(object sender, System.EventArgs e)
 {
     label1.Location   = SetLocationLoginPage.SetLabelLocation(Width, label1.Width);
     BtnLogin.Location = SetLocationLoginPage.SetButtonLocation(Width, BtnLogin.Width);
     txtboxUsername.Focus();
 }