Bugzilla – Attachment 263658 Details for
Bug 464188
ComboBox hides items when clicking list
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
Combobox example
cbox.cs (text/plain), 780 bytes, created by
Mario Carrion
on 2009-01-07 17:34:05 UTC
(
hide
)
Description:
Combobox example
Filename:
MIME Type:
Creator:
Mario Carrion
Created:
2009-01-07 17:34:05 UTC
Size:
780 bytes
patch
obsolete
>//gmcs -r:System.Drawing,System.Windows.Forms,System -t:winexe -out:cbox.exe cbox.cs && mono cbox.exe > >using System; >using System.Drawing; >using System.Windows.Forms; > >namespace MyFormProject >{ > > class MainForm : System.Windows.Forms.Form > { > > public MainForm () > { > ComboBox combobox = new ComboBox(); > combobox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.Simple; > combobox.Items.AddRange (new object [] { "1", "2", "3", "4", "5", "6", "7", "8", "9", "0"}); > combobox.Location = new System.Drawing.Point(10, 10); > combobox.Size = new Size (121, 150); > ClientSize = new Size (220, 200); > Controls.Add (combobox); > Text = "combobox_simple"; > } > > [STAThread] > public static void Main (string[] args) > { > Application.Run (new MainForm ()); > } > } >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
Actions:
View
Attachments on
bug 464188
: 263658 |
263661