C# 클래스 PSint.frMain

상속: System.Windows.Forms.Form
파일 보기 프로젝트 열기: LuckyGeck/PSint 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
bStartBreaking bool

공개 메소드들

메소드 설명
Error ( string sParam ) : void

This method shows the Error message.

Error ( string sParam, int nLine ) : void

This method shows the Error message.

ParseLine ( string line ) : void

This method Highlights the current line in textbox

ParseLine ( string line, int nParam ) : void

This method highlights a line, that strts from particular symbol.

execCmd ( string cmd, string param, Func fFunc ) : string

This method executes one line of code.

extractCmdParam ( String sParams ) : String[]

This method extracts Params from one string to the array.

frMain ( ) : System
processBlanks ( string sParam, Func fFunc ) : string
processLogicalSeq ( string sParam, Func fFunc ) : bool

This method process some logical sequence and returns result - is it true or false.

processVars ( string sParam, Func fFunc ) : string

This method is processing vars.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
CountExpression ( string sParam ) : string

This method sets all brackets needed in this seq.

HideRun ( ) : void

THis method hides Run window.

InitializeComponent ( ) : void

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

LoadFile ( string sParam ) : void

Loads file with source to the textbox1.

SaveFile ( string sParam ) : void

Saves Source File, that is opened in textbox1.

SetCaption ( ) : void

This method updates Caption of the Main form.

ShowRun ( ) : void

This method shows the Run window.

copyToolStripMenuItem_Click ( object sender, EventArgs e ) : void
cutToolStripMenuItem_Click ( object sender, EventArgs e ) : void
dialOpen_FileOk ( object sender, CancelEventArgs e ) : void
dialSave_FileOk ( object sender, CancelEventArgs e ) : void
exitToolStripMenuItem_Click ( object sender, EventArgs e ) : void
inKbrd ( string s ) : void
isCmd ( string param ) : bool

Checks, if string contains commands at all.

newProjectToolStripMenuItem1_Click ( object sender, EventArgs e ) : void
onlineWikiToolStripMenuItem_Click ( object sender, EventArgs e ) : void
openToolStripMenuItem_Click ( object sender, EventArgs e ) : void
pairBrackets ( string sParam ) : bool

This method checks, if brackets are paired.

pasteToolStripMenuItem_Click ( object sender, EventArgs e ) : void
processComplicatedSeq ( string sParam ) : string

This method processes Complicated seq.

processSimpleSeq ( string sParam, Func fFunc ) : string

Method, processing simple sequence - A <+,-,*,/> B

reparseAll ( ) : void
runToolStripMenuItem1_Click ( object sender, EventArgs e ) : void

This method runs main source file.

saveAsToolStripMenuItem_Click ( object sender, EventArgs e ) : void
saveToolStripMenuItem_Click ( object sender, EventArgs e ) : void
selectAllToolStripMenuItem_Click ( object sender, EventArgs e ) : void
syntaxHToolStripMenuItem_Click ( object sender, EventArgs e ) : void
textBox1_KeyUp ( object sender, KeyEventArgs e ) : void
textBox1_TextChanged ( object sender, EventArgs e ) : void

메소드 상세

Dispose() 보호된 메소드

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

Error() 공개 메소드

This method shows the Error message.
public Error ( string sParam ) : void
sParam string Error text.
리턴 void

Error() 공개 메소드

This method shows the Error message.
public Error ( string sParam, int nLine ) : void
sParam string Error text.
nLine int The number of the line, where the exception occured.
리턴 void

ParseLine() 공개 메소드

This method Highlights the current line in textbox
public ParseLine ( string line ) : void
line string Text of the line
리턴 void

ParseLine() 공개 메소드

This method highlights a line, that strts from particular symbol.
public ParseLine ( string line, int nParam ) : void
line string The text of the line.
nParam int The number of the first symbol in our line.
리턴 void

execCmd() 공개 메소드

This method executes one line of code.
public execCmd ( string cmd, string param, Func fFunc ) : string
cmd string The name of command to execute.
param string Parameters for this command
fFunc Func The instance of Func class, which is currently running.
리턴 string

extractCmdParam() 공개 메소드

This method extracts Params from one string to the array.
public extractCmdParam ( String sParams ) : String[]
sParams String
리턴 String[]

frMain() 공개 메소드

public frMain ( ) : System
리턴 System

processBlanks() 공개 메소드

public processBlanks ( string sParam, Func fFunc ) : string
sParam string
fFunc Func
리턴 string

processLogicalSeq() 공개 메소드

This method process some logical sequence and returns result - is it true or false.
public processLogicalSeq ( string sParam, Func fFunc ) : bool
sParam string Some sequence
fFunc Func Func class instance
리턴 bool

processVars() 공개 메소드

This method is processing vars.
public processVars ( string sParam, Func fFunc ) : string
sParam string String with @vars.
fFunc Func The instance of Func class, which is currently running.
리턴 string

프로퍼티 상세

bStartBreaking 공개적으로 프로퍼티

public bool bStartBreaking
리턴 bool