Ejemplo n.º 1
0
 /// <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));
     }
 }
Ejemplo n.º 2
0
        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;
            }
        }
Ejemplo n.º 3
0
        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;
            }
        }
Ejemplo n.º 4
0
        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;
            }
        }
Ejemplo n.º 5
0
        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;
            }
        }