Table of Contents

Class TerrainSizeDialog

Namespace
AlphaFramework.Editor.World.Dialogs
Assembly
AlphaFramework.Editor.dll

Displays and edits a TerrainSize. Can also be used to create a new TerrainSize.

public sealed class TerrainSizeDialog : OKCancelDialog, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl
Inheritance
TerrainSizeDialog
Implements
Inherited Members
Extension Methods

Remarks

This dialog is a modal dialog. Communication is handled via the static methods (Create(), Edit(ref TerrainSize)).

Methods

Create()

Get a new TerrainSize.

public static TerrainSize Create()

Returns

TerrainSize

The new TerrainSize.

Dispose(bool)

Clean up any resources being used.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true if managed resources should be disposed; otherwise, false.

Edit(ref TerrainSize)

Modify an existing TerrainSize.

public static void Edit(ref TerrainSize size)

Parameters

size TerrainSize

The TerrainSize to modify

Exceptions

OperationCanceledException

The user clicked the cancel button.