public GraphicsManager(GraphicsEditor graphicsEditor, DataManager dataManager)
        {
            m_graphicsControl = graphicsEditor;
            m_graphicsDevice = graphicsEditor.GraphicsDevice;
            m_dataManager = dataManager;

            m_displayWidth = m_graphicsDevice.PresentationParameters.BackBufferWidth;
            m_displayHeight = m_graphicsDevice.PresentationParameters.BackBufferHeight;

            m_screenPosition = Vector2.Zero;
        }
 private void InitializeDataHandler()
 {
     //Initialize data manager with the graphics device this form uses, so the data manager can give certain handlers
     //the ability to handle graphical data
     m_dataManager = new DataManager(MapGraphicsEditor.GraphicsDevice, textbox_contentPath.Text);
     //use our new datamanager to initialize the graphics manager for the MapGraphicsEditor control
     m_graphicsManager = new GraphicsManager(MapGraphicsEditor, m_dataManager);
 }