Esempio n. 1
0
        private void OnCheckedChanged(object sender, EventArgs e)
        {
            DirectionControls direction = GetDirectionControls(sender);

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