int index = dlgOpenFile.FileName.LastIndexOf("\\", (dlgOpenFile.FileName.LastIndexOf("\\", dlgOpenFile.FileName.LastIndexOf("\\") - 1) - 1));
textBox.Text ="..."+ dlgOpenFile.FileName.Substring(index);
textBox.Text ="..."+ dlgOpenFile.FileName.Substring(index);