protected void createNewFigureInternal(object sender, EventArgs args) { var tmp_form = new InteractiveFigureForm(""); var tmp_context = new InteractiveFigure(tmp_form); tmp_form.ShowAll(); _tmp_figure = tmp_context; _event.Set(); }
public InteractiveFigure(InteractiveFigureForm host_form) : base(host_form.PlotSurface) { this.HostForm = host_form; this.HostForm.Destroyed += new EventHandler(HostForm_Destroyed); }