Exemplo n.º 1
0
        public static int xHandle(this Window wnd)
        {
            int rt = 0;

            DispatcherEx.xInvoke(() =>
            {
                rt = new WindowInteropHelper(wnd).Handle.ToInt32();
            });
            return(rt);
        }
Exemplo n.º 2
0
 public static void xInovkeLowestPriority(Action act)
 {
     DispatcherEx.xInvoke(act, DispatcherPriority.ApplicationIdle);
 }