Example #1
0
        private void ClearControls()
        {
            var controls = this.Controls;

            foreach (var control in controls)
            {
                if (control.GetType() == typeof(TextBox))
                {
                    TextBox txt = control as TextBox;
                    txt.Clear();
                }
                if (control.GetType() == typeof(ComboBox))
                {
                    ComboBox cmb = control as ComboBox;
                    cmb.SelectedIndex = -1;
                }
            }
            //picLeftThumb.Image = Properties.Resources.biometric_ss1;
            //picRightThumb.Image = Properties.Resources.biometric_ss1;
            StatusText.Clear();
            StatusText.Visible = false;
        }
Example #2
0
 private void btnClose_Click(object sender, EventArgs e) => StatusText.Clear();
Example #3
0
 private void btnReset_Click(object sender, EventArgs e)
 {
     //picRightThumb.Image = Properties.Resources.biometric_ss1;
     StatusText.Visible = false;
     StatusText.Clear();
 }
Example #4
0
 private void clearStateBtn_Click(object sender, EventArgs e)
 {
     StatusText.Clear();
 }