public void FRenamePic() { string pPath = ""; frmRename frm = new frmRename(_currentPath); var result = frm.ShowDialog(); if (frm._ReturnPath != "") { pPath = frm._ReturnPath; _il.RenameListLog(_currentPath, pPath); _currentPath = pPath; } }
//------------------------------ file functions ---------------------------------------------------------- public void RenamePic() { string newPath = ""; frmRename frm = new frmRename(_currentPath); var result = frm.ShowDialog(); if (frm._ReturnPath != "") { newPath = frm._ReturnPath; _il.RenameListLog(_currentPath, newPath); _currentPath = newPath; SetWindowText(_currentPath); //PicLoadPos(_currentPath, true); } }