C# Class TaskbarProgress, AA2Install

显示文件 Open project: aa2g/AA2Install Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
SetState ( IntPtr windowHandle, TaskbarStates taskbarState ) : void

Sets the state of the progress bar.

SetValue ( IntPtr windowHandle, double progressValue, double progressMax ) : void

Sets the value of the progress bar.

Method Details

SetState() public static method

Sets the state of the progress bar.
public static SetState ( IntPtr windowHandle, TaskbarStates taskbarState ) : void
windowHandle IntPtr The handle of the window.
taskbarState TaskbarStates The state to set the progress bar to.
return void

SetValue() public static method

Sets the value of the progress bar.
public static SetValue ( IntPtr windowHandle, double progressValue, double progressMax ) : void
windowHandle IntPtr The handle of the window.
progressValue double The value of the progress bar.
progressMax double The maximum value of the progress bar.
return void