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