All pastes #803232 Raw Edit

Something

public text v1 · immutable
·published 2007-12-01 00:38 UTC
rendered paste body
 if (OnSiteMovie.SelectedIndex == -1)
                OnSiteMovie.Focus();
            else if (OnSiteDay.SelectedIndex == -1)
                OnSiteDay.Focus();
            else if (OnSiteNr.SelectedIndex == -1)
                OnSiteNr.Focus();
            else if (OnSiteTime.SelectedIndex == -1)
                OnSiteTime.Focus();
            else if (OnSiteCategory.SelectedIndex == -1)
                OnSiteCategory.Focus();
            else
            {
                int cCode = CreateCode();
                this.CodeTextBox.Text = cCode.ToString();
            }