Re: object reference not set to an instance of an object
Stifu <[email protected]>
| Newsgroups | gmane.comp.gnome.winforms |
|---|---|
| Message-ID | <[email protected]> |
Although you managed to work around your problem, if you think there is a bug
in Mono, feel free to file a bug report.
luisrl wrote:
>
> I changed ActiveForm.Controls for this.Controls and now it works fine in
> Ubuntu.
>
> foreach (Control ctl in this.Controls)
> {
> if (ctl.GetType() == typeof(TextBox))
> {
> ctl.Text = string.Empty;
> }
> }
>
--
View this message in context: http://mono.1490590.n4.nabble.com/object-reference-not-set-to-an-instance-of-an-object-tp3019792p3022365.html
Sent from the Mono - WinForms mailing list archive at Nabble.com.
_______________________________________________
Mono-winforms-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-winforms-list