https://bugzilla.novell.com/show_bug.cgi?id=412536

User [EMAIL PROTECTED] added comment
https://bugzilla.novell.com/show_bug.cgi?id=412536#c3





--- Comment #3 from Steve Odbc <[EMAIL PROTECTED]>  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.
_______________________________________________
mono-bugs maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs

Reply via email to