C# Class NuGet.Dialog.PackageManagerUI.ProgressDialog

Interaction logic for ProgressDialog.xaml
Inheritance: DialogWindow
显示文件 Open project: xero-github/Nuget Class Usage Examples

Public Methods

Method Description
AddMessage ( string message, System.Windows.Media.Brush messageColor ) : void
ClearMessages ( ) : void
ForceClose ( ) : void
ProgressDialog ( ) : System
ShowProgress ( string operation, int percentComplete ) : void

Protected Methods

Method Description
OnClosing ( System e ) : void
OnSourceInitialized ( System e ) : void

Private Methods

Method Description
OkButton_Click ( object sender, System e ) : void
SetErrorState ( ) : void

Method Details

AddMessage() public method

public AddMessage ( string message, System.Windows.Media.Brush messageColor ) : void
message string
messageColor System.Windows.Media.Brush
return void

ClearMessages() public method

public ClearMessages ( ) : void
return void

ForceClose() public method

public ForceClose ( ) : void
return void

OnClosing() protected method

protected OnClosing ( System e ) : void
e System
return void

OnSourceInitialized() protected method

protected OnSourceInitialized ( System e ) : void
e System
return void

ProgressDialog() public method

public ProgressDialog ( ) : System
return System

ShowProgress() public method

public ShowProgress ( string operation, int percentComplete ) : void
operation string
percentComplete int
return void