C# Class TRManager.Utility

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

Méthodes publiques

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

Méthode Description
addStudent ( String surname, String givenName, String classInit ) : System.Boolean

Method Details

fillComboBox() public static méthode

public static fillComboBox ( List data, System destinationBox ) : void
data List
destinationBox System
Résultat void

getFileFromDialog() public static méthode

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 (*.*)|*.*"
Résultat System.IO.Stream

getStudentIncidentsCount() public méthode

public getStudentIncidentsCount ( int student_id ) : int
student_id int
Résultat int

logIncident() public static méthode

public static logIncident ( ) : void
Résultat void

logIncident() public static méthode

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
Résultat void

newStudent() public static méthode

public static newStudent ( ) : void
Résultat void

newTeacher() public static méthode

public static newTeacher ( ) : void
Résultat void