public TataruUIModel()
        {
            this._ChatWindowsListChangedAsync = new AsyncEvent <AsyncListChangedEventHandler <ChatWindowViewModelSettings> >(this.EventErrorHandler, "TataruUIModel \n ChatWindowsListChangedAsync");

            this._AsyncPropertyChanged = new AsyncEvent <AsyncPropertyChangedEventArgs>(this.EventErrorHandler, "AsyncPropertyChanged");

            this._IsHideSettingsToTrayChanged = new AsyncEvent <BooleanChangeEventArgs>(this.EventErrorHandler, "IsHideSettingsToTrayChanged");

            this._IsDirecMemoryReadingChanged = new AsyncEvent <BooleanChangeEventArgs>(this.EventErrorHandler, "IsDirecMemoryReadingChanged");

            this._SettingsWindowSizeChanged = new AsyncEvent <PointDValueChangeEventArgs>(this.EventErrorHandler, "SettingsWindowSizeChanged");

            this._UiLanguageChanged = new AsyncEvent <IntegerValueChangeEventArgs>(this.EventErrorHandler, "UiLanguageChanged");

            this.ChatWindows = new AsyncBindingList <ChatWindowViewModelSettings>();
        }
        public TataruViewModel(TataruModel tatruModel)
        {
            this._ChatWindowsListChangedAsync = new AsyncEvent <AsyncListChangedEventHandler <ChatWindowViewModel> >(this.EventErrorHandler, "TataruViewModel \n ChatWindowsListChangedAsync");

            ChatWindows  = new AsyncBindingList <ChatWindowViewModel>();
            _TataruModel = tatruModel;

            _TataruUIModel = tatruModel.TataruUIModel;

            TranslationEngines = tatruModel.ChatProcessor.TranslationEngines;
            _AllChatCodes      = tatruModel.ChatProcessor.AllChatCodes;

            SwitchLanguageCommand   = new TataruUICommand(ChangeUILanguageCommand);
            AddNewChatWindowCommand = new TataruUICommand(AddNewChatWindow);
            DeleteChatWindowCommand = new TataruUICommand(DeleteChatWindow);
            ShowChatWindowCommand   = new TataruUICommand(ShowChatWindow);

            ShutDownRequestedCommand = new TataruUICommand(ShutDownRequsted);

            this.PropertyChanged += OnSelectedTabChanged;
        }