C# Class MGShaderEditor.MainForm

Datei anzeigen Open project: procfxgen/MGShaderEditor

Protected Properties

Property Type Description
mruMenu MruStripMenu

Public Methods

Method Description
MainForm ( ) : System

Ctor

WriteError ( string file, int line, int column, string message ) : void
WriteWarning ( string file, int line, int column, string message ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosing ( CancelEventArgs e ) : void

App Closing

Private Methods

Method Description
Application_Idle ( object sender, EventArgs e ) : void

Application IDLE

CreateUIParameters ( string _effectSource ) : void
DoBuild ( string _effectSource ) : bool
Evt_Exit ( object sender, EventArgs e ) : void

Exit application

Evt_Loaded ( object sender, EventArgs e ) : void

Form Loaded

Evt_ModelSelIndexChanged ( object sender, EventArgs e ) : void

Selected Model Changed from ComboBox

InitializeComponent ( ) : void

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

LoadEffectFile ( string _strFileName ) : bool

Load Effect file

OnMruFile ( int number, String filename ) : void

Load effect from MRU

OutputAppend ( string text ) : void
OutputClear ( ) : void
Parse_FloatParam ( string _inputs, string _value ) : void
Parse_Texture2DParam ( string _inputs, string _value ) : void
SetCurrentEffectFileName ( string _strFxName ) : void
aboutToolStripMenuItemAbout_Click ( object sender, EventArgs e ) : void

Display About Box

buildShaderToolStripMenuItem_Click ( object sender, EventArgs e ) : void

Ask for BuildShader...

loadToolStripMenuItemLoad_Click ( object sender, EventArgs e ) : void

Load .FX

newToolStripMenuItemNew_Click ( object sender, EventArgs e ) : void

New FX

replaceToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveAsToolStripMenuItemSaveAs_Click ( object sender, EventArgs e ) : void

Save As .FX

saveToolStripMenuItemSave_Click ( object sender, EventArgs e ) : void

Save .FX

searchToolStripMenuItem_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

MainForm() public method

Ctor
public MainForm ( ) : System
return System

OnClosing() protected method

App Closing
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
return void

WriteError() public method

public WriteError ( string file, int line, int column, string message ) : void
file string
line int
column int
message string
return void

WriteWarning() public method

public WriteWarning ( string file, int line, int column, string message ) : void
file string
line int
column int
message string
return void

Property Details

mruMenu protected_oe property

protected MruStripMenu mruMenu
return MruStripMenu