public DialogDocument(DialogDocumentManagerService owner, Form form, object content) { this.owner = owner; this.formCore = form; this.contentCore = content; form.Closed += form_Closed; }
public DialogDocument(DialogDocumentManagerService owner, Form form, object content) { this.owner = owner; this.formCore = form; this.contentCore = content; form.AutoValidate = AutoValidate.EnableAllowFocusChange; form.Closed += form_Closed; }