Exemple #1
0
        private void InitiateCSM()
        {
            if (string.IsNullOrEmpty(_lastSolution) || !_lastSolution.Equals(_applicationObject.Solution.FullName))
            {
                _lastSolution = _applicationObject.Solution.FullName;

                if (_presenter != null)
                {
                    _presenter.Dispose();
                }

                _mainForm  = new ManagerMain();
                _presenter = new ManagerMainPresenter(_applicationObject.Solution, _mainForm);
            }

            _mainForm.Show();
        }
        private void InitiateCSM()
        {
            if (string.IsNullOrEmpty(_lastSolution) || !_lastSolution.Equals(_applicationObject.Solution.FullName))
            {
                _lastSolution = _applicationObject.Solution.FullName;

                if (_presenter != null) { _presenter.Dispose(); }

                _mainForm = new ManagerMain();
                _presenter = new ManagerMainPresenter(_applicationObject.Solution, _mainForm);
            }

            _mainForm.Show();
        }