Example #1
0
        void txt_hsncode_NewEntryNeeded(object sender, string pValue)
        {
            if (fshsncode == null)
            {
                fshsncode = new FHsncode();
            }
            Parent.Controls.Add(fshsncode);
            fshsncode.Dock = DockStyle.Fill;
            fshsncode.Show();
            fshsncode.BringToFront();
            fshsncode.Focus();

            fshsncode.SetAction(BtnEvent.New, null);
            fshsncode.SetFocus();
        }
Example #2
0
        void Txt_hsncode_NewEntryNeeded(object sender, string pValue)
        {
            if (xhsncode == null)
            {
                xhsncode = new FHsncode();
                xhsncode.FHsncode_NeedToRefresh += Hsncode_NeedToRefresh;
            }
            this.Parent.Controls.Add(xhsncode);
            xhsncode.Dock = DockStyle.Fill;
            xhsncode.Show();
            xhsncode.BringToFront();
            xhsncode.Focus();

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