C# Class MGShaderEditor.MainForm

Afficher le fichier Open project: procfxgen/MGShaderEditor

Protected Properties

Свойство Type Description
mruMenu MruStripMenu

Méthodes publiques

Méthode Description
MainForm ( ) : System

Ctor

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

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnClosing ( CancelEventArgs e ) : void

App Closing

Private Methods

Méthode 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 méthode

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

MainForm() public méthode

Ctor
public MainForm ( ) : System
Résultat System

OnClosing() protected méthode

App Closing
protected OnClosing ( CancelEventArgs e ) : void
e CancelEventArgs
Résultat void

WriteError() public méthode

public WriteError ( string file, int line, int column, string message ) : void
file string
line int
column int
message string
Résultat void

WriteWarning() public méthode

public WriteWarning ( string file, int line, int column, string message ) : void
file string
line int
column int
message string
Résultat void

Property Details

mruMenu protected_oe property

protected MruStripMenu mruMenu
Résultat MruStripMenu