public SelectableWrappedList(IList mylist, int[] SelectChangeColumns) { Underlying = mylist; Underlying.Click += new dClickedList(Underlying_Click); iSelectChangeColumns = SelectChangeColumns; #if VVS_REFERENCED if (Underlying.GetType() == typeof(MyClasses.MetaViewWrappers.VirindiViewServiceHudControls.List)) { Curtain_VVSInit(); } #endif }
void isetrowcolors(int r, Color c) { Color rc = c; #if VVS_REFERENCED if (Underlying.GetType() == typeof(MyClasses.MetaViewWrappers.VirindiViewServiceHudControls.List)) { rc = VVSSelectColor; } #endif foreach (int col in iSelectChangeColumns) { Underlying[r][col].Color = rc; } }