Ejemplo n.º 1
0
        private void add_hearing_Click(object sender, RoutedEventArgs e)
        {
            hearing h = new hearing();

            h.inmatenum   = id.Text;
            h.hearingdate = hearingdate.DisplayDate.ToString("yyyy-MM-dd");
            h.hearingtime = hearingtime.SelectedTime.ToString();


            h.escort = escort_id.Text.ToString();
            h.hearing_add();
            hearingschedule hs = new hearingschedule();

            hs.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void Button_Click(object sender, RoutedEventArgs e)
        {
            hearingschedule hs = new hearingschedule();

            hs.Show();
        }