Example #1
0
        private PlotPane createPane()
        {
            var aw = this.getOrCreateActiveWindow();
            var np = new PlotPane(this.ContentIndex);

            np.Show(aw.DockPanel, DockState.Document);
            return(np);
        }
Example #2
0
 public void NewPane()
 {
     if (_main_form.InvokeRequired)
     {
         _main_form.BeginInvoke(new Action(this.NewPane));
     }
     else
     {
         var np = new PlotPane(this.ContentIndex);
         var aw = this.getOrCreateActiveWindow();
         np.Show(aw.DockPanel, DockState.Document);
         this.ActivePane = np;
     }
 }