Beispiel #1
0
        static void AppContentInitialize()
        {
            string appDocumentPath = Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments) + @"\Invoiceasy";

            if (!Directory.Exists(appDocumentPath))
            {
                FileSystemUtility.CreateFolder(appDocumentPath);
                string sourceDirectory = Environment.CurrentDirectory + @"\Libs";
                string targetDirectory = appDocumentPath + @"\Libs";
                FileSystemUtility.CopyFolder(sourceDirectory, targetDirectory);
            }
        }