public CheckItemLink(ListViewItem lviSource, ListViewItem lviTarget, CheckItemLinkType cilType) { m_lvSource = lviSource; m_lvTarget = lviTarget; m_t = cilType; }
public void AddLink(ListViewItem lviSource, ListViewItem lviTarget, CheckItemLinkType t) { if(lviSource == null) { Debug.Assert(false); return; } if(lviTarget == null) { Debug.Assert(false); return; } if(m_lv == null) { Debug.Assert(false); return; } Debug.Assert(m_vListViewItems.IndexOf(lviSource) >= 0); Debug.Assert(m_vListViewItems.IndexOf(lviTarget) >= 0); m_vLinks.Add(new CheckItemLink(lviSource, lviTarget, t)); }
public void AddLink(ListViewItem lviSource, ListViewItem lviTarget, CheckItemLinkType t) { if (lviSource == null) { Debug.Assert(false); return; } if (lviTarget == null) { Debug.Assert(false); return; } if (m_lv == null) { Debug.Assert(false); return; } Debug.Assert(GetItem(lviSource) != null); Debug.Assert(GetItem(lviTarget) != null); m_lLinks.Add(new CheckItemLink(lviSource, lviTarget, t)); }
public CheckItemLink(ListViewItem lviSource, ListViewItem lviTarget, CheckItemLinkType cilType) { m_lvSource = lviSource; m_lvTarget = lviTarget; m_t = cilType; }