PlugIn Development:GameEx Configure Function

From Spesoft/GameEx Wiki
Revision as of 10:42, 26 April 2014 by Adultery (talk | contribs) (Created page with "==<span style="font-size:150%;">Configure PlugIn [GameEx]</span>== This function is called when the user configures the PlugIn from the PlugIn Manager interface. Typically you...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Configure PlugIn [GameEx]

This function is called when the user configures the PlugIn from the PlugIn Manager interface. Typically you would launch a configuration window from this sub. If your plugin doesn't require user configuration, you can simply leave this area empty.

Code Examples

VB.NET syntax:

Public Sub Configure()
     Dim config As New Configuration
     config.ShowDialog()
End Sub

C# syntax:

public void Configure()
{
     using(Configuration config = new Configuration())
     {
          config.ShowDialog(null);
     }
}