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); }
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); }
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); }
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; }