Welcome to mirror list, hosted at ThFree Co, Russian Federation.

TaskDialogTickEventArgs.cs « TaskDialogs « Dialogs « Core « WindowsAPICodePack « WindowsPlatform « addins « src « main - github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ab0cbbe04f77d1b98b545c685b1ee79e3ec9c199 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//Copyright (c) Microsoft Corporation.  All rights reserved.

using System;

namespace Microsoft.WindowsAPICodePack.Dialogs
{
    /// <summary>
    /// The event data for a TaskDialogTick event.
    /// </summary>
    public class TaskDialogTickEventArgs : EventArgs
    {        
        /// <summary>
        /// Initializes the data associated with the TaskDialog tick event.
        /// </summary>
        /// <param name="ticks">The total number of ticks since the control was activated.</param>
        public TaskDialogTickEventArgs(int ticks)
        {
            Ticks = ticks;
        }

        /// <summary>
        /// Gets a value that determines the current number of ticks.
        /// </summary>
        public int Ticks { get; private set; }
    }
}