protected override void OnActivated()
        {
            if (mapView == null)
            {
                mapView = WorkItem.Items.AddNew<CustomerMap>();

                TabSmartPartInfo info = new TabSmartPartInfo();
                info.Title = "Customer Map";
                info.Description = "Map of the customer location";
                WorkItem.Workspaces[CustomerWorkItem.CUSTOMERDETAIL_TABWORKSPACE].Show(mapView, info);
            }
        }
 private void CreateCommentsView()
 {
     commentsView = commentsView ?? Items.AddNew<CustomerCommentsView>();
     ISmartPartInfo info = new TabSmartPartInfo();
     info.Title = "Comments";
     RegisterSmartPartInfo(commentsView, info);
 }