private void propertiesToolStripMenuItem_Click(object sender, EventArgs e) { if (adomdDimTree1.SelectedNode != null) { PropertiesDlg dlg = new PropertiesDlg(adomdDimTree1.SelectedNode.Tag); dlg.ShowDialog(); } }
private void propertiesToolStripMenuItem1_Click(object sender, EventArgs e) { PropertiesDlg dlg = new PropertiesDlg(adomdTextEditor1.BaseControl ); dlg.ShowDialog(); }