Fixing an issue with output parameters that are of type IntPtr
[castle.git] / Experiments / Attic / Generator / Castle.ActiveRecord.Generator / Dialogs / AboutDialog.cs
blob82ca6efeebb724abf7a0c723e499322cba4a49bb
1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.ActiveRecord.Generator.Dialogs
17 using System;
18 using System.Drawing;
19 using System.Collections;
20 using System.ComponentModel;
21 using System.Windows.Forms;
23 /// <summary>
24 /// Summary description for AboutDialog.
25 /// </summary>
26 public class AboutDialog : System.Windows.Forms.Form
28 private System.Windows.Forms.Label label1;
29 private System.Windows.Forms.Button button1;
30 private System.Windows.Forms.Label label2;
31 /// <summary>
32 /// Required designer variable.
33 /// </summary>
34 private System.ComponentModel.Container components = null;
36 public AboutDialog()
39 // Required for Windows Form Designer support
41 InitializeComponent();
44 // TODO: Add any constructor code after InitializeComponent call
48 /// <summary>
49 /// Clean up any resources being used.
50 /// </summary>
51 protected override void Dispose( bool disposing )
53 if( disposing )
55 if(components != null)
57 components.Dispose();
60 base.Dispose( disposing );
63 #region Windows Form Designer generated code
64 /// <summary>
65 /// Required method for Designer support - do not modify
66 /// the contents of this method with the code editor.
67 /// </summary>
68 private void InitializeComponent()
70 this.label1 = new System.Windows.Forms.Label();
71 this.button1 = new System.Windows.Forms.Button();
72 this.label2 = new System.Windows.Forms.Label();
73 this.SuspendLayout();
74 //
75 // label1
76 //
77 this.label1.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
78 this.label1.Location = new System.Drawing.Point(72, 56);
79 this.label1.Name = "label1";
80 this.label1.Size = new System.Drawing.Size(216, 16);
81 this.label1.TabIndex = 0;
82 this.label1.Text = "Castle ActiveRecord Generator";
83 //
84 // button1
85 //
86 this.button1.DialogResult = System.Windows.Forms.DialogResult.Cancel;
87 this.button1.Location = new System.Drawing.Point(264, 208);
88 this.button1.Name = "button1";
89 this.button1.TabIndex = 1;
90 this.button1.Text = "Close";
91 //
92 // label2
93 //
94 this.label2.Location = new System.Drawing.Point(140, 88);
95 this.label2.Name = "label2";
96 this.label2.Size = new System.Drawing.Size(80, 24);
97 this.label2.TabIndex = 2;
98 this.label2.Text = "Version 0.0.1.0";
99 //
100 // AboutDialog
102 this.AcceptButton = this.button1;
103 this.AutoScaleBaseSize = new System.Drawing.Size(5, 14);
104 this.CancelButton = this.button1;
105 this.ClientSize = new System.Drawing.Size(360, 250);
106 this.Controls.Add(this.label2);
107 this.Controls.Add(this.button1);
108 this.Controls.Add(this.label1);
109 this.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
110 this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
111 this.MaximizeBox = false;
112 this.Name = "AboutDialog";
113 this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
114 this.Text = "About ActiveRecord Generator";
115 this.ResumeLayout(false);
118 #endregion