C# Class OpenViewer.bootstrap.Bootstrap

显示文件 Open project: 3di/3di-viewer-rei-firefox

Private Properties

Property Type Description
CheckCurrentVersion bool
DelayedLoad void
InitializeVersion bool
IsVersionRequirementSatisfied bool
KeepAlive void
SetParent System.IntPtr
ShowVersionCheckWindow bool
TryDelayedLoad bool
VersionCheckCallback void
VersionCheckError void

Public Methods

Method Description
Bootstrap ( OpenViewer.Viewer OV, IntPtr Handle, int width, int height ) : System
CheckDriveSize ( ) : bool
GetExePath ( ) : string
Load ( OnViewerStartupDelegate OnViewerStartup ) : void
SetupConfig ( ) : void
Shutdown ( ) : void
link_Click ( object sender, EventArgs e ) : void

Private Methods

Method Description
CheckCurrentVersion ( string xml ) : bool
DelayedLoad ( OnViewerStartupDelegate OnViewerStartup ) : void
InitializeVersion ( ) : bool
IsVersionRequirementSatisfied ( string requirement ) : bool
KeepAlive ( object param ) : void
SetParent ( IntPtr hWndChild, IntPtr hWndNewParent ) : IntPtr
ShowVersionCheckWindow ( string uriString ) : bool
TryDelayedLoad ( ) : bool
VersionCheckCallback ( Object sender, DownloadStringCompletedEventArgs e ) : void
VersionCheckError ( string mesg, string title ) : void

Method Details

Bootstrap() public method

public Bootstrap ( OpenViewer.Viewer OV, IntPtr Handle, int width, int height ) : System
OV OpenViewer.Viewer
Handle System.IntPtr
width int
height int
return System

CheckDriveSize() public method

public CheckDriveSize ( ) : bool
return bool

GetExePath() public static method

public static GetExePath ( ) : string
return string

Load() public method

public Load ( OnViewerStartupDelegate OnViewerStartup ) : void
OnViewerStartup OnViewerStartupDelegate
return void

SetupConfig() public method

public SetupConfig ( ) : void
return void

Shutdown() public method

public Shutdown ( ) : void
return void

link_Click() public method

public link_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void