Exemplo n.º 1
0
        void Txt_order_id_NewEntryNeeded(object sender, string pValue)
        {
            if (forder == null)
            {
                forder = new FOrder();
            }
            Parent.Controls.Add(forder);
            forder.Dock = DockStyle.Fill;
            forder.Show();
            forder.BringToFront();
            forder.Focus();

            forder.SetAction(BtnEvent.New, null);
            forder.SetFocus();
        }
Exemplo n.º 2
0
        void Txt_order_NewEntryNeeded(object sender, string pValue)
        {
            if (xorder == null)
            {
                xorder = new FOrder();
                xorder.FOrder_NeedToRefresh += Order_NeedToRefresh;
            }
            this.Parent.Controls.Add(xorder);
            xorder.Dock = DockStyle.Fill;
            xorder.Show();
            xorder.BringToFront();
            xorder.Focus();

            xorder.SetAction(BtnEvent.New, null);
            xorder.SetFocus();
            //xorder.setname(pValue);
        }