public void UnWireFabricEvents()
{
if (AAState._objectClassEventList == null)
return;
try
{
for (int i = AAState._objectClassEventList.Count - 1; i >= 0; i--)
{
AAState._objectClassEventList[i].OnChange -= AAState.FabricRowChange;
AAState._objectClassEventList[i].OnChange -= AAState.FabricGeometryRowChange;
AAState._objectClassEventList[i].OnCreate -= AAState.FabricRowCreate;
}
AAState._objectClassEventList.Clear();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message + " in UnWire Fabric Events");
}
}