Table of Contents

Class MainForm

Namespace
FrameOfReference.Editor
Assembly
FrameOfReference.Editor.dll

The main window of the editor, container for the editor tabs.

public sealed class MainForm : MainFormBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IToastProvider
Inheritance
MainForm
Implements
Inherited Members
Extension Methods

Constructors

MainForm()

Initializes a new instance of the Form class.

public MainForm()

Methods

ChangeLanguage(string)

Applies a new language to the editor GUI, game logic, etc..

protected override void ChangeLanguage(string language)

Parameters

language string

A two-letter ISO language code.

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.

LaunchGame(string)

Launches the main game with the currently active mod.

protected override void LaunchGame(string arguments)

Parameters

arguments string

Additional arguments to be passed; may be null.

Exceptions

Win32Exception

The game executable could not be launched.

BadImageFormatException

The game executable is damaged.

Restart()

Restarts the editor to allow the user to choose a different mod.

protected override void Restart()