Ejemplo n.º 1
0
 public EditorBridge(MapPanel mapPanel)
     : base(false)
 {
     m_mapPanel = mapPanel;
     Panel innerPanel = m_mapPanel.InnerPanel;
     innerPanel.MouseDown += OnMapPanelMouseDown;
     innerPanel.MouseMove += OnMapPanelMouseMove;
     innerPanel.MouseUp += OnMapPanelMouseUp;
 }
Ejemplo n.º 2
0
        public ApplicationBridge(MenuStrip menuStrip,
            ToolStripContainer toolStripContainer, MapPanel mapPanel)
            : base(false)
        {
            m_commandHistory = CommandHistory.Instance;

            m_menuStripBridge = new MenuStripBridge(menuStrip);

            m_toolStripContainer = toolStripContainer;
            m_toolBars = new List<ToolBarBridge>();
            PopulateToolBars(toolStripContainer.TopToolStripPanel);
            PopulateToolBars(toolStripContainer.BottomToolStripPanel);
            PopulateToolBars(toolStripContainer.LeftToolStripPanel);
            PopulateToolBars(toolStripContainer.RightToolStripPanel);

            m_editorBridge = new EditorBridge(mapPanel);
        }
Ejemplo n.º 3
0
 public PluginManager(MenuStrip menuStrip, ToolStripContainer toolStripContainer, MapPanel mapPanel)
 {
     m_plugins = new Dictionary<string, IPlugin>();
     m_applicationBridge = new ApplicationBridge(menuStrip, toolStripContainer, mapPanel);
     //PurgePluginDomain();
 }