Ejemplo n.º 1
0
 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");
     }
 }
Ejemplo n.º 2
0
 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");
     }
 }