Author: gert
Date: 2008-02-02 15:07:11 -0500 (Sat, 02 Feb 2008)
New Revision: 94652
Modified:
trunk/gert/interactive/bug353310/MainForm.cs
Log:
Display instructions form.
Modified: trunk/gert/interactive/bug353310/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug353310/MainForm.cs 2008-02-02 20:00:59 UTC
(rev 94651)
+++ trunk/gert/interactive/bug353310/MainForm.cs 2008-02-02 20:07:11 UTC
(rev 94652)
@@ -40,6 +40,7 @@
Location = new Point (250, 100);
StartPosition = FormStartPosition.Manual;
Text = "bug #353310";
+ Load += new EventHandler (MainForm_Load);
Closing += new CancelEventHandler (MainForm_Closing);
}
@@ -49,6 +50,12 @@
Application.Run (new MainForm ());
}
+ void MainForm_Load (object sender, EventArgs e)
+ {
+ InstructionsForm instructionsForm = new InstructionsForm ();
+ instructionsForm.Show ();
+ }
+
void MainForm_Closing (object sender, CancelEventArgs e)
{
if (e.Cancel) {
@@ -134,7 +141,7 @@
//
// InstructionsForm
//
- ClientSize = new Size (300, 200);
+ ClientSize = new Size (320, 250);
Location = new Point (600, 100);
StartPosition = FormStartPosition.Manual;
Text = "Instructions - bug #353310";
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches