public void ShowFilesClicked() { string folder_name = Path.GetFileName(PreviousPath); folder_name = folder_name.Replace("_", " "); if (PreviousPath.EndsWith("-crypto")) { folder_name = folder_name.Replace("-crypto", ""); } if (PreviousPath.EndsWith("-crypto.git")) { folder_name = folder_name.Replace("-crypto.git", ""); } Program.Controller.OpenSparkleShareFolder(folder_name); FinishPageCompleted(); }
public string ToColumnName() { return(PreviousPath == null ? LocalMember.Name : PreviousPath.ToColumnName() + LocalMember.Name); }