/// <summary> /// Called when showing user management. /// </summary> /// <param name="sender">The sender.</param> public static void OnShowing(object sender, PageEventArgs.DisplayedPage displayed) { if (Showing != null) { Showing(sender, new PageEventArgs(displayed)); } }
private void NavigateRole() { if (PluginContext.Host.Navigate(this.WorkbenView)) { this.WorkbenView.As <WorkbenchViewModel>().Refresh(); this.displayed = PageEventArgs.DisplayedPage.RoleManager; this.ContextualMenu.IsVisible = true; this.ContextualMenu.TabDataCollection[0].IsSelected = true; } }
private void NavigateUser() { if (PluginContext.Host.Navigate(this.ManageUserView)) { this.ManageUserView.As <ManageUserViewModel>().Refresh(); this.displayed = PageEventArgs.DisplayedPage.UserManager; Notifyer.OnShowing(this, PageEventArgs.DisplayedPage.UserManager); this.ContextualMenu.IsVisible = true; this.ContextualMenu.TabDataCollection[0].IsSelected = true; } }
private void NavigateUser() { if (PluginContext.Host.Navigate(this.ManageUserView)) { this.ManageUserView.As<ManageUserViewModel>().Refresh(); this.displayed = PageEventArgs.DisplayedPage.UserManager; Notifyer.OnShowing(this, PageEventArgs.DisplayedPage.UserManager); this.ContextualMenu.IsVisible = true; this.ContextualMenu.TabDataCollection[0].IsSelected = true; } }
private void NavigateRole() { if (PluginContext.Host.Navigate(this.WorkbenView)) { this.WorkbenView.As<WorkbenchViewModel>().Refresh(); this.displayed = PageEventArgs.DisplayedPage.RoleManager; this.ContextualMenu.IsVisible = true; this.ContextualMenu.TabDataCollection[0].IsSelected = true; } }