예제 #1
0
 private void clear()
 {
     TextBox_ID.Clear();
     TextBox_Name.Clear();
     TextBox_price.Clear();
     TextBox_Qty.Clear();
     ComboBox_category.SelectedIndex = 0;
 }
 private void clear()
 {
     TextBox_ID.Clear();
     TextBox_Name.Clear();
     TextBox_age.Clear();
     TextBox_Phone.Clear();
     TextBox_password.Clear();
 }
 /// <summary>
 /// 重置
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     staticName         = "";
     staticCardNo       = "";
     staticStartTime    = "";
     staticEndTime      = "";
     dateTimeStart.Text = "";
     dateTimeEnd.Text   = "";
     TextBox_CardNo.Clear();
     TextBox_Name.Clear();
     pageControl.CurrentPage = 1;
     InitDataGrid();
 }
 private void clear()
 {
     TextBox_ID.Clear();
     TextBox_Name.Clear();
     TextBox_description.Clear();
 }
예제 #5
0
 private void ClearButtonContent()
 {
     TextBox_Name.Clear();
     TextBox_Age.Clear();
     TextBox_Adress.Clear();
 }