Beispiel #1
0
        void txt_producttype_NewEntryNeeded(object sender, string pValue)
        {
            if (fsproducttype == null)
            {
                fsproducttype = new FProducttype();
            }
            Parent.Controls.Add(fsproducttype);
            fsproducttype.Dock = DockStyle.Fill;
            fsproducttype.Show();
            fsproducttype.BringToFront();
            fsproducttype.Focus();

            fsproducttype.SetAction(BtnEvent.New, null);
            fsproducttype.SetFocus();
        }
Beispiel #2
0
        void Txt_producttype_NewEntryNeeded(object sender, string pValue)
        {
            if (xproducttype == null)
            {
                xproducttype = new FProducttype();
                xproducttype.FProducttype_NeedToRefresh += Producttype_NeedToRefresh;
            }
            this.Parent.Controls.Add(xproducttype);
            xproducttype.Dock = DockStyle.Fill;
            xproducttype.Show();
            xproducttype.BringToFront();
            xproducttype.Focus();

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