コード例 #1
0
 private void Refresh()
 {
     lock (_lock)
     {
         try
         {
             IsCurrentlyRefresh = true;
             if (null != WindowItems)
             {
                 WindowItems.Dispose();
             }
             if (Settings.ShowAllAccessible)
             {
                 WindowItems = RunningWindowTable.GetAccessibleProxyInformations(RunningWindowTable.ProxyType.All);
             }
             else
             {
                 WindowItems = RunningWindowTable.GetAccessibleProxyInformations(RunningWindowTable.ProxyType.AllSupportedOfficeApplications);
             }
         }
         catch (Exception)
         {
             throw;
         }
         finally
         {
             IsCurrentlyRefresh = false;
         }
     }
 }
コード例 #2
0
 public void Dispose()
 {
     if (null != WindowItems)
     {
         WindowItems.Dispose();
     }
 }
コード例 #3
0
 public void OnWindowItems(WindowItems packet)
 {
 }
コード例 #4
0
 private void InvokeWindowItems(WindowItems packet)
 {
     packetListener.OnWindowItems(packet);
 }