Пример #1
0
        protected void OnButtonAddClicked(object sender, EventArgs e)
        {
            ITdiTab mytab = TdiHelper.FindMyTab (this);
            if (mytab == null)
                return;

            AccountDlg dlg = new AccountDlg (ParentReference);
            mytab.TabParent.AddSlaveTab (mytab, dlg);
        }
Пример #2
0
        protected void OnButtonEditClicked(object sender, EventArgs e)
        {
            ITdiTab mytab = DialogHelper.FindParentTab(this);

            if (mytab == null)
            {
                return;
            }

            AccountDlg dlg = new AccountDlg(ParentReference, datatreeviewAccounts.GetSelectedObjects() [0] as Account);

            mytab.TabParent.AddSlaveTab(mytab, dlg);
        }
Пример #3
0
        protected void OnButtonAddClicked(object sender, EventArgs e)
        {
            ITdiTab mytab = DialogHelper.FindParentTab(this);

            if (mytab == null)
            {
                return;
            }

            AccountDlg dlg = new AccountDlg(ParentReference);

            mytab.TabParent.AddSlaveTab(mytab, dlg);
        }
Пример #4
0
        protected void OnButtonEditClicked(object sender, EventArgs e)
        {
            ITdiTab mytab = TdiHelper.FindMyTab (this);
            if (mytab == null)
                return;

            AccountDlg dlg = new AccountDlg (ParentReference, datatreeviewAccounts.GetSelectedObjects () [0] as Account);
            mytab.TabParent.AddSlaveTab (mytab, dlg);
        }