You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

ErrorDialog.cs 792 B

15 years ago
1234567891011121314151617181920212223242526272829303132
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Windows.Forms;
  9. namespace ClickForensics.Quartz.Manager
  10. {
  11. public partial class ErrorDialog : Form
  12. {
  13. public ErrorDialog()
  14. {
  15. InitializeComponent();
  16. Load += new EventHandler(ErrorDialog_Load);
  17. }
  18. void ErrorDialog_Load(object sender, EventArgs e)
  19. {
  20. lblMessage.Text = Message;
  21. txtLongMessage.Text = Description;
  22. }
  23. public string Message { get; set; }
  24. public string Description { get; set; }
  25. private void btnOk_Click(object sender, EventArgs e)
  26. {
  27. this.Close();
  28. }
  29. }
  30. }