private void ScreenshotBtn_Click(object sender, EventArgs e) { if (this.DisplayedResponse != null) { if (this.RequestOfDisplayedResponse != null) { ScreenshotForm SF = new ScreenshotForm(); SF.SetRequestResponse(this.RequestOfDisplayedResponse, this.DisplayedResponse); SF.Show(); } else { MessageBox.Show("Request information is missing, cannot open in Screenshot mode"); } } else { MessageBox.Show("No Response available for taking screenshot"); } }