ATMLCommonLibrary.controls.awb.AWBTabControl.AWBTabControl C# (CSharp) Method

AWBTabControl() public method

public AWBTabControl ( ) : System
return System
        public AWBTabControl()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();
            MouseMove += tabControl_MouseMove;
            MouseLeave += tabControl_MouseLeave;

            // double buffering
            SetStyle( ControlStyles.UserPaint, true );
            SetStyle( ControlStyles.AllPaintingInWmPaint, true );
            SetStyle( ControlStyles.DoubleBuffer, true );
            SetStyle( ControlStyles.ResizeRedraw, true );
            SetStyle( ControlStyles.SupportsTransparentBackColor, true );

            _upDown = false;

            ControlAdded += AWBTabControl_ControlAdded;
            ControlRemoved += AWBTabControl_ControlRemoved;
            SelectedIndexChanged += AWBTabControl_SelectedIndexChanged;

            leftRightImages = new ImageList();
            //leftRightImages.ImageSize = new Size(16, 16); // default

            var resources = new ResourceManager( typeof (AWBTabControl) );
            //Bitmap updownImage = ((System.Drawing.Bitmap)(resources.GetObject("TabIcons.bmp")));

            //if (updownImage != null)
            //{
            //	updownImage.MakeTransparent(Color.White);
            //	leftRightImages.Images.AddStrip(updownImage);
            //}
        }