예제 #1
0
        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();
        }
예제 #2
0
 public InteractiveFigure(InteractiveFigureForm host_form)
     : base(host_form.PlotSurface)
 {
     this.HostForm            = host_form;
     this.HostForm.Destroyed += new EventHandler(HostForm_Destroyed);
 }