private SetFlagChoice ( int _Value, |
||
_Value | int | |
_Choices | ||
return | void |
private void SetFlagChoice( int _Value, CheckBox[] _Choices )
{
for ( int i=0; i < _Choices.Length; i++ )
_Choices[i].Checked = (_Value & (1 << i)) != 0;
}