示例#1
0
        public override Control CreateControl()
        {
            GridControlBase grid = new SampleGrid(this);

            grid.FillSplitterPane = true;
            return(grid);
        }
示例#2
0
        public SplitterFrame()
        {
            model = new GridModel();
            SampleGrid.SetupGridModel(model);
            InitializeComponent();

            grid1.Model            = model;
            grid1.GridVisualStyles = GridVisualStyles.Metro;
        }
示例#3
0
        public GridFrame(GridModel model)
        {
            this.model = model;
            SampleGrid.SetupGridModel(model);
            InitializeComponent();

            grid1.Model.SelectionChanging += new GridSelectionChangingEventHandler(grid1_SelectionChanging);
            this.grid1.CurrentCell.MoveTo(1, 1);

            grid1.Model = model;
        }
示例#4
0
        public GridDialog()
        {
            //
            // Required for Windows Form Designer support
            //
            model = new GridModel();
            SampleGrid.SetupGridModel(model);
            InitializeComponent();

            grid1.Model = model;

            bool transparent = true;
            bool alpablend   = false;

            if (transparent)
            {
                // Transparent
                if (alpablend)
                {
                    // I can either do alphablending
                    grid1.SupportsTransparentBackColor = true;
                    grid1.TableStyle.Interior          = new BrushInfo(Color.FromArgb(50, 204, 212, 230));
                }
                else
                {
                    // or tell grid not to draw background of cells
                    grid1.TransparentBackground = true;
                }

                // (grid.TransparentBackground completely disables background drawing for all cells
                // whereas SupportsTransparentBackColor = true  together with TransparentBackground
                // lets me do alphablending).

                Type             type   = typeof(Bitmap);
                System.IO.Stream stream = typeof(SampleGrid).Module.Assembly.GetManifestResourceStream(ApplicationMain.manifestNamespace + "logo_800_edf0f7.jpg");
                Bitmap           bm     = new Bitmap(stream);
                grid1.BackgroundImage  = bm;
                grid1.GridVisualStyles = Windows.Forms.GridVisualStyles.Metro;
            }

            // attach my own scrollbars to grid
            grid1.HScrollBehavior                       = GridScrollbarMode.Shared;
            grid1.VScrollBehavior                       = GridScrollbarMode.Shared;
            grid1.UseSharedScrollBars                   = true;
            grid1.VScrollBar.InnerScrollBar             = this.vScrollBar1;
            grid1.HScrollBar.InnerScrollBar             = this.hScrollBar1;
            grid1.VerticalThumbTrack                    = true;
            grid1.HorizontalThumbTrack                  = true;
            grid1.Model.EnableGridListControlInComboBox = false;
            // Have grid not occupy the whole client rectangle
//			Rectangle r = grid1.ClientRectangle;
//			r.Inflate(-20, -20);
//			grid1.GridBounds = r;
        }
示例#5
0
 public SplitterFrame()
 {
     model = new GridModel();
     SampleGrid.SetupGridModel(model);
     InitializeComponent();
     if (DpiAware.GetCurrentDpi() > 96)
     {
         this.CaptionBarHeight = (int)DpiAware.LogicalToDeviceUnits(this.CaptionBarHeight);
     }
     grid1.Model            = model;
     grid1.GridVisualStyles = GridVisualStyles.Metro;
 }
示例#6
0
        //private bool inUpdate = false;
        //private int savedRecord = -1;
        #endregion

        #region Constructor
        public RecordFrame()
        {
            model = new GridModel();
            SampleGrid.SetupGridModel(model);
            InitializeComponent();

            grid1.Model = model;
            this.grid1.CurrentCell.MoveTo(1, 1);

            this.grid1.GridVisualStyles = GridVisualStyles.Metro;

            model.EnableGridListControlInComboBox = false;
        }
示例#7
0
        public GridFrame()
        {
            model = new GridModel();
            SampleGrid.SetupGridModel(model);
            InitializeComponent();

            grid1.Model.SelectionChanging += new GridSelectionChangingEventHandler(grid1_SelectionChanging);
            this.grid1.CurrentCell.MoveTo(1, 1);

            grid1.Model = model;
            grid1.Model.EnableGridListControlInComboBox = false;
            grid1.GridVisualStyles = Windows.Forms.GridVisualStyles.Metro;
        }
示例#8
0
        //private bool inUpdate = false;
        //private int savedRecord = -1;
        #endregion

        #region Constructor
        public RecordFrame()
        {
            model = new GridModel();
            SampleGrid.SetupGridModel(model);
            InitializeComponent();
            if (DpiAware.GetCurrentDpi() > 96)
            {
                this.CaptionBarHeight = (int)DpiAware.LogicalToDeviceUnits(this.CaptionBarHeight);
            }
            grid1.Model = model;
            this.grid1.CurrentCell.MoveTo(1, 1);

            this.grid1.GridVisualStyles = GridVisualStyles.Metro;

            model.EnableGridListControlInComboBox = false;
        }
示例#9
0
        // Sample code for inserting a work sheet.

        protected override void OnCellDoubleClick(GridCellClickEventArgs e)
        {
            WorkbookForm form = FindForm() as WorkbookForm;

            if (form != null)
            {
                WorkbookModel workbook = form.WorkbookView.Workbook;

                GridModel sheet3 = new SampleGridModel();
                SampleGrid.SetupGridModel(sheet3);

                WorksheetModel workSheetModel = new WorksheetModel(workbook, "Sheet 3", sheet3);
                workbook.Worksheets.Add(workSheetModel);

                form.WorkbookView.ActivePage = form.WorkbookView.TabBarPages[workbook.Worksheets.Count - 1];
            }

            base.OnCellDoubleClick(e);
        }
示例#10
0
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.recordNavigationControl1 = new Syncfusion.Windows.Forms.Grid.GridRecordNavigationControl();
     this.grid1      = new SampleGrid();
     this.components = new Container();
     this.recordNavigationControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.grid1)).BeginInit();
     this.SuspendLayout();
     //
     // recordNavigationControl1
     //
     this.recordNavigationControl1.AllowAddNew = false;
     this.recordNavigationControl1.Controls.Add(this.grid1);
     this.recordNavigationControl1.DisabledArrowColor = System.Drawing.SystemColors.GrayText;
     this.recordNavigationControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.recordNavigationControl1.EnabledArrowColor = System.Drawing.SystemColors.WindowText;
     this.recordNavigationControl1.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F, System.Drawing.FontStyle.Bold);
     this.recordNavigationControl1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.recordNavigationControl1.Location             = new System.Drawing.Point(0, 0);
     this.recordNavigationControl1.MaxRecord            = 0;
     this.recordNavigationControl1.MinRecord            = 1;
     this.recordNavigationControl1.MinRepeatClickDelay  = 15;
     this.recordNavigationControl1.Name = "recordNavigationControl1";
     this.recordNavigationControl1.NavigationBarBackColor = System.Drawing.SystemColors.Window;
     this.recordNavigationControl1.ShowToolTips           = true;
     this.recordNavigationControl1.Size          = new System.Drawing.Size(284, 262);
     this.recordNavigationControl1.SplitBars     = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.recordNavigationControl1.TabIndex      = 0;
     this.recordNavigationControl1.ThemesEnabled = true;
     this.recordNavigationControl1.Enter        += new System.EventHandler(this.SplitterEnter);
     this.recordNavigationControl1.GotFocus     += new System.EventHandler(this.SplitterGotFocus);
     //
     // grid1
     //
     this.grid1.AllowDragSelectedCols = true;
     this.grid1.AllowDragSelectedRows = true;
     this.grid1.BackColor             = System.Drawing.Color.White;
     this.grid1.ColCount                = 0;
     this.grid1.DefaultColWidth         = 0;
     this.grid1.DefaultGridBorderStyle  = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.grid1.DefaultRowHeight        = 20;
     this.grid1.ExcelLikeCurrentCell    = true;
     this.grid1.ExcelLikeSelectionFrame = true;
     this.grid1.FillSplitterPane        = true;
     this.grid1.Font      = new System.Drawing.Font("Verdana", 8.25F);
     this.grid1.ForeColor = System.Drawing.SystemColors.WindowText;
     gridCellInfo1.Col    = -1;
     gridCellInfo1.Row    = -1;
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Verdana";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo1.StyleInfo.TextColor      = System.Drawing.Color.MidnightBlue;
     gridCellInfo2.Col = -1;
     gridCellInfo2.Row = -1;
     gridCellInfo2.StyleInfo.Font.Facename = "Verdana";
     gridCellInfo2.StyleInfo.TextColor     = System.Drawing.Color.MidnightBlue;
     this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1,
         gridCellInfo2
     });
     this.grid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.grid1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.grid1.HorizontalScrollTips = true;
     this.grid1.HorizontalThumbTrack = true;
     this.grid1.Location             = new System.Drawing.Point(0, 0);
     this.grid1.MetroScrollBars      = true;
     this.grid1.Name = "grid1";
     this.grid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grid1.Properties.MarkColHeader = false;
     this.grid1.Properties.MarkRowHeader = false;
     this.grid1.RowCount           = 0;
     this.grid1.Size               = new System.Drawing.Size(263, 241);
     this.grid1.SmartSizeBox       = false;
     this.grid1.ThemesEnabled      = true;
     this.grid1.VerticalScrollTips = true;
     //
     // RecordFrame
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CausesValidation  = false;
     this.ClientSize        = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.recordNavigationControl1);
     this.Name = "RecordFrame";
     this.Text = "Grid Splitter";
     this.recordNavigationControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.grid1)).EndInit();
     this.ResumeLayout(false);
 }
示例#11
0
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.grid1 = new SampleGrid();
     ((System.ComponentModel.ISupportInitialize)(this.grid1)).BeginInit();
     this.components = new Container();
     this.SuspendLayout();
     //
     // grid1
     //
     this.grid1.AllowDragSelectedCols = true;
     this.grid1.AllowDragSelectedRows = true;
     this.grid1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.grid1.BackColor              = System.Drawing.Color.White;
     this.grid1.ColCount               = 0;
     this.grid1.DefaultColWidth        = 0;
     this.grid1.DefaultGridBorderStyle = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.grid1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.grid1.ExcelLikeCurrentCell    = true;
     this.grid1.ExcelLikeSelectionFrame = true;
     this.grid1.Font      = new System.Drawing.Font("Segoe UI", 8.25F);
     this.grid1.ForeColor = System.Drawing.SystemColors.WindowText;
     gridCellInfo1.Col    = -1;
     gridCellInfo1.Row    = -1;
     gridCellInfo1.StyleInfo.Borders.Bottom = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     gridCellInfo1.StyleInfo.Borders.Right  = new Syncfusion.Windows.Forms.Grid.GridBorder(Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid, System.Drawing.Color.FromArgb(((int)(((byte)(234)))), ((int)(((byte)(234)))), ((int)(((byte)(234))))), Syncfusion.Windows.Forms.Grid.GridBorderWeight.ExtraThin);
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Interior       = new Syncfusion.Drawing.BrushInfo(System.Drawing.Color.White);
     gridCellInfo1.StyleInfo.TextColor      = System.Drawing.Color.FromArgb(((int)(((byte)(138)))), ((int)(((byte)(138)))), ((int)(((byte)(138)))));
     this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1
     });
     this.grid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.grid1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.grid1.DefaultRowHeight     = (int)DpiAware.LogicalToDeviceUnits(20.0f);
     this.grid1.HorizontalScrollTips = true;
     this.grid1.HorizontalThumbTrack = true;
     this.grid1.Location             = new System.Drawing.Point(0, 0);
     this.grid1.MetroScrollBars      = true;
     this.grid1.Name = "grid1";
     this.grid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grid1.Properties.MarkColHeader = false;
     this.grid1.Properties.MarkRowHeader = false;
     this.grid1.RowCount           = 0;
     this.grid1.Size               = this.ClientSize;
     this.grid1.SmartSizeBox       = false;
     this.grid1.TabIndex           = 1;
     this.grid1.ThemesEnabled      = true;
     this.grid1.VerticalScrollTips = true;
     //
     // GridFrame
     //
     this.CausesValidation    = false;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(352, 333);
     this.Controls.Add(this.grid1);
     this.Name = "GridFrame";
     ((System.ComponentModel.ISupportInitialize)(this.grid1)).EndInit();
     this.ResumeLayout(false);
 }
示例#12
0
 /// <summary>
 ///    Required method for Designer support - do not modify
 ///    the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.splitterControl1 = new Syncfusion.Windows.Forms.SplitterControl();
     this.grid1            = new SampleGrid();
     this.components       = new Container();
     this.splitterControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // splitterControl1
     //
     this.splitterControl1.Controls.Add(this.grid1);
     this.splitterControl1.Dock                 = System.Windows.Forms.DockStyle.Fill;
     this.splitterControl1.Location             = new System.Drawing.Point(0, 0);
     this.splitterControl1.Name                 = "splitterControl1";
     this.splitterControl1.ShowToolTips         = true;
     this.splitterControl1.Size                 = new System.Drawing.Size(284, 262);
     this.splitterControl1.SplitBars            = ((Syncfusion.Windows.Forms.DynamicSplitBars)((Syncfusion.Windows.Forms.DynamicSplitBars.SplitRows | Syncfusion.Windows.Forms.DynamicSplitBars.SplitColumns)));
     this.splitterControl1.TabIndex             = 0;
     this.splitterControl1.ThemesEnabled        = true;
     this.splitterControl1.GridOfficeScrollBars = OfficeScrollBars.Metro;
     //
     // grid1
     //
     this.grid1.AllowDragSelectedCols = true;
     this.grid1.AllowDragSelectedRows = true;
     this.grid1.BackColor             = System.Drawing.Color.White;
     this.grid1.ColCount                = 0;
     this.grid1.DefaultColWidth         = 0;
     this.grid1.DefaultGridBorderStyle  = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.grid1.DefaultRowHeight        = 0;
     this.grid1.ExcelLikeCurrentCell    = true;
     this.grid1.ExcelLikeSelectionFrame = true;
     this.grid1.FillSplitterPane        = true;
     this.grid1.Font      = new System.Drawing.Font("Verdana", 8.25F);
     this.grid1.ForeColor = System.Drawing.SystemColors.WindowText;
     gridCellInfo1.Col    = -1;
     gridCellInfo1.Row    = -1;
     gridCellInfo1.StyleInfo.Font.Facename = "Verdana";
     gridCellInfo1.StyleInfo.TextColor     = System.Drawing.Color.MidnightBlue;
     this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1
     });
     this.grid1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.grid1.HorizontalScrollTips = true;
     this.grid1.HorizontalThumbTrack = true;
     this.grid1.Location             = new System.Drawing.Point(0, 0);
     this.grid1.Name = "grid1";
     this.grid1.Properties.GridLineColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grid1.RowCount           = 0;
     this.grid1.Size               = new System.Drawing.Size(263, 241);
     this.grid1.SmartSizeBox       = false;
     this.grid1.ThemesEnabled      = true;
     this.grid1.VerticalScrollTips = true;
     //
     // SplitterFrame
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
     this.CausesValidation  = false;
     this.ClientSize        = new System.Drawing.Size(284, 262);
     this.Controls.Add(this.splitterControl1);
     this.Name = "SplitterFrame";
     this.Text = "Grid Splitter";
     this.splitterControl1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
示例#13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo1 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo2 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     Syncfusion.Windows.Forms.Grid.GridCellInfo gridCellInfo3 = new Syncfusion.Windows.Forms.Grid.GridCellInfo();
     this.grid1       = new Syncfusion.Samples.GridPad.SampleGrid();
     this.hScrollBar1 = new System.Windows.Forms.HScrollBar();
     this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
     ((System.ComponentModel.ISupportInitialize)(this.grid1)).BeginInit();
     this.SuspendLayout();
     //
     // grid1
     //
     this.grid1.AllowDragSelectedCols    = true;
     this.grid1.AllowDragSelectedRows    = true;
     this.grid1.AlphaBlendSelectionColor = System.Drawing.Color.FromArgb(((int)(((byte)(64)))), ((int)(((byte)(94)))), ((int)(((byte)(171)))), ((int)(((byte)(222)))));
     this.grid1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.grid1.BackColor               = System.Drawing.Color.White;
     this.grid1.ColCount                = 0;
     this.grid1.DefaultColWidth         = 0;
     this.grid1.DefaultGridBorderStyle  = Syncfusion.Windows.Forms.Grid.GridBorderStyle.Solid;
     this.grid1.DefaultRowHeight        = 20;
     this.grid1.ExcelLikeCurrentCell    = true;
     this.grid1.ExcelLikeSelectionFrame = true;
     this.grid1.Font      = new System.Drawing.Font("Segoe UI", 9F);
     this.grid1.ForeColor = System.Drawing.SystemColors.WindowText;
     gridCellInfo1.Col    = -1;
     gridCellInfo1.Row    = -1;
     gridCellInfo1.StyleInfo.Font.Bold      = false;
     gridCellInfo1.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo1.StyleInfo.Font.Italic    = false;
     gridCellInfo1.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo1.StyleInfo.Font.Strikeout = false;
     gridCellInfo1.StyleInfo.Font.Underline = false;
     gridCellInfo1.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo1.StyleInfo.TextColor      = System.Drawing.Color.MidnightBlue;
     gridCellInfo2.Col = -1;
     gridCellInfo2.Row = -1;
     gridCellInfo2.StyleInfo.Font.Bold      = false;
     gridCellInfo2.StyleInfo.Font.Facename  = "Segoe UI";
     gridCellInfo2.StyleInfo.Font.Italic    = false;
     gridCellInfo2.StyleInfo.Font.Size      = 8.25F;
     gridCellInfo2.StyleInfo.Font.Strikeout = false;
     gridCellInfo2.StyleInfo.Font.Underline = false;
     gridCellInfo2.StyleInfo.Font.Unit      = System.Drawing.GraphicsUnit.Point;
     gridCellInfo2.StyleInfo.TextColor      = System.Drawing.Color.MidnightBlue;
     gridCellInfo3.Col = -1;
     gridCellInfo3.Row = -1;
     gridCellInfo3.StyleInfo.Font.Facename = "Segoe UI";
     gridCellInfo3.StyleInfo.TextColor     = System.Drawing.Color.MidnightBlue;
     this.grid1.GridCells.AddRange(new Syncfusion.Windows.Forms.Grid.GridCellInfo[] {
         gridCellInfo1,
         gridCellInfo2,
         gridCellInfo3
     });
     this.grid1.GridOfficeScrollBars = Syncfusion.Windows.Forms.OfficeScrollBars.Metro;
     this.grid1.GridVisualStyles     = Syncfusion.Windows.Forms.GridVisualStyles.Metro;
     this.grid1.HorizontalScrollTips = true;
     this.grid1.HorizontalThumbTrack = true;
     this.grid1.Location             = new System.Drawing.Point(20, 25);
     this.grid1.MetroScrollBars      = true;
     this.grid1.Name = "grid1";
     this.grid1.Properties.ForceImmediateRepaint = false;
     this.grid1.Properties.GridLineColor         = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
     this.grid1.Properties.MarkColHeader         = false;
     this.grid1.Properties.MarkRowHeader         = false;
     this.grid1.RowCount = 0;
     this.grid1.RowHeightEntries.AddRange(new Syncfusion.Windows.Forms.Grid.GridRowHeight[] {
         new Syncfusion.Windows.Forms.Grid.GridRowHeight(0, 29)
     });
     this.grid1.Size               = new System.Drawing.Size(932, 590);
     this.grid1.SmartSizeBox       = false;
     this.grid1.TabIndex           = 0;
     this.grid1.Text               = "grid1";
     this.grid1.ThemesEnabled      = true;
     this.grid1.VerticalScrollTips = true;
     //
     // hScrollBar1
     //
     this.hScrollBar1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                     | System.Windows.Forms.AnchorStyles.Right)));
     this.hScrollBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(172)))), ((int)(((byte)(38)))));
     this.hScrollBar1.Location  = new System.Drawing.Point(20, 618);
     this.hScrollBar1.Name      = "hScrollBar1";
     this.hScrollBar1.Size      = new System.Drawing.Size(932, 15);
     this.hScrollBar1.TabIndex  = 1;
     //
     // vScrollBar1
     //
     this.vScrollBar1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(172)))), ((int)(((byte)(38)))));
     this.vScrollBar1.Location  = new System.Drawing.Point(955, 25);
     this.vScrollBar1.Name      = "vScrollBar1";
     this.vScrollBar1.Size      = new System.Drawing.Size(16, 608);
     this.vScrollBar1.TabIndex  = 2;
     //
     // GridDialog
     //
     this.ClientSize = new System.Drawing.Size(1012, 656);
     this.Controls.Add(this.vScrollBar1);
     this.Controls.Add(this.hScrollBar1);
     this.Controls.Add(this.grid1);
     this.Name            = "GridDialog";
     this.Text            = "Grid Dialog";
     this.TransparencyKey = System.Drawing.SystemColors.Desktop;
     ((System.ComponentModel.ISupportInitialize)(this.grid1)).EndInit();
     this.ResumeLayout(false);
 }