Ejemplo n.º 1
0
        public void SetUp()
        {
            RegistryHelper.CompanyName = "SIL";
            RegistryHelper.ProductName = "FieldWorks";

            FwRegistrySettings.Init();
            m_RegistryKey = RegistryHelper.SettingsKey(FwSubKey.TE, "Dummy");
            TeProjectSettings.InitSettings(m_RegistryKey);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Overridden to load the libronix setting and implement it.
        /// </summary>
        public override void LoadSettings()
        {
            base.LoadSettings();
#if !__MonoCS__
            if (Options.AutoStartLibronix)
            {
                LibronixWorkspaceManager.RestoreIfNotRunning(WorkspaceLocation());
            }
#else
            if (Options.AutoStartLibronix)
            {
                throw new NotImplementedException();
            }
            // TODO-Linux: Librionix not ported..
#endif
            TeProjectSettings.InitSettings(this);
        }