public MarkerObj[][] m_arrMarkers;          //List of all arrow markers

        public void Initialize()
        {
            m_arrMarkers = new MarkerObj[MAX_MARKERS][];
            for (int nInd1 = 0; nInd1 < MAX_MARKERS; nInd1++)
            {
                m_arrMarkers[nInd1] = new MarkerObj[(int)RFExplorerSignalType.TOTAL_ITEMS];

                for (int nInd2 = 0; nInd2 < (int)RFExplorerSignalType.TOTAL_ITEMS; nInd2++)
                {
                    m_arrMarkers[nInd1][nInd2] = new MarkerObj(m_arrCurveColors[nInd2], 17, 0, 0);
                    m_arrMarkers[nInd1][nInd2].ZOrder = ZOrder.A_InFront;
                    m_arrMarkers[nInd1][nInd2].IsClippedToChartRect = true;
                    m_arrMarkers[nInd1][nInd2].Line.Style = DashStyle.Solid;
                    m_arrMarkers[nInd1][nInd2].IsVisible = false;
                    m_arrMarkers[nInd1][nInd2].InsideText = (nInd1 + 1).ToString("0");
                    m_arrMarkers[nInd1][nInd2].Location.X = 1000.0; //initialize to 1000MHz, a rather random value
                }
            }
        }
Esempio n. 2
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The <see cref="MarkerObj"/> object from which to copy</param>
 public MarkerObj(MarkerObj rhs)
     : base(rhs)
 {
     _size = rhs.Size;
 }
Esempio n. 3
0
 /// <summary>
 /// The Copy Constructor
 /// </summary>
 /// <param name="rhs">The <see cref="MarkerObj"/> object from which to copy</param>
 public MarkerObj( MarkerObj rhs )
     : base( rhs )
 {
     _size = rhs.Size;
 }