Beispiel #1
0
        private void Grid_OnOnFilter(object sender, FilterEvent e)
        {
            _viewModel.MainRowList.Clear();
            string filter;
            Dictionary <string, object> valueObjecttemp;

            GeneralFilter.GeneralFilterMethod(out filter, out valueObjecttemp, e);
            _viewModel.Filter        = filter;
            _viewModel.ValuesObjects = valueObjecttemp;
            _viewModel.GetMaindata();
        }
        private void btnSearch_Click(object sender, RoutedEventArgs e)
        {
            _viewModel.MainRowList.Clear();
            _viewModel.GetMaindata();
            var childWindowSeach = new GlChequeTransactionChildWindow(_viewModel);

            childWindowSeach.Show();
            FormMode = FormMode.Search;
            SwitchFormMode(FormMode);
        }