예제 #1
0
 private void commandCellProperties_Execute(object sender, EventArgs e)
 {
     using (CellPropertiesForm cellPropertiesForm = new CellPropertiesForm(TableEditor.GetCellProperties(_editorContext)))
     {
         if (cellPropertiesForm.ShowDialog(_editorContext.MainFrameWindow) == DialogResult.OK)
         {
             TableEditor.SetCellProperties(_editorContext, cellPropertiesForm.CellProperties);
         }
     }
 }
 private void commandCellProperties_Execute(object sender, EventArgs e)
 {
     using (CellPropertiesForm cellPropertiesForm = new CellPropertiesForm(TableEditor.GetCellProperties(_editorContext)))
     {
         if (cellPropertiesForm.ShowDialog(_editorContext.MainFrameWindow) == DialogResult.OK)
         {
             TableEditor.SetCellProperties(_editorContext, cellPropertiesForm.CellProperties);
         }
     }
 }