D
DanB
Say I want to add a comboBox to a form and have it populated with the
enum of an object. Is there a way to do this quickly? I've been creating
the list by hand.
Thanks, Dan.
Like for Markers:
namespace System.Windows.Forms.DataVisualization.Charting
{
// Summary:
// Specifies a style for markers.
public enum MarkerStyle
{
// Summary:
// No marker is displayed for the series or data point.
None = 0,
//
// Summary:
// A square marker is displayed.
Square = 1,
//
// Summary:
// A circular marker is displayed.
Circle = 2,
//
// Summary:
// A diamond-shaped marker is displayed.
Diamond = 3,
//
// Summary:
// A triangular marker is displayed.
Triangle = 4,
//
// Summary:
// A cross-shaped marker is displayed.
Cross = 5,
//
// Summary:
// A 4-point star-shaped marker is displayed.
Star4 = 6,
//
// Summary:
// A 5-point star-shaped marker is displayed.
Star5 = 7,
//
// Summary:
// A 6-point star-shaped marker is displayed.
Star6 = 8,
//
// Summary:
// A 10-point star-shaped marker is displayed.
Star10 = 9,
}
}
enum of an object. Is there a way to do this quickly? I've been creating
the list by hand.
Thanks, Dan.
Like for Markers:
namespace System.Windows.Forms.DataVisualization.Charting
{
// Summary:
// Specifies a style for markers.
public enum MarkerStyle
{
// Summary:
// No marker is displayed for the series or data point.
None = 0,
//
// Summary:
// A square marker is displayed.
Square = 1,
//
// Summary:
// A circular marker is displayed.
Circle = 2,
//
// Summary:
// A diamond-shaped marker is displayed.
Diamond = 3,
//
// Summary:
// A triangular marker is displayed.
Triangle = 4,
//
// Summary:
// A cross-shaped marker is displayed.
Cross = 5,
//
// Summary:
// A 4-point star-shaped marker is displayed.
Star4 = 6,
//
// Summary:
// A 5-point star-shaped marker is displayed.
Star5 = 7,
//
// Summary:
// A 6-point star-shaped marker is displayed.
Star6 = 8,
//
// Summary:
// A 10-point star-shaped marker is displayed.
Star10 = 9,
}
}