Ejemplo n.º 1
0
        void txt_cash_payment_NewEntryNeeded(object sender, string pValue)
        {
            if (fscash_payment == null)
            {
                fscash_payment = new FCash_payment();
            }
            Parent.Controls.Add(fscash_payment);
            fscash_payment.Dock = DockStyle.Fill;
            fscash_payment.Show();
            fscash_payment.BringToFront();
            fscash_payment.Focus();

            fscash_payment.SetAction(BtnEvent.New, null);
            fscash_payment.SetFocus();
        }
Ejemplo n.º 2
0
        void Txt_cash_payment_NewEntryNeeded(object sender, string pValue)
        {
            if (xcash_payment == null)
            {
                xcash_payment = new FCash_payment();
                xcash_payment.FCash_payment_NeedToRefresh += Cash_payment_NeedToRefresh;
            }
            this.Parent.Controls.Add(xcash_payment);
            xcash_payment.Dock = DockStyle.Fill;
            xcash_payment.Show();
            xcash_payment.BringToFront();
            xcash_payment.Focus();

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