Exemplo n.º 1
0
 private void mainWindow_Initialized(object sender, EventArgs e)
 {
     CDataBase.TableWriteLimit(path, "Мероприятия", homeEventsGridData);
     CDataBase.TableWriteLimit(path, "ДР", homeBirthDayGridData);
     eventGrid.Visibility     = Visibility.Hidden;
     birhtDayGrid.Visibility  = Visibility.Hidden;
     newEventGrid.Visibility  = Visibility.Hidden;
     fullEventGrid.Visibility = Visibility.Hidden;
     btnNewEvent.Visibility   = Visibility.Hidden;
     synthesizer.Rate         = 2;
 }
Exemplo n.º 2
0
 private void btnHomePage_Click(object sender, RoutedEventArgs e)
 {
     lblWhereWeAre.Content    = "Электронный секретарь";
     newEventGrid.Visibility  = Visibility.Hidden;
     fullEventGrid.Visibility = Visibility.Hidden;
     birhtDayGrid.Visibility  = Visibility.Hidden;
     homeGrid.Visibility      = Visibility.Visible;
     eventGrid.Visibility     = Visibility.Hidden;
     CDataBase.TableWriteLimit(path, "Мероприятия", homeEventsGridData);
     slideAnimationTo(homeGrid);
 }