msiGridSize_Click
(
object sender,
EventArgs e
)
{
AssertValid();
if (oNodeXLControl.IsLayingOutGraph)
{
return;
}
VertexGridSnapperUserSettings oVertexGridSnapperUserSettings =
new VertexGridSnapperUserSettings();
VertexGridSnapperUserSettingsDialog
oVertexGridSnapperUserSettingsDialog =
new VertexGridSnapperUserSettingsDialog(
oVertexGridSnapperUserSettings);
if (oVertexGridSnapperUserSettingsDialog.ShowDialog() ==
DialogResult.OK)
{
oVertexGridSnapperUserSettings.Save();
}
}