Esempio n. 1
0
        public override void Load()
        {
            AddCustomerMenuItem();

            //Retrieve well known workspaces
            IWorkspace sideBarWorkspace = workItem.Workspaces[WorkspacesConstants.SHELL_SIDEBAR];
            IWorkspace contentWorkspace = workItem.Workspaces[WorkspacesConstants.SHELL_CONTENT];

            BankTellerWorkItem bankTellerWorkItem = workItem.WorkItems.AddNew <BankTellerWorkItem>();

            bankTellerWorkItem.Show(sideBarWorkspace, contentWorkspace);
        }
        public override void Load()
        {
            AddCustomerMenuItem();

            //Retrieve well known workspaces
            IWorkspace navbarWorkspace  = workItem.Workspaces[WorkspaceNames.ShellNavBarWorkspace];
            IWorkspace contentWorkspace = workItem.Workspaces[WorkspaceNames.ShellContentWorkspace];

            BankTellerWorkItem bankTellerWorkItem = workItem.WorkItems.AddNew <BankTellerWorkItem>();

            bankTellerWorkItem.Show(navbarWorkspace, contentWorkspace);

            IWorkspace dockWorkspace = workItem.Workspaces[WorkspaceNames.DockManagerWorkspace];

            bankTellerWorkItem.Show(dockWorkspace);

            BankTellerWorkItem bankTellerWorkItemBis = workItem.WorkItems.AddNew <BankTellerWorkItem>();
            IWorkspace         deckWorkspace1        = workItem.Workspaces[WorkspaceNames.DeckWorkspace];

            bankTellerWorkItemBis.Show(deckWorkspace1);
        }