You can check the value of the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DirectX\Version registry key. This table[^] will show you the version according to the version number. For example 4.09.00.0904 is DirectX 9.0c.
then is selectionChange event i Select another data in list and before set it to listbox datasource .. datasource of datagrid change and all columns and data of customer cleared and replaced by Notices ???????