Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- string path;
- if (ApplicationDeployment.IsNetworkDeployed && ApplicationDeployment.CurrentDeployment.DataDirectory!=null)
- {
- path = Path.Combine(ApplicationDeployment.CurrentDeployment.DataDirectory, "GridLayouts");
- }
- else
- {
- path = Path.Combine(Application.StartupPath, "GridLayouts");
- }
Advertisement
Add Comment
Please, Sign In to add comment