1 // Copyright 2004-2008 Castle Project - http://www.castleproject.org/
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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
19 using System
.Collections
;
20 using System
.ComponentModel
;
21 using System
.Windows
.Forms
;
24 /// Summary description for AboutDialog.
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
;
32 /// Required designer variable.
34 private System
.ComponentModel
.Container components
= null;
39 // Required for Windows Form Designer support
41 InitializeComponent();
44 // TODO: Add any constructor code after InitializeComponent call
49 /// Clean up any resources being used.
51 protected override void Dispose( bool disposing
)
55 if(components
!= null)
60 base.Dispose( disposing
);
63 #region Windows Form Designer generated code
65 /// Required method for Designer support - do not modify
66 /// the contents of this method with the code editor.
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();
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";
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";
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";
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);