|
@@ -11,7 +11,10 @@ namespace OTSModelSharp.ServiceInterface
|
|
|
{
|
|
|
public static string GetFolderName(string a_strPathName)
|
|
|
{
|
|
|
-
|
|
|
+ if (a_strPathName == "Untitled")
|
|
|
+ {
|
|
|
+ return null;
|
|
|
+ }
|
|
|
string folderName = a_strPathName.Substring(0, a_strPathName.LastIndexOf("\\"));
|
|
|
//DirectoryInfo d = new DirectoryInfo(a_strPathName);
|
|
|
//return d.FullName;
|