/// <summary> /// Creates the diagram canvas. /// </summary> private static void CreateDiagramCanvas() { DiagramForm frm = new DiagramForm(); mDiagram = frm.DiagramControl; frm.Show(DockPanel, Properties.Settings.Default.DiagramDockState); Tabs.Diagram = frm; }
/// <summary> /// Creates the diagram canvas. /// </summary> private static void CreateDiagramCanvas() { DiagramForm frm = new DiagramForm(); mDiagram = frm.DiagramControl; frm.Show(DockPanel, Properties.Settings.Default.DiagramDockState); Tabs.Diagram = frm; }