bool MoveSelector(Button from) { if (from == activeButton) { return(false); } else { activeButton = from; selector.Location = new Point(selector.Location.X, activeButton.Location.Y); topPanel.SetLabel(activeButton.Text); return(true); } }
bool MoveSelector(Button from) { if (from == activeButton) { return(false); } else { activeButton = from; selector.Location = new Point(selector.Location.X, activeButton.Location.Y); topPanel.SetLabel(activeButton.Text); return(true); } }