Exemplo n.º 1
0
 public OwnerSubItem(PresentationListViewItem parent) : base(parent, null)
 {
     this.m_Parent = parent;
     this.m_HumanNameChangedDispatcher = new EventQueue.PropertyEventDispatcher(this.m_Parent.m_EventQueue, new PropertyEventHandler(this.HandleHumanNameChanged));
     this.m_Parent.Presentation.Owner.Changed["HumanName"].Add(this.m_HumanNameChangedDispatcher.Dispatcher);
     this.m_HumanNameChangedDispatcher.Dispatcher(this, null);
 }
Exemplo n.º 2
0
                public ParticipantsSubItem(PresentationListViewItem parent) : base(parent, null)
                {
                    this.m_Parent = parent;

                    this.m_ParticipantsChangedDispatcher = new EventQueue.PropertyEventDispatcher(this.m_Parent.m_EventQueue, new PropertyEventHandler(this.HandleParticipantsChanged));
                    this.m_Parent.Presentation.Changed["Participants"].Add(this.m_ParticipantsChangedDispatcher.Dispatcher);
                    this.m_ParticipantsChangedDispatcher.Dispatcher(this.m_Parent.Presentation, null);
                }
Exemplo n.º 3
0
            protected override object SetUpMember(int index, object member)
            {
                Debug.Assert(!this.m_Parent.InvokeRequired);

                DisposableListViewItem item = new PresentationListViewItem(this.m_Parent.m_EventQueue, (PresentationModel)member);

                this.m_Parent.Items.Add(item);
                return(item);
            }
Exemplo n.º 4
0
                public ParticipantsSubItem(PresentationListViewItem parent)
                    : base(parent, null)
                {
                    this.m_Parent = parent;

                    this.m_ParticipantsChangedDispatcher = new EventQueue.PropertyEventDispatcher(this.m_Parent.m_EventQueue, new PropertyEventHandler(this.HandleParticipantsChanged));
                    this.m_Parent.Presentation.Changed["Participants"].Add(this.m_ParticipantsChangedDispatcher.Dispatcher);
                    this.m_ParticipantsChangedDispatcher.Dispatcher(this.m_Parent.Presentation, null);
                }
Exemplo n.º 5
0
 public OwnerSubItem(PresentationListViewItem parent)
     : base(parent, null)
 {
     this.m_Parent = parent;
     this.m_HumanNameChangedDispatcher = new EventQueue.PropertyEventDispatcher(this.m_Parent.m_EventQueue, new PropertyEventHandler(this.HandleHumanNameChanged));
     this.m_Parent.Presentation.Owner.Changed["HumanName"].Add(this.m_HumanNameChangedDispatcher.Dispatcher);
     this.m_HumanNameChangedDispatcher.Dispatcher(this, null);
 }
Exemplo n.º 6
0
            protected override object SetUpMember(int index, object member)
            {
                Debug.Assert(!this.m_Parent.InvokeRequired);

                DisposableListViewItem item = new PresentationListViewItem(this.m_Parent.m_EventQueue, (PresentationModel)member);

                this.m_Parent.Items.Add(item);
                return item;
            }