Created
October 25, 2015 07:52
-
-
Save tnaka78/68b4075695920a1691e9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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