public override void Exit()
 {
     _Application.Shutdown();
     _Application = null;
 }
        //****************************************

        public override void Init()
        {
            _Application = new WpfApplication();
        }