Пример #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            string a = textBox1.Text;

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

            OrderSev.Export(filePath);
            GetHtmlByXml(filePath, ".../.../my.xsl");
        }
Пример #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;
        }
Пример #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();
        }
Пример #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();
        }
Пример #6
0
 public Form1()
 {
     InitializeComponent();
     OrderSev.newOrder("Jane", "water", "1102", "2");
     OrderSev.newOrder("Jack", "phone", "1111", "4332");
 }
Пример #7
0
 public Form1()
 {
     InitializeComponent();
     OrderSev.newOrder("Jane", "water", "20180909111", "2", 13828392213);
     OrderSev.newOrder("Jack", "phone", "1111", "4332", 16628393326);
 }