Ejemplo n.º 1
0
 private void InitialiseTextBoxes()
 {
     DateBox.Clear();
     DateBox.Enabled = false;
     CostBox.Clear();
     CostBox.Enabled = false;
     NameBox.Clear();
     NameBox.Enabled = false;
 }
Ejemplo n.º 2
0
 private void button3_Click(object sender, EventArgs e)
 {
     ClientName.Clear();
     ClientSurname.Clear();
     ClientPatronymic.Clear();
     ClientPhone.Clear();
     HouseBox.Clear();
     StreetBox.Clear();
     CityBox.Clear();
     FlatBox.Clear();
     CategoryBox.Text     = "";
     ProductBox.Text      = "";
     ServiceType.Text     = "";
     numericUpDown1.Value = 1;
     CostBox.Clear();
     PreCost.Clear();
     dataGridView1.Rows.Clear();
     dateTimePicker2.Value = dateTimePicker1.Value;
 }