Example #1
0
 private void YearText_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (yearText == null || yearText.Text.Equals(""))
     {
         return;
     }
     TemplateResetter.SpecifyDate(monthCombo.SelectedIndex + 1, int.Parse(yearText.Text));
 }
Example #2
0
 private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (yearText == null)
     {
         return;
     }
     TemplateResetter.SpecifyDate(monthCombo.SelectedIndex + 1, int.Parse(yearText.Text));
 }