Skip to content

Instantly share code, notes, and snippets.

@tnaka78
Created October 25, 2015 07:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tnaka78/68b4075695920a1691e9 to your computer and use it in GitHub Desktop.
Save tnaka78/68b4075695920a1691e9 to your computer and use it in GitHub Desktop.
using System.Windows.Forms;
using System.ComponentModel.Composition;
namespace DotSpatialExample1
{
public partial class Form1 : Form
{
[Export("Shell", typeof(ContainerControl))]
private static ContainerControl Shell;
public Form1()
{
InitializeComponent();
if (DesignMode) return;
Shell = this;
this.appManager.LoadExtensions();
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment