private void button_Click(object sender, RoutedEventArgs e) { EcapMenu ecapWindow = new EcapMenu(); ecapWindow.Show(); Close(); }
private void ecapupdate_button_Click(object sender, RoutedEventArgs e) { _ecapDB.EcapVHours("update"); EcapMenu ecapWindow = new EcapMenu(); ecapWindow.Show(); Close(); }
/// <summary> /// Open Advp database /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button_Click(object sender, RoutedEventArgs e) { if (sender == ADVP_Button) { ParticipantSelect ps = new ParticipantSelect(@"ADVP"); ps.Show(); } else if(sender == ECAP_Button) { EcapMenu em = new EcapMenu(); em.Show(); } else if(sender == WOC_Button) { ParticipantSelect ps = new ParticipantSelect(@"WOCAPPT"); ps.Show(); } Close(); }
/// <summary> /// Open Advp database /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void button_Click(object sender, RoutedEventArgs e) { if (sender == ADVP_Button) { ParticipantSelect ps = new ParticipantSelect(@"ADVP"); ps.Show(); } else if (sender == ECAP_Button) { EcapMenu em = new EcapMenu(); em.Show(); } else if (sender == WOC_Button) { ParticipantSelect ps = new ParticipantSelect(@"WOCAPPT"); ps.Show(); } Close(); }