public void InitializeAddin(IOWHost hostInfo) { m_HostInfo = hostInfo; m_ResourceProvider = hostInfo as IOWResourceProvider; ADDIN_ACTIONS = new OWAddinAction[] { new OWAddinAction(1, GetResourceString("OWAE.Action", "Export event to ACP"), OWAddinActionType.SelectedEventAction, Properties.Resources.ACPExporterIcon.ToBitmap()), new OWAddinAction(2, GetResourceString("OWAE.Action", "Export event to ACP"), OWAddinActionType.EventReceiver, Properties.Resources.ACPExporterIcon.ToBitmap()), new OWAddinAction(7, string.Empty, OWAddinActionType.ReportProcessor, null, Color.White) }; }
void IOWAddin.InitializeAddin(IOWHost hostInfo) { m_HostInfo = hostInfo; m_ResourceProvider = hostInfo as IOWResourceProvider; GuideConfig.LoadRegistryConfig(); SetLanguage(m_HostInfo.CurrentLanguage); ADDIN_ACTIONS = new OWAddinAction[] { new OWAddinAction(START_GUIDE, GetResourceString(OWGuideStartGuide, "Show Event in Guide"), OWAddinActionType.SelectedEventAction, Properties.Resources.Details.ToBitmap()), new OWAddinAction(CHANGE_LANGUAGE, "Language Change", OWAddinActionType.EventReceiver, null), }; }