public void CheckCellData(int row, int col) { if (moSet != null) { int iCellIndex = GridToCellSetIndex(row, col); if (iCellIndex > -1) { Cell oCell = GetCell(iCellIndex); PropertiesDlg dlg = new PropertiesDlg(oCell); dlg.Show(); } else { MessageBox.Show("Unable to find cell"); } } }
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(); }