public Watch2DControl(Watch2D model) { InitializeComponent(); _watch2d = model; Values = new List <double>(); PlotColor = new SolidColorBrush() { Color = Color.FromArgb(255, 0, 0, 0) }; PlotColorBox.ItemsSource = typeof(Colors).GetProperties(); PlotColorBox.SelectedItem = typeof(Colors).GetProperty("Black"); }
public Watch2DControl(Watch2D model) { InitializeComponent(); _watch2D = model; Values = new List <double>(); PlotColor = new SolidColorBrush() { Color = Color.FromArgb(255, 0, 0, 0) }; PlotColorName = "Black"; _ymax = 250; }