namespace SabreTools.Models.PortableExecutable { /// /// A dialog box is also one resource entry in the resource file. It consists of one /// DLGTEMPLATE dialog box header structure plus one DLGITEMTEMPLATE structure for each /// control in the dialog box. The DLGTEMPLATEEX and the DLGITEMTEMPLATEEX structures /// describe the format of extended dialog box resources. /// /// public sealed class DialogBoxResource { #region Dialog template /// /// Dialog box header structure /// #if NET48 public DialogTemplate DialogTemplate; #else public DialogTemplate? DialogTemplate; #endif /// /// Dialog box extended header structure /// #if NET48 public DialogTemplateExtended ExtendedDialogTemplate; #else public DialogTemplateExtended? ExtendedDialogTemplate; #endif #endregion #region Dialog item templates /// /// Following the DLGTEMPLATE header in a standard dialog box template are one or more /// DLGITEMTEMPLATE structures that define the dimensions and style of the controls in the dialog /// box. The cdit member specifies the number of DLGITEMTEMPLATE structures in the template. /// These DLGITEMTEMPLATE structures must be aligned on DWORD boundaries. /// #if NET48 public DialogItemTemplate[] DialogItemTemplates; #else public DialogItemTemplate[]? DialogItemTemplates; #endif /// /// Following the DLGTEMPLATEEX header in an extended dialog box template is one or more /// DLGITEMTEMPLATEEX structures that describe the controls of the dialog box. The cDlgItems /// member of the DLGITEMTEMPLATEEX structure specifies the number of DLGITEMTEMPLATEEX /// structures that follow in the template. /// #if NET48 public DialogItemTemplateExtended[] ExtendedDialogItemTemplates; #else public DialogItemTemplateExtended[]? ExtendedDialogItemTemplates; #endif #endregion } }