/// <summary>
        /// Default constructor of the package.
        /// Inside this method you can place any initialization code that does not require 
        /// any Visual Studio service because at this point the package object is created but 
        /// not sited yet inside Visual Studio environment. The place to do all the other 
        /// initialization is the Initialize method.
        /// </summary>
        public CogaenEditExtensionPackage()
        {
            Trace.WriteLine(string.Format(CultureInfo.CurrentCulture, "Entering constructor for: {0}", this.ToString()));

            m_messageHandler = new MessageHandler(this, m_Data,Dispatcher.CurrentDispatcher);
            m_connection = new Connection(m_messageHandler);
            m_messageHandler.Connection = m_connection;

            Data.LiveGameObjects = new ObjectBuilder("LiveGameObjects", CogaenEditExtensionPackage.Data);

            m_mainInstance = this;

            DummyInit.Init();
        }
 public ConnectionWindow(MessageHandler msgHandler)
 {
     m_msgHandler = msgHandler;
     InitializeComponent();
 }