Beispiel #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();
        }
 /// <summary>
 /// Method to show the Manager UI when the manager presenter created in the the Login Presenter
 /// Accesses the show method of the view
 /// </summary>
 public void Run()
 {
     _view.Show();
 }