private void Login_Screen_Load(object sender, EventArgs e) { // TODO: This line of code loads data into the 'purchaseDataSet.Logins' table. You can move, or remove it, as needed. // this.loginsTableAdapter.Fill(this.purchaseDataSet.Logins) TableComboBox.SelectedIndex = 0; UserTbox.Text = Properties.Settings.Default.LoginFormUser; PasswordTbox.Text = Properties.Settings.Default.LoginFormPass; Properties.Settings.Default.LoginFormUser = ""; Properties.Settings.Default.LoginFormPass = ""; UserTbox.Focus(); }
private void Login_Screen_Activated(object sender, EventArgs e) { UserTbox.SelectAll(); }