Exemplo n.º 1
0
 /// <summary>
 /// Reset Button OnClick
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Btn_Reset_MouseClick(object sender, MouseEventArgs e)
 {
     Btn_Ok.Enabled = false;
     TB_FN.Clear();
     TB_MI.Clear();
     TB_LN.Clear();
     CB_Gender.SelectedIndex = -1;
     TB_Addr1.Clear();
     TB_Addr2.Clear();
     TB_City.Clear();
     TB_State.Clear();
     TB_Zip.Clear();
     TB_Email.Clear();
     TB_Tel.Clear();
     hide_time_start.Clear();
     hide_time_save.Clear();
     hide_back_num.Clear();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Basic Form Functions: clear
 /// </summary>
 private void clear_form()
 {
     modify         = false;
     Btn_Ok.Enabled = false;
     TB_FN.Clear();
     TB_MI.Clear();
     TB_LN.Clear();
     CB_Gender.SelectedIndex = -1;
     TB_Addr1.Clear();
     TB_Addr2.Clear();
     TB_City.Clear();
     TB_State.Clear();
     TB_Zip.Clear();
     TB_Email.Clear();
     TB_Tel.Clear();
     lstItems.SelectedItems.Clear();
     hide_time_start.Clear();
     hide_time_save.Clear();
     hide_back_num.Clear();
 }