コード例 #1
0
        public int Add(FinancialMarkerType markerName, int firstPointIndex, int secondPointIndex, int firstYIndex, int secondYIndex, Color lineColor, int lineWidth, Color textColor, Font textFont)
        {
            FinancialMarker value  = new FinancialMarker(markerName, firstPointIndex, secondPointIndex, firstYIndex, secondYIndex, lineColor, lineWidth, textColor, textFont);
            int             result = array.Add(value);

            Invalidate();
            return(result);
        }
コード例 #2
0
        public void Insert(int index, FinancialMarkerType markerName, int firstPointIndex, int secondPointIndex, int firstYIndex, int secondYIndex, Color lineColor, int lineWidth, Color textColor, Font textFont)
        {
            FinancialMarker value = new FinancialMarker(markerName, firstPointIndex, secondPointIndex, firstYIndex, secondYIndex, lineColor, lineWidth, textColor, textFont);

            array.Insert(index, value);
        }
コード例 #3
0
 public void Remove(FinancialMarker value)
 {
     array.Remove(value);
     Invalidate();
 }
コード例 #4
0
 public bool Contains(FinancialMarker value)
 {
     return(array.Contains(value));
 }
コード例 #5
0
 public int IndexOf(FinancialMarker value)
 {
     return(array.IndexOf(value));
 }
コード例 #6
0
 public void Insert(int index, FinancialMarker value)
 {
     Insert(index, (object)value);
 }