public static Image Evaluate(MercatorUi.MovableControls.MovablePictureBox currentPictureBox)
{
// enter your customized code here
MercatorUi.Forms.Sig.SigForm sigForm = (MercatorUi.Forms.Sig.SigForm)currentPictureBox.Form;
if (string.IsNullOrWhiteSpace(sigForm.DataSourceRow["C_ID"].ToString()))
return null;
else
return MercatorController.xFunctions.xQrCode(
sigForm.DataSourceRow["C_ADRESSE"].ToString() + " " + sigForm.DataSourceRow["C_CODEP"].ToString() + " " + sigForm.DataSourceRow["C_VILLE"].ToString(),
Api.Min(currentPictureBox.Height, currentPictureBox.Width),
false);
}