private void EditMotherBoardButton(object sender, RoutedEventArgs e) { sc.EditMotherBoard(MotherBoardDataGrid.SelectedIndex); }