コード例 #1
0
        private void inspectors_NewInspector(RlOutlook.Inspector Inspector)
        {
#if (COMRELEASE)
            System.Runtime.InteropServices.Marshal.ReleaseComObject(Inspector);
#endif
            OutlookInspector inspector = new OutlookInspector(inspectors[inspectors.Count]);
            OnInspectorOpen(inspector);
        }
コード例 #2
0
 private void OnInspectorOpen(OutlookInspector inspector)
 {
     inspectorCache.Add(inspector);
     inspector.Closed += inspectorCloseEvent;
     OnWindowOpen(inspector);
     if (InspectorOpen != null)
     {
         InspectorOpen(inspector);
     }
 }
コード例 #3
0
 private void OnInspectorClose(OutlookInspector inspector)
 {
     OnWindowClose(inspector);
     if (InspectorClose != null)
     {
         InspectorClose(inspector);
     }
     inspectorCache.Remove(inspector);
     if ((explorerCache.Count == 0) && (inspectorCache.Count == 0))
     {
         OnOutlookClose();
     }
 }