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

            if (direction != null)
            {
                direction.SetAllChecked();
            }
        }
Exemplo n.º 2
0
 private void SetCheckedDirections(DirectionControls direction, List <int> selectedValues)
 {
     direction.SetCheckedItemList(selectedValues);
 }
Exemplo 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);
 }
Exemplo n.º 4
0
 private List <int> GetCheckedDirections(DirectionControls direction)
 {
     return(direction.GetCheckedItemList());
 }