<?xml version="1.0" encoding="utf-16"?><customize><COR_CUSTOM_FIELD U_RuleName="000 TEMPLATE CSCODE - DUPLICATE TO USE" U_Type="0" U_Action="0" U_Warning=" " U_WarningText="" U_WarningBox=" " U_WarningStatus=" " U_Active="N" U_FormTypeBasis="" U_ItemUIDBasis="" U_ColumnBasis="" U_FormType="150" U_ItemUID="1" U_Column="" U_EventType="1" U_Before=" " U_Mode="-1" U_Refresh=" " U_EasyFunctionRule="" U_ErrorBox=" " U_ErrorStatus=" " U_Creator="" U_LastModified="" U_LastModifiedBy="" U_Permission=""><U_Expression>/****** General Information *****Creator: &lt;company name&gt;, &lt;devleoper name, email or initials&gt;Create Date: YYYY-MM-DD ***** StartConfDesc *****&lt;Your Description of the Customize Rule in English&gt;***** EndConfDesc ***** ***** Updates *****YYYY-MM-DD, name: Update Comment*/string ruleName = pVal.RuleInfo.RuleName.ToString();string errorMessage = "Error in Optimizer Rule '" + ruleName + "'"; try{	StatusBar.WriteWarning("DEBUG - Rule: " + ruleName + " was triggered.");	// Your Code} catch(System.Exception ex){	MessageBox.Show(errorMessage + ": \n" + ex.Message, "OK");	StatusBar.WriteError(errorMessage + ": " + ex.Message);	Debug.WriteMessage(errorMessage + ": " + ex.Message, Debug.DebugLevel.Exception);}return true;</U_Expression></COR_CUSTOM_FIELD><COR_CUSTOM_FIELD U_RuleName="000 TEMPLATE VBCODE - DUPLICATE TO USE" U_Type="1" U_Action="0" U_Warning="N" U_WarningText="" U_WarningBox="N" U_WarningStatus="N" U_Active="N" U_FormTypeBasis="" U_ItemUIDBasis="" U_ColumnBasis="" U_FormType="150" U_ItemUID="1" U_Column="" U_EventType="1" U_Before="N" U_Mode="-1" U_Refresh="N" U_EasyFunctionRule="" U_ErrorBox=" " U_ErrorStatus=" " U_Creator="" U_LastModified="" U_LastModifiedBy="" U_Permission=""><U_Expression>'/*'***** General Information *****'Creator: &lt;company name&gt;, &lt;devleoper name, email or initials&gt;'Create Date: YYYY-MM-DD' '***** StartConfDesc *****'&lt;Your Description of the Customize Rule in English&gt;'***** EndConfDesc *****' '***** Updates *****'YYYY-MM-DD, name: Update Comment'*/Dim ruleName As String = pVal.RuleInfo.RuleName.ToString()Dim errorMessage As String = "Error in Optimizer Rule '" + ruleName + "'" Try	StatusBar.WriteWarning("DEBUG - Rule: " + ruleName + " was triggered")	'// Your Code	 Catch ex As Exception	MessageBox.Show(errorMessage + ": \n" + ex.Message, "OK")	StatusBar.WriteError(errorMessage + ": " + ex.Message)	Debug.WriteMessage(errorMessage + ": " + ex.Message, Debug.DebugLevel.Exception)End TryReturn True</U_Expression></COR_CUSTOM_FIELD><COR_CUSTOM_FUNCB U_Active="N" U_Description="000 TEMPLATE CSCODE - DUPLICATE TO USE" U_FunctionName="TEMPLATE CSCODE" U_Type="20" U_FormType="150" U_NoButton=" " U_Position="0" U_ErrorBox=" " U_ErrorStatus=" " U_Creator="" U_LastModified="" U_LastModifiedBy="" U_Permission=""><U_Function>/****** General Information *****Creator: &lt;company name&gt;, &lt;devleoper name, email or initials&gt;Create Date: YYYY-MM-DD ***** StartConfDesc *****&lt;Your Description of the Customize Rule in English&gt;***** EndConfDesc ***** ***** Updates *****YYYY-MM-DD, name: Update Comment*/string ruleName = pVal.RuleInfo.RuleName.ToString();string errorMessage = "Error in Function Button '" + ruleName + "'"; try{	StatusBar.WriteWarning("DEBUG - Rule: " + ruleName + " was triggered.");	// Your Code} catch(System.Exception ex){	MessageBox.Show(errorMessage + ": \n" + ex.Message, "OK");	StatusBar.WriteError(errorMessage + ": " + ex.Message);	Debug.WriteMessage(errorMessage + ": " + ex.Message, Debug.DebugLevel.Exception);}</U_Function><U_PicturePath /></COR_CUSTOM_FUNCB><COR_CUSTOM_FUNCB U_Active="N" U_Description="000 TEMPLATE VBCODE - DUPLICATE TO USE" U_FunctionName="TEMPLATE VBCODE" U_Type="21" U_FormType="150" U_NoButton="N" U_Position="0" U_ErrorBox=" " U_ErrorStatus=" " U_Creator="" U_LastModified="" U_LastModifiedBy="" U_Permission=""><U_Function>'/*'***** General Information *****'Creator: &lt;company name&gt;, &lt;devleoper name, email or initials&gt;'Create Date: YYYY-MM-DD' '***** StartConfDesc *****'&lt;Your Description of the Customize Rule in English&gt;'***** EndConfDesc *****' '***** Updates *****'YYYY-MM-DD, name: Update Comment'*/Dim ruleName As String = pVal.RuleInfo.RuleName.ToString()Dim errorMessage As String = "Error in Function Button '" + ruleName + "'" Try	StatusBar.WriteWarning("DEBUG - Rule: " + ruleName + " was triggered")	'// Your Code	 Catch ex As Exception	MessageBox.Show(errorMessage + ": \n" + ex.Message, "OK")	StatusBar.WriteError(errorMessage + ": " + ex.Message)	Debug.WriteMessage(errorMessage + ": " + ex.Message, Debug.DebugLevel.Exception)End Try</U_Function><U_PicturePath /></COR_CUSTOM_FUNCB><COR_CUSTOM_NEWMENU U_Active="Y" U_Description="000 TEMPLATE VBCODE - DUPLICATE TO USE" U_MenuName="TEMPLATE VBCODE" U_MenuUID="COR_TEMP2" U_Parent="COR_CUS_M1" U_MenuType="1" U_FunctionType="21" U_Position="" U_Creator="" U_LastModified="16.05.2012 14:27:27" U_LastModifiedBy="1" U_Permission=""><U_PicturePath /><U_Function>'/*'***** General Information *****'Creator: &lt;company name&gt;, &lt;devleoper name, email or initials&gt;'Create Date: YYYY-MM-DD' '***** StartConfDesc *****'&lt;Your Description of the Customize Rule in English&gt;'***** EndConfDesc *****' '***** Updates *****'YYYY-MM-DD, name: Update Comment'*/Dim ruleName As String = pVal.RuleInfo.RuleName.ToString()Dim errorMessage As String = "Error in New Menu  '" + ruleName + "'" Try	StatusBar.WriteWarning("DEBUG - Rule: " + ruleName + " was triggered")	'// Your Code	 Catch ex As Exception	MessageBox.Show(errorMessage + ": \n" + ex.Message, "OK")	StatusBar.WriteError(errorMessage + ": " + ex.Message)	Debug.WriteMessage(errorMessage + ": " + ex.Message, Debug.DebugLevel.Exception)End Try</U_Function></COR_CUSTOM_NEWMENU><COR_CUSTOM_NEWMENU U_Active="Y" U_Description="000 TEMPLATE CSCODE - DUPLICATE TO USE" U_MenuName="TEMPLATE CSCODE" U_MenuUID="COR_TEMP1" U_Parent="COR_CUS_M1" U_MenuType="1" U_FunctionType="20" U_Position="" U_Creator="" U_LastModified="16.05.2012 14:27:26" U_LastModifiedBy="1" U_Permission=""><U_PicturePath /><U_Function>/****** General Information *****Creator: &lt;company name&gt;, &lt;devleoper name, email or initials&gt;Create Date: YYYY-MM-DD ***** StartConfDesc *****&lt;Your Description of the Customize Rule in English&gt;***** EndConfDesc ***** ***** Updates *****YYYY-MM-DD, name: Update Comment*/string ruleName = pVal.RuleInfo.RuleName.ToString();string errorMessage = "Error in New Menu '" + ruleName + "'"; try{	StatusBar.WriteWarning("DEBUG - Rule: " + ruleName + " was triggered.");	// Your Code} catch(System.Exception ex){	MessageBox.Show(errorMessage + ": \n" + ex.Message, "OK");	StatusBar.WriteError(errorMessage + ": " + ex.Message);	Debug.WriteMessage(errorMessage + ": " + ex.Message, Debug.DebugLevel.Exception);}</U_Function></COR_CUSTOM_NEWMENU></customize>