/// <summary> /// Constructor for FormCollectInfo. /// </summary> /// <param name="logSender">The log sender to use to send the log information.</param> /// <param name="terminating">Whether the program will be exiting automatically.</param> public FormCollectInfo(LogSender logSender, bool terminating) { InitializeComponent(); _logSender = logSender; _logSender.AddFiles += _logSender_AddFiles; labelSend.Text += Application.CompanyName; if (terminating) { checkExit.Checked = true; checkExit.Enabled = false; } else { labelExit.Hide(); } }
internal AddFilesEventArgs(LogSender logSender, ZipOutputStream zipStream) { LogSender = logSender; ZipStream = zipStream; }