public UserFormMediator( UserForm viewComponent ) : base(NAME, viewComponent) { UserForm.Add += OnAdd; UserForm.Update += OnUpdate; UserForm.Cancel += OnCancel; UserForm.IsEnabled = false; UserProxy = (UserProxy) Facade.RetrieveProxy( UserProxy.NAME ); }
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"))); }