Example #1
0
 public FData(EUnit _Tp, string _title, int _range, CursorBorder _cursorBorder)
 {
     InitializeComponent();
     Tp           = _Tp;
     label2.Text  = null;
     title        = _title;
     range        = _range;
     cursorBorder = _cursorBorder;
     OnHide       = ExecHide;
 }
Example #2
0
 public FMeases(string _title, CursorBorder _cursorBorder, EUnit _tp)
 {
     InitializeComponent();
     title         = _title;
     Source        = new RUnit(RUnit.EType.Source, chart1.Series[0], chart1.ChartAreas[0].AxisY, CBSource, "Исходный сигнал", toolTip1);
     Median        = new RUnit(RUnit.EType.Median, chart1.Series[1], chart1.ChartAreas[0].AxisY, CBMedian, "Медианный сигнал", toolTip1);
     Filter        = new RUnit(RUnit.EType.Filter, chart1.Series[2], chart1.ChartAreas[0].AxisY, CBFilter, "Фильтрованный сигнал", toolTip1);
     FilterIn      = new RUnit(RUnit.EType.FilterIn, chart1.Series[3], chart1.ChartAreas[0].AxisY, CBFilterIn, "Фильтрованный внутренний сигнал", toolTip1);
     OnHide        = null;
     cursor        = new RCursor(chart1);
     cursor.OnMove = OnMove;
     label1.Text   = null;
     label2.Text   = null;
     cursorBorder  = _cursorBorder;
     OnHide        = ExecHide;
     Tp            = _tp;
     dcl           = new DefCL(_tp);
 }