コード例 #1
0
 /// <summary>
 /// Handles the event raised when the local user has started or ended a shareable process.
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 void _sharingModality_LocalSharedResourcesChanged(object sender, LocalSharedResourcesChangedEventArgs e)
 {
     //Update the shareable resources list box with the currently available shareable resources.
     if (e.ResourceList.Count > 0)
     {
         this.Invoke(new ChangeLabelTextDelegate(ChangeLabelText), new object[] { SharedResource_Label, e.ResourceList[0].Name });
     }
     else
     {
         this.Invoke(new ChangeLabelTextDelegate(ChangeLabelText), new object[] { SharedResource_Label, "None" });
     }
 }
コード例 #2
0
        void OnSharingModalityLocalSharedResourcesChanged(object sender, LocalSharedResourcesChangedEventArgs e)
        {
            _log.Debug("OnSharingModalityLocalSharedResourcesChanged");

            //Update the shareable resources list box with the currently available shareable resources.
            if (e.ResourceList.Count > 0)
            {
            }
            else
            {
            }
        }
コード例 #3
0
 /// <summary>
 ///当前共享的程序更改事件
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 static void applicationSharingModality_LocalSharedResourcesChanged(object sender, LocalSharedResourcesChangedEventArgs e)
 {
     try
     {
     }
     catch (Exception ex)
     {
         LogManage.WriteLog(typeof(LyncHelper), ex);
     }
     finally
     {
     }
 }