Ejemplo n.º 1
0
		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;
		}
Ejemplo n.º 2
0
		public void InitForGhostItems(FdoCache cache, XmlNode colSpec)
		{
			m_ghostParentHelper = BulkEditBar.GetGhostHelper(cache.ServiceLocator, colSpec);
		}
Ejemplo n.º 3
0
		/// <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;
		}