// Token: 0x06001FEC RID: 8172 RVA: 0x00069EE8 File Offset: 0x000680E8 private void SaveScreenshotBtn_Click(object sender, EventArgs e) { if (this.bitmap_0 == null) { DialogBox.smethod_3("There appears to have been an error and a screenshot was not taken.", "Error Accessing Screenshot"); return; } if (this.saveFileDialog_0.ShowDialog() == DialogResult.OK) { try { switch (this.saveFileDialog_0.FilterIndex) { case 1: using (Stream stream = File.Open(this.saveFileDialog_0.FileName, FileMode.Create, FileAccess.Write, FileShare.None)) { Class157.smethod_6(this.bitmap_0, stream, 100); goto IL_A3; } break; case 2: break; default: goto IL_A3; } using (Stream stream2 = File.Open(this.saveFileDialog_0.FileName, FileMode.Create, FileAccess.Write, FileShare.None)) { Class157.smethod_5(this.bitmap_0, stream2, 100); } IL_A3 :; } catch (Exception ex) { DialogBox.smethod_7(ex, this.saveFileDialog_0.FileName); } } }