Ejemplo n.º 1
0
            public PresentationListViewItem(ControlEventQueue dispatcher, PresentationModel presentation)
            {
                this.m_EventQueue   = dispatcher;
                this.m_Presentation = presentation;
                this.Tag            = presentation.Owner;

                this.SubItems.Add(this.m_OwnerSubItem        = new OwnerSubItem(this));
                this.SubItems.Add(this.m_ParticipantsSubItem = new ParticipantsSubItem(this));

                this.m_HumanNameChangedDispatcher = new EventQueue.PropertyEventDispatcher(this.m_EventQueue, new PropertyEventHandler(this.HandleHumanNameChanged));
                this.Presentation.Changed["HumanName"].Add(this.m_HumanNameChangedDispatcher.Dispatcher);
                this.m_HumanNameChangedDispatcher.Dispatcher(this.Presentation, null);
            }
Ejemplo n.º 2
0
            public PresentationListViewItem(ControlEventQueue dispatcher, PresentationModel presentation)
            {
                this.m_EventQueue = dispatcher;
                this.m_Presentation = presentation;
                this.Tag = presentation.Owner;

                this.SubItems.Add(this.m_OwnerSubItem = new OwnerSubItem(this));
                this.SubItems.Add(this.m_ParticipantsSubItem = new ParticipantsSubItem(this));

                this.m_HumanNameChangedDispatcher = new EventQueue.PropertyEventDispatcher(this.m_EventQueue, new PropertyEventHandler(this.HandleHumanNameChanged));
                this.Presentation.Changed["HumanName"].Add(this.m_HumanNameChangedDispatcher.Dispatcher);
                this.m_HumanNameChangedDispatcher.Dispatcher(this.Presentation, null);
            }