Exemple #1
0
        private void _dgvImportList_SelectionChanged(object sender, EventArgs e)
        {
            try
            {
                if (dgvOrders.SelectedRows.Count > 0)
                {
                    _model.SelectedOrder = (OrderDisplay)dgvOrders.SelectedRows[0].DataBoundItem;

                    _presenter.LoadOrderDetail(_model.SelectedOrder);
                }
            }
            catch (Exception exc)
            {
                AppLogger.logError(exc);
            }
        }