Exemplo n.º 1
0
        public MozItem()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent();

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

            // TODO: Add any initialization after the InitializeComponent call

            m_imageCollection = new ImageCollection(this);

            image = null;

            m_state = MozItemState.Normal;

            m_itemStyle = MozItemStyle.TextAndPicture;
            m_textAlign = MozTextAlign.Bottom;
            DoLayout();
        }
Exemplo n.º 2
0
		public MozItem()
		{
			// This call is required by the Windows.Forms Form Designer.
			InitializeComponent();

			this.SetStyle(ControlStyles.DoubleBuffer, true);
			this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
			this.SetStyle(ControlStyles.UserPaint, true);
			this.SetStyle(ControlStyles.ResizeRedraw, true);
			this.SetStyle(ControlStyles.SupportsTransparentBackColor, true);

			// TODO: Add any initialization after the InitializeComponent call
			
			m_imageCollection = new ImageCollection(this); 
									
			image = null;
								
			m_state = MozItemState.Normal;
 			
			m_itemStyle = MozItemStyle.TextAndPicture;
			m_textAlign = MozTextAlign.Bottom; 
			DoLayout();
            			
		}