Exemplo n.º 1
0
 private void DetailSubSubGrid_LoadingRow(object sender, DataGridRowEventArgs e)
 {
     if (_viewModel.SelectedMainRow.StyleColorDetailsList.Count < _viewModel.PageSize)
     {
         return;
     }
     if (_viewModel.SelectedMainRow.StyleColorDetailsList.Count - 2 < e.Row.GetIndex() && !_viewModel.Loading)
     {
         _viewModel.Loading = true;
         _viewModel.GetRecInvStyleColor();
     }
 }
Exemplo n.º 2
0
 private void OKButton_Click(object sender, System.Windows.RoutedEventArgs e)
 {
     _viewModel.SelectedMainRow = RecieveHeaderDataGrid.SelectedItem as TblRecInvHeaderViewModel;
     _viewModel.GetDetailData();
     _viewModel.GetRecInvStyle();
     _viewModel.GetRecInvStyleColor();
     DialogResult = true;
 }