void listBoxCheckBox_Click( ECheckBox sender )
{
//set listBox current item
for( int n = 0; n < listBox.Items.Count; n++ )
{
EButton itemButton = listBox.ItemButtons[ n ];
if( itemButton.Controls[ "CheckBox" ] == sender )
listBox.SelectedIndex = n;
}
checkBoxEnabled.Checked = sender.Checked;
checkBoxEnabled.Enable = ( sender.Parent.Text != "HDR" );
UpdateCurrentPostEffect();
}