コード例 #1
0
        public PickerDialog(Instance emulator)
            : this()
        {
            Debug.Assert(emulator != null);

            _emulator = emulator;

            string cachePath = GameCache.DefaultPath;

            _cache = new GameCache();
            _cache.Load(cachePath);
            umdGameListing.SetCache(_cache);

            umdGameListing.Text         = "UMDs";
            msGameListing.Text          = "EBOOTs";
            msGameListing.RegionEnabled = false;

            SetEnabledState(true);

            //this.FindGames();

            //umdGameListing_SelectionChanged( umdGameListing, EventArgs.Empty );

            this.DialogResult = DialogResult.Cancel;
        }
コード例 #2
0
ファイル: PickerDialog.cs プロジェクト: BradFuller/pspplayer
        public PickerDialog( Instance emulator )
            : this()
        {
            Debug.Assert( emulator != null );

            _emulator = emulator;

            string cachePath = GameCache.DefaultPath;
            _cache = new GameCache();
            _cache.Load( cachePath );
            umdGameListing.SetCache( _cache );

            umdGameListing.Text = "UMDs";
            msGameListing.Text = "EBOOTs";
            msGameListing.RegionEnabled = false;

            SetEnabledState( true );

            //this.FindGames();

            //umdGameListing_SelectionChanged( umdGameListing, EventArgs.Empty );

            this.DialogResult = DialogResult.Cancel;
        }