I am trying to set up a list of PictureBox objects from within the Configurator so I can access them without knowing the “Input” Name, using Code similar to code supplied by Evan_Purdy and timshuwy
var Combo_Var = new List<Erp.Shared.Lib.Configurator.InputControlValueBound<Ice.Lib.Framework.EpiUltraCombo, System.String>>();
I have managed to accomplished this for TextBoxes, CheckBoxes, ComboBoxes and Labels but I can’t seem to find the equivalent for PictureBoxes.
I have tried the obvious:
var Image_Var = new List<Erp.Shared.Lib.Configurator.InputControlValueBound<Ice.Lib.Framework.EpiPictureBox, System.String>>();
which passes the syntax Check perfectly but when I add the code to add a list entry for any Input picturebox (example one called called Inputs.imgVar_000) I generate a syntax error shown in the picture attachment:
Image_Var.Add(Inputs.imgVar_000);
Looking through the Infragistics manual they mention an UltraPictureBox as well as EpiPcPictureBox. I have also tried to define this as the base class but that generates a Syntax error straight away.
Anybody any ideas how I can make this work as it is the only thing stopping me from data driving the Configurator completely from a Configurator Lookup Table?
Thanks in advance.
Dave