/// <summary>
        /// Constructor.
        /// </summary>
        public MainWindow()
        {
            InitializeComponent();

            this.Closing += MainWindow_Closing;

            _recognizer = new VoiceRecognizer();
            _recognizer.VoiceRecognized += Recognizer_VoiceRecognized;

            _InitSettings();

            _IsEnvironmentGood();
        }