private void toolStripButton1_Click(object sender, EventArgs e) { AttributeTypeEditor popup = new AttributeTypeEditor(); popup.ShowDialog(); }
private void toolStripButton3_Click(object sender, EventArgs e) { if (grid.SelectedCells.Count == 0) return; AttributeTypeEditor popup = new AttributeTypeEditor(); DBAttrDescription attr = ((DBAttribute) grid.Rows[grid.SelectedCells[0].RowIndex].Tag).Description; popup.Attribute = attr; popup.ShowDialog(); }