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

            _buffer         = new StringCycleBuffer(DefaultCapacity);
            _topRow         = 0;
            _firstColumn    = 0;
            _NuGenTSelector = new NuGenTSelector();
            _NuGenTSelector.NuGenTSelectorUpdated += new EventHandler(NuGenTSelectorUpdated);
            _NuGenTSelectorForeColor = Color.White;
            _NuGenTSelectorBackColor = Color.Blue;

            SetStyle(ControlStyles.AllPaintingInWmPaint, true);
            SetStyle(ControlStyles.DoubleBuffer, true);
            SetStyle(ControlStyles.UserPaint, true);
            SetStyle(ControlStyles.ResizeRedraw, true);
        }
Exemplo n.º 2
0
        public NuGenTBase ()
        {
            // This call is required by the Windows.Forms Form Designer.
            InitializeComponent ();

            _buffer = new StringCycleBuffer (DefaultCapacity);
            _topRow = 0;
            _firstColumn = 0;
            _NuGenTSelector = new NuGenTSelector ();
            _NuGenTSelector.NuGenTSelectorUpdated += new EventHandler (NuGenTSelectorUpdated);
            _NuGenTSelectorForeColor = Color.White;
            _NuGenTSelectorBackColor = Color.Blue;

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