/// <summary>
 /// Creates a new instance of the GeoPluginManager
 /// </summary>
 public ApplicationManager()
 {
     InitializeComponent();
     _directories = new List<string>();
     _geoPlugins = new List<IMapPlugin>();
     _directories.Add("Plugins");
     _dataManager = new DataManager();
     _panelManager = new PanelManager(this);
     loadTimer = new Timer();
     loadTimer.Interval = 10;
     loadTimer.Start();
     loadTimer.Tick += loadTimer_Tick;       
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Creates a new instance of the GeoPluginArgs
 /// </summary>
 /// <param name="map">Each Manager is associated with a single map</param>
 /// <param name="legend">The legend</param>
 /// <param name="mainMenu">The main menu</param>
 /// <param name="mainToolStrip">The main toolstrip</param>
 /// <param name="progressHandler">The progress handler</param>
 /// <param name="plugins">The list of plugins controlled by the manager</param>
 /// <param name="toolStripContainer">The container where any toolstrips should be added</param>
 /// <param name="panelManager">The panel manager for adding tabs and panels</param>
 public GeoPluginArgs(IMap map, ILegend legend, MenuStrip mainMenu, ToolStrip mainToolStrip, IProgressHandler progressHandler, List<IMapPlugin> plugins, ToolStripContainer toolStripContainer, PanelManager panelManager)
 {
     _toolStripContainer = toolStripContainer;
     _map = map;
     _legend = legend;
     _mainMenu = mainMenu;
     _mainToolStrip = mainToolStrip;
     _plugins = plugins;
     _progressHandler = progressHandler;
     _panelManager = panelManager;
 }