示例#1
0
        /// <summary>
        /// Show the share UI
        /// </summary>
        public void ShowShareUi()
        {
            var hresult = _dataTransferManagerInterOp.ShowShareUIForWindow(_windowHandle);

            if (hresult.Failed())
            {
                Log.Warn().WriteLine("HResult for ShowShareUIForWindow: {0}", hresult);
            }
            else
            {
                Log.Debug().WriteLine("ShowShareUIForWindow called");
            }
        }
示例#2
0
        /// <summary>
        /// Show the share UI
        /// </summary>
        public void ShowShareUi()
        {
            var hresult = _dataTransferManagerInterOp.ShowShareUIForWindow(_windowHandle);

            if (hresult != 0)
            {
                Log.WarnFormat("HResult for ShowShareUIForWindow: {0}", hresult);
            }
            else
            {
                Log.Debug("ShowShareUIForWindow called");
            }
        }
示例#3
0
 public void ShowShareUI()
 {
     interop.ShowShareUIForWindow(windowHandle);
 }