Exemple #1
0
        public static void Release(Form f)
        {
            if (!MonoWorkarounds.IsRequired())
            {
                return;
            }
            if (f == null)
            {
                Debug.Assert(false); return;
            }

            f.HandleCreated -= MonoWorkarounds.OnFormHandleCreated;

            ApplyToControlsRec(f.Controls, f, MonoWorkarounds.ReleaseControl);
        }
Exemple #2
0
        public static void ApplyTo(Form f)
        {
            if (!MonoWorkarounds.IsRequired())
            {
                return;
            }
            if (f == null)
            {
                Debug.Assert(false); return;
            }

            f.HandleCreated += MonoWorkarounds.OnFormHandleCreated;
            SetWmClass(f);

            ApplyToControlsRec(f.Controls, f, MonoWorkarounds.ApplyToControl);
        }
Exemple #3
0
 // 5795:
 //   https://bugzilla.xamarin.com/show_bug.cgi?id=5795
 //   https://sourceforge.net/p/keepass/discussion/329220/thread/d23dc88b/
 // 12525:
 //   https://bugzilla.xamarin.com/show_bug.cgi?id=12525
 //   https://sourceforge.net/p/keepass/discussion/329220/thread/54f61e9a/
 // 586901:
 //   https://bugzilla.novell.com/show_bug.cgi?id=586901
 // 620618:
 //   https://bugzilla.novell.com/show_bug.cgi?id=620618
 // 649266:
 //   https://bugzilla.novell.com/show_bug.cgi?id=649266
 // 686017:
 //   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686017
 // 801414:
 //   https://bugs.launchpad.net/ubuntu/+source/keepass2/+bug/801414
 // 891029:
 //   https://sourceforge.net/projects/keepass/forums/forum/329221/topic/4519750
 //   https://bugs.launchpad.net/ubuntu/+source/keepass2/+bug/891029
 // 836428016:
 //   https://sourceforge.net/p/keepass/discussion/329221/thread/31dae0f0/
 // 3574233558:
 //   https://sourceforge.net/p/keepass/discussion/329220/thread/d50a79d6/
 public static bool IsRequired(uint uBugID)
 {
     return(MonoWorkarounds.IsRequired());
 }