예제 #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            VC_AddForm AUF = new VC_AddForm("Utilities", textBox2.Text);

            string[] Atts = { "Supplier", "Type", "Units", "Price" };
            AUF.SetDesign(Atts, 1);
            AUF.Show();
        }
예제 #2
0
파일: VC_Kids.cs 프로젝트: Osos8128/oop1
        private void button1_Click(object sender, EventArgs e)
        {
            VC_AddForm AKF = new VC_AddForm("Kids", textBox2.Text);

            string[] Atts = { "Name", "Birthdate", "Gender", "Address", "Parent_Email", "Phone_Number", "ClassNo" };
            AKF.SetDesign(Atts, 1);
            AKF.Show();
        }
예제 #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            VC_AddForm AEF = new VC_AddForm("Eventss", textBox2.Text);

            string[] Atts = { "Type", "Place", "Date", "Time", "Price" };
            AEF.SetDesign(Atts, 1);
            AEF.Show();
        }
예제 #4
0
파일: VC_Kids.cs 프로젝트: Osos8128/oop1
 private void button2_Click(object sender, EventArgs e)
 {
     if (textBox2.Text != "")
     {
         VC_AddForm AKF  = new VC_AddForm("Kids", textBox2.Text);
         string[]   Atts = { "Name", "Birthdate", "Gender", "Address", "Parent_Email", "Phone_Number", "ClassNo" };
         AKF.SetDesign(Atts, 0);
         AKF.Show();
     }
     else
     {
         MessageBox.Show("Enter ID");
     }
 }
예제 #5
0
 private void button2_Click(object sender, EventArgs e)
 {
     if (textBox2.Text != "")
     {
         VC_AddForm AEF  = new VC_AddForm("Eventss", textBox2.Text);
         string[]   Atts = { "Type", "Place", "Date", "Time", "Price" };
         AEF.SetDesign(Atts, 0);
         AEF.Show();
     }
     else
     {
         MessageBox.Show("Enter ID");
     }
 }