Méthode | Description | |
---|---|---|
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
|
Méthode | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Clean up any resources being used.
|
Méthode | Description | |
---|---|---|
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.
|
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true if managed resources should be disposed; otherwise, false. |
Résultat | void |
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 |
Résultat | DialogResult |