Exemplo n.º 1
0
 public void ViewGraph()
 {
     gViewer.Parent = combinedCodeView.Parent;
     using (var g = combinedCodeView.CreateGraphics())
     {
         var uiPreferences = services.RequireService <IUiPreferencesService>();
         gViewer.Graph = CfgGraphGenerator.Generate(uiPreferences, proc, g, combinedCodeView.Font);
     }
     combinedCodeView.Visible = false;
     gViewer.Visible          = true;
     gViewer.BringToFront();
 }