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

            fsledgergroup.SetAction(BtnEvent.New, null);
            fsledgergroup.SetFocus();
        }
Example #2
0
        void Txt_ledgergroup_NewEntryNeeded(object sender, string pValue)
        {
            if (xledgergroup == null)
            {
                xledgergroup = new FLedgergroup();
                xledgergroup.FLedgergroup_NeedToRefresh += Ledgergroup_NeedToRefresh;
            }
            this.Parent.Controls.Add(xledgergroup);
            xledgergroup.Dock = DockStyle.Fill;
            xledgergroup.Show();
            xledgergroup.BringToFront();
            xledgergroup.Focus();

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