public ConfigIoPanel(ConfigIoAction action) { InitializeComponent(); this.action = action; this.cbTypes = new MowayComboBox[] { this.cbType0, this.cbType1, this.cbType2, this.cbType3, this.cbType4, this.cbType5 }; this.cbValues = new MowayComboBox[] { this.cbValue0, this.cbValue1, this.cbValue2, this.cbValue3, this.cbValue4, this.cbValue5 }; }
public ConfigIoForm(ConfigIoAction action) { InitializeComponent(); this.helpTopic = ConfigIo.HelpTopic; this.action = action; this.ooTypes = new MowayOnOff[] { this.ooType0, this.ooType1, this.ooType2, this.ooType3, this.ooType4, this.ooType5 }; this.cbValues = new MowayComboBox[] { this.cbValue0, this.cbValue1, this.cbValue2, this.cbValue3, this.cbValue4, this.cbValue5 }; this.pbInputs = new PictureBox[] { this.pbInput0, this.pbInput1, this.pbInput2, this.pbInput3, this.pbInput4, this.pbInput5 }; this.pbOutputs = new PictureBox[] { this.pbOut0, this.pbOutput1, this.pbOutput2, this.pbOutput3, this.pbOutput4, this.pbOutput5 }; }
public ConfigIoGraphic(string key, ConfigIoAction element, Point center) : base(key, element, center) { this.needInit = System.Convert.ToBoolean(ConfigIo.NeedInit); this.Surface.Blit(new Surface(ConfigIo.GraphicIcon)); }