private void OnCheckedChanged(object sender, EventArgs e) { DirectionControls direction = GetDirectionControls(sender); if (direction != null) { direction.SetAllChecked(); } }
private void SetCheckedDirections(DirectionControls direction, List <int> selectedValues) { direction.SetCheckedItemList(selectedValues); }
private void UpdateDirectionInfo(DirectionControls d, int n) { d.InfoLabel.Text = String.Format("Selected:{0},Total:{1}", d.CoordList.CheckedItems.Count, d.CoordList.Items.Count); }
private List <int> GetCheckedDirections(DirectionControls direction) { return(direction.GetCheckedItemList()); }