Esempio n. 1
0
 public frmInjectionAnimation(GClass91 gclass91_1)
 {
     this.InitializeComponent();
     this.Region     = Class97.smethod_6((Form)this, 40);
     this.gclass91_0 = gclass91_1;
     try
     {
         this.int_3            = this.pctAarrow.Left;
         this.timer_1.Interval = 25;
         this.timer_1.Start();
         this.bitmap_0 = (Bitmap)Image.FromStream((Stream) new MemoryStream(new GClass78().DownloadFile(string.Format("http://art.gametdb.com/wii/disc/{0}/{1}.png", this.gclass91_0.ToInject.Region == "USA" ? (object)"US" : (object)"EN", (object)this.gclass91_0.ToInject.ProductId))));
         this.bitmap_0.SetResolution(96f, 96f);
         this.timer_0.Interval = 30;
         this.timer_0.Start();
     }
     catch
     {
     }
     try
     {
         this.windowsMediaPlayer_0 = (WindowsMediaPlayer) new WindowsMediaPlayerClass();
         // ISSUE: method pointer
         this.windowsMediaPlayer_0.add_PlayStateChange(new _WMPOCXEvents_PlayStateChangeEventHandler((object)this, (UIntPtr)__methodptr(method_3)));
     }
     catch
     {
     }
 }
        public frmUnpackAnimation(GClass30 gclass30_0)
        {
            this.InitializeComponent();
            this.Region = Class97.smethod_6((Form)this, 40);
            GClass32 gclass32 = (GClass32)null;

            if (gclass30_0 is GClass32)
            {
                gclass32          = gclass30_0 as GClass32;
                this.lblTile.Text = gclass32.Name;
            }
            if (gclass30_0 is GClass31)
            {
                gclass32          = GClass28.dictionary_0[new TitleId((string)gclass30_0.TitleId.FullGame)];
                this.lblTile.Text = gclass32.Name + " DLC";
            }
            if (gclass30_0 is GClass33)
            {
                gclass32          = GClass28.dictionary_0[new TitleId((string)gclass30_0.TitleId.FullGame)];
                this.lblTile.Text = gclass32.Name + " UPDATE";
            }
            this.pictureBox1.Image = gclass32.gclass86_0.Image;
            gclass32.method_28((Action <GClass74, GClass32>)((gclass74_0, gclass32_0) => this.pictureBox1.ImageLocation = gclass74_0.BannerUrl));
        }