Skip to Content
0
Former Member
Sep 10, 2009 at 06:38 AM

Help me Double Event

19 Views

Soucecode ..

private void B1_Application_ItemEvent(string FormUID, ref SAPbouiCOM.ItemEvent pVal, out bool BubbleEvent)

{

BubbleEvent = true;

if ((FormUID == "Frm002") & (pVal.BeforeAction == false))

{

switch (pVal.EventType)

{

case SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED:

{

if (pVal.ItemUID == "1")

{

DoAddToTable();

}

break;

}

}

}

Q. DoAddToTable() ? Why work twice.

A.

Thank you.