Пример #1
0
        ///////////////////////////////////////
        //////////////// ORDER ///////////////
        /////////////////////////////////////
        private void newOrd_Click(object sender, EventArgs e)
        {
            Quantity_auto.Show();
            getQuantityAutoOrd.Show();
            modif_choice.Show();
            CBmodif_ord.Show();
            orderPrimenit.Show();
            chooseIDOrdCB.Hide();
            chooseIdOrd.Hide();
            string sqlExpression = "SELECT ID_Modification FROM Storage Where Quantity IS NULL";

            CBquery(sqlExpression, CBmodif_ord);
        }
Пример #2
0
        private void newSuply_Click(object sender, EventArgs e)
        {
            chooseIdOrd.Show();
            chooseIDOrdCB.Show();
            Quantity_auto.Hide();
            getQuantityAutoOrd.Hide();
            modif_choice.Hide();
            CBmodif_ord.Hide();
            orderPrimenit.Hide();
            ordInsert_or_upd = false;
            string sqlExpression = "SELECT ID_Order FROM Order_Modification Where Date_supply Is Null";

            CBquery(sqlExpression, chooseIDOrdCB);
        }