示例#1
0
        private ExcelSourceInvoker GetSingleton()
        {
            if (_invoker != null)
            {
                return(_invoker);
            }

            _invoker         = new ExcelSourceInvoker();
            _invoker.Closed += InvokerOnClosed;

            return(_invoker);
        }
示例#2
0
 private void InvokerOnClosed(object sender, EventArgs eventArgs)
 {
     _invoker.Dispose();
     _invoker = null;
 }