Ejemplo n.º 1
0
        /// <summary>
        ///
        /// </summary>
        public override void CreateActionPanels()
        {
            MainActionPanel = new ActionPanel.ActionPanel(BusinessObject, this);

            base.CreateActionPanels();

            AddActionPanel(MainActionPanel, ActionPanelPosition.Bottom);
        }
Ejemplo n.º 2
0
        /*
         * protected virtual ISearchPanel CreateSearchPanel()
         * {
         *  //return new BaseSearchPanel();
         *  return new BaseSearchPanel(typeof(T), false, null, null, SearchPanelLabelWidth);
         * }
         */

        public virtual ISearchPanel CreateSearchPanel
            (ActionPanel.ActionPanel panel, Func <SearchPanelMetaItem, SearchPanelMetaItem> item, Func <IObject, IObject> adjustObject)
        {
            if (m_SearchPanel == null)
            {
                m_SearchPanel         = new BaseSearchPanel(typeof(T), false, null, panel, SearchPanelLabelWidth, item, adjustObject);
                m_SearchPanel.Search += SearchPanel_Search;
            }
            return(m_SearchPanel);
        }
Ejemplo n.º 3
0
 public override ISearchPanel CreateSearchPanel(ActionPanel.ActionPanel panel, Func <SearchPanelMetaItem, SearchPanelMetaItem> item, Func <IObject, IObject> adjustObject)
 {
     //return new BaseSearchPanel();
     if (m_SearchPanel == null)
     {
         m_SearchPanel         = new BaseSearchPanel(typeof(T), true, InitialSearchFilter, panel, SearchPanelLabelWidth, item, adjustObject);
         m_SearchPanel.Search += SearchPanel_Search;
     }
     return(m_SearchPanel);
 }
Ejemplo n.º 4
0
 /// <summary>
 ///
 /// </summary>
 public override void CreateActionPanels()
 {
     TopActionPanel = new ActionPanel.ActionPanel(BusinessObject, this);
     base.CreateActionPanels();
     AddActionPanel(TopActionPanel, ActionPanelPosition.Top);
 }