/// <summary>
        /// Initializes a new instance of the <see cref="LoginViewMediator"/> class.
        /// </summary>
        /// <param name="viewComponent">The view component.</param>
        public LoginViewMediator(Object viewComponent)
            : base(NAME, viewComponent)
        {
            loginProxy = Facade.RetrieveProxy(LoginProxy.NAME) as LoginProxy;

            LoginView.DoLogin += LoginView_DoLogin;
        }
        /// <summary>
        /// Initializes a new instance of the <see cref="ApplicationMediator"/> class.
        /// </summary>
        /// <param name="viewComponent">The view component.</param>
        public ApplicationMediator(Object viewComponent)
            : base(NAME, viewComponent)
        {
            Facade.RegisterMediator(new LoginViewMediator(Application.LoginView));
            Facade.RegisterMediator(new LoggedInViewMediator(Application.LoggedInView));

            appProxy = Facade.RetrieveProxy(ApplicationProxy.NAME) as ApplicationProxy;
            loginProxy = Facade.RetrieveProxy(LoginProxy.NAME) as LoginProxy;
        }
 /// <summary>
 /// Initializes a new instance of the <see cref="LoggedInViewMediator"/> class.
 /// </summary>
 /// <param name="viewComponent">The view component.</param>
 public LoggedInViewMediator(Object viewComponent)
     : base(NAME, viewComponent)
 {
     loginProxy = Facade.RetrieveProxy(LoginProxy.NAME) as LoginProxy;
 }