Esempio n. 1
0
        public static string GetConfigFilePath()
        {
            string appPath = ApplicationStartUp.GetAppPath();

            appPath = appPath.Equals("") ? "PhoneDirectory.exe.config" : appPath + ".config";

            return(appPath);
        }
Esempio n. 2
0
        public static string GetApplicationPath()
        {
            string appPath = ApplicationStartUp.GetAppPath();

            if (!appPath.Equals(""))
            {
                int i = appPath.IndexOf("PhoneDirectory.exe");
                appPath = appPath.Substring(0, i);
            }

            return(appPath);
        }