private void btnSelect_Click(object sender, EventArgs e) { dgvStockStatus.Columns.Clear(); dgvStockStatus.DataSource = null; //조회 버튼 try { InventoryOrderMgtVO vo = new InventoryOrderMgtVO(); vo.start_date = dtpFromDate.Value.ToShortDateString(); vo.end_date = dtpToDate.Value.ToShortDateString(); if (cboFromFac.Text != "선택") { vo.fromFactory = cboFromFac.SelectedValue.ToString(); } if (txtProduct.Text != "") { vo.product_name = txtProduct.Text.Trim(); } ShipmentService service_shipment = new ShipmentService(); shipment_list = service_shipment.GetInventoryStatusByOrder(vo); SetDGV(_cboToFac); SetBottomStatusLabel($"{shipment_list.Count}건이 조회되었습니다."); } catch (Exception err) { LoggingUtility.GetLoggingUtility(err.Message, Level.Error); SetBottomStatusLabel("다시 검색하세요."); } }