private void ClassDiagramMenuItem_Click(object sender, RoutedEventArgs e)
 {
     try
     {
         if (classDiagramPage == null)
         {
             classDiagramPage = new ClassDiagramPage(softwareProcessProfile);
         }
         ContentFrame.Navigate(classDiagramPage);
         statusLabel.Text = "Class Diagram";
     }
     catch (Exception ex)
     {
         new Utils().ShowExceptionMessageBox(ex);
     }
 }
 private void UnloadProfileMenuItem_Click(object sender, RoutedEventArgs e)
 {
     ContentFrame.Navigate(startPage);
     statusLabel.Text            = "Start page";
     softwareProcessProfile      = null;
     activityDiagramPage         = null;
     classDiagramPage            = null;
     ActivityDiagram.IsEnabled   = false;
     LoadProfile.IsEnabled       = true;
     UnloadProfile.IsEnabled     = false;
     statusLabel.Text            = null;
     profileInfoLabel.Text       = "Process profile file not loaded";
     profileInfoLabel.Foreground = Brushes.Red;
     ActivityDiagram.IsEnabled   = false;
     ClassDiagram.IsEnabled      = false;
     UseCaseDiagram.IsEnabled    = false;
 }