private void BtnBrowser_Click(object sender, EventArgs e) { txtBrowser.Text = cmnService.J_OpenFileDialog("Microsoft Access | *.mdb", "Microsoft Access | *.mdb", "Choose the database to connect"); if (txtBrowser.Text == "") { BtnBrowser.Select(); } else { BtnSubmit.Select(); } }
public new void SetFocus() { BtnSubmit.Select(); BtnSubmit.Focus(); }