Inheritance: System.Collections.CollectionBase, IEnumerable
Exemple #1
0
        public Rebar()
        {
            SetStyle(ControlStyles.StandardClick, true);
            SetStyle(ControlStyles.StandardDoubleClick, true);

            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.AllPaintingInWmPaint, true);

            //SetStyle(ControlStyles.ResizeRedraw, true);

            _embossHighlight = SystemColors.ControlLightLight;
            _embossShadow    = SystemColors.ControlDarkDark;
            _bands           = new RebarBandCollection(this);
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();
        }
Exemple #2
0
        public Rebar() {
            SetStyle( ControlStyles.StandardClick, true );
            SetStyle( ControlStyles.StandardDoubleClick, true );

            SetStyle( ControlStyles.DoubleBuffer, true );
            SetStyle( ControlStyles.UserPaint, true );
            SetStyle( ControlStyles.AllPaintingInWmPaint, true );

            //SetStyle(ControlStyles.ResizeRedraw, true);

            _embossHighlight = SystemColors.ControlLightLight;
            _embossShadow = SystemColors.ControlDarkDark;
            _bands = new RebarBandCollection( this );
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

        }
 public BandEnumerator( RebarBandCollection Bands ) {
     Collection = Bands;
     Index = -1;
 }
 public BandEnumerator(RebarBandCollection Bands)
 {
     Collection = Bands;
     Index      = -1;
 }
Exemple #5
0
 internal void DestroyBand() {
     if ( Created ) {
         win32.SendMessage( _bands.Rebar.RebarHwnd, (int)win32.RB_DELETEBAND, (uint)BandIndex, 0U );
         _bands = null;
         _created = false;
     }
 }