Detaljvisning per mottagare fixad

This commit is contained in:
2023-09-13 00:41:07 +02:00
parent de6e196809
commit d7774c70ee
4 changed files with 62 additions and 26 deletions

View File

@ -7,20 +7,23 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WinFormDiApp;
namespace WinFormDi.UserControls
{
public partial class ucCustomerValue : UserControl
{
private readonly frmSearchData _parentForm;
public ucCustomerValue()
public ucCustomerValue(frmSearchData parentForm)
{
InitializeComponent();
_parentForm = parentForm;
}
private void btnShowMore_Click(object sender, EventArgs e)
{
_parentForm.ShowDetails(Convert.ToString(this.Tag));
}
public string Receiver { get => lblCustName.Text; set => lblCustName.Text = value; }