예제 #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);
 }
예제 #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);
                }
예제 #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);
            }
예제 #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);
                }
예제 #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);
 }
예제 #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;
            }