コード例 #1
0
 private void ResetForm()
 {
     MessagetextBox.Clear();
     EmailtextBox.Clear();
     SubjecttextBox.Clear();
     NametextBox.Clear();
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: hafizurfahim/FirebaseCrud
 private void Reset()
 {
     NametextBox.Clear();
     RegistrationtextBox.Clear();
     AddresstextBox3.Clear();
     MobileNotextBox4.Clear();
     DepartmenttextBox5.Clear();
     Deletebutton.Enabled = false;
 }
コード例 #3
0
 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();
 }
コード例 #4
0
 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();
 }
コード例 #5
0
        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);
        }
コード例 #6
0
ファイル: lab8form.cs プロジェクト: wen0221/week7b
 private void ClearForm()
 {
     NametextBox.Clear();
     AgetextBox.Clear();
     Submitbutton.Enabled = false;
 }
コード例 #7
0
 private void ResetForm()
 {
     NametextBox.Clear();
     EmailtextBox.Clear();
 }