private void grGridView_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if(this.grGridView.SelectedItem != null) { var item = this.grGridView.SelectedItem as PersonnelViewModel; var win = new PersonFolder(item.id_person); win.ShowDialog(); } }
private void grGridView_MouseDoubleClick(object sender, MouseButtonEventArgs e) { if (this.grGridView.SelectedItem != null) { var item = this.grGridView.SelectedItem as PersonnelViewModel; var win = new PersonFolder(item.id_person); win.ShowDialog(); } }
private void btnAddEmployee_Click(object sender, RoutedEventArgs e) { var win = new PersonFolder(0); win.ShowDialog(); }