private void commandColumnProperties_Execute(object sender, EventArgs e) { using (ColumnPropertiesForm columnPropertiesForm = new ColumnPropertiesForm(TableEditor.GetColumnProperties(_editorContext))) { if (columnPropertiesForm.ShowDialog(_editorContext.MainFrameWindow) == DialogResult.OK) { TableEditor.SetColumnProperties(_editorContext, columnPropertiesForm.ColumnProperties); } } }
private void commandColumnProperties_Execute(object sender, EventArgs e) { using (ColumnPropertiesForm columnPropertiesForm = new ColumnPropertiesForm(TableEditor.GetColumnProperties(_editorContext))) { if (columnPropertiesForm.ShowDialog(_editorContext.MainFrameWindow) == DialogResult.OK) { TableEditor.SetColumnProperties(_editorContext, columnPropertiesForm.ColumnProperties); } } }