Set envelope default message by type using resources

Added "Please read and confirm this document" to resource files and updated resource class. Replaced Envelope constructor with WithDefaultMessage extension method to set default message based on EnvelopeTypeId. Updated controller and editor form to use this method. Cleaned up imports and comments.
This commit is contained in:
OlgunR
2026-03-06 14:23:18 +01:00
parent 967fd2ba04
commit d29abf53e7
7 changed files with 103 additions and 72 deletions

View File

@@ -139,7 +139,7 @@ Partial Public Class frmEnvelopeEditor
End If
End If
txtMessage.EditValue = Controller.Envelope.Message
txtMessage.EditValue = Controller.Envelope.WithDefaultMessage().Message
GridDocuments.DataSource = Documents
GridReceivers.DataSource = Receivers