private void Update_Click(object sender, RoutedEventArgs e) { Window w2 = new Worker_Register(service, VM.SelectedWorker.worker_id, VM.SelectedWorker.worker_name, VM.SelectedWorker.worker_pass); w2.Show(); this.Close(); }
private void Add_Click(object sender, RoutedEventArgs e) { Window w2 = new Worker_Register(service); w2.Show(); this.Close(); }