Esempio n. 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");
            }
        }
Esempio n. 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");
            }
        }
Esempio n. 3
0
 public void ShowShareUI()
 {
     interop.ShowShareUIForWindow(windowHandle);
 }