i have used the code below:[InfoPathEventHandler(MatchPath = "CTRL1_15", EventType = InfoPathEventType.OnClick)]public void CTRL1_15_OnClick(DocActionEvent e)
{
path = rootPath + "ActionRequests/";deleteConnection = "TestDelete_Action";
fileName = ...