private void btn_Calibrate1_Click(object sender, RoutedEventArgs e) { wsCalibration item = dg_NextWeek.SelectedItem as wsCalibration; //Parent p = (sender as Button).Parent; cwnd_RunCalibration w = new cwnd_RunCalibration((int)item.ID); w.Show(); w.Closed += new EventHandler(w_Closed); }
private void btn_Calibrate3_Click(object sender, RoutedEventArgs e) { wsCalibration item = dg_Not.SelectedItem as wsCalibration; cwnd_RunCalibration w = new cwnd_RunCalibration((int)item.ID); w.Show(); w.Closed += new EventHandler(w_Closed); }
private void btn_Calibrate_Click(object sender, RoutedEventArgs e) { cwnd_RunCalibration w = new cwnd_RunCalibration(PID); w.Show(); w.Closed += new EventHandler(w_Closed); }