C# Class RpgCodeExpress.MainMdi

ファイルを表示 Open project: rpgtoolkit/rpgcodeexpress Class Usage Examples

Public Methods

Method Description
MainMdi ( ) : System

Create a new MainMdi parent form.

UpdateToolkitPath ( string path ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
CheckToolkitInstall ( string path ) : bool

Checks the current Toolkit install.

CloseCodeEditors ( ) : void

Closes all of the open code editor docks.

CodeEditor_CaretMove ( object sender, CaretPositionUpdateEventArgs e ) : void
CodeEditor_UndoRedoUpdated ( object sender, UndoRedoUpdateEventArgs e ) : void
CreateBasicLayout ( ) : void

Sets up the editors basic layout including the Project Explorer and Properties windows.

DisableUndoRedo ( ) : void

Disables undo and redo buttons.

FocusCodeEditor ( string file ) : void

Focuses on a code editor.

InitializeComponent ( ) : void

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

LoadConfiguration ( ) : void

Loads the information stored in the editors configuration file.

OpenCodeEditor ( string file ) : void

Opens a new code editor.

OpenProject ( ) : void

Displays an OpenFileDialog and prompts the user to open a Toolkit project, writes the changes to the XML Configuration file, and loads the project into the editor.

ProjectExplorer_NodeClick ( object sender, NodeClickEventArgs e ) : void
ProjectExplorer_NodeDoubleClick ( object sender, NodeClickEventArgs e ) : void
ProjectExplorer_NodeRename ( object sender, NodeLabelRenameEventArgs e ) : void
Run ( object sender ) : void

Runs the current program in trans3.

SaveConfiguration ( string title ) : void

Saves the editors configuration.

SaveFile ( bool saveAs ) : void

Saves a program file.

ShowOpenProgramDialog ( ) : void

Shows an OpenFileDialog and prompts the user to open a RPGCode program file.

ShowProjectExplorer ( ) : void

Shows or sets the focus to the Project Explorer dock, depending on its current state.

ShowPropertiesWindow ( ) : void

Shows or sets the focus to the Properties Window dock, depending on its current state.

ShowToolkitPathDialog ( ) : void

Shows an FolderBrowserDialog and prompts the user to select the Toolkit's install folder.

ToogleButtonStates ( ) : void

Enables or disables the menustrip and toolstrip buttons based upon the state of the current active document.

ToogleMenuButtons ( bool isEnabled ) : void

Enables or disables certain menu buttons.

ToogleToolstripButtons ( bool isEnabled ) : void

Enables or disables certain toolstrip buttons.

dockPanel_ActiveContentChanged ( object sender, EventArgs e ) : void
dockPanel_ContentRemoved ( object sender, DockContentEventArgs e ) : void
fontSettingsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
mnuItemAbout_Click ( object sender, EventArgs e ) : void
mnuItemCloseAll_Click ( object sender, EventArgs e ) : void
mnuItemCopy_Click ( object sender, EventArgs e ) : void
mnuItemCut_Click ( object sender, EventArgs e ) : void
mnuItemDebugProgram_Click ( object sender, EventArgs e ) : void
mnuItemExit_Click ( object sender, EventArgs e ) : void
mnuItemNewWindow_Click ( object sender, EventArgs e ) : void
mnuItemNew_Click ( object sender, EventArgs e ) : void
mnuItemOpenProject_Click ( object sender, EventArgs e ) : void
mnuItemOpen_Click ( object sender, EventArgs e ) : void
mnuItemPaste_Click ( object sender, EventArgs e ) : void
mnuItemProjectExplorer_Click ( object sender, EventArgs e ) : void
mnuItemPropertiesWindow_Click ( object sender, EventArgs e ) : void
mnuItemQuickFind_Click ( object sender, EventArgs e ) : void
mnuItemQuickReplace_Click ( object sender, EventArgs e ) : void
mnuItemRedo_Click ( object sender, EventArgs e ) : void
mnuItemSaveAll_Click ( object sender, EventArgs e ) : void
mnuItemSaveAs_Click ( object sender, EventArgs e ) : void
mnuItemSave_Click ( object sender, EventArgs e ) : void
mnuItemSelectAll_Click ( object sender, EventArgs e ) : void
mnuItemUndo_Click ( object sender, EventArgs e ) : void
optionsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
runProjectToolStripMenuItem_Click ( object sender, EventArgs e ) : void
tspButtonCommentSelected_Click ( object sender, EventArgs e ) : void

Method Details

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

MainMdi() public method

Create a new MainMdi parent form.
public MainMdi ( ) : System
return System

UpdateToolkitPath() public method

public UpdateToolkitPath ( string path ) : void
path string
return void