private void OpenPanelToolsMainMenuItem_Click(object sender, EventArgs e) { if (ToolsWindow.IsDisposed) { ToolsWindow = new ToolsForm(); ToolsWindow.Show(); } }
public EulerGraphForm() { InitializeComponent(); ToolsWindow = new ToolsForm(); Graph = new Library.EulerGraph.Graph(this.Width, this.Height); FormGraphics = this.CreateGraphics(); ToolsWindow.Show(); }