Exemple #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            string name = textBox3.Text;
            string pri1 = textBox4.Text;
            string nub  = textBox2.Text;
            string prod = textBox1.Text;

            OrderSev.newOrder(name, prod, nub, pri1);
            this.Close();
        }
Exemple #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            string name = textBox3.Text;
            string pri1 = textBox4.Text;
            string nub  = textBox2.Text;
            string prod = textBox1.Text;
            long   yph  = Convert.ToInt64(textBox5.Text);

            OrderSev.newOrder(name, prod, nub, pri1, yph);
            this.Close();
        }
Exemple #3
0
 public Form1()
 {
     InitializeComponent();
     OrderSev.newOrder("Jane", "water", "1102", "2");
     OrderSev.newOrder("Jack", "phone", "1111", "4332");
 }
Exemple #4
0
 public Form1()
 {
     InitializeComponent();
     OrderSev.newOrder("Jane", "water", "20180909111", "2", 13828392213);
     OrderSev.newOrder("Jack", "phone", "1111", "4332", 16628393326);
 }