private void NameTextBox_Leave(object sender, EventArgs e) { var open = Walker.Open(NameTextBox.Text); NameTextBox.Text = Walker.CurrentDirectory.Replace( Path.DirectorySeparatorChar, '/'); NameTextBox.SelectionStart = NameTextBox.Text.Length; if (open == null) { return; } if (open == "") { return; } InvokeItemLoaded(Walker.GetPath(open)); }