Esempio n. 1
0
        private void DetailSubGrid_OnFilter(object sender, FilterEvent e)
        {
            _viewModel.SelectedMainRow.StyleDetailList.Clear();
            string filter;
            Dictionary <string, object> valueObjecttemp;

            GeneralFilter.GeneralFilterMethod(out filter, out valueObjecttemp, e);
            _viewModel.DetailSubFilter        = filter;
            _viewModel.DetailSubValuesObjects = valueObjecttemp;
            _viewModel.GetRecInvStyle();
        }
Esempio 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;
 }