/// <summary>
 /// EditProperties event handler of the layerControl control
 /// </summary>
 /// <param name="sender">The source object of this event.</param>
 /// <param name="target">The target object to be edited.</param>
 void layerControl_EditProperties(object sender, MapObjectHolder target)
 {
     try
     {
         MapPropertyEditorForm mapPropertyEditor = new MapPropertyEditorForm(target);
         mapPropertyEditor.ShowDialog(this);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "MapManager", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// Event handled to edit a sub-object.
 /// </summary>
 /// <param name="sender">The source object of this event.</param>
 /// <param name="target">The object to be edited.</param>
 void editor_EditProperties(object sender, MapObjectHolder target)
 {
     try
     {
         MapPropertyEditorForm mapPropertyEditor = new MapPropertyEditorForm(target);
         mapPropertyEditor.HelpRequested += new HelpEventHandler(mapPropertyEditor_HelpRequested);
         mapPropertyEditor.ShowDialog(this);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "MapManager", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// EditProperties event handler of the layerControl control
 /// </summary>
 /// <param name="sender">The source object of this event.</param>
 /// <param name="target">The target object to be edited.</param>
 void layerControl_EditProperties(object sender, MapObjectHolder target)
 {
     try
     {
         MapPropertyEditorForm mapPropertyEditor = new MapPropertyEditorForm(target);
         mapPropertyEditor.ShowDialog(this);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "MapManager", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
Exemplo n.º 4
0
 /// <summary>
 /// Event handled to edit a sub-object.
 /// </summary>
 /// <param name="sender">The source object of this event.</param>
 /// <param name="target">The object to be edited.</param>
 void editor_EditProperties(object sender, MapObjectHolder target)
 {
     try
     {
         MapPropertyEditorForm mapPropertyEditor = new MapPropertyEditorForm(target);
         mapPropertyEditor.HelpRequested += new HelpEventHandler(mapPropertyEditor_HelpRequested);
         mapPropertyEditor.ShowDialog(this);
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "MapManager", MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
     }
 }
Exemplo n.º 5
0
 /// <summary>
 /// Click event handler of the mapPropertiesToolStripMenuItem control.
 /// </summary>
 /// <param name="sender">The source object of this event.</param>
 /// <param name="e">The event parameters.</param>
 private void mapPropertiesToolStripMenuItem_Click(object sender, EventArgs e)
 {
     MapPropertyEditorForm mapPropertyEditor = new MapPropertyEditorForm(mapControl.Target);
     mapPropertyEditor.HelpRequested += new HelpEventHandler(editor_HelpRequested);
     mapPropertyEditor.ShowDialog(this);
 }