Beispiel #1
0
        private void Assign_Click(object sender, EventArgs e)
        {
            OrderListData old = new OrderListData();

            old.InsertOrder(Item.Text, Convert.ToInt32(Quan.Text), "OrderListed", Comp_name.Text, this.DateTime1.Text);
            MessageBox.Show("Order Added", "Success");
            Init();
        }
        private void metroButton2_Click(object sender, EventArgs e)
        {
            OrderListData old = new OrderListData();

            old.InsertOrder(metroComboBox1.Text, Convert.ToInt32(metroTextBox1.Text), "Redieved");
            MessageBox.Show("Order Added", "Success");
            Init2();
        }