C# Class Nexus.Client.TipsManagement.BalloonManager

ファイルを表示 Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
BalloonManager ( bool p_booSupportsPlugin ) : System

A simple constructor that initializes the object with its dependencies.

CheckTips ( int p_X, int p_Y, bool p_booCheckForTipsOnStartup, string p_strVersion ) : void

The initial tips check.

GetResourceTextFile ( string filename ) : string

Open the tips.xml file in a stream returning a string.

GetVersionList ( ) : IEnumerable

Gets the list (distinct) of all versions.

LoadTips ( bool p_booSupportsPlugin ) : List

Loads the data from the Tips XML file.

SetPreviousTip ( bool p_booResizing ) : void

Set the previous tip

SetTipList ( string p_strVersion ) : void

Updates the Current Tips list.

ShowNextTip ( Point p_pCoords ) : void

Manages the next tip to show.

Private Methods

Method Description
RecreateBalloon ( object sender, EventArgs e ) : void

Create the balloon object

balloonHelp_ClickNext ( object sender, EventArgs e ) : void

Manages the next click button.

balloonHelp_ClickPrevious ( object sender, EventArgs e ) : void

Manages the previous click button.

m_bmBalloonHelp_ClickClose ( object sender, EventArgs e ) : void

Manages the close click button.

Method Details

BalloonManager() public method

A simple constructor that initializes the object with its dependencies.
public BalloonManager ( bool p_booSupportsPlugin ) : System
p_booSupportsPlugin bool
return System

CheckTips() public method

The initial tips check.
public CheckTips ( int p_X, int p_Y, bool p_booCheckForTipsOnStartup, string p_strVersion ) : void
p_X int
p_Y int
p_booCheckForTipsOnStartup bool
p_strVersion string
return void

GetResourceTextFile() public method

Open the tips.xml file in a stream returning a string.
public GetResourceTextFile ( string filename ) : string
filename string The name of the file.
return string

GetVersionList() public method

Gets the list (distinct) of all versions.
public GetVersionList ( ) : IEnumerable
return IEnumerable

LoadTips() public method

Loads the data from the Tips XML file.
public LoadTips ( bool p_booSupportsPlugin ) : List
p_booSupportsPlugin bool
return List

SetPreviousTip() public method

Set the previous tip
public SetPreviousTip ( bool p_booResizing ) : void
p_booResizing bool
return void

SetTipList() public method

Updates the Current Tips list.
public SetTipList ( string p_strVersion ) : void
p_strVersion string
return void

ShowNextTip() public method

Manages the next tip to show.
public ShowNextTip ( Point p_pCoords ) : void
p_pCoords Point
return void