Пример #1
0
        public void SetUp()
        {
            _panel = new ErrorPanelLayout();

            _aToolbar = new Panel();
            _aContent = new Panel();

            return;
        }
Пример #2
0
        /// <summary>
        /// Builds a new instance of ErrorBrowser.
        /// </summary>
        public ErrorBrowser()
        {
            _layout         = new ErrorPanelLayout();
            _layout.Toolbar = new ErrorToolbar();
            Toolbar.SelectedRendererChanged += new EventHandler(Toolbar_SelectedRendererChanged);

            Controls.Add(_layout);
            _layout.Left   = 0;
            _layout.Top    = 0;
            _layout.Width  = Width;
            _layout.Height = Height;

            _layout.Anchor = AnchorStyles.Top |
                             AnchorStyles.Left |
                             AnchorStyles.Bottom |
                             AnchorStyles.Right;

            return;
        }
        /// <summary>
        /// Builds a new instance of ErrorBrowser.
        /// </summary>
        public ErrorBrowser()
        {            
            _layout = new ErrorPanelLayout();
            _layout.Toolbar = new ErrorToolbar();            
            Toolbar.SelectedRendererChanged += new EventHandler(Toolbar_SelectedRendererChanged);

            Controls.Add(_layout);
            _layout.Left = 0;
            _layout.Top = 0;
            _layout.Width = Width;
            _layout.Height = Height;

            _layout.Anchor = AnchorStyles.Top |
                             AnchorStyles.Left |
                             AnchorStyles.Bottom |
                             AnchorStyles.Right;

            return;
        }