protected override void createGenericWindow()
{
genericWinESR = GenericWindow.Show(false, //don't show now
Catalog.GetString("Select persons to compare"), bigArray);
genericWinESR.SetTreeview(columnsString, true, data, nonSensitiveRows, Constants.ContextMenu.NONE, false);
//select this person row
genericWinESR.SelectRowWithID(0, currentPerson.UniqueID);
genericWinESR.ResetComboCheckBoxesOptions();
genericWinESR.CreateComboCheckBoxes();
genericWinESR.MarkActiveCurves(checkboxes);
genericWinESR.ShowButtonCancel(false);
genericWinESR.SetButtonAcceptSensitive(true);
//to have encoderCompareInter without opening the select window
updateEncoderCompareInterAndReps();
//used when we don't need to read data,
//and we want to ensure next window will be created at needed size
//genericWinESR.DestroyOnAccept=true;
//here is comented because we are going to read the checkboxes
genericWinESR.Type = GenericWindow.Types.ENCODER_SEL_REPS_GROUP_CURRENT_SESS;
}