80 lines
3.7 KiB
C#
80 lines
3.7 KiB
C#
namespace ProfileEventViewer
|
|
{
|
|
partial class TaskGraph
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.taskGraphView = new MindFusion.Diagramming.WinForms.DiagramView();
|
|
this.taskGraphDiagram = new MindFusion.Diagramming.Diagram();
|
|
this.graphLayeredLayout = new MindFusion.Diagramming.Layout.LayeredLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// taskGraphView
|
|
//
|
|
this.taskGraphView.Behavior = MindFusion.Diagramming.Behavior.DoNothing;
|
|
this.taskGraphView.ControlHandlesStyle = MindFusion.Diagramming.HandlesStyle.HatchHandles;
|
|
this.taskGraphView.ControlMouseAction = MindFusion.Diagramming.ControlMouseAction.SelectNode;
|
|
this.taskGraphView.DelKeyAction = MindFusion.Diagramming.DelKeyAction.DeleteSelectedItems;
|
|
this.taskGraphView.Diagram = this.taskGraphDiagram;
|
|
this.taskGraphView.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this.taskGraphView.Location = new System.Drawing.Point(0, 0);
|
|
this.taskGraphView.MiddleButtonActions = MindFusion.Diagramming.MouseButtonActions.Pan;
|
|
this.taskGraphView.ModificationStart = MindFusion.Diagramming.ModificationStart.SelectedOnly;
|
|
this.taskGraphView.Name = "taskGraphView";
|
|
this.taskGraphView.RightButtonActions = MindFusion.Diagramming.MouseButtonActions.Cancel;
|
|
this.taskGraphView.Size = new System.Drawing.Size(550, 400);
|
|
this.taskGraphView.TabIndex = 0;
|
|
this.taskGraphView.Text = "Task Graph";
|
|
this.taskGraphView.MouseUp += new System.Windows.Forms.MouseEventHandler(this.taskGraphView_MouseUp);
|
|
this.taskGraphView.MouseMove += new System.Windows.Forms.MouseEventHandler(this.taskGraphView_MouseMove);
|
|
this.taskGraphView.MouseDown += new System.Windows.Forms.MouseEventHandler(this.taskGraphView_MouseDown);
|
|
//
|
|
// graphLayeredLayout
|
|
//
|
|
this.graphLayeredLayout.Anchoring = MindFusion.Diagramming.Anchoring.Reassign;
|
|
this.graphLayeredLayout.IgnoreNodeSize = false;
|
|
this.graphLayeredLayout.LayerDistance = 5F;
|
|
this.graphLayeredLayout.NodeDistance = 10F;
|
|
this.graphLayeredLayout.SwapPairsIterations = 5;
|
|
this.graphLayeredLayout.TimeLimit = ((long)(100000));
|
|
//
|
|
// TaskGraph
|
|
//
|
|
this.Controls.Add(this.taskGraphView);
|
|
this.Name = "TaskGraph";
|
|
this.VisibleChanged += new System.EventHandler(this.TaskGraph_VisibleChanged);
|
|
this.ResumeLayout(false);
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private MindFusion.Diagramming.WinForms.DiagramView taskGraphView;
|
|
private MindFusion.Diagramming.Diagram taskGraphDiagram;
|
|
private MindFusion.Diagramming.Layout.LayeredLayout graphLayeredLayout;
|
|
}
|
|
}
|