private void btnSearch_Click(object sender, EventArgs e) { var shipment = _repositoryShipment.GetShipmentOutByParam(txtShipmentNoSearch.Text, txtSoToKhaiSearch.Text, txtSenderSearch.Text, txtReceiverSearch.Text); if (shipment == null) { MessageBox.Show("Không tìm thấy dữ liệu ", "Thông báo", MessageBoxButtons.OK, MessageBoxIcon.Information); return; } lblShipmentNo.Text = shipment.ShipmentId; FillForm(shipment); }