Bugzilla – Attachment 266660 Details for
Bug 468110
DataGridView. Crash when adding Columns
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
IDP Log In
|
Forgot Password
Example
Program.cs (text/plain), 1.38 KB, created by
Mario Carrion
on 2009-01-21 21:08:53 UTC
(
hide
)
Description:
Example
Filename:
MIME Type:
Creator:
Mario Carrion
Created:
2009-01-21 21:08:53 UTC
Size:
1.38 KB
patch
obsolete
>// gmcs -r:System.Windows.Forms,System.Drawing,System.Data,System Program.cs -out:FormTest.exe >using System; >using System.Drawing; >using System.Collections.Generic; >using System.Linq; >using System.Windows.Forms; > >namespace DataGridViewExample >{ > static class Program > { > [STAThread] > static void Main () > { > Application.EnableVisualStyles (); > Application.SetCompatibleTextRenderingDefault (false); > Application.Run (new DataGridViewBug ()); > } > > public class DataGridViewBug : Form > { > public DataGridViewBug () > { > DataGridView dataGridView1 = new DataGridView (); > > dataGridView1.Location = new Point (12, 68); > dataGridView1.Size = new Size (818, 293); > dataGridView1.TabIndex = 0; > > DataGridViewTextBoxColumn Column1 = new DataGridViewTextBoxColumn (); > DataGridViewLinkColumn Column2 = new DataGridViewLinkColumn (); > DataGridViewImageColumn Column3 = new DataGridViewImageColumn (); > DataGridViewComboBoxColumn Column4 = new DataGridViewComboBoxColumn (); > DataGridViewButtonColumn Column5 = new DataGridViewButtonColumn (); > DataGridViewCheckBoxColumn Column6 = new DataGridViewCheckBoxColumn (); > > dataGridView1.Columns.AddRange (new DataGridViewColumn [] { Column1, Column2, Column3, Column4, Column5, Column6}); > > Controls.Add (dataGridView1); > > ClientSize = new Size (842, 405); > } > > } > } >}
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 468110
: 266660 |
266661