コード例 #1
0
        private void _twFitFunctions_AfterSelect(object sender, System.Windows.Forms.TreeViewEventArgs e)
        {
            if (_controller != null)
            {
                _controller.EhView_SelectionChanged(e.Node.Tag as IFitFunctionInformation);
            }

            if (e.Node.Tag is IFitFunctionInformation)
            {
                Altaxo.Main.Services.IFitFunctionInformation info = e.Node.Tag as IFitFunctionInformation;
                if (_rtfGraphics == null)
                {
                    _rtfGraphics = this.CreateGraphics();
                }
                _rtfDescription.Rtf = Altaxo.Main.Services.RtfComposerService.GetRtfText(info.Description, _rtfGraphics, _rtfDescription.BackColor, 12);
            }
        }
コード例 #2
0
 public DocumentLeafNode(string text, Altaxo.Main.Services.IFitFunctionInformation func)
   : base(text)
 {
   FunctionInstance = func;
   this.Tag = func;
 }
コード例 #3
0
 public DocumentLeafNode(string text, Altaxo.Main.Services.IFitFunctionInformation func)
     : base(text)
 {
     FunctionInstance = func;
     this.Tag         = func;
 }