public ProgramLoaderItem(Program prog, ProgramSelector progSelector, BxAdapter bxAdapter) { Prog = prog; ProgSelector = progSelector; BxAdapter = bxAdapter; InitializeComponent(); btnProgramName.Text = Prog.FriendlyTitle; }
//private CopyProtection CopyProtection; public Settings(BxAdapter bxAdapter, ProgramSelector programSelector) { InitializeComponent(); BxAdapter = bxAdapter; //MappingGamepad = mappingGamepad; ProgramSelector = programSelector; this.StartPosition = FormStartPosition.CenterParent; C.LockFormSizeAndSetTopmost(this); }
private void SetupNeedingPersistentSettings() { LoadPersistentSettings(); Globals.Settings = new Settings(this, ProgramSelectorForm); ProgramSelectorForm = new ProgramSelector(this); C.LockFormSizeAndSetTopmost(this); if (Globals.ShowTooltips) { SetupToolTips(); } groupConnectionStatus.Visible = true; SignalProcessor.ActivateVisEffectSetter(SignalType.Discrete); SignalProcessor.ActivateVolEffectSetter(SignalType.Discrete); //RewardKeySender = new RewardKeySender(txtKeyToSend, null, GetKeyInteractType()); }