Пример #1
0
        static bool Unassign(Window window)
        {
            GlowInfo info = GetGlowInfo(window);

            if (info == null)
            {
                return(false);
            }
            else
            {
                foreach (GlowWindow glow in info.glows)
                {
                    try
                    {
                        glow.Close();
                    }
                    catch
                    {
                        // Do nothing
                    }
                }
                SetGlowInfo(window, null);
            }
            return(true);
        }
Пример #2
0
 internal static void SetGlowInfo(Window window, GlowInfo info)
 {
     window.SetValue(GlowInfoProperty, info);
 }
Пример #3
0
 internal static void SetGlowInfo( Window window, GlowInfo info )
 {
     window.SetValue( GlowInfoProperty, info );
 }