/// <summary> /// Adds a large weight with the given color to the control /// </summary> /// <param name="color">The color of the large weight</param> public void AddSmallWeight(Color color) { BarBellWeight weight = new BarBellWeight(color, 0, 0, true); weights.Add(weight); Invalidate(); }
/// <summary> /// Adds a weight to the control /// </summary> /// <param name="barBellWeight">The weight object to add</param> public void AddWeight(BarBellWeight barBellWeight) { weights.Add(barBellWeight); Invalidate(); }
/// <summary> /// Adds a large weight with the given color to the control /// </summary> /// <param name="color">The color of the large weight</param> public void AddLargeWeight(Color color) { BarBellWeight weight = new BarBellWeight(color, 0, 0, false); weights.Add(weight); Invalidate(); }