Ejemplo n.º 1
0
        private void HoursText_Enter(object sender, EventArgs e)
        {
            // Save the current value as setting the max on the arrows below can trigger
            //  a value change that will update the value
            UInt16 hours = Hours;

            m_SelectedElement = SelectableElements.Hours;
            UpDownArrows.Enabled = true;

            UpDownArrows.Maximum = 17;
            UpDownArrows.Value = hours;
        }
Ejemplo n.º 2
0
        private void SecondsText_Enter(object sender, EventArgs e)
        {
            // Save the current value as setting the max on the arrows below can trigger
            //  a value change that will update the value
            UInt16 seconds = Seconds;

            m_SelectedElement = SelectableElements.Seconds;
            UpDownArrows.Enabled = true;

            UpDownArrows.Maximum = Constants.SecondsPerMinute - 1;
            UpDownArrows.Value = seconds;
        }