예제 #1
0
        /// <summary>
        /// 添加线
        /// </summary>
        /// <param name="pit_XY"></param>
        public void Add(PointF[] pit_XY)
        {
            CCLLine cle_Line = new CCLLine(this.m_gph_Map, pit_XY);

            cle_Line.Margin = this.m_int_Margin;
            this.List.Add(cle_Line);
        }
예제 #2
0
 /// <summary>
 /// 添加线
 /// </summary>
 /// <param name="int_Count">线条数</param>
 public void Add(int int_Count)
 {
     for (int int_Inc = 0; int_Inc < int_Count; int_Inc++)
     {
         CCLLine cle_Line = new CCLLine(m_gph_Map);
         this.List.Add(cle_Line);
     }
 }
예제 #3
0
        /// <summary>
        /// 添加线
        /// </summary>
        /// <param name="lst_XY"></param>
        /// <param name="pen_DrawPen"></param>
        public void Add(List <PointF> lst_XY, Pen pen_DrawPen)
        {
            CCLLine cle_Line = new CCLLine(this.m_gph_Map, lst_XY);

            cle_Line.Margin  = this.m_int_Margin;
            cle_Line.DrawPen = pen_DrawPen;
            this.List.Add(cle_Line);
        }
예제 #4
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="int_Index"></param>
 /// <param name="lst_XY"></param>
 /// <param name="pen_DrawPen"></param>
 public void SetLine(int int_Index, List <PointF> lst_XY, Pen pen_DrawPen)
 {
     if (this.Count > int_Index && int_Index >= 0)
     {
         CCLLine cle_Tmp = (CCLLine)(this.List[int_Index]);
         cle_Tmp.DrawPen = pen_DrawPen;
         cle_Tmp.DrawLine(lst_XY);
     }
 }
예제 #5
0
 /// <summary>
 /// 画线
 /// </summary>
 public void DrawLines()
 {
     for (int int_Inc = 0; int_Inc < this.List.Count; int_Inc++)
     {
         CCLLine cle_Tmp = (CCLLine)(this.List[int_Inc]);
         cle_Tmp.Margin = this.m_int_Margin;
         cle_Tmp.DrawLine();
     }
 }
예제 #6
0
        /// <summary>
        /// 添加线
        /// </summary>
        /// <param name="lst_XY"></param>
        public void Add(List <PointF> lst_XY)
        {
            CCLLine cle_Line = new CCLLine(this.m_gph_Map, lst_XY);

            this.List.Add(cle_Line);
        }
예제 #7
0
 /// <summary>
 /// 添加线
 /// </summary>
 /// <param name="cle_Line">新增的表格行</param>
 public void Add(CCLLine cle_Line)
 {
     cle_Line.ChartMap = m_gph_Map;
     this.List.Add(cle_Line);
 }