Esempio n. 1
0
 private void SaveTag_Load(object sender, EventArgs e)
 {
     if (Global.IS_WOLFCOM)
     {
         HeaderPanel.BackgroundImage = Properties.Resources.topbar45;
     }
     LangCtrl.reText(this);
     txtDesc.Select();
 }
Esempio n. 2
0
        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);
        }