示例#1
0
        protected override void AddItem()
        {
            IMainForm mainForm = Instances.MainForm;

            // Show the new account.
            NodeAccount account = new NodeAccount(_domainID, "", 0);

            mainForm.ShowItem(account);
        }
示例#2
0
        protected override void AddItem()
        {
            IMainForm mainForm = Instances.MainForm;

            // Show the new account.
            NodeAccount account = new NodeAccount(mainForm, representedDomain, null);

            mainForm.ShowItem(account);
        }