示例#1
0
        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();
 }
示例#3
0
        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();
        }
示例#5
0
        /// <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();
        }
 private void button_Click(object sender, RoutedEventArgs e)
 {
     EcapMenu ecapWindow = new EcapMenu();
     ecapWindow.Show();
     Close();
 }