// Only called for the Root DnaLibrary. internal void AutoOpen() { // Register special RegistrationInfo function RegistrationInfo.Register(); SynchronizationManager.Install(); // Register my Methods ExcelIntegration.RegisterMethods(_methods); // Invoke AutoOpen in all assemblies foreach (AssemblyLoader.ExcelAddInInfo addIn in _addIns) { try { if (addIn.AutoOpenMethod != null) { addIn.AutoOpenMethod.Invoke(addIn.Instance, null); } } catch (Exception e) { // TODO: What to do here? Logger.Initialization.Error(e, "DnaLibrary AutoOpen Error"); } } LoadCustomUI(); }
internal void AutoOpen() { // Register my Methods ExcelIntegration.RegisterMethods(_methods); // Invoke AutoOpen in all assemblies foreach (AssemblyLoader.ExcelAddInInfo addIn in _addIns) { try { if (addIn.AutoOpenMethod != null) { addIn.AutoOpenMethod.Invoke(addIn.Instance, null); } } catch (Exception e) { // TODO: What to do here? Debug.Print(e.Message); } } // Load my UI LoadCustomUI(); }
// Only called for the Root DnaLibrary. internal void AutoOpen() { // Register special RegistrationInfo function RegistrationInfo.Register(); SynchronizationManager.Install(true); // Register my Methods - should this also go into the delayed call? ExcelIntegration.RegisterMethods(_methods); // We defer the rest of the load until we have an Application object... ExcelAsyncUtil.QueueAsMacro(AutoOpenImpl); }
public static void RegisterMethods(List <MethodInfo> methods) { ExcelIntegration.RegisterMethods(methods); }
public override void RegisterMethods(List <MethodInfo> methods) { ExcelIntegration.RegisterMethods(methods); }