//-------------------------------------- // SHORTCUT/PROGRAM SELECTION //-------------------------------------- // Deselect selected program/shortcut public void resetSelection() { pnlArgumentTextbox.Enabled = false; cmdSelectDirectory.Enabled = false; if (selectedShortcut != null) { pnlColor.Visible = true; pnlArguments.Visible = false; selectedShortcut.ucDeselected(); selectedShortcut.IsSelected = false; selectedShortcut = null; } }