// Enable the argument textbox once a shortcut/program has been selected public void enableSelection(ucProgramShortcut passedShortcut) { selectedShortcut = passedShortcut; passedShortcut.ucSelected(); passedShortcut.IsSelected = true; pnlArgumentTextbox.Text = Category.ShortcutList[selectedShortcut.Position].Arguments; pnlArgumentTextbox.Enabled = true; pnlWorkingDirectory.Text = Category.ShortcutList[selectedShortcut.Position].WorkingDirectory; pnlWorkingDirectory.Enabled = true; cmdSelectDirectory.Enabled = true; pnlColor.Visible = false; pnlArguments.Visible = true; }