private void SaveTag_Load(object sender, EventArgs e) { if (Global.IS_WOLFCOM) { HeaderPanel.BackgroundImage = Properties.Resources.topbar45; } LangCtrl.reText(this); txtDesc.Select(); }
private bool ValidateSearch() { bool flag = true; if (string.IsNullOrEmpty(txtCAD.Text) && string.IsNullOrEmpty(txtRMS.Text) && string.IsNullOrEmpty(txtSet.Text)) { MessageBox.Show(this, LangCtrl.GetString("gc_msg1", "Search requires either RMS or CAD number."), "Search", MessageBoxButtons.OK, MessageBoxIcon.Asterisk); txtRMS.Select(); flag = false; } return(flag); }