[Mono-bugs] [Bug 81805][Wis] New - DataGridViewComboBoxColumn not created
bugzilla-daemon at bugzilla.ximian.com
bugzilla-daemon at bugzilla.ximian.com
Mon Jun 4 14:38:24 EDT 2007
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 kobruleht2 at hot.ee.
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: toshok at ximian.com
+ReportedBy: kobruleht2 at hot.ee
+QAContact: mono-bugs at ximian.com
+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);
+ }
+}
More information about the mono-bugs
mailing list