C# Class TRManager.Utility

Class for commonly used Methods, Methods declared here should be static
Datei anzeigen Open project: UristMcMiner/SE-Projekt_RWB.csharp

Public Methods

Method Description
fillComboBox ( List data, System destinationBox ) : void
getFileFromDialog ( String filter ) : System.IO.Stream

Opens File Dialog and returns corresponding File Stream

getStudentIncidentsCount ( int student_id ) : int
logIncident ( ) : void
logIncident ( int student_id, String teacher_short, String comment, int Ticket_ID ) : void
newStudent ( ) : void
newTeacher ( ) : void

Private Methods

Method Description
addStudent ( String surname, String givenName, String classInit ) : System.Boolean

Method Details

fillComboBox() public static method

public static fillComboBox ( List data, System destinationBox ) : void
data List
destinationBox System
return void

getFileFromDialog() public static method

Opens File Dialog and returns corresponding File Stream
public static getFileFromDialog ( String filter ) : System.IO.Stream
filter String File-Type-Filter, e.g.: "Text files (*.txt)|*.txt|All files (*.*)|*.*"
return System.IO.Stream

getStudentIncidentsCount() public method

public getStudentIncidentsCount ( int student_id ) : int
student_id int
return int

logIncident() public static method

public static logIncident ( ) : void
return void

logIncident() public static method

public static logIncident ( int student_id, String teacher_short, String comment, int Ticket_ID ) : void
student_id int
teacher_short String
comment String
Ticket_ID int
return void

newStudent() public static method

public static newStudent ( ) : void
return void

newTeacher() public static method

public static newTeacher ( ) : void
return void