[Mono-bugs] [Bug 412536] [PATCH] Timers tick before Form.OnLoad is called
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Mon Oct 13 09:26:00 EDT 2008
https://bugzilla.novell.com/show_bug.cgi?id=412536
User awunwpa7 at yahoo.com.ph added comment
https://bugzilla.novell.com/show_bug.cgi?id=412536#c3
--- Comment #3 from Steve Odbc <awunwpa7 at yahoo.com.ph> 2008-10-13 07:26:00 MDT ---
internal void FireTick ()
{
object TargetClass = SavedOnTick.Target;
if (TargetClass.GetType().IsSubclassOf(typeof(Form)))
{
FieldInfo IsLoadedField = typeof(Form).GetField("is_loaded",
BindingFlags.Instance |
BindingFlags.NonPublic);
// are we ready yet?
if (!(bool)IsLoadedField.GetValue(TargetClass)) return;
}
OnTick(EventArgs.Empty);
}
}
--
Configure bugmail: https://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