private void MenuItem_Click(object sender, RoutedEventArgs e) { //MessageBox.Show("Cisco Voice is Clicked"); viewEventManager.Publish(new GenericEvent() { Target = GenericContainerView.ContainerView, Context = "ToolbarWorkplace", Action = new GenericAction[] { new GenericAction() { Action = ActionGenericContainerView.ActivateThisPanel, Parameters = new object[] { "CiscoTab" } } } }); // Show and active the MyWorkplace view in the ToolbarWorksheet region viewEventManager.Publish(new GenericEvent() { Target = GenericContainerView.ContainerView, Context = "ToolbarWorksheet", Action = new GenericAction[] { new GenericAction() { Action = ActionGenericContainerView.ShowHidePanelRight, Parameters = new object[] { Visibility.Visible, "MyWorkplaceContainerView" } }, new GenericAction() { Action = ActionGenericContainerView.ActivateThisPanel, Parameters = new object[] { "MyWorkplaceContainerView" } } } }); }
private void MenuItem_Click(object sender, RoutedEventArgs e) { viewEventManager.Publish(new GenericEvent() { Target = GenericContainerView.ContainerView, Context = "ToolbarWorkplace", //need to change Mysample or not ? Action = new GenericAction[] { new GenericAction() { Action = ActionGenericContainerView.ActivateThisPanel, Parameters = new object[] { "Huawei_CRM_AZF_Nar" } } } }); // Show and active the MyWorkplace view in the ToolbarWorksheet region viewEventManager.Publish(new GenericEvent() { Target = GenericContainerView.ContainerView, Context = "ToolbarWorksheet", Action = new GenericAction[] { new GenericAction() { Action = ActionGenericContainerView.ShowHidePanelRight, Parameters = new object[] { Visibility.Visible, "MyWorkplaceContainerView" } }, new GenericAction() { Action = ActionGenericContainerView.ActivateThisPanel, Parameters = new object[] { "MyWorkplaceContainerView" } } } }); }
private void meueItem(object sender, RoutedEventArgs e) { viewEventManager.Publish(new GenericEvent() { Target = GenericContainerView.ContainerView, Context = "ToolbarWorkplace", Action = new GenericAction[] { new GenericAction() { Action = ActionGenericContainerView.ActivateThisPanel, Parameters = new object[] { "MySampleApex" } } } }); // Show and active the MyWorkplace view in the ToolbarWorksheet region viewEventManager.Publish(new GenericEvent() { Target = GenericContainerView.ContainerView, Context = "ToolbarWorksheet", Action = new GenericAction[] { new GenericAction() { Action = ActionGenericContainerView.ShowHidePanelRight, Parameters = new object[] { Visibility.Visible, "MyWorkplaceContainerView" } }, new GenericAction() { Action = ActionGenericContainerView.ActivateThisPanel, Parameters = new object[] { "MyWorkplaceContainerView" } } } }); }