C# Class Cocoa.Alert

Inheritance: Object
显示文件 Open project: mono/cocoa-sharp

Public Methods

Method Description
AddButtonWithTitle ( string buttonTitle ) : Button
Alert ( ) : System
Alert ( IntPtr native_object ) : System
AlertWithMessage ( string messageTitle, string defaultButtonTitle, string alternateButtonTitle, string otherButtonTitle, string informativeText ) : Alert
BeginSheet ( Cocoa theWindow, AlertHandler modalDelegate, System contextInfo ) : void
RunModal ( ) : int

Method Details

AddButtonWithTitle() public method

public AddButtonWithTitle ( string buttonTitle ) : Button
buttonTitle string
return Button

Alert() public method

public Alert ( ) : System
return System

Alert() public method

public Alert ( IntPtr native_object ) : System
native_object System.IntPtr
return System

AlertWithMessage() public static method

public static AlertWithMessage ( string messageTitle, string defaultButtonTitle, string alternateButtonTitle, string otherButtonTitle, string informativeText ) : Alert
messageTitle string
defaultButtonTitle string
alternateButtonTitle string
otherButtonTitle string
informativeText string
return Alert

BeginSheet() public method

public BeginSheet ( Cocoa theWindow, AlertHandler modalDelegate, System contextInfo ) : void
theWindow Cocoa
modalDelegate AlertHandler
contextInfo System
return void

RunModal() public method

public RunModal ( ) : int
return int