Click or drag to resize

Dialog Class

Represents a SA:MP dialog.
Inheritance Hierarchy

Namespace:  SampSharp.GameMode.Display
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public abstract class Dialog

The Dialog type exposes the following members.

Constructors
  NameDescription
Protected methodDialog
Initializes a new instance of the Dialog class
Top
Properties
  NameDescription
Public propertyStatic memberAll
Gets all opened dialogs.
Public propertyButton1
Gets or sets the text on the left button.
Public propertyButton2
Gets or sets the text on the right button.
Public propertyCaption
Gets or sets the caption.
Protected propertyInfo
Gets the info displayed in the box.
Public propertyStyle
Gets or sets the style.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetOpenDialog
Gets the dialog currently being shown to the specified player.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodStatic memberHide
Hides all dialogs for the specified player.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOnResponse
Raises the Response event.
Public methodShow
Shows the dialog box to a Player.
Public methodShowAsync
Shows the dialog box to a Player asynchronously.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventResponse
Occurs when a player responds to a dialog by either clicking a button, pressing ENTER/ESC or double-clicking a list item.
Top
See Also