Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }
Ejemplo n.º 3
0
 public void Remove(FinancialMarker value)
 {
     array.Remove(value);
     Invalidate();
 }
Ejemplo n.º 4
0
 public bool Contains(FinancialMarker value)
 {
     return(array.Contains(value));
 }
Ejemplo n.º 5
0
 public int IndexOf(FinancialMarker value)
 {
     return(array.IndexOf(value));
 }
Ejemplo n.º 6
0
 public void Insert(int index, FinancialMarker value)
 {
     Insert(index, (object)value);
 }