private void SetupOnlyNeedingInitializedComponents() { InitializeComponent(); #if DEBUG //btnGetMoreGames.Text += " (DEBUG)"; #endif RewardSetter = new RewardSetter(this); VolManager = new VolumeManager(updnVolMax, this); if (VolManager.MissingSpeaker) { btnNoSpeakerError.Visible = true; } Globals.BxAdapter = this; UpdateSightOrSoundControlVisibility(tabSound, chkEnableVol); //UpdateSendKeyControlVisibility(); //Connection = new Connection(lblConnectionStatus, BioexplorerConnectionForm, this); //Connection.ShowStatus(ConnectionStatus.NotConnected); MySettings = new Settings(this, ProgramSelectorForm); txtKeyToSend.Text = C.BlankKeyPressText; this.Text = BxAdapterTitle; BxAdapterLoadTime = DateTime.Now; tabMain.SelectedTab = tabHelp; SignalProcessor = new SignalProcessor(this); SignalSimulator = new SignalSimulator(this); ProgramLinker = new ProgramLinker(this); }
public SignalProcessor(BxAdapter bxAdapter) { bx = bxAdapter; RewardSetter = bx.RewardSetter; }