OnNewLayer

Top  Previous  Next

public event LayerOperationEventHandler OnNewLayer;

 

Description:

 When add a layer, this event trigger.

 

Example:

 private void myCAD1_OnNewLayer(object sender, Codeidea.UltraGraphics.LayerOperationEventArgs e)

 {

         MessageBox.Show("Add a layer");

 }