private void pathTextBox_KeyUp(object sender, KeyEventArgs e) { Form1 form = (Form1)ParentForm; if (e.KeyCode == Keys.Enter) { FileExplorerManager.GoToSelectedFolder(form); } }
private void pathGoButton_Click(object sender, EventArgs e) { Form1 form = (Form1)ParentForm; FileExplorerManager.GoToSelectedFolder(form); }