public MainBlock(NuGenCustomTypeEditorServiceContext serviceContext)
            {
                if (serviceContext == null)
                {
                    throw new ArgumentNullException("serviceContext");
                }

                _pictureBox        = new EditorPictureBox(serviceContext);
                _pictureBox.Paint += _pictureBox_Paint;

                _headerTextBox          = new HeaderTextBox();
                _headerTextBox.Dock     = DockStyle.Fill;
                _headerTextBox.TabIndex = 0;

                _textTextBox          = new ContentTextBox();
                _textTextBox.Dock     = DockStyle.Fill;
                _textTextBox.TabIndex = 1;

                _layoutPanel = new EditorTableLayoutPanel();
                _layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 130));
                _layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100));
                _layoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 26));
                _layoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100));
                _layoutPanel.Controls.Add(_headerTextBox, 0, 0);
                _layoutPanel.Controls.Add(_pictureBox, 0, 1);
                _layoutPanel.Controls.Add(_textTextBox, 1, 1);
                _layoutPanel.SetColumnSpan(_headerTextBox, 2);
                _layoutPanel.Parent = this;

                this.Dock = DockStyle.Fill;
            }
			public RemarksBlock(NuGenCustomTypeEditorServiceContext serviceContext)
			{
				if (serviceContext == null)
				{
					throw new ArgumentNullException("serviceContext");
				}

				_pictureBox = new EditorPictureBox(serviceContext);

				_remarksHeaderTextBox = new HeaderTextBox();
				_remarksHeaderTextBox.Dock = DockStyle.Fill;
				_remarksHeaderTextBox.TabIndex = 0;

				_remarksTextBox = new ContentTextBox();
				_remarksTextBox.Dock = DockStyle.Fill;
				_remarksTextBox.TabIndex = 1;

				_layoutPanel = new EditorTableLayoutPanel();
				_layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 30));
				_layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100));
				_layoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 26));
				_layoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100));
				_layoutPanel.Controls.Add(_pictureBox, 0, 0);
				_layoutPanel.Controls.Add(_remarksHeaderTextBox, 1, 0);
				_layoutPanel.Controls.Add(_remarksTextBox, 1, 1);
				_layoutPanel.Parent = this;

				this.Dock = DockStyle.Bottom;
			}
            public RemarksBlock(NuGenCustomTypeEditorServiceContext serviceContext)
            {
                if (serviceContext == null)
                {
                    throw new ArgumentNullException("serviceContext");
                }

                _pictureBox = new EditorPictureBox(serviceContext);

                _remarksHeaderTextBox          = new HeaderTextBox();
                _remarksHeaderTextBox.Dock     = DockStyle.Fill;
                _remarksHeaderTextBox.TabIndex = 0;

                _remarksTextBox          = new ContentTextBox();
                _remarksTextBox.Dock     = DockStyle.Fill;
                _remarksTextBox.TabIndex = 1;

                _layoutPanel = new EditorTableLayoutPanel();
                _layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 30));
                _layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100));
                _layoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 26));
                _layoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100));
                _layoutPanel.Controls.Add(_pictureBox, 0, 0);
                _layoutPanel.Controls.Add(_remarksHeaderTextBox, 1, 0);
                _layoutPanel.Controls.Add(_remarksTextBox, 1, 1);
                _layoutPanel.Parent = this;

                this.Dock = DockStyle.Bottom;
            }
			public MainBlock(NuGenCustomTypeEditorServiceContext serviceContext)
			{
				if (serviceContext == null)
				{
					throw new ArgumentNullException("serviceContext");
				}

				_pictureBox = new EditorPictureBox(serviceContext);
				_pictureBox.Paint += _pictureBox_Paint;

				_headerTextBox = new HeaderTextBox();
				_headerTextBox.Dock = DockStyle.Fill;
				_headerTextBox.TabIndex = 0;

				_textTextBox = new ContentTextBox();
				_textTextBox.Dock = DockStyle.Fill;
				_textTextBox.TabIndex = 1;

				_layoutPanel = new EditorTableLayoutPanel();
				_layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Absolute, 130));
				_layoutPanel.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100));
				_layoutPanel.RowStyles.Add(new RowStyle(SizeType.Absolute, 26));
				_layoutPanel.RowStyles.Add(new RowStyle(SizeType.Percent, 100));
				_layoutPanel.Controls.Add(_headerTextBox, 0, 0);
				_layoutPanel.Controls.Add(_pictureBox, 0, 1);
				_layoutPanel.Controls.Add(_textTextBox, 1, 1);
				_layoutPanel.SetColumnSpan(_headerTextBox, 2);
				_layoutPanel.Parent = this;

				this.Dock = DockStyle.Fill;
			}