public void OnStatementFormActivated(StatementFormPresenter statementFormPresenter)
        {
            _statementFormPresenter = statementFormPresenter;
            string statementFormName = statementFormPresenter.GetStatementFormName()
                                       .Substring(statementFormPresenter.GetStatementFormName().LastIndexOf('\\') + 1);

            _mainForm.SetMainFormTitle(statementFormName);
        }
        public void UpdateStatmentPresenterList(StatementFormPresenter statementFormPresenter)
        {
            _listStatementFormPresenters.Add(statementFormPresenter);
            var textTagStatementFormPresenterTuple = new Tuple <string, object>(statementFormPresenter.GetStatementFormName()
                                                                                .Substring(statementFormPresenter.GetStatementFormName().LastIndexOf('\\') + 1), statementFormPresenter);

            _listStatementFormTagText.Add(textTagStatementFormPresenterTuple);
        }
        public void OnCloseStatementMessage(StatementFormPresenter statementFormPresenter)
        {
            _listStatementFormPresenters.Remove(statementFormPresenter);
            var textTagStatementFormPresenterTuple = new Tuple <string, object>(statementFormPresenter.GetStatementFormName()
                                                                                .Substring(statementFormPresenter.GetStatementFormName().LastIndexOf('\\') + 1), statementFormPresenter);

            _listStatementFormTagText.Remove(textTagStatementFormPresenterTuple);
            _mainForm.CreateWindowDropDownList(_listStatementFormTagText);
            ResetMainForm();
        }