Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
3.6 KiB

  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. namespace OCAReports
  7. {
  8. /// <summary>
  9. /// Summary description for Form2.
  10. /// </summary>
  11. public class frmAbout : System.Windows.Forms.Form
  12. {
  13. private System.Windows.Forms.Button cmdOK;
  14. private System.Windows.Forms.Label label1;
  15. private System.Windows.Forms.Label label2;
  16. private System.Windows.Forms.Label label3;
  17. /// <summary>
  18. /// Required designer variable.
  19. /// </summary>
  20. private System.ComponentModel.Container components = null;
  21. public frmAbout()
  22. {
  23. //
  24. // Required for Windows Form Designer support
  25. //
  26. InitializeComponent();
  27. //
  28. // TODO: Add any constructor code after InitializeComponent call
  29. //
  30. }
  31. /// <summary>
  32. /// Clean up any resources being used.
  33. /// </summary>
  34. protected override void Dispose( bool disposing )
  35. {
  36. if( disposing )
  37. {
  38. if(components != null)
  39. {
  40. components.Dispose();
  41. }
  42. }
  43. base.Dispose( disposing );
  44. }
  45. #region Windows Form Designer generated code
  46. /// <summary>
  47. /// Required method for Designer support - do not modify
  48. /// the contents of this method with the code editor.
  49. /// </summary>
  50. private void InitializeComponent()
  51. {
  52. System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmAbout));
  53. this.cmdOK = new System.Windows.Forms.Button();
  54. this.label1 = new System.Windows.Forms.Label();
  55. this.label2 = new System.Windows.Forms.Label();
  56. this.label3 = new System.Windows.Forms.Label();
  57. this.SuspendLayout();
  58. //
  59. // cmdOK
  60. //
  61. this.cmdOK.Location = new System.Drawing.Point(168, 192);
  62. this.cmdOK.Name = "cmdOK";
  63. this.cmdOK.TabIndex = 0;
  64. this.cmdOK.Text = "&OK";
  65. this.cmdOK.Click += new System.EventHandler(this.cmdOK_Click);
  66. //
  67. // label1
  68. //
  69. this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
  70. this.label1.Location = new System.Drawing.Point(24, 16);
  71. this.label1.Name = "label1";
  72. this.label1.Size = new System.Drawing.Size(368, 23);
  73. this.label1.TabIndex = 1;
  74. this.label1.Text = "On Line Crash Analysis";
  75. this.label1.TextAlign = System.Drawing.ContentAlignment.TopCenter;
  76. //
  77. // label2
  78. //
  79. this.label2.Location = new System.Drawing.Point(24, 56);
  80. this.label2.Name = "label2";
  81. this.label2.Size = new System.Drawing.Size(368, 16);
  82. this.label2.TabIndex = 2;
  83. this.label2.Text = "Created By Tim Ragain V1.0";
  84. this.label2.TextAlign = System.Drawing.ContentAlignment.TopCenter;
  85. //
  86. // label3
  87. //
  88. this.label3.Location = new System.Drawing.Point(24, 88);
  89. this.label3.Name = "label3";
  90. this.label3.Size = new System.Drawing.Size(368, 16);
  91. this.label3.TabIndex = 3;
  92. this.label3.Text = "Developed with C# and VC++ Visual Studio 7.0";
  93. this.label3.TextAlign = System.Drawing.ContentAlignment.TopCenter;
  94. //
  95. // Form2
  96. //
  97. this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
  98. this.ClientSize = new System.Drawing.Size(416, 294);
  99. this.Controls.AddRange(new System.Windows.Forms.Control[] {
  100. this.label3,
  101. this.label2,
  102. this.label1,
  103. this.cmdOK});
  104. this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
  105. this.Name = "Form2";
  106. this.Text = "About";
  107. this.ResumeLayout(false);
  108. }
  109. #endregion
  110. private void cmdOK_Click(object sender, System.EventArgs e)
  111. {
  112. this.Close();
  113. }
  114. }
  115. }