Esempio n. 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));
 }
Esempio n. 2
0
 private void ComboBox_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     if (yearText == null)
     {
         return;
     }
     TemplateResetter.SpecifyDate(monthCombo.SelectedIndex + 1, int.Parse(yearText.Text));
 }
Esempio n. 3
0
 private void Button_Click(object sender, RoutedEventArgs e)
 {
     ExcelInterface.SetTemplatePath(_templatePath);
     ExcelInterface.OpenExcelApplication();
     TemplateResetter.ResetEmployeeTableToWhite();
     TemplateResetter.FillInWeekdays();
     ExcelInterface.MakeVisible();
     ExcelInterface.CollectGarbage();
 }