C# Class PAZ.View.CalendarView

Inheritance: System.Windows.Controls.Grid
Datei anzeigen Open project: PAZ-MI4Ie/PAZ

Public Properties

Property Type Description
_controller PAZ.Control.PAZController
dateGrids Grid>.Dictionary

Public Methods

Method Description
CalendarView ( ) : System
CheckAvailability ( CustomLabel currentSession, bool isSession ) : void
GetSessionDate ( CustomLabel session ) : string
HasSession ( CustomLabel session ) : Grid
addSession ( Session session, bool newSession ) : void
addSessionLabel ( Session session ) : CustomLabel
addSessionLabel ( Session session, int newId ) : void
createCalendar ( Ini ini, List classrooms, PAZController controller ) : void
loadAllSessions ( List sessions ) : void
removeSession ( CustomLabel session ) : void
removeSessionLabel ( string date, int column, int row ) : bool
removeSessionLabel ( CustomLabel session ) : void
revertCheckAvailability ( ) : void
session_MouseMove ( object sender, System e ) : void
updateCalendar ( ) : void

Private Methods

Method Description
Session_Drop ( object sender, System.Windows.DragEventArgs e ) : void
delete_Click ( object sender, RoutedEventArgs e ) : void
edit_Click ( object sender, RoutedEventArgs e ) : void

Method Details

CalendarView() public method

public CalendarView ( ) : System
return System

CheckAvailability() public static method

public static CheckAvailability ( CustomLabel currentSession, bool isSession ) : void
currentSession CustomLabel
isSession bool
return void

GetSessionDate() public method

public GetSessionDate ( CustomLabel session ) : string
session CustomLabel
return string

HasSession() public method

public HasSession ( CustomLabel session ) : Grid
session CustomLabel
return System.Windows.Controls.Grid

addSession() public method

public addSession ( Session session, bool newSession ) : void
session PAZ.Model.Session
newSession bool
return void

addSessionLabel() public method

public addSessionLabel ( Session session ) : CustomLabel
session PAZ.Model.Session
return CustomLabel

addSessionLabel() public method

public addSessionLabel ( Session session, int newId ) : void
session PAZ.Model.Session
newId int
return void

createCalendar() public method

public createCalendar ( Ini ini, List classrooms, PAZController controller ) : void
ini Ini
classrooms List
controller PAZ.Control.PAZController
return void

loadAllSessions() public method

public loadAllSessions ( List sessions ) : void
sessions List
return void

removeSession() public method

public removeSession ( CustomLabel session ) : void
session CustomLabel
return void

removeSessionLabel() public method

public removeSessionLabel ( string date, int column, int row ) : bool
date string
column int
row int
return bool

removeSessionLabel() public method

public removeSessionLabel ( CustomLabel session ) : void
session CustomLabel
return void

revertCheckAvailability() public static method

public static revertCheckAvailability ( ) : void
return void

session_MouseMove() public method

public session_MouseMove ( object sender, System e ) : void
sender object
e System
return void

updateCalendar() public method

public updateCalendar ( ) : void
return void

Property Details

_controller public_oe static_oe property

public static PAZController,PAZ.Control _controller
return PAZ.Control.PAZController

dateGrids public_oe static_oe property

public static Dictionary dateGrids
return Grid>.Dictionary