public LibraryForm(GraphControl graph, MainForm main) { // // Required for Windows Form Designer support // InitializeComponent(); this.graph = graph; this.main = main; errForm = new ErrorsForm(graph); }
private void compileClick(object sender, System.EventArgs e) { Apply(); graph.Model.Library.Compile(true); if (errForm.IsDisposed) { errForm = new ErrorsForm(graph); } errForm.Reset(); errForm.Show(); errForm.BringToFront(); }
private void compileClick(object sender, System.EventArgs e) { Apply(); graph.Model.Library.Compile(true); if (errForm.IsDisposed) errForm = new ErrorsForm(graph); errForm.Reset(); errForm.Show(); errForm.BringToFront(); }