public UserListMediator( UserList viewComponent )
            : base(NAME, viewComponent)
        {
            UserList.New += OnNew;
            UserList.Delete += OnDelete;
            UserList.Select += OnSelect;

            UserProxy = (UserProxy) Facade.RetrieveProxy( UserProxy.NAME );
            UserList.Users = UserProxy.Users;
        }
 public void InitializeComponent() {
     if (_contentLoaded) {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PureMVC_SilverlightEmployeeAdminDemo;component/EmployeeAdmin/EmployeeAdminApplic" +
                 "ation.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.UserList = ((PureMVC.CSharp.Demos.Silverlight.EmployeeAdmin.View.Components.UserList)(this.FindName("UserList")));
     this.UserForm = ((PureMVC.CSharp.Demos.Silverlight.EmployeeAdmin.View.Components.UserForm)(this.FindName("UserForm")));
     this.RolePanel = ((PureMVC.CSharp.Demos.Silverlight.EmployeeAdmin.View.Components.RolePanel)(this.FindName("RolePanel")));
 }
 public void InitializeComponent()
 {
     if (_contentLoaded)
     {
         return;
     }
     _contentLoaded = true;
     System.Windows.Application.LoadComponent(this, new System.Uri("/PureMVC_SilverlightEmployeeAdminDemo;component/EmployeeAdmin/EmployeeAdminApplic" +
                                                                   "ation.xaml", System.UriKind.Relative));
     this.LayoutRoot = ((System.Windows.Controls.Grid)(this.FindName("LayoutRoot")));
     this.UserList   = ((PureMVC.CSharp.Demos.Silverlight.EmployeeAdmin.View.Components.UserList)(this.FindName("UserList")));
     this.UserForm   = ((PureMVC.CSharp.Demos.Silverlight.EmployeeAdmin.View.Components.UserForm)(this.FindName("UserForm")));
     this.RolePanel  = ((PureMVC.CSharp.Demos.Silverlight.EmployeeAdmin.View.Components.RolePanel)(this.FindName("RolePanel")));
 }