Exemple #1
0
 public void clearSets()
 {
     if (newTchart != null)
     {
         for (int i = newTchart.Series.Count - 1; i >= 0; i--)
         {
             newTchart.Series.RemoveAt(i);
         }
     }
     if (textBox != null)
     {
         textBox = null;
     }
     if (textPanle != null)
     {
         textPanle = null;
     }
     if (newTchart != null)
     {
         newTchart = null;
     }
     if (stripSeries != null)
     {
         stripSeries = null;
     }
     if (showPanle != null)
     {
         showPanle = null;
     }
     if (subPanle != null)
     {
         subPanle = null;
     }
 }
Exemple #2
0
 public calibTofdColumn(System.Windows.Forms.Panel panel, float widthPos, float subpanelwidth, string assignName, calibStripType type)
 {
     this.type       = type;
     this.assignName = assignName;
     initControls(panel, widthPos, subpanelwidth);
     tofdSeries = new StripSeries(this.newTchart);
 }
Exemple #3
0
        public calibStripColumn(System.Windows.Forms.Panel panel, float widthPos, float subpanelwidth, string assignName, calibStripType type)
        {
            this.type       = type;
            this.assignName = assignName;
            this.xPos       = widthPos;
            initControls(panel, widthPos, subpanelwidth);
            switch (this.type)
            {
            case calibStripType.PAstrip:
                stripSeries = new StripSeries(this.newTchart);
                break;

            case calibStripType.Scale:
                stripSeries = null;
                break;
            }
        }