C# 클래스 Nexus.Client.ModManagement.Scripting.UIUtil

This class displays UI elements on another thread.
This class is useful for marshalling UI interaction to the UI thread.
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
Select ( IList p_lstOptions, string p_strTitle, bool p_booSelectMany ) : string[]

Displays a selection form to the user.

ShowExtendedMessageBox ( string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult

Displays an extended message box.

ShowMessageBox ( string p_strMessage ) : DialogResult

Displays a message box.

ShowMessageBox ( string p_strMessage, string p_strCaption ) : DialogResult

Displays a message box.

ShowMessageBox ( string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons ) : DialogResult

Displays a message box.

ShowMessageBox ( string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult

Displays a message box.

UIUtil ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, SynchronizationContext p_scxSyncContext ) : System.Collections.Generic

A simple constructor that initializes the object with the given values.

비공개 메소드들

메소드 설명
ShowSelect ( IList p_lstOptions, string p_strTitle, bool p_booSelectMany ) : string[]

Displays a selection form to the user.

This method is called by the SynchronizationContext in order to create and execute the form on the appropriate thread.

메소드 상세

Select() 공개 메소드

Displays a selection form to the user.
public Select ( IList p_lstOptions, string p_strTitle, bool p_booSelectMany ) : string[]
p_lstOptions IList The options from which to select.
p_strTitle string The title of the selection form.
p_booSelectMany bool Whether more than one items can be selected.
리턴 string[]

ShowExtendedMessageBox() 공개 메소드

Displays an extended message box.
public ShowExtendedMessageBox ( string p_strMessage, string p_strCaption, string p_strDetails, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult
p_strMessage string The message to display.
p_strCaption string The caption of the message box.
p_strDetails string The details to display.
p_mbbButtons MessageBoxButtons The buttons to show on the message box.
p_mbiIcon MessageBoxIcon The icon to show on the message box.
리턴 DialogResult

ShowMessageBox() 공개 메소드

Displays a message box.
public ShowMessageBox ( string p_strMessage ) : DialogResult
p_strMessage string The message to display.
리턴 DialogResult

ShowMessageBox() 공개 메소드

Displays a message box.
public ShowMessageBox ( string p_strMessage, string p_strCaption ) : DialogResult
p_strMessage string The message to display.
p_strCaption string The caption of the message box.
리턴 DialogResult

ShowMessageBox() 공개 메소드

Displays a message box.
public ShowMessageBox ( string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons ) : DialogResult
p_strMessage string The message to display.
p_strCaption string The caption of the message box.
p_mbbButtons MessageBoxButtons The buttons to show on the message box.
리턴 DialogResult

ShowMessageBox() 공개 메소드

Displays a message box.
public ShowMessageBox ( string p_strMessage, string p_strCaption, MessageBoxButtons p_mbbButtons, MessageBoxIcon p_mbiIcon ) : DialogResult
p_strMessage string The message to display.
p_strCaption string The caption of the message box.
p_mbbButtons MessageBoxButtons The buttons to show on the message box.
p_mbiIcon MessageBoxIcon The icon to show on the message box.
리턴 DialogResult

UIUtil() 공개 메소드

A simple constructor that initializes the object with the given values.
public UIUtil ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, SynchronizationContext p_scxSyncContext ) : System.Collections.Generic
p_gmdGameMode IGameMode The current game mode.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
p_scxSyncContext System.Threading.SynchronizationContext The synchronization context to use to marshall calls to the UI thread.
리턴 System.Collections.Generic