Files
WinFormDiApp/WinFormDi/UserControls/ucCustomerValue.cs

34 lines
970 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
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(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; }
public string Number { get => lblNumberof.Text; set => lblNumberof.Text = value; }
public string Amount { get => lblAmount.Text; set => lblAmount.Text = value; }
}
}