Detaljvisning per mottagare fixad
This commit is contained in:
@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user