\nusing System;\nusing System.Drawing;\nusing System.Collections;\nusing System.Windows.Forms;\nusing System.Data;\n\nnamespace ShunMike\n{\n\t/// <summary>\n\t/// Summary description for Form1.\n\t/// </summary>\n\tpublic class ShunMikeForm : System.Windows.Forms.Form\n\t{\n\t\tprivate System.Windows.Forms.ListBox ShunHistory;\n\t\tprivate System.Windows.Forms.MainMenu ShunMikeMenu;\n\t\tprivate System.Windows.Forms.Button ShunButton;\n\n\t\tpublic ShunMikeForm()\n\t\t{\n\t\t\t//\n\t\t\t// Required for Windows Form Designer support\n\t\t\t//\n\t\t\tInitializeComponent();\n\n\t\t\t//\n\t\t\t// TODO: Add any constructor code after InitializeComponent call\n\t\t\t//\n\t\t}\n\t\t/// <summary>\n\t\t/// Clean up any resources being used.\n\t\t/// </summary>\n\t\tprotected override void Dispose( bool disposing )\n\t\t{\n\t\t\tbase.Dispose( disposing );\n\t\t}\n\t\t#region Windows Form Designer generated code\n\t\t/// <summary>\n\t\t/// Required method for Designer support - do not modify\n\t\t/// the contents of this method with the code editor.\n\t\t/// </summary>\n\t\tprivate void InitializeComponent()\n\t\t{\n\t\t\tthis.ShunMikeMenu = new System.Windows.Forms.MainMenu();\n\t\t\tthis.ShunHistory = new System.Windows.Forms.ListBox();\n\t\t\tthis.ShunButton = new System.Windows.Forms.Button();\n\t\t\t// \n\t\t\t// ShunHistory\n\t\t\t// \n\t\t\tthis.ShunHistory.Location = new System.Drawing.Point(8, 40);\n\t\t\tthis.ShunHistory.Size = new System.Drawing.Size(224, 212);\n\t\t\t// \n\t\t\t// ShunButton\n\t\t\t// \n\t\t\tthis.ShunButton.Location = new System.Drawing.Point(8, 8);\n\t\t\tthis.ShunButton.Text = "Shun Mike";\n\t\t\tthis.ShunButton.Click += new System.EventHandler(this.ShunButton_Click);\n\t\t\t// \n\t\t\t// ShunMikeForm\n\t\t\t// \n\t\t\tthis.Controls.Add(this.ShunButton);\n\t\t\tthis.Controls.Add(this.ShunHistory);\n\t\t\tthis.Menu = this.ShunMikeMenu;\n\t\t\tthis.Text = "ShunMike";\n\n\t\t}\n\t\t#endregion\n\n\t\t/// <summary>\n\t\t/// The main entry point for the application.\n\t\t/// </summary>\n\n\t\tstatic void Main() \n\t\t{\n\t\t\tApplication.Run(new ShunMikeForm());\n\t\t}\n\n\t\tprivate void ShunButton_Click(object sender, System.EventArgs e)\n\t\t{\n\t\t\tShunHistory.Items.Add("Shun Mike");\n\t\t}\n\t}\n}\n
... results in ...
[image|http://home.surewest.net/altmann/shunmike2.png||||]