Ejemplo n.º 1
0
        private void radTimeZone_CheckedChanged(object sender, System.EventArgs e)
        {
            cboTimeZone.Enabled = radSpecified.Checked;

            System.TimeZone current = GetValue();
            SetButtonEnabled(DialogResult.OK, (current != null && !current.Equals(m_original)));
        }
Ejemplo n.º 2
0
 private void cboTimeZone_SelectedIndexChanged(object sender, System.EventArgs e)
 {
     if (cboTimeZone.SelectedIndex == -1)
     {
         SetButtonEnabled(DialogResult.OK, false);
     }
     else
     {
         System.TimeZone current = GetValue();
         SetButtonEnabled(DialogResult.OK, (current != null && !current.Equals(m_original)));
     }
 }