Esempio n. 1
0
        //public static void ShowHelp(Control parent, string topic)
        //{
        //    Help.ShowHelp(parent, "datadmin-" + Texts.Language + ".chm", topic + "-" + Texts.Language + ".html");
        //}

        //public static void ShowHelp(Control parent)
        //{
        //    Help.ShowHelp(parent, "datadmin-" + Texts.Language + ".chm");
        //}

        public static void CopyDefaultData()
        {
            if (!IsMono)
            {
                return;
            }
            Logging.Debug("Copying default data");
            try
            {
                IOTool.CopyDirectory("/etc/datadmin/.config", Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData));
            }
            catch (Exception e)
            {
                Logging.Root.LogError(e);
            }
        }