Beispiel #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            string a = textBox1.Text;

            OrderSev.deOrder(a);
            this.Close();
        }
Beispiel #2
0
        private void button5_Click(object sender, EventArgs e)
        {
            string filePath = "my.xml";

            OrderSev.Export(filePath);
            GetHtmlByXml(filePath, ".../.../my.xsl");
        }
Beispiel #3
0
        private void button4_Click(object sender, EventArgs e)
        {
            string   a = textBox1.Text;
            OrderDet b = OrderSev.findOrderNub(a);

            textBox2.Text = b.name;
            textBox3.Text = b.nub;
            textBox4.Text = b.price;
            textBox5.Text = b.product;
        }
Beispiel #4
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();
        }
Beispiel #5
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();
        }
Beispiel #6
0
 public Form1()
 {
     InitializeComponent();
     OrderSev.newOrder("Jane", "water", "1102", "2");
     OrderSev.newOrder("Jack", "phone", "1111", "4332");
 }
Beispiel #7
0
 public Form1()
 {
     InitializeComponent();
     OrderSev.newOrder("Jane", "water", "20180909111", "2", 13828392213);
     OrderSev.newOrder("Jack", "phone", "1111", "4332", 16628393326);
 }