public guideFrmConfig(OWGuide parentAddin)
        {
            m_ParentAddin = parentAddin;

            InitializeComponent();

            GuideConfig.LoadRegistryConfig();
            tbxPathToGuide.Text            = GuideConfig.GuidePath;
            tbxGuideConfig.Text            = GuideConfig.GuideConfiguration;
            tbxAdditionalArguments.Text    = GuideConfig.CommandLineArguments;
            cbxAlwaysInNewInstance.Checked = GuideConfig.AlwaysNewInstance;
        }
Exemple #2
0
        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),
            };
        }