﻿Type.registerNamespace("WINIT.AJAXControls");

WINIT.AJAXControls.EventsCalendarEventArgs = function(displayMode, displayDate, displayMonth, displayYear)
{
    WINIT.AJAXControls.EventsCalendarEventArgs.initializeBase(this);
    this._displayMode = displayMode;
    this._displayDate = displayDate;
    this._displayYear = displayYear;
    this._displayMonth = displayMonth;
}

WINIT.AJAXControls.EventsCalendarEventArgs.prototype = 
{
    get_displayDate: function(){
        return this._displayDate;
    }, 
    
    set_displayDate: function(value){
        this._displayDate = value;
    }, 
    
    get_displayMonth: function(){
        return this._displayMonth;
    }, 
    
    set_displayMonth: function(value){
        this._displayMonth = value;
    }, 
    
    get_displayYear: function(){
        return this._displayYear;
    }, 
    
    set_displayYear: function(value){
        this._displayYear = value;
    },
    
    get_displayMode: function(){
    return this._displayMode;
    }, 
    
    set_displayMode: function(value){
    this._displayMode = value;
    }
}

WINIT.AJAXControls.EventsCalendarEventArgs.registerClass('WINIT.AJAXControls.EventsCalendarEventArgs', Sys.EventArgs);

Type.registerNamespace("WINIT.AJAXControls");

WINIT.AJAXControls.EventsCalendarEvent = function(eventData)
{
    WINIT.AJAXControls.EventsCalendarEvent.initializeBase(this);
    this._eventData = eventData;
    this._eventId = eventData.EventId;
    this._isPublic = eventData.IsPublic;
    //this._eventEndTime =eventData.EventEndTimeSpan;
}

WINIT.AJAXControls.EventsCalendarEvent.prototype = 
{
    get_eventData: function(){
        return this._eventData;
    }, 
    
    set_eventData: function(value){
        this._eventData = value;
    },
    
    get_eventDate: function(){
        return this._eventDate;
    }, 
    
    set_eventDate: function(value){
        this._eventDate = value;
    },
    
    get_eventStartTime: function(){
        return this._eventStartTime;
    }, 
    
    set_eventStartTime: function(value){
        this._eventStartTime = value;
    },
    
    get_eventEndTime: function(){
        return this._eventEndTime;
    }, 
    
    set_eventEndTime: function(value){
        this._eventEndTime = value;
    },
    
    get_eventId: function(){
        return this._eventId;
    }, 
    
    set_eventId: function(value){
        this._eventId = value;
    },
    
    get_isPublic: function(){
        return this._isPublic;
    }, 
    
    set_isPublic: function(value){
        this._isPublic = value;
    }
    
       
}

WINIT.AJAXControls.EventsCalendarEvent.registerClass('WINIT.AJAXControls.EventsCalendarEvent', Sys.EventArgs);
Sys.Application.notifyScriptLoaded();