コード例 #1
0
        public static int xHandle(this Window wnd)
        {
            int rt = 0;

            DispatcherEx.xInvoke(() =>
            {
                rt = new WindowInteropHelper(wnd).Handle.ToInt32();
            });
            return(rt);
        }
コード例 #2
0
 public static void xInovkeLowestPriority(Action act)
 {
     DispatcherEx.xInvoke(act, DispatcherPriority.ApplicationIdle);
 }