C# 클래스 Spinach.ProgWin

ProgWin
상속: System.Windows.Window, System.Windows.Markup.IComponentConnector
파일 보기 프로젝트 열기: shranjan/pinac 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
et editorType

공개 메소드들

메소드 설명
ProgWin ( editorType e, SwarmConnection sconn, string ip, string port, string pid, string uname ) : System

ProgWin Constructor

SMObj ( ) : SwarmMemory

Returns the swarm memory object for the calling object

loadProgram ( string text ) : void

Loads the program text into the editor.

send_close_msg ( ) : void
setOwner ( string uname ) : void

Sets the owner of program, also updates the local variable 'owner'.

setPermissions ( string perm ) : void

Sets the permissions for the user for this particular program

setProgUserList ( List list ) : void

Sets the Program Collaborators user list

setUserList ( List list ) : void

Sets the swarm user list

비공개 메소드들

메소드 설명
CollabEditing ( string SourceChanged ) : void
Display ( string res ) : void
EnablePlot ( System.Windows.Media.Imaging.PngBitmapEncoder encoder ) : void
InitializeComponent ( ) : void
LineNumbers ( ) : void
RunClicked ( bool Clicked ) : void
SM_CloseP ( bool CloseProg ) : void
SM_RerunP ( bool Rerun ) : void
ShowError ( string Msg ) : void
System ( int connectionId, object target ) : void
Window_Closed ( object sender, EventArgs e ) : void
Window_Loaded ( object sender, RoutedEventArgs e ) : void
Window_Unloaded ( object sender, RoutedEventArgs e ) : void
btnCompute_Click ( object sender, RoutedEventArgs e ) : void
compare ( tags t1, tags t2 ) : int
format ( ) : void
highlight ( ) : void
markLinepositions ( ) : void
mnuAccess_Click ( object sender, RoutedEventArgs e ) : void
mnuAdd_Click ( object sender, RoutedEventArgs e ) : void
mnuDelete_Click ( object sender, RoutedEventArgs e ) : void
mnuEdit_Click ( object sender, RoutedEventArgs e ) : void
mnuExit_Click ( object sender, RoutedEventArgs e ) : void
mnuFile_Click ( object sender, RoutedEventArgs e ) : void
mnuLine_Click ( object sender, RoutedEventArgs e ) : void
mnuOption_Click ( object sender, RoutedEventArgs e ) : void
mnuSavePlot_Click ( object sender, RoutedEventArgs e ) : void
mnuSave_Click ( object sender, RoutedEventArgs e ) : void
mnuShowPlot_Click ( object sender, RoutedEventArgs e ) : void
mnuWrap_Click ( object sender, RoutedEventArgs e ) : void
progUserListChange ( List PerListChanged ) : void
rtbInput_KeyUp ( object sender, System e ) : void
syntax ( ) : void
update ( string lno1, string s, string mod1, string uname ) : void
userformat ( ) : void
worker_DoWork ( object sender, DoWorkEventArgs e ) : void
worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

메소드 상세

ProgWin() 공개 메소드

ProgWin Constructor
public ProgWin ( editorType e, SwarmConnection sconn, string ip, string port, string pid, string uname ) : System
e editorType editor type
sconn SwarmConnection Swarm Connection Object
ip string Self IP
port string Self Port
pid string PID of the program
uname string Self USername
리턴 System

SMObj() 공개 메소드

Returns the swarm memory object for the calling object
public SMObj ( ) : SwarmMemory
리턴 SwarmMemory

loadProgram() 공개 메소드

Loads the program text into the editor.
public loadProgram ( string text ) : void
text string Program Text
리턴 void

send_close_msg() 공개 메소드

public send_close_msg ( ) : void
리턴 void

setOwner() 공개 메소드

Sets the owner of program, also updates the local variable 'owner'.
public setOwner ( string uname ) : void
uname string
리턴 void

setPermissions() 공개 메소드

Sets the permissions for the user for this particular program
public setPermissions ( string perm ) : void
perm string Permission String
리턴 void

setProgUserList() 공개 메소드

Sets the Program Collaborators user list
public setProgUserList ( List list ) : void
list List Program Collaboratos User List
리턴 void

setUserList() 공개 메소드

Sets the swarm user list
public setUserList ( List list ) : void
list List Swarm User List
리턴 void

프로퍼티 상세

et 공개적으로 프로퍼티

public editorType et
리턴 editorType