private void OkBUT_newRegis_Click(object sender, EventArgs e) { if (BLL.newRegis_BLL(newID_BOX, newPass_BOX)) { TabControlWelcome.SelectTab(tabLogin); } }
private void newPass_BOX_KeyDown(object sender, KeyEventArgs e) { if (e.KeyCode == Keys.Enter) { if (BLL.newRegis_BLL(newID_BOX, newPass_BOX)) { TabControlWelcome.SelectTab(tabLogin); } } } // Catch envents nhấn phím enter sau khi gõ mật khẩu xong
//tab REgister private void CancleBUT_Click(object sender, EventArgs e) { TabControlWelcome.SelectTab(tabLogin); }
} // Catch envents nhấn phím enter sau khi gõ mật khẩu xong private void RegisterBut_Click_1(object sender, EventArgs e) { TabControlWelcome.SelectTab(tabRegisrer); }