Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by [EMAIL PROTECTED]

http://bugzilla.ximian.com/show_bug.cgi?id=81805

--- shadow/81805        2007-06-04 14:38:24.000000000 -0400
+++ shadow/81805.tmp.14148      2007-06-04 14:38:24.000000000 -0400
@@ -0,0 +1,58 @@
+Bug#: 81805
+Product: Mono: Class Libraries
+Version: 1.0
+OS: other
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Wishlist
+Component: Windows.Forms
+AssignedTo: [EMAIL PROTECTED]                            
+ReportedBy: [EMAIL PROTECTED]               
+QAContact: [EMAIL PROTECTED]
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: DataGridViewComboBoxColumn not created
+
+To reproduce, run the code.
+
+Observed:
+
+grid is empty
+
+Expected:
+
+grid should contain combobox.
+
+
+using System;
+using System.Windows.Forms;
+
+class Form1 : Form {
+
+       [STAThread]
+       static void Main() {
+               try {
+                       Application.Run(new Form1());
+               }
+               catch (Exception e) {
+                       MessageBox.Show(e.ToString());
+               }
+       }
+
+       private DataGridView dataGridView1 = new DataGridView();
+
+       public Form1() {
+               Controls.Add(this.dataGridView1);
+               Load += new EventHandler(Form1_Load);
+       }
+
+       private void Form1_Load(object sender, EventArgs e) {
+               DataGridViewComboBoxColumn
+               col = new DataGridViewComboBoxColumn();
+               col.DropDownWidth *= 3;
+               dataGridView1.Columns.Add(col);
+       }
+}
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to