C# 클래스 RocksmithToolkitLib.Extensions.BetterDialog2

Customizable Dialog Box to replace standard Message Box with positioning and custom buttons
상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: rscustom/rocksmith-custom-song-toolkit 1 사용 예제들

공개 메소드들

메소드 설명
ShowDialog ( string dialogMessage, string dialogTitle, string textDialogButton1, string textDialogButton2, string textDialogButton3, Image dialogIcon, string iconMessage, int topFromCenter, int leftFromCenter ) : DialogResult

Custom Dialog Box to replace standard Message Box with positioning

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
BetterDialog2 ( string dialogMessage, string dialogTitle, string textDialogButton1, string textDialogButton2, string textDialogButton3, Image dialogIcon, string iconMessage, int topFromCenter, int leftFromCenter ) : System

The private constructor. This is only called by the static method ShowDialog.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

ShowDialog() 공개 정적인 메소드

Custom Dialog Box to replace standard Message Box with positioning
public static ShowDialog ( string dialogMessage, string dialogTitle, string textDialogButton1, string textDialogButton2, string textDialogButton3, Image dialogIcon, string iconMessage, int topFromCenter, int leftFromCenter ) : DialogResult
dialogMessage string Main dialog message, if 'null' then not displayed
dialogTitle string Title displayed in dialog frame at top
textDialogButton1 string Message box 1 button text, if 'null' then not displayed
textDialogButton2 string Message box 2 button text, if 'null' then not displayed
textDialogButton3 string Message box 3 button text, if 'null' then not displayed
dialogIcon Image Image displayed left side
iconMessage string Promenent bold message displayed to right of icon
topFromCenter int Positive pixel distance up from screen center, default location is centered on screen
leftFromCenter int Positive pixel distance left from screen center, default location is centered on screen
리턴 DialogResult