NetReceiveAssociateAccept Example for C#

//This example uses the predefined variable “LEADDICOMNet1” of type “LEADDicomNet” from “LEADTOOLS Toolkit”.
private void LEADDICOMNet1_NetReceiveAssociateAccept(int hNet, int hPDU)
{
   MessageBox.Show("Associate Accept Received - " + System.Convert.ToString(LEADDICOMNet1.IsAssociated(hNet)));
}