Exemplo n.º 1
0
        private string title = "dwProperty"; // The title of the property page

        #endregion Fields

        #region Constructors

        public SheetControl()
        {
            InitializeComponent();

            dlgProc = new DialogProc(PropPageDialogProc);
            callback = new PropSheetCallback(PropSheetPageProc);
        }
Exemplo n.º 2
0
        public SheetControl()
        {
            InitializeComponent();

            dlgProc  = new DialogProc(PropPageDialogProc);
            callback = new PropSheetCallback(PropSheetPageProc);
        }
Exemplo n.º 3
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyPageProxy"/> class.
        /// </summary>
        /// <param name="parent">The parent.</param>
        /// <param name="propertyPage">The target property page.</param>
        internal PropertyPageProxy(SharpPropertySheet parent, SharpPropertyPage propertyPage)
        {
            //  Set the target.
            Parent = parent;
            Target = propertyPage;

            //  set the proxy reference in the property page.
            propertyPage.PropertyPageProxy = this;

            //  Create the dialog proc delegate (as a class member so it won't be garbage collected).
            dialogProc   = new DialogProc(WindowProc);
            callbackProc = new PropSheetCallback(CallbackProc);
        }
Exemplo n.º 4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="PropertyPageProxy"/> class.
        /// </summary>
        /// <param name="parent">The parent.</param>
        /// <param name="propertyPage">The target property page.</param>
        internal PropertyPageProxy(SharpPropertySheet parent, SharpPropertyPage propertyPage)
        {
            //  Set the target.
            Parent = parent;
            Target = propertyPage;

            //  set the proxy reference in the property page.
            propertyPage.PropertyPageProxy = this;

            //  Create the dialog proc delegate (as a class member so it won't be garbage collected).
            dialogProc = new DialogProc(WindowProc);
            callbackProc = new PropSheetCallback(CallbackProc);
        }