Пример #1
0
        protected override void AddItem()
        {
            IMainForm mainForm = Instances.MainForm;

            // Show the new domain.
            NodeDomain domain = new NodeDomain(mainForm, 0, "");
            mainForm.ShowItem(domain);
        }
Пример #2
0
        private void buttonAddDomain_Click(object sender, EventArgs e)
        {
            IMainForm mainForm = Instances.MainForm;

              // Jump to the domains node.
              SearchNodeType crit = new SearchNodeType(typeof(NodeDomains));
              mainForm.SelectNode(crit);

              // Show the new domain.
              NodeDomain domain = new NodeDomain(mainForm, 0, null);
              mainForm.ShowItem(domain);
        }
Пример #3
0
 internal void OnAddDomain(object sender, EventArgs e)
 {
     NodeDomain domain = new NodeDomain(_mainForm, 0, null);
       _mainForm.ShowItem(domain);
 }
Пример #4
0
        internal void OnAddDomain(object sender, EventArgs e)
        {
            NodeDomain domain = new NodeDomain(_mainForm, 0, null);

            _mainForm.ShowItem(domain);
        }