public TransmissionRfPanel(TransmissionRfAction action) { InitializeComponent(); this.action = action; this.cbVariables = new MowayComboBox[8] { this.cbVariable0, this.cbVariable1, this.cbVariable2, this.cbVariable3, this.cbVariable4, this.cbVariable5, this.cbVariable6, this.cbVariable7 }; this.nudValues = new MowayNumericUpDown[8] { this.nudValue0, this.nudValue1, this.nudValue2, this.nudValue3, this.nudValue4, this.nudValue5, this.nudValue6, this.nudValue7 }; }
public TransmissionRfGraphic(string key, TransmissionRfAction element, Point center) : base(key, element, center) { this.needInit = System.Convert.ToBoolean(TransmissionRf.NeedInit); this.Surface.Blit(new Surface(TransmissionRf.GraphicIcon)); }