示例#1
0
        // Copy Constructor
        public vEvent(vEvent source)
        {
            start_time         = source.start_time;
            end_time           = source.end_time;
            time_created       = source.time_created;
            time_last_modified = source.time_last_modified;

            UID          = source.UID;
            discription  = source.discription;
            location     = source.location;
            status       = source.status;
            summary      = source.summary;
            transparenty = source.transparenty;

            sequence = source.sequence;

            alarm = source.alarm;
        }
示例#2
0
        //Function which adds an event.
        public void addEvent(t_time Instart_time, t_time Inend_time, t_time Intime_created, t_time Intime_last_modified, string InUID, string Indiscription, string Inlocation, string Instatus, string Insummary, string Intransparenty, int Insequence, v_alarm alarm)
        {
            vEvent temp = new vEvent(Instart_time, Inend_time, Intime_created, Intime_last_modified, InUID, Indiscription, Inlocation, Instatus, Insummary, Intransparenty, Insequence, alarm);

            calEvents.Add(temp);
        }