[Mono-winforms-list] More details on Wine-shared question problem

Giovanni Zito gzito@mbox.thunder.it
Sat, 5 Jul 2003 10:51:49 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C342E3.6F66BFC0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Some details follows.


This is my /usr/local/lib installation of Wine shared

$ ls -l /usr/local/lib
totale 23012
-rwxr-xr-x    1 root     root       667847 giu 30 08:27 =
libadvapi32.dll.so*
-rwxr-xr-x    1 root     root      2935945 giu 30 08:27 =
libcomctl32.dll.so*
-rwxr-xr-x    1 root     root      2420962 giu 30 08:27 libgdi32.dll.so*
-rwxr-xr-x    1 root     root      1736019 giu 30 08:27 =
libkernel32.dll.so*
lrwxrwxrwx    1 root     root           15 giu 30 08:31 libntdll.dll.so =
-> libwinnt.dll.so*
-rwxr-xr-x    1 root     root      4884635 giu 30 08:27 =
libuser32.dll.so*
lrwxrwxrwx    1 root     root           15 giu 30 08:27 libwin32.so -> =
libwin32.so.1.0*
-rwxr-xr-x    1 root     root       249916 giu 30 08:27 libwin32.so.1.0*
lrwxrwxrwx    1 root     root           23 giu 30 08:27 =
libwin32_unicode.so -> libwin32_unicode.so.1.0*
-rwxr-xr-x    1 root     root      1254720 giu 30 08:27 =
libwin32_unicode.so.1.0*
-rwxr-xr-x    1 root     root      5110674 giu 30 08:27 libwinnt.dll.so*
-rwxr-xr-x    1 root     root      4228091 giu 30 08:27 =
libx11drv.dll.so*


The mono execution log:

$ mono Form4.exe
MonoWin32: Initializing WineLib
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
Warning: Language 'it_IT' was not found, retrying without country =
name...
Warning: Language 'it' was not recognized, defaulting to English

** (Form4.exe:1991): WARNING **: Failed to load function CopyCursor from =
user32.dll

** (Form4.exe:1991): WARNING **: Failed to load function CopyCursor from =
user32.dll

** (Form4.exe:1991): WARNING **: Failed to load function =
UpdateLayeredWindow from user32.dll

** (Form4.exe:1991): WARNING **: Failed to load function =
UpdateLayeredWindow from user32.dll

** (Form4.exe:1991): WARNING **: Failed to load function =
GetScrollBarInfo from user32.dll

** (Form4.exe:1991): WARNING **: Failed to load function =
GetScrollBarInfo from user32.dll

** (Form4.exe:1991): WARNING **: Failed to load function DllGetVersion =
from comctl32.dll

** (Form4.exe:1991): WARNING **: Failed to load function DllGetVersion =
from comctl32.dll

** (Form4.exe:1991): WARNING **: Failed to load library =
./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: cannot open =
shared object file: No such file or directory

** (Form4.exe:1991): WARNING **: Failed to load library =
./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: cannot open =
shared object file: No such file or directory

** (Form4.exe:1991): WARNING **: Failed to load library =
./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: cannot open =
shared object file: No such file or directory

** (Form4.exe:1991): WARNING **: Failed to load library =
./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: cannot open =
shared object file: No such file or directory
no window, defwndproc
no window, defwndproc
no window, defwndproc
WM_CREATE (static)
no window, defwndproc
OnHandleCreated
NameValueCollection is null
setting parent
add ourself to the parents control
SetParent
setting parent
add ourself to the parents control
SetParent
Handle created
no window, defwndproc
no window, defwndproc
WM_CREATE (static)
no window, defwndproc
no window, defwndproc
no window, defwndproc
no window, defwndproc
no window, defwndproc
no window, defwndproc
OnHandleCreated
setting parent
add ourself to the parents control
SetParent
setting parent
add ourself to the parents control
SetParent
Handle created
err:menu:MENU_GetSysMenu failed to load system menu!
no window, defwndproc
no window, defwndproc
no window, defwndproc
WM_CREATE (static)
no window, defwndproc
OnHandleCreated
setting parent
add ourself to the parents control
SetParent
setting parent
add ourself to the parents control
SetParent
setting parent
add ourself to the parents control
SetParent
setting parent
add ourself to the parents control
SetParent
Adding Control
OnHandleCreated
Adding Control
Adding Control
OnHandleCreated
Adding Control
Adding Control
Cannot create window
Adding Control
OnHandleCreated
Adding Control
OnHandleCreated
Control notification Code 768 Id =3D Hwnd 65576
Control notification Code 1024 Id =3D Hwnd 65576
Adding Control
OnHandleCreated


...and finally source code:


using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace SimpleForm
{
 /// <summary>
 /// Summary description for Form1.
 /// </summary>
 public class Form1 : System.Windows.Forms.Form
 {
  private System.Windows.Forms.Button button1;
  private System.Windows.Forms.TextBox textBox1;
  private System.Windows.Forms.ListBox listBox1;
  private System.Windows.Forms.ComboBox comboBox1;
  private System.Windows.Forms.GroupBox groupBox1;
  private System.Windows.Forms.RadioButton radioButton1;
  private System.Windows.Forms.CheckBox checkBox1;
  private System.Windows.Forms.Label label1;
  /// <summary>
  /// Required designer variable.
  /// </summary>
  private System.ComponentModel.Container components =3D null;

  public Form1()
  {
   //
   // Required for Windows Form Designer support
   //
   InitializeComponent();

   //
   // TODO: Add any constructor code after InitializeComponent call
   //
  }

  /// <summary>
  /// Clean up any resources being used.
  /// </summary>
  protected override void Dispose( bool disposing )
  {
   if( disposing )
   {
    if (components !=3D null)=20
    {
     components.Dispose();
    }
   }
   base.Dispose( disposing );
  }

  #region Windows Form Designer generated code
  /// <summary>
  /// Required method for Designer support - do not modify
  /// the contents of this method with the code editor.
  /// </summary>
  private void InitializeComponent()
  {
   this.button1 =3D new System.Windows.Forms.Button();
   this.textBox1 =3D new System.Windows.Forms.TextBox();
   this.listBox1 =3D new System.Windows.Forms.ListBox();
   this.comboBox1 =3D new System.Windows.Forms.ComboBox();
   this.groupBox1 =3D new System.Windows.Forms.GroupBox();
   this.radioButton1 =3D new System.Windows.Forms.RadioButton();
   this.checkBox1 =3D new System.Windows.Forms.CheckBox();
   this.label1 =3D new System.Windows.Forms.Label();
   this.groupBox1.SuspendLayout();
   this.SuspendLayout();
   //=20
   // button1
   //=20
   this.button1.Location =3D new System.Drawing.Point(168, 232);
   this.button1.Name =3D "button1";
   this.button1.Size =3D new System.Drawing.Size(112, 24);
   this.button1.TabIndex =3D 0;
   this.button1.Text =3D "Click me!";
   this.button1.Click +=3D new System.EventHandler(this.button1_Click);
   //=20
   // textBox1
   //=20
   this.textBox1.Location =3D new System.Drawing.Point(16, 232);
   this.textBox1.Name =3D "textBox1";
   this.textBox1.Size =3D new System.Drawing.Size(144, 20);
   this.textBox1.TabIndex =3D 1;
   this.textBox1.Text =3D "textBox1";
   //=20
   // listBox1
   //=20
   this.listBox1.Location =3D new System.Drawing.Point(8, 48);
   this.listBox1.Name =3D "listBox1";
   this.listBox1.Size =3D new System.Drawing.Size(176, 108);
   this.listBox1.TabIndex =3D 2;
   //=20
   // comboBox1
   //=20
   this.comboBox1.Location =3D new System.Drawing.Point(8, 8);
   this.comboBox1.Name =3D "comboBox1";
   this.comboBox1.Size =3D new System.Drawing.Size(176, 21);
   this.comboBox1.TabIndex =3D 3;
   this.comboBox1.Text =3D "comboBox1";
   //=20
   // groupBox1
   //=20
   this.groupBox1.Controls.Add(this.checkBox1);
   this.groupBox1.Controls.Add(this.radioButton1);
   this.groupBox1.Location =3D new System.Drawing.Point(192, 8);
   this.groupBox1.Name =3D "groupBox1";
   this.groupBox1.Size =3D new System.Drawing.Size(96, 152);
   this.groupBox1.TabIndex =3D 4;
   this.groupBox1.TabStop =3D false;
   this.groupBox1.Text =3D "groupBox1";
   //=20
   // radioButton1
   //=20
   this.radioButton1.Location =3D new System.Drawing.Point(8, 24);
   this.radioButton1.Name =3D "radioButton1";
   this.radioButton1.Size =3D new System.Drawing.Size(80, 16);
   this.radioButton1.TabIndex =3D 0;
   this.radioButton1.Text =3D "radioButton1";
   //=20
   // checkBox1
   //=20
   this.checkBox1.Location =3D new System.Drawing.Point(8, 48);
   this.checkBox1.Name =3D "checkBox1";
   this.checkBox1.Size =3D new System.Drawing.Size(77, 16);
   this.checkBox1.TabIndex =3D 1;
   this.checkBox1.Text =3D "checkBox1";
   //=20
   // label1
   //=20
   this.label1.Location =3D new System.Drawing.Point(16, 208);
   this.label1.Name =3D "label1";
   this.label1.Size =3D new System.Drawing.Size(144, 16);
   this.label1.TabIndex =3D 5;
   this.label1.Text =3D "label1";
   //=20
   // Form1
   //=20
   this.AutoScaleBaseSize =3D new System.Drawing.Size(5, 13);
   this.ClientSize =3D new System.Drawing.Size(292, 273);
   this.Controls.Add(this.label1);
   this.Controls.Add(this.groupBox1);
   this.Controls.Add(this.comboBox1);
   this.Controls.Add(this.listBox1);
   this.Controls.Add(this.textBox1);
   this.Controls.Add(this.button1);
   this.Name =3D "Form1";
   this.Text =3D "SimpleForm C# example";
   this.groupBox1.ResumeLayout(false);
   this.ResumeLayout(false);

  }
  #endregion

  /// <summary>
  /// The main entry point for the application.
  /// </summary>
  [STAThread]
  static void Main()=20
  {
   Application.Run(new Form1());
  }

  private void button1_Click(object sender, System.EventArgs e)
  {
   MessageBox.Show("It does works!") ;
  }
 }
}

------=_NextPart_000_0009_01C342E3.6F66BFC0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Courier New" size=3D2>Some details =
follows.</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>This is my /usr/local/lib =
installation of=20
Wine shared</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>$ ls -l =
/usr/local/lib<BR>totale=20
23012<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 667847 giu 30 08:27=20
libadvapi32.dll.so*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2935945 =
giu 30=20
08:27 libcomctl32.dll.so*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2420962 =
giu 30=20
08:27 libgdi32.dll.so*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1736019 =
giu 30=20
08:27 libkernel32.dll.so*<BR>lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15 giu =
30 08:31=20
libntdll.dll.so -&gt; libwinnt.dll.so*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1 =

root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4884635 =
giu 30=20
08:27 libuser32.dll.so*<BR>lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 15 giu =
30 08:27=20
libwin32.so -&gt; libwin32.so.1.0*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
249916 giu=20
30 08:27 libwin32.so.1.0*<BR>lrwxrwxrwx&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp;=20
root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 23 giu =
30 08:27=20
libwin32_unicode.so -&gt;=20
libwin32_unicode.so.1.0*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1254720 =
giu 30=20
08:27 libwin32_unicode.so.1.0*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5110674 =
giu 30=20
08:27 libwinnt.dll.so*<BR>-rwxr-xr-x&nbsp;&nbsp;&nbsp; 1=20
root&nbsp;&nbsp;&nbsp;&nbsp; root&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4228091 =
giu 30=20
08:27 libx11drv.dll.so*<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3D"Courier New">The mono execution=20
log:</FONT></DIV></FONT>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>$ mono Form4.exe<BR>MonoWin32: =
Initializing=20
WineLib<BR>Could not stat /mnt/fd0 (No such file or directory), ignoring =
drive=20
A:<BR>Could not stat /cdrom (No such file or directory), ignoring drive=20
D:<BR>Warning: Language 'it_IT' was not found, retrying without country=20
name...<BR>Warning: Language 'it' was not recognized, defaulting to=20
English</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function CopyCursor from user32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function CopyCursor from user32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function UpdateLayeredWindow from user32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function UpdateLayeredWindow from user32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function GetScrollBarInfo from user32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function GetScrollBarInfo from user32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function DllGetVersion from comctl32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load function DllGetVersion from comctl32.dll</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load library ./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: =
cannot=20
open shared object file: No such file or directory</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load library ./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: =
cannot=20
open shared object file: No such file or directory</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load library ./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: =
cannot=20
open shared object file: No such file or directory</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>** (Form4.exe:1991): WARNING =
**: Failed to=20
load library ./libcomdlg32.dll.so (comdlg32.dll): ./libcomdlg32.dll.so: =
cannot=20
open shared object file: No such file or directory<BR>no window,=20
defwndproc<BR>no window, defwndproc<BR>no window, =
defwndproc<BR>WM_CREATE=20
(static)<BR>no window, =
defwndproc<BR>OnHandleCreated<BR>NameValueCollection is=20
null<BR>setting parent<BR>add ourself to the parents=20
control<BR>SetParent<BR>setting parent<BR>add ourself to the parents=20
control<BR>SetParent<BR>Handle created<BR>no window, defwndproc<BR>no =
window,=20
defwndproc<BR>WM_CREATE (static)<BR>no window, defwndproc<BR>no window,=20
defwndproc<BR>no window, defwndproc<BR>no window, defwndproc<BR>no =
window,=20
defwndproc<BR>no window, defwndproc<BR>OnHandleCreated<BR>setting =
parent<BR>add=20
ourself to the parents control<BR>SetParent<BR>setting parent<BR>add =
ourself to=20
the parents control<BR>SetParent<BR>Handle =
created<BR>err:menu:MENU_GetSysMenu=20
failed to load system menu!<BR>no window, defwndproc<BR>no window,=20
defwndproc<BR>no window, defwndproc<BR>WM_CREATE (static)<BR>no window,=20
defwndproc<BR>OnHandleCreated<BR>setting parent<BR>add ourself to the =
parents=20
control<BR>SetParent<BR>setting parent<BR>add ourself to the parents=20
control<BR>SetParent<BR>setting parent<BR>add ourself to the parents=20
control<BR>SetParent<BR>setting parent<BR>add ourself to the parents=20
control<BR>SetParent<BR>Adding Control<BR>OnHandleCreated<BR>Adding=20
Control<BR>Adding Control<BR>OnHandleCreated<BR>Adding Control<BR>Adding =

Control<BR>Cannot create window<BR>Adding =
Control<BR>OnHandleCreated<BR>Adding=20
Control<BR>OnHandleCreated<BR>Control notification Code 768 Id =3D Hwnd=20
65576<BR>Control notification Code 1024 Id =3D Hwnd 65576<BR>Adding=20
Control<BR>OnHandleCreated<BR></FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>...and finally source =
code:</FONT></DIV>
<DIV><FONT face=3D"Courier New"><FONT =
size=3D2>&nbsp;</DIV></FONT></FONT>
<DIV><FONT size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>using System;<BR>using=20
System.Drawing;<BR>using System.Collections;<BR>using=20
System.ComponentModel;<BR>using System.Windows.Forms;<BR>using=20
System.Data;</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>namespace =
SimpleForm<BR>{<BR>&nbsp;///=20
&lt;summary&gt;<BR>&nbsp;/// Summary description for Form1.<BR>&nbsp;/// =

&lt;/summary&gt;<BR>&nbsp;public class Form1 :=20
System.Windows.Forms.Form<BR>&nbsp;{<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.Button button1;<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.TextBox textBox1;<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.ListBox listBox1;<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.ComboBox comboBox1;<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.GroupBox groupBox1;<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.RadioButton radioButton1;<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.CheckBox checkBox1;<BR>&nbsp;&nbsp;private=20
System.Windows.Forms.Label label1;<BR>&nbsp;&nbsp;///=20
&lt;summary&gt;<BR>&nbsp;&nbsp;/// Required designer=20
variable.<BR>&nbsp;&nbsp;/// &lt;/summary&gt;<BR>&nbsp;&nbsp;private=20
System.ComponentModel.Container components =3D null;</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;public=20
Form1()<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;// =

Required for Windows Form Designer=20
support<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;InitializeComponent(=
);</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New"=20
size=3D2>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;&nbsp;// TODO: Add any =
constructor=20
code after InitializeComponent=20
call<BR>&nbsp;&nbsp;&nbsp;//<BR>&nbsp;&nbsp;}</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;///=20
&lt;summary&gt;<BR>&nbsp;&nbsp;/// Clean up any resources being=20
used.<BR>&nbsp;&nbsp;/// &lt;/summary&gt;<BR>&nbsp;&nbsp;protected =
override void=20
Dispose( bool disposing )<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;if( =
disposing=20
)<BR>&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;if (components !=3D =
null)=20
<BR>&nbsp;&nbsp;&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;components=
.Dispose();<BR>&nbsp;&nbsp;&nbsp;&nbsp;}<BR>&nbsp;&nbsp;&nbsp;}<BR>&nbsp;=
&nbsp;&nbsp;base.Dispose(=20
disposing );<BR>&nbsp;&nbsp;}</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;#region Windows =
Form Designer=20
generated code<BR>&nbsp;&nbsp;/// &lt;summary&gt;<BR>&nbsp;&nbsp;/// =
Required=20
method for Designer support - do not modify<BR>&nbsp;&nbsp;/// the =
contents of=20
this method with the code editor.<BR>&nbsp;&nbsp;///=20
&lt;/summary&gt;<BR>&nbsp;&nbsp;private void=20
InitializeComponent()<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;this.button1 =
=3D new=20
System.Windows.Forms.Button();<BR>&nbsp;&nbsp;&nbsp;this.textBox1 =3D =
new=20
System.Windows.Forms.TextBox();<BR>&nbsp;&nbsp;&nbsp;this.listBox1 =3D =
new=20
System.Windows.Forms.ListBox();<BR>&nbsp;&nbsp;&nbsp;this.comboBox1 =3D =
new=20
System.Windows.Forms.ComboBox();<BR>&nbsp;&nbsp;&nbsp;this.groupBox1 =3D =
new=20
System.Windows.Forms.GroupBox();<BR>&nbsp;&nbsp;&nbsp;this.radioButton1 =
=3D new=20
System.Windows.Forms.RadioButton();<BR>&nbsp;&nbsp;&nbsp;this.checkBox1 =
=3D new=20
System.Windows.Forms.CheckBox();<BR>&nbsp;&nbsp;&nbsp;this.label1 =3D =
new=20
System.Windows.Forms.Label();<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.Suspend=
Layout();<BR>&nbsp;&nbsp;&nbsp;this.SuspendLayout();<BR>&nbsp;&nbsp;&nbsp=
;//=20
<BR>&nbsp;&nbsp;&nbsp;// button1<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;this.button1.Location =3D new =
System.Drawing.Point(168,=20
232);<BR>&nbsp;&nbsp;&nbsp;this.button1.Name =3D=20
"button1";<BR>&nbsp;&nbsp;&nbsp;this.button1.Size =3D new =
System.Drawing.Size(112,=20
24);<BR>&nbsp;&nbsp;&nbsp;this.button1.TabIndex =3D=20
0;<BR>&nbsp;&nbsp;&nbsp;this.button1.Text =3D "Click=20
me!";<BR>&nbsp;&nbsp;&nbsp;this.button1.Click +=3D new=20
System.EventHandler(this.button1_Click);<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;// textBox1<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;this.textBox1.Location =3D new =
System.Drawing.Point(16,=20
232);<BR>&nbsp;&nbsp;&nbsp;this.textBox1.Name =3D=20
"textBox1";<BR>&nbsp;&nbsp;&nbsp;this.textBox1.Size =3D new=20
System.Drawing.Size(144, =
20);<BR>&nbsp;&nbsp;&nbsp;this.textBox1.TabIndex =3D=20
1;<BR>&nbsp;&nbsp;&nbsp;this.textBox1.Text =3D =
"textBox1";<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;// listBox1<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;this.listBox1.Location =3D new =
System.Drawing.Point(8,=20
48);<BR>&nbsp;&nbsp;&nbsp;this.listBox1.Name =3D=20
"listBox1";<BR>&nbsp;&nbsp;&nbsp;this.listBox1.Size =3D new=20
System.Drawing.Size(176, =
108);<BR>&nbsp;&nbsp;&nbsp;this.listBox1.TabIndex =3D=20
2;<BR>&nbsp;&nbsp;&nbsp;// <BR>&nbsp;&nbsp;&nbsp;//=20
comboBox1<BR>&nbsp;&nbsp;&nbsp;// =
<BR>&nbsp;&nbsp;&nbsp;this.comboBox1.Location=20
=3D new System.Drawing.Point(8, =
8);<BR>&nbsp;&nbsp;&nbsp;this.comboBox1.Name =3D=20
"comboBox1";<BR>&nbsp;&nbsp;&nbsp;this.comboBox1.Size =3D new=20
System.Drawing.Size(176, =
21);<BR>&nbsp;&nbsp;&nbsp;this.comboBox1.TabIndex =3D=20
3;<BR>&nbsp;&nbsp;&nbsp;this.comboBox1.Text =3D=20
"comboBox1";<BR>&nbsp;&nbsp;&nbsp;// <BR>&nbsp;&nbsp;&nbsp;//=20
groupBox1<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.Controls.Add(this.checkBox1);<BR>&nb=
sp;&nbsp;&nbsp;this.groupBox1.Controls.Add(this.radioButton1);<BR>&nbsp;&=
nbsp;&nbsp;this.groupBox1.Location=20
=3D new System.Drawing.Point(192, =
8);<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.Name =3D=20
"groupBox1";<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.Size =3D new=20
System.Drawing.Size(96, =
152);<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.TabIndex =3D=20
4;<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.TabStop =3D=20
false;<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.Text =3D=20
"groupBox1";<BR>&nbsp;&nbsp;&nbsp;// <BR>&nbsp;&nbsp;&nbsp;//=20
radioButton1<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;this.radioButton1.Location =3D new =
System.Drawing.Point(8,=20
24);<BR>&nbsp;&nbsp;&nbsp;this.radioButton1.Name =3D=20
"radioButton1";<BR>&nbsp;&nbsp;&nbsp;this.radioButton1.Size =3D new=20
System.Drawing.Size(80, =
16);<BR>&nbsp;&nbsp;&nbsp;this.radioButton1.TabIndex =3D=20
0;<BR>&nbsp;&nbsp;&nbsp;this.radioButton1.Text =3D=20
"radioButton1";<BR>&nbsp;&nbsp;&nbsp;// <BR>&nbsp;&nbsp;&nbsp;//=20
checkBox1<BR>&nbsp;&nbsp;&nbsp;// =
<BR>&nbsp;&nbsp;&nbsp;this.checkBox1.Location=20
=3D new System.Drawing.Point(8, =
48);<BR>&nbsp;&nbsp;&nbsp;this.checkBox1.Name =3D=20
"checkBox1";<BR>&nbsp;&nbsp;&nbsp;this.checkBox1.Size =3D new=20
System.Drawing.Size(77, =
16);<BR>&nbsp;&nbsp;&nbsp;this.checkBox1.TabIndex =3D=20
1;<BR>&nbsp;&nbsp;&nbsp;this.checkBox1.Text =3D=20
"checkBox1";<BR>&nbsp;&nbsp;&nbsp;// <BR>&nbsp;&nbsp;&nbsp;//=20
label1<BR>&nbsp;&nbsp;&nbsp;// =
<BR>&nbsp;&nbsp;&nbsp;this.label1.Location =3D new=20
System.Drawing.Point(16, 208);<BR>&nbsp;&nbsp;&nbsp;this.label1.Name =3D =

"label1";<BR>&nbsp;&nbsp;&nbsp;this.label1.Size =3D new =
System.Drawing.Size(144,=20
16);<BR>&nbsp;&nbsp;&nbsp;this.label1.TabIndex =3D=20
5;<BR>&nbsp;&nbsp;&nbsp;this.label1.Text =3D =
"label1";<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;// Form1<BR>&nbsp;&nbsp;&nbsp;//=20
<BR>&nbsp;&nbsp;&nbsp;this.AutoScaleBaseSize =3D new =
System.Drawing.Size(5,=20
13);<BR>&nbsp;&nbsp;&nbsp;this.ClientSize =3D new =
System.Drawing.Size(292,=20
273);<BR>&nbsp;&nbsp;&nbsp;this.Controls.Add(this.label1);<BR>&nbsp;&nbsp=
;&nbsp;this.Controls.Add(this.groupBox1);<BR>&nbsp;&nbsp;&nbsp;this.Contr=
ols.Add(this.comboBox1);<BR>&nbsp;&nbsp;&nbsp;this.Controls.Add(this.list=
Box1);<BR>&nbsp;&nbsp;&nbsp;this.Controls.Add(this.textBox1);<BR>&nbsp;&n=
bsp;&nbsp;this.Controls.Add(this.button1);<BR>&nbsp;&nbsp;&nbsp;this.Name=
=20
=3D "Form1";<BR>&nbsp;&nbsp;&nbsp;this.Text =3D "SimpleForm C#=20
example";<BR>&nbsp;&nbsp;&nbsp;this.groupBox1.ResumeLayout(false);<BR>&nb=
sp;&nbsp;&nbsp;this.ResumeLayout(false);</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New"=20
size=3D2>&nbsp;&nbsp;}<BR>&nbsp;&nbsp;#endregion</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT face=3D"Courier New" size=3D2>&nbsp;&nbsp;///=20
&lt;summary&gt;<BR>&nbsp;&nbsp;/// The main entry point for the=20
application.<BR>&nbsp;&nbsp;///=20
&lt;/summary&gt;<BR>&nbsp;&nbsp;[STAThread]<BR>&nbsp;&nbsp;static void =
Main()=20
<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;Application.Run(new=20
Form1());<BR>&nbsp;&nbsp;}</FONT></DIV>
<DIV><FONT face=3D"Courier New"></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2><FONT face=3D"Courier New">&nbsp;&nbsp;private void=20
button1_Click(object sender, System.EventArgs=20
e)<BR>&nbsp;&nbsp;{<BR>&nbsp;&nbsp;&nbsp;MessageBox.Show("It does =
works!")=20
;<BR>&nbsp;&nbsp;}<BR>&nbsp;}<BR>}<BR></FONT></DIV></FONT></BODY></HTML>

------=_NextPart_000_0009_01C342E3.6F66BFC0--