[Mono-bugs] [Bug 545071] Attempt to enter string in TextBox control causes app to crash (Mono 2.6 preview + RHEL)
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Sun Oct 25 12:23:47 EDT 2009
http://bugzilla.novell.com/show_bug.cgi?id=545071
User calberto.cortez at gmail.com added comment
http://bugzilla.novell.com/show_bug.cgi?id=545071#c1
Carlos Alberto Cortez <calberto.cortez at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |calberto.cortez at gmail.com
--- Comment #1 from Carlos Alberto Cortez <calberto.cortez at gmail.com> 2009-10-25 10:23:43 MDT ---
The instructions to fill a bug report mention we need a code sample to
reproduce it. Also, we need the *precice* error message. I'm trying to sample
below and I don't get any error.
using System;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
public class Test
{
static void Main (string [] args)
{
Application.EnableVisualStyles ();
TestForm form = new TestForm ();
Application.Run (form);
}
}
public class TestForm : Form
{
TextBox tb;
Button b;
public TestForm ()
{
tb = new TextBox ();
tb.Location = new Point (5, 5);
b = new Button ();
b.Location = new Point (5, tb.Bottom + 10);
b.Text = "Set text";
b.Click += delegate
{
tb.Text = "hola";
};
Controls.AddRange (new Control [] { tb, b });
}
}
Please provide a code sample/solution/.exe that can reproduce the issue.
--
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list