private void method_4(object object_0, GClass87 gclass87_0) { this.Event_1 -= new EventHandler <GClass87>(this.method_4); if (!gclass87_0.bool_0) { using (MemoryStream memoryStream1 = new MemoryStream(gclass87_0.byte_0)) { MemoryStream memoryStream2 = new MemoryStream(); try { new Bitmap(Image.FromStream((Stream)memoryStream1), new Size(48, 48)).Save((Stream)memoryStream2, ImageFormat.Png); File.WriteAllBytes(gclass87_0.string_0, memoryStream2.ToArray()); this.Image = Image.FromStream((Stream)memoryStream2); } catch (Exception ex) { GClass6.smethod_6(gclass87_0.string_0); return; } } } else { this.Image = Image.FromStream((Stream) new MemoryStream(gclass87_0.byte_0)); } // ISSUE: reference to a compiler-generated field EventHandler <GClass84> eventHandler2 = this.eventHandler_2; if (eventHandler2 == null) { return; } eventHandler2((object)this, new GClass84(this.Image)); }
private void method_3(object object_0, GClass87 gclass87_0) { this.Event_1 -= new EventHandler <GClass87>(this.method_3); try { this.Image = Image.FromStream((Stream) new MemoryStream(gclass87_0.byte_0)); } catch (Exception ex) { GClass6.smethod_6(gclass87_0.string_0); return; } // ISSUE: reference to a compiler-generated field EventHandler <GClass84> eventHandler2 = this.eventHandler_2; if (eventHandler2 == null) { return; } eventHandler2((object)this, new GClass84(this.Image)); }