/// <summary>Implements the constructor for the Add-in object. Place your initialization code within this method.</summary> public Connect() { try { InitContainer(); _optionsDialogWatcher = _container.GetInstance<IOptionsDialogWatcher>(); } catch (Exception ex) { Debug.WriteLine("{0}\r\n{1}", ex.Message, ex.StackTrace); MessageBox.Show(ex.Message); } }
/// <summary>Implements the constructor for the Add-in object. Place your initialization code within this method.</summary> /// <param name="optionsDialogWatcher"> </param> public Connect(IOptionsDialogWatcher optionsDialogWatcher) { _optionsDialogWatcher = optionsDialogWatcher; }