コード例 #1
0
 /// <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);
     }
 }
コード例 #2
0
 /// <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;
 }