C# Class AGS.Editor.CustomResolutionDialog

Show file Open project: adventuregamestudio/ags Class Usage Examples

Public Properties

Property Type Description
SizeToString SizeToStringDelegate
StringToSize StringToSizeDelegate

Public Methods

Method Description
CustomResolutionDialog ( Size initialSize ) : System
Show ( Size initialSize ) : Size

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CustomResolutionDialog ( ) : System
EnableCustomItem ( bool enable ) : void
InitializeComponent ( ) : void

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

SelectPresetIfExists ( ) : void
cbResolutionPreset_SelectedIndexChanged ( object sender, EventArgs e ) : void
udWidthHeight_Validating ( object sender, CancelEventArgs e ) : void
udWidthHeight_ValueChanged ( object sender, EventArgs e ) : void

Method Details

CustomResolutionDialog() public method

public CustomResolutionDialog ( Size initialSize ) : System
initialSize Size
return System

Dispose() protected method

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

Show() public static method

public static Show ( Size initialSize ) : Size
initialSize Size
return Size

Property Details

SizeToString public static property

public static SizeToStringDelegate SizeToString
return SizeToStringDelegate

StringToSize public static property

public static StringToSizeDelegate StringToSize
return StringToSizeDelegate