private void SubGrid(object sender, EventArgs rArgs)
        {
            Button button = sender as Button;

            if (button == null)
            {
                return;
            }
            string imageDisplaySet = (string)button.Tag;

            if (imageDisplaySet == null || imageDisplaySet == "")
            {
                return;
            }

            if (imageDisplaySet == "CUSTOM")
            {
                int row = int.Parse(this.RowNumeric.Text);
                int col = int.Parse(this.ColumnNumeric.Text);
                if (row == 0 || col == 0)
                {
                    return;
                }
                displayFormat = LayoutFactory.TileFactory(row, col);
            }
            else
            {
                displayFormat = ImageDisplayFormat.FromDicomString(imageDisplaySet);
            }

            if (this.fenge.Checked)
            {
                _component.SetTileGrid(displayFormat);
                if (printComponent != null)
                {
                    printComponent.DicomPrinterConfigurationEditorComponent.ImageDisplayFormat = new PrinterImageDisplayFormat()
                    {
                        Value = displayFormat.DicomString
                    };;
                }
            }
            else
            {
                _component.SubGrid(displayFormat);
            }
        }