void SetAutoShowWindowTypeFromGuiIdx(int selectedIdx)
{
switch (selectedIdx)
{
case 0: // never
BuildReportTool.Options.SetAutoShowWindowTypeToNever();
break;
case 1: // always
BuildReportTool.Options.SetAutoShowWindowTypeToAlways();
break;
case 2: // yes, but not during batchmode
BuildReportTool.Options.SetAutoShowWindowTypeToNotInBatchMode();
break;
}
}