private void ResetForm() { MessagetextBox.Clear(); EmailtextBox.Clear(); SubjecttextBox.Clear(); NametextBox.Clear(); }
private void Reset() { NametextBox.Clear(); RegistrationtextBox.Clear(); AddresstextBox3.Clear(); MobileNotextBox4.Clear(); DepartmenttextBox5.Clear(); Deletebutton.Enabled = false; }
private void ClearForm() { NametextBox.Clear(); ProfessioncomboBox.SelectedIndex = -1; RacecomboBox.SelectedIndex = -1; StrengthnumericUpDown.Value = 50; IntelligencenumericUpDown.Value = 50; AgilitynumericUpDown.Value = 50; ConstitutionnumericUpDown.Value = 50; CharismanumericUpDown.Value = 50; BiographytextBox.Clear(); }
private void resetToolStripMenuItem_Click(object sender, EventArgs e) { IDtextBox.Clear(); NametextBox.Clear(); EmailtextBox.Clear(); PhonenumbertextBox.Clear(); EventSessiontextBox.Clear(); EventTypetextBox.Clear(); AddresstextBox.Clear(); AssignHalltextBox.Clear(); EstimatedGueststextBox.Clear(); AdvancetextBox.Clear(); CitytextBox.Clear(); TotalAmounttextBox.Clear(); }
private void supplierAddbutton_Click(object sender, EventArgs e) { Supplier1 aSuppllier = new Supplier1(); aSuppllier.SupplierName = NametextBox.Text.Replace("'", "''"); aSuppllier.SupplierInformation = informationtextBox.Text.Replace("'", "''"); Supplier1DAO aDao = new Supplier1DAO(); string sr = aDao.InsertSupplier(aSuppllier); if (sr == "Supplier1 Insert Successfully") { NametextBox.Clear(); informationtextBox.Clear(); } MessageBox.Show(sr); }
private void ClearForm() { NametextBox.Clear(); AgetextBox.Clear(); Submitbutton.Enabled = false; }
private void ResetForm() { NametextBox.Clear(); EmailtextBox.Clear(); }