Exemplo n.º 1
0
        public Group(string xName,Panel pnl,Group pParent, delegate_NewGroupSelected delegate_NewGroupSelected_trigger,ref int yPos,int xbutton_height,int xfont_height)
        {
            button_height = xbutton_height;
            font_height = xfont_height;
            m_delegate_NewGroupSelected_trigger = delegate_NewGroupSelected_trigger;
            m_pnl = pnl;
            if (m_pnl!=null)
            {
                default_back_color = m_pnl.BackColor;
            }
            m_pParent = pParent;
            yPos += button_height + 2;
            m_Name = xName;
            if (xName == null)
            {
               m_Name_In_Language += " " + lngRPM.s_Other.s;
            }
            else
            {

                m_Name_In_Language = m_Name;
            }

            if (m_pParent != null)
            {
                if (m_pParent.m_GroupList== null)
                {
                    m_pParent.m_GroupList = new GroupList(this);
                }
                m_pParent.m_GroupList.Add(this);
            }
        }
Exemplo n.º 2
0
 internal void PurgeNotNull(Panel pnl_Group, DataRow[] drs_not_null, delegate_NewGroupSelected doPaintGroup)
 {
     if (this.m_GroupList != null)
     {
         this.m_GroupList.PurgeNotNull(pnl_Group, drs_not_null, doPaintGroup);
     }
 }