Пример #1
0
        private void CancelBtn_Click(object sender, EventArgs e)
        {
            DisplayRichTxBx.Clear();
            FirstNameTxBx.Clear();
            LastNameTxBx.Clear();

            BirthdayDatePicker.Value = DateTime.Now;

            foreach (RadioButton r in GenderGrpBx.Controls)
            {
                r.Checked = false;
            }

            foreach (RadioButton r in BranchesGrpBx.Controls)
            {
                r.Checked = false;
            }

            foreach (CheckBox cb in HobbiesGrpBx.Controls)
            {
                cb.Checked = false;
            }

            foreach (int i in DegreeCheckListBx.CheckedIndices)
            {
                DegreeCheckListBx.SetItemCheckState(i, CheckState.Unchecked);
            }
        }
Пример #2
0
 void Reset()
 {
     CINTxBx.Clear();
     LastNameTxBx.Clear();
     FirstNameTxBx.Clear();
     BloodGrpCbBx.Text    = "";
     RHPlusRdBtn.Checked  = false;
     RHMinusRdBtn.Checked = false;
 }
Пример #3
0
 private void Reset()
 {
     CINTxBx.Clear();
     LastNameTxBx.Clear();
     FirstNameTxBx.Clear();
     AgeTxBx.Clear();
     StFmCRdBtn.Checked     = false;
     StFmMRdBtn.Checked     = false;
     CityCbBx.SelectedIndex = -1;
 }
Пример #4
0
        private void Reset()
        {
            CINTxBx.Clear();
            LastNameTxBx.Clear();
            FirstNameTxBx.Clear();
            AgeTxBx.Clear();

            foreach (RadioButton r in FamStGrp.Controls)
            {
                r.Checked = false;
            }

            CityCbBx.SelectedIndex = -1;
        }