public ComplexListChooserBEditControl(int flid, int hvoList, string displayNameProperty, string fieldName, string displayWs, GhostParentHelper gph) { m_hvoList = hvoList; m_flid = flid; m_launcher = new Button(); m_launcher.Text = XMLViewsStrings.ksChoose_; m_launcher.Click += new EventHandler(m_launcher_Click); m_displayNameProperty = displayNameProperty; m_fieldName = fieldName; m_displayWs = displayWs; m_ghostParentHelper = gph; }
public void InitForGhostItems(FdoCache cache, XmlNode colSpec) { m_ghostParentHelper = BulkEditBar.GetGhostHelper(cache.ServiceLocator, colSpec); }
/// <summary> /// needed for AllowDeleteItem(). /// </summary> /// <returns></returns> private GhostParentHelper UpdateCurrentGhostParentHelper() { m_ghostParentHelper = null; // see if the object is a ghost object owner. foreach (GhostParentHelper helper in m_bulkEditListItemsGhostFields) { if (helper.TargetClass == m_expectedListItemsClassId) { m_ghostParentHelper = helper; break; } } return m_ghostParentHelper; }