Пример #1
0
        protected override void ExecuteCore(SelectedItemCollection selection)
        {
            Host host = selection[0].HostAncestor;

            using (var dlg = new ControlDomainMemoryDialog(host))
                dlg.ShowDialog(Program.MainWindow);
        }
Пример #2
0
 private void valueControlDomain_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)
 {
     using (var dlg = new ControlDomainMemoryDialog(host))
         dlg.ShowDialog(Program.MainWindow);
 }