public WindowsFormContainer()
        {
            InitializeComponent();

            _mainView = new Views.MainWindow(); //Create Instance of WPF View
            _elementHost = new ElementHost();   //Create ElementHost (System.Windows.Forms.Integration)
            _elementHost.Child = _mainView;     //Set our WPF View as elementhost.child.
            this.Controls.Add(_elementHost);    //Add elementhost to form controls collection.
            FormatWindow();                     //I haven't found a better way to do this yet.
        }
        public WindowsFormContainer()
        {
            InitializeComponent();

            _mainView          = new Views.MainWindow(); //Create Instance of WPF View
            _elementHost       = new ElementHost();      //Create ElementHost (System.Windows.Forms.Integration)
            _elementHost.Child = _mainView;              //Set our WPF View as elementhost.child.
            this.Controls.Add(_elementHost);             //Add elementhost to form controls collection.
            FormatWindow();                              //I haven't found a better way to do this yet.
        }