コード例 #1
0
        /// <summary>
        /// Called when the page is initialised.
        /// </summary>
        /// <param name="parent">The parent property sheet.</param>
        protected override void OnPropertyPageInitialised(SharpPropertySheet parent)
        {
            //  Store the file path.
            filePath = parent.SelectedItemPaths.First();

            //  Load the file times into the dialog.
            LoadFileTimes();
        }
コード例 #2
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);
        }
コード例 #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);
        }
コード例 #4
0
 public void OnPageInitialised(SharpPropertySheet parent)
 {
 }
コード例 #5
0
 /// <summary>
 /// Called when the page is initialised.
 /// </summary>
 /// <param name="parent">The parent property sheet.</param>
 protected internal virtual void OnPropertyPageInitialised(SharpPropertySheet parent)
 {
 }
コード例 #6
0
 /// <summary>
 /// Called when the page is initialised.
 /// </summary>
 /// <param name="parent">The parent property sheet.</param>
 protected internal virtual void OnPropertyPageInitialised(SharpPropertySheet parent)
 {
     
 }
コード例 #7
0
 public override void OnPageInitialised(SharpPropertySheet parent)
 {
     //  Set the name of the file in the text box.
     textBoxFileName.Text = parent.SelectedItemPaths.FirstOrDefault();
 }
コード例 #8
0
 /// <summary>
 /// Called when the page is initialised.
 /// </summary>
 /// <param name="parent">The parent property sheet.</param>
 public virtual void OnPageInitialised(SharpPropertySheet parent)
 {
 }