Ejemplo n.º 1
0
 protected void AddActiveRect(Rectangle rc, TRectangleAction action)
 {
     if (m_bRectsCreated == false)
     {
         m_rects.Add(new ActRect(this, rc, action));
     }
 }
Ejemplo n.º 2
0
 public ActRect(Control parent, Rectangle rc, TRectangleAction act, object tag)
 {
     m_parent = parent;
     m_rect   = rc;
     m_state  = TRectangleStatus.Normal;
     m_act    = act;
     m_tag    = tag;
 }
Ejemplo n.º 3
0
            }             // disable default contructor

            public ActRect(Control parent, Rectangle rc, TRectangleStatus state, TRectangleAction act, bool invalidate)
            {
                m_parent      = parent;
                m_rect        = rc;
                m_state       = state;
                m_bInvalidate = invalidate;
                m_act         = act;
            }
Ejemplo n.º 4
0
 public ActRect(Control parent, Rectangle rc, TRectangleAction act)
     : this(parent, rc, TRectangleStatus.Normal, act, true)
 {
 }
 protected void AddActiveRect( Rectangle rc, TRectangleAction action )
 {
     if( m_bRectsCreated == false )
       {
     m_rects.Add( new ActRect( this, rc, action ) );
       }
 }
 public ActRect( Control parent, Rectangle rc, TRectangleAction act )
     : this(parent, rc, TRectangleStatus.Normal, act, true)
 {
 }
 public ActRect( Control parent, Rectangle rc, TRectangleAction act, object tag )
 {
     m_parent      = parent;
     m_rect        = rc;
     m_state       = TRectangleStatus.Normal;
     m_act         = act;
     m_tag         = tag;
 }
 public ActRect( Control parent, Rectangle rc, TRectangleStatus state, TRectangleAction act, bool invalidate )
 {
     m_parent      = parent;
     m_rect        = rc;
     m_state       = state;
     m_bInvalidate = invalidate;
     m_act         = act;
 }