/// <summary> /// The constructor for the screenshot details form. /// </summary> /// <param name="filePath">The full file path of the screenshot.</param> public ScreenshotDetailsForm(SentToMantisFormat sendToMantis, ProcessImageHandler processImageHandler, string filePath) { if (sendToMantis == null) { throw new ArgumentNullException("sendToMantis"); } if (processImageHandler == null) { throw new ArgumentNullException("processImageHandler"); } if (filePath == null) { throw new ArgumentNullException("filePath"); } this.processImageHandler = processImageHandler; this.filePath = filePath; this.sendToMantis = sendToMantis; InitializeComponent(); }