Choose Doctor Control

PHOTO EMBED

Mon Aug 22 2022 13:53:20 GMT+0000 (UTC)

Saved by @HristoT #c#

// The control needs to be XU_Employee
form.DoctorID.LoadDataSource(XU_EmployeeSource.Create());

// Handle it
 form.DoctorID.OnButtonClick += (s, e) =>
{
    XF_EmployeeFinder.F_ShowLekar((doctID) =>
    {
        ((XU_Employee)s).EditValue = doctID;
    });
};
content_copyCOPY