Sub Btn_Color_Click
Wait For (Dialog.ShowTemplate(ColorTemplate, "OK", "", "CANCEL")) Complete (Result As Int)
If Result = xui.DialogResponse_Positive Then
SignatureTemplate.StrokeColor = ColorTemplate.SelectedColor
DrawPad ' display the Signature template again
End If
End Sub
Sub Btn_Erase_Click
'???
End Sub