Author: gert
Date: 2007-05-28 06:03:25 -0400 (Mon, 28 May 2007)
New Revision: 78039
Added:
trunk/gert/interactive/bug81733/
trunk/gert/interactive/bug81733/MainForm.cs
trunk/gert/interactive/bug81733/MainForm.resx
trunk/gert/interactive/bug81733/default.build
Modified:
trunk/gert/interactive/known_issues
Log:
Added test for bug #81733.
Added: trunk/gert/interactive/bug81733/MainForm.cs
===================================================================
--- trunk/gert/interactive/bug81733/MainForm.cs 2007-05-28 10:03:01 UTC (rev
78038)
+++ trunk/gert/interactive/bug81733/MainForm.cs 2007-05-28 10:03:25 UTC (rev
78039)
@@ -0,0 +1,135 @@
+using System;
+using System.ComponentModel;
+using System.Drawing;
+using System.Globalization;
+using System.Windows.Forms;
+
+public class MainForm : Form
+{
+ private ToolBar _toolBar;
+ private ToolBarButton _newButton;
+ private ImageList imgToolMenus;
+ private ToolBarButton _openButton;
+ private ToolBarButton _moveNowButton;
+
+ public MainForm ()
+ {
+ ComponentResourceManager resources = new
ComponentResourceManager (typeof (MainForm));
+ SuspendLayout ();
+ //
+ // imgToolMenus
+ //
+ imgToolMenus = new ImageList ();
+ imgToolMenus.ImageStream = ((ImageListStreamer)
(resources.GetObject ("imgToolMenus.ImageStream")));
+ imgToolMenus.TransparentColor = Color.Transparent;
+ //
+ // _toolBar
+ //
+ _toolBar = new ToolBar ();
+ _toolBar.Appearance = ToolBarAppearance.Flat;
+ _toolBar.DropDownArrows = true;
+ _toolBar.ImageList = imgToolMenus;
+ _toolBar.Location = new Point (0, 0);
+ _toolBar.Name = "_toolBar";
+ _toolBar.ShowToolTips = true;
+ _toolBar.Size = new Size (690, 28);
+ _toolBar.TabIndex = 32;
+ _toolBar.TextAlign = ToolBarTextAlign.Right;
+ _toolBar.Wrappable = false;
+ Controls.Add (_toolBar);
+ //
+ // _newButton
+ //
+ _newButton = new ToolBarButton ();
+ _newButton.ImageIndex = 0;
+ _newButton.ToolTipText = "Start a new chess game";
+ _toolBar.Buttons.Add (_newButton);
+ //
+ // _openButton
+ //
+ _openButton = new ToolBarButton ();
+ _openButton.ImageIndex = 1;
+ _openButton.ToolTipText = "Open a saved chess game";
+ _toolBar.Buttons.Add (_openButton);
+ //
+ // _moveNowButton
+ //
+ _moveNowButton = new ToolBarButton ();
+ _moveNowButton.ImageIndex = 11;
+ _moveNowButton.Text = "Move Now";
+ _moveNowButton.ToolTipText = "Make the computer immediately
play the best move it has found so far";
+ _toolBar.Buttons.Add (_moveNowButton);
+ //
+ // MainForm
+ //
+ AutoScaleBaseSize = new Size (5, 13);
+ ClientSize = new Size (200, 80);
+ Location = new Point (300, 100);
+ StartPosition = FormStartPosition.Manual;
+ FormBorderStyle = FormBorderStyle.FixedDialog;
+ SizeGripStyle = SizeGripStyle.Hide;
+ Text = "bug #81733";
+ Load += new EventHandler (MainForm_Load);
+ ResumeLayout (false);
+ PerformLayout ();
+ }
+
+ [STAThread]
+ static void Main ()
+ {
+ Application.Run (new MainForm ());
+ }
+
+ void MainForm_Load (object sender, EventArgs e)
+ {
+ InstructionsForm instructionsForm = new InstructionsForm ();
+ instructionsForm.Show ();
+ }
+}
+
+public class InstructionsForm : Form
+{
+ public InstructionsForm ()
+ {
+ //
+ // _tabControl
+ //
+ _tabControl = new TabControl ();
+ _tabControl.Dock = DockStyle.Fill;
+ Controls.Add (_tabControl);
+ //
+ // _bugDescriptionText1
+ //
+ _bugDescriptionText1 = new TextBox ();
+ _bugDescriptionText1.Dock = DockStyle.Fill;
+ _bugDescriptionText1.Multiline = true;
+ _bugDescriptionText1.Text = string.Format
(CultureInfo.InvariantCulture,
+ "Expected result on start-up:{0}{0}" +
+ "1. The following buttons are displayed:{0}{0}" +
+ " * New{0}" +
+ " * Open{0}" +
+ " * Move Now{0}{0}" +
+ "2. The New and Open buttons have no text, and have a
\"normal\" " +
+ "width.{0}{0}" +
+ "3. The MoveNow button has text and is move wide.",
+ Environment.NewLine);
+ //
+ // _tabPage1
+ //
+ _tabPage1 = new TabPage ();
+ _tabPage1.Text = "#1";
+ _tabPage1.Controls.Add (_bugDescriptionText1);
+ _tabControl.Controls.Add (_tabPage1);
+ //
+ // InstructionsForm
+ //
+ ClientSize = new Size (360, 200);
+ Location = new Point (550, 100);
+ StartPosition = FormStartPosition.Manual;
+ Text = "Instructions - bug #81733";
+ }
+
+ private TextBox _bugDescriptionText1;
+ private TabControl _tabControl;
+ private TabPage _tabPage1;
+}
Property changes on: trunk/gert/interactive/bug81733/MainForm.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/gert/interactive/bug81733/MainForm.resx
===================================================================
--- trunk/gert/interactive/bug81733/MainForm.resx 2007-05-28 10:03:01 UTC
(rev 78038)
+++ trunk/gert/interactive/bug81733/MainForm.resx 2007-05-28 10:03:25 UTC
(rev 78039)
@@ -0,0 +1,190 @@
+<?xml version="1.0" encoding="utf-8"?>
+<root>
+ <!--
+ Microsoft ResX Schema
+
+ Version 2.0
+
+ The primary goals of this format is to allow a simple XML format
+ that is mostly human readable. The generation and parsing of the
+ various data types are done through the TypeConverter classes
+ associated with the data types.
+
+ Example:
+
+ ... ado.net/XML headers & schema ...
+ <resheader name="resmimetype">text/microsoft-resx</resheader>
+ <resheader name="version">2.0</resheader>
+ <resheader name="reader">System.Resources.ResXResourceReader,
System.Windows.Forms, ...</resheader>
+ <resheader name="writer">System.Resources.ResXResourceWriter,
System.Windows.Forms, ...</resheader>
+ <data name="Name1"><value>this is my long string</value><comment>this is a
comment</comment></data>
+ <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
+ <data name="Bitmap1"
mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>[base64 mime encoded serialized .NET Framework object]</value>
+ </data>
+ <data name="Icon1" type="System.Drawing.Icon, System.Drawing"
mimetype="application/x-microsoft.net.object.bytearray.base64">
+ <value>[base64 mime encoded string representing a byte array form of
the .NET Framework object]</value>
+ <comment>This is a comment</comment>
+ </data>
+
+ There are any number of "resheader" rows that contain simple
+ name/value pairs.
+
+ Each data row contains a name, and value. The row also contains a
+ type or mimetype. Type corresponds to a .NET class that support
+ text/value conversion through the TypeConverter architecture.
+ Classes that don't support this are serialized and stored with the
+ mimetype set.
+
+ The mimetype is used for serialized objects, and tells the
+ ResXResourceReader how to depersist the object. This is currently not
+ extensible. For a given mimetype the value must be set accordingly:
+
+ Note - application/x-microsoft.net.object.binary.base64 is the format
+ that the ResXResourceWriter will generate, however the reader can
+ read any of the formats listed below.
+
+ mimetype: application/x-microsoft.net.object.binary.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.soap.base64
+ value : The object must be serialized with
+ : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
+ : and then encoded with base64 encoding.
+
+ mimetype: application/x-microsoft.net.object.bytearray.base64
+ value : The object must be serialized into a byte array
+ : using a System.ComponentModel.TypeConverter
+ : and then encoded with base64 encoding.
+ -->
+ <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
+ <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
+ <xsd:element name="root" msdata:IsDataSet="true">
+ <xsd:complexType>
+ <xsd:choice maxOccurs="unbounded">
+ <xsd:element name="metadata">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0" />
+ </xsd:sequence>
+ <xsd:attribute name="name" use="required" type="xsd:string" />
+ <xsd:attribute name="type" type="xsd:string" />
+ <xsd:attribute name="mimetype" type="xsd:string" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="assembly">
+ <xsd:complexType>
+ <xsd:attribute name="alias" type="xsd:string" />
+ <xsd:attribute name="name" type="xsd:string" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="data">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0"
msdata:Ordinal="1" />
+ <xsd:element name="comment" type="xsd:string" minOccurs="0"
msdata:Ordinal="2" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required"
msdata:Ordinal="1" />
+ <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3"
/>
+ <xsd:attribute name="mimetype" type="xsd:string"
msdata:Ordinal="4" />
+ <xsd:attribute ref="xml:space" />
+ </xsd:complexType>
+ </xsd:element>
+ <xsd:element name="resheader">
+ <xsd:complexType>
+ <xsd:sequence>
+ <xsd:element name="value" type="xsd:string" minOccurs="0"
msdata:Ordinal="1" />
+ </xsd:sequence>
+ <xsd:attribute name="name" type="xsd:string" use="required" />
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:choice>
+ </xsd:complexType>
+ </xsd:element>
+ </xsd:schema>
+ <resheader name="resmimetype">
+ <value>text/microsoft-resx</value>
+ </resheader>
+ <resheader name="version">
+ <value>2.0</value>
+ </resheader>
+ <resheader name="reader">
+ <value>System.Resources.ResXResourceReader, System.Windows.Forms,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <resheader name="writer">
+ <value>System.Resources.ResXResourceWriter, System.Windows.Forms,
Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
+ </resheader>
+ <data name="imgToolMenus.ImageStream"
mimetype="application/x-microsoft.net.object.binary.base64">
+ <value>
+
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj0yLjAuMC4w
+
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
+
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACk
+
DgAAAk1TRnQBSQFMAgEBDAEAAQ4BAAEEAQABEAEAARABAAT/AQkBAAj/AUIBTQE2A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ETAfABEwsAAf8HAAgT
+
DwADEwUADhNRAAFCAU0BPgcAAT4DAAEoAwABQAMAAUADAAEBAQABAQYAAQIWAAP/gQAE/wIAAfwBAQT/
+
AgAB/AEBBP8CAAHwAQAB9wH/AfEBjwIAAfABAAHxAf8B8QGPAgAB4AEAAfABfwHxAY8CAAHAAQAB8AEf
+
AfEBjwIAAcABAAHwAQcB8QGPAgABgAEAAfABBwHxAY8EAAHwAR8B8QGPBAAB8AF/AfEBjwIAAfABAQHx
+
Af8B8QGPAgAB8AEDAfcD/wIAAfABBwT/AgAB8AEPBP8CAAH4AR8E/wIAAfwBfyT/AfcB7wH3Ae8B/wLn
+
Af8B9wGPAfEB7wHBAfMBzwGDAfYBDwHwAW8BwwH7Ad8BwwHwAQ8B8AEPAccB+wHfAeMB8AEPAfABDwHL
+
AfsB3wHTAfYBDwHwAW8B3AHzAc8BOwH3AY8B8QHvAf8BBwHgAf8B9wHvAfcB7yb/AfgBAAT/AcABAQH4
+
AQABwAEHAQABHwGAAQEB+AEAAcABBwEAAQ8BgAEBAfwBAAHAAQcBAAEHAYABAQGOAQABwAEHAQABAwGA
+
AQEBBwEAAcABBwEAAQEBgAEBAQMBAAHAAQcCAAGAAQECgAHAAQcBAAEfAYABAQGAAQABwAEHAQABHwGA
+
AQEBwAEBAcABBwEAAR8BgAEBAcABAQHAAQcBjwHxAYABAQHAAQMBwAEPAf8B+QGAAQEB4AEDAcABHwH/
+ AXUBgAEBAeABBwHAAT8B/wGPAYABAQHwAR8G/wHyAX8L
+ </value>
+ </data>
+</root>
Property changes on: trunk/gert/interactive/bug81733/MainForm.resx
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/gert/interactive/bug81733/default.build
===================================================================
--- trunk/gert/interactive/bug81733/default.build 2007-05-28 10:03:01 UTC
(rev 78038)
+++ trunk/gert/interactive/bug81733/default.build 2007-05-28 10:03:25 UTC
(rev 78039)
@@ -0,0 +1,65 @@
+<project name="bug81733" default="rebuild">
+ <target name="mono-1.0">
+ <property name="csc.defines"
value="NET_1_0,NET_1_1,ONLY_1_1,MONO" />
+ </target>
+
+ <target name="mono-2.0">
+ <property name="csc.defines"
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0,MONO" />
+ </target>
+
+ <target name="net-1.1">
+ <property name="csc.defines" value="NET_1_0,NET_1_1,ONLY_1_1" />
+ </target>
+
+ <target name="net-2.0">
+ <property name="csc.defines"
value="NET_1_0,NET_1_1,NET_2_0,ONLY_2_0" />
+ </target>
+
+ <property name="frameworks" value="mono-1.0,mono-2.0,net-1.1,net-2.0" />
+
+ <target name="clean">
+ <delete>
+ <fileset>
+ <include name="out" />
+ <include name="test.exe" />
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="build">
+ <property name="original.targetframework"
value="${nant.settings.currentframework}" />
+
+ <foreach property="framework" item="String" in="${frameworks}"
delim=",">
+ <if test="${framework::exists(framework)}">
+ <property name="nant.settings.currentframework"
value="${framework}" />
+ <call
target="${nant.settings.currentframework}" />
+ <call target="run" />
+ <call target="clean" />
+ </if>
+ </foreach>
+
+ <property name="nant.settings.currentframework"
value="${original.targetframework}" />
+ </target>
+
+ <target name="compile">
+ <csc target="winexe" define="${csc.defines}" output="test.exe"
warnaserror="true" warninglevel="4">
+ <sources>
+ <include name="MainForm.cs" />
+ </sources>
+ <references>
+ <include name="System.Drawing.dll" />
+ <include name="System.Windows.Forms.dll" />
+ </references>
+ <resources>
+ <include name="MainForm.resx" />
+ </resources>
+ </csc>
+ </target>
+
+ <target name="run" depends="compile">
+ <exec program="test.exe" managed="true" output="out" />
+ <fail if="${file::exists('out')}" />
+ </target>
+
+ <target name="rebuild" depends="clean, build" />
+</project>
Property changes on: trunk/gert/interactive/bug81733/default.build
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/gert/interactive/known_issues
===================================================================
--- trunk/gert/interactive/known_issues 2007-05-28 10:03:01 UTC (rev 78038)
+++ trunk/gert/interactive/known_issues 2007-05-28 10:03:25 UTC (rev 78039)
@@ -39,6 +39,7 @@
bug81718/**
bug81721/**
bug81722/**
+bug81733/**
bug81739/**
bug81742/**
bug81744/**
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches