C# Class SampleCsModelessForm.SampleCsModelessFormPlugIn

Every RhinoCommon .rhp assembly must have one and only one PlugIn-derived class. DO NOT create instances of this class yourself. It is the responsibility of Rhino to create an instance of this class.

To complete plug-in information, please also see all PlugInDescription attributes in AssemblyInfo.cs (you might need to click "Project" -> "Show All Files" to see it in the "Solution Explorer" window).

Inheritance: Rhino.PlugIns.PlugIn
Mostra file Open project: mcneel/Rhino4Samples_DotNet

Public Methods

Method Description
OnLoadPlugIn ( ) : int

Called after the plug-in is loaded and the constructor has been run. This is a good place to perform any significant initialization, license checking, and so on. This function must return 1 for the plug-in to continue to load.

OnUnloadPlugIn ( ) : void

Called when the plug-in is about to be unloaded. After this function is called, the plug-in will be disposed.

PlugInID ( ) : System.Guid

Rhino tracks plug-ins by their unique ID. Every plug-in must have a unique id. The Guid created by the project wizard is unique. You can create more Guids using the "Create Guid" tool in the Tools menu.

PlugInName ( ) : string
PlugInVersion ( ) : string

Method Details

OnLoadPlugIn() public method

Called after the plug-in is loaded and the constructor has been run. This is a good place to perform any significant initialization, license checking, and so on. This function must return 1 for the plug-in to continue to load.
public OnLoadPlugIn ( ) : int
return int

OnUnloadPlugIn() public method

Called when the plug-in is about to be unloaded. After this function is called, the plug-in will be disposed.
public OnUnloadPlugIn ( ) : void
return void

PlugInID() public method

Rhino tracks plug-ins by their unique ID. Every plug-in must have a unique id. The Guid created by the project wizard is unique. You can create more Guids using the "Create Guid" tool in the Tools menu.
public PlugInID ( ) : System.Guid
return System.Guid

PlugInName() public method

public PlugInName ( ) : string
return string

PlugInVersion() public method

public PlugInVersion ( ) : string
return string