コード例 #1
0
 public ProgramLoaderItem(Program prog, ProgramSelector progSelector, BxAdapter bxAdapter)
 {
     Prog         = prog;
     ProgSelector = progSelector;
     BxAdapter    = bxAdapter;
     InitializeComponent();
     btnProgramName.Text = Prog.FriendlyTitle;
 }
コード例 #2
0
ファイル: Settings.cs プロジェクト: pro7tech/HEG_adapter
        //private CopyProtection CopyProtection;

        public Settings(BxAdapter bxAdapter, ProgramSelector programSelector)
        {
            InitializeComponent();
            BxAdapter = bxAdapter;
            //MappingGamepad = mappingGamepad;
            ProgramSelector    = programSelector;
            this.StartPosition = FormStartPosition.CenterParent;
            C.LockFormSizeAndSetTopmost(this);
        }
コード例 #3
0
ファイル: BxAdapter.cs プロジェクト: pro7tech/HEG_adapter
        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());
        }