Ejemplo n.º 1
0
        /// <summary>
        /// 行个数发生变化
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void rowCountChanged(object sender, EventArgs e)
        {
            if (int_row.Value > superGridControl1.PrimaryGrid.Rows.Count)
            {
                int addcount = int_row.Value - superGridControl1.PrimaryGrid.Rows.Count;
                for (int j = 0; j < addcount; j++)
                {
                    DevComponents.DotNetBar.SuperGrid.GridRow row = new DevComponents.DotNetBar.SuperGrid.GridRow();
                    for (int i = 0; i < superGridControl1.PrimaryGrid.Columns.Count; i++)
                    {
                        DevComponents.DotNetBar.SuperGrid.GridCell cell = new DevComponents.DotNetBar.SuperGrid.GridCell();
                        cell.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxXEditControl);
                        row.Cells.Add(cell);
                    }

                    superGridControl1.PrimaryGrid.Rows.Add(row);
                }
            }
            else if (int_row.Value < superGridControl1.PrimaryGrid.Rows.Count)
            {
                int deleteCount = superGridControl1.PrimaryGrid.Rows.Count - int_row.Value;
                for (int i = 0; i < deleteCount; i++)
                {
                    superGridControl1.PrimaryGrid.Rows.RemoveAt(superGridControl1.PrimaryGrid.Rows.Count - 1);
                }
            }
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 列个数发生变化
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void colCountChanged(object sender, EventArgs e)
        {
            if (int_col.Value > superGridControl1.PrimaryGrid.Columns.Count)
            {
                int addcount = int_col.Value - superGridControl1.PrimaryGrid.Columns.Count;

                for (int i = 0; i < addcount; i++)
                {
                    DevComponents.DotNetBar.SuperGrid.GridColumn col = new DevComponents.DotNetBar.SuperGrid.GridColumn("数据项" + (int_col.Value - addcount + 1 + i));
                    col.EditorType     = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxXEditControl);
                    col.AllowSelection = true;

                    for (int j = 0; j < superGridControl1.PrimaryGrid.Rows.Count; j++)
                    {
                        DevComponents.DotNetBar.SuperGrid.GridCell cell = new DevComponents.DotNetBar.SuperGrid.GridCell();
                        cell.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxXEditControl);
                    }
                    superGridControl1.PrimaryGrid.Columns.Add(col);
                }

                int colCnt = superGridControl1.PrimaryGrid.Columns.Count;
                int rowCnt = superGridControl1.PrimaryGrid.Rows.Count;
                string[,] data = new string[rowCnt, colCnt];
                for (int i = 0; i < rowCnt; i++)
                {
                    for (int j = 0; j < colCnt - 1; j++)
                    {
                        DevComponents.DotNetBar.SuperGrid.GridRow row = (DevComponents.DotNetBar.SuperGrid.GridRow)superGridControl1.PrimaryGrid.Rows[i];
                        if (row.Cells[j].Value == null)
                        {
                            data[i, j] = "";
                        }
                        else
                        {
                            data[i, j] = row.Cells[j].Value.ToString();
                        }
                    }
                }
                superGridControl1.PrimaryGrid.GridPanel.Rows.Clear();
                for (int i = 0; i < rowCnt; i++)
                {
                    DevComponents.DotNetBar.SuperGrid.GridRow row = new DevComponents.DotNetBar.SuperGrid.GridRow();
                    for (int j = 0; j < colCnt; j++)
                    {
                        DevComponents.DotNetBar.SuperGrid.GridCell cell = new DevComponents.DotNetBar.SuperGrid.GridCell();
                        cell.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxXEditControl);
                        cell.Value      = string.IsNullOrEmpty(data[i, j]) ? "" : data[i, j];
                        row.Cells.Add(cell);
                    }
                    superGridControl1.PrimaryGrid.Rows.Add(row);
                }
            }
            else if (int_col.Value < superGridControl1.PrimaryGrid.Columns.Count)
            {
                int deleteCount = superGridControl1.PrimaryGrid.Columns.Count - int_col.Value;
                for (int j = 0; j < deleteCount; j++)
                {
                    superGridControl1.PrimaryGrid.Columns.RemoveAt(superGridControl1.PrimaryGrid.Columns.Count - 1);
                }
            }
        }
Ejemplo n.º 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager     resources   = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     DevComponents.DotNetBar.SuperGrid.GridColumn       gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn       gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn       gridColumn3 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Padding    padding1    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.Style.Background background1 = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow1    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell1   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell2   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell3   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow2    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell4   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell5   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell6   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow3    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell7   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell8   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell9   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow4    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell10  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell11  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell12  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow5    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell13  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell14  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell15  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow6    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell16  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell17  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell18  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow7    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell19  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell20  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell21  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow8    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell22  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell23  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell24  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow9    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell25  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell26  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell27  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow10   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell28  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell29  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell30  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow11   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell31  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell32  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell33  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow12   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell34  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell35  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell36  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow13   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell37  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell38  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell39  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow14   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell40  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell41  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell42  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow15   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell43  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell44  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell45  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow16   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell46  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell47  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell48  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow          gridRow17   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell49  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell50  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell         gridCell51  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.rtb               = new DevComponents.DotNetBar.Controls.RichTextBoxEx();
     this.btnClose          = new DevComponents.DotNetBar.ButtonX();
     this.superGridControl1 = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.styleManager1     = new DevComponents.DotNetBar.StyleManager(this.components);
     this.SuspendLayout();
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "audio-headset.png");
     this.imageList1.Images.SetKeyName(1, "camera-web.png");
     this.imageList1.Images.SetKeyName(2, "input-gaming.png");
     this.imageList1.Images.SetKeyName(3, "media-flash-smart-media.png");
     this.imageList1.Images.SetKeyName(4, "network-wireless.png");
     //
     // rtb
     //
     this.rtb.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.rtb.BackColor            = System.Drawing.SystemColors.Window;
     this.rtb.BackColorRichTextBox = System.Drawing.Color.White;
     //
     //
     //
     this.rtb.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.rtb.Location = new System.Drawing.Point(551, 5);
     this.rtb.Name     = "rtb";
     this.rtb.ReadOnly = true;
     this.rtb.Size     = new System.Drawing.Size(254, 449);
     this.rtb.TabIndex = 4;
     this.rtb.TabStop  = false;
     //
     // btnClose
     //
     this.btnClose.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnClose.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btnClose.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnClose.Location       = new System.Drawing.Point(718, 469);
     this.btnClose.Name           = "btnClose";
     this.btnClose.Size           = new System.Drawing.Size(75, 23);
     this.btnClose.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.btnClose.TabIndex       = 5;
     this.btnClose.Text           = "Close";
     this.btnClose.Click         += new System.EventHandler(this.BtnCloseClick);
     //
     // superGridControl1
     //
     this.superGridControl1.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.superGridControl1.DefaultVisualStyles.CellStyles.Default.TextColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.superGridControl1.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.superGridControl1.Location = new System.Drawing.Point(3, 3);
     this.superGridControl1.Name     = "superGridControl1";
     this.superGridControl1.PrimaryGrid.ColumnHeader.Visible = false;
     gridColumn1.EditorType   = null;
     gridColumn1.Name         = "Key";
     gridColumn1.Visible      = false;
     gridColumn1.Width        = 200;
     gridColumn2.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.None;
     gridColumn2.CellStyles.Default.AllowWrap      = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True;
     gridColumn2.CellStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn2.EditorType   = null;
     gridColumn2.Name         = "Topic";
     gridColumn2.Width        = 280;
     gridColumn3.AutoSizeMode = DevComponents.DotNetBar.SuperGrid.ColumnAutoSizeMode.Fill;
     gridColumn3.EditorType   = typeof(DevComponents.DotNetBar.SuperGrid.GridLabelXEditControl);
     gridColumn3.Name         = "Column1";
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn1);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn2);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn3);
     this.superGridControl1.PrimaryGrid.DefaultRowHeight = 0;
     padding1.Bottom = 2;
     padding1.Left   = 4;
     padding1.Right  = 4;
     padding1.Top    = 2;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Margin           = padding1;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.GroupHeaderStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     background1.Color1 = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(115)))), ((int)(((byte)(69)))));
     background1.Color2 = System.Drawing.Color.FromArgb(((int)(((byte)(220)))), ((int)(((byte)(206)))), ((int)(((byte)(167)))));
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.GroupHeaderStyles.Default.Background = background1;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.GroupHeaderStyles.Default.Font       = new System.Drawing.Font("Segoe UI", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.superGridControl1.PrimaryGrid.FocusCuesEnabled  = false;
     this.superGridControl1.PrimaryGrid.GridLines         = DevComponents.DotNetBar.SuperGrid.GridLines.None;
     this.superGridControl1.PrimaryGrid.GroupHeaderHeight = 35;
     this.superGridControl1.PrimaryGrid.ImageList         = this.imageList1;
     gridCell1.Value = "0";
     gridCell2.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
     gridCell2.Value = "";
     gridCell3.Value = "<h5>SuperGrid Architecture Basics</h5>\r\n<p padding = \"10,10,5, 0\"><font color=\"Bl" +
                       "ack\">A brief description of the overall architecture of a SuperGrid.</font></p>";
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridCell4.Value = "1";
     gridCell5.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image1")));
     gridCell5.Value = "";
     gridCell6.Value = resources.GetString("gridCell6.Value");
     gridRow2.Cells.Add(gridCell4);
     gridRow2.Cells.Add(gridCell5);
     gridRow2.Cells.Add(gridCell6);
     gridCell7.Value = "1";
     gridCell8.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image2")));
     gridCell8.Value = "";
     gridCell9.Value = "<h5>SuperGrid Edit Controls</h5>\r\n<p padding = \"10,10,5, 0\"><font color=\"Black\">D" +
                       "emonstrates the TextBoxX, ButtonX, TextBoxDropDown, MaskedTextBox, and ComboBoxE" +
                       "x Edit Controls.</font></p>";
     gridRow3.Cells.Add(gridCell7);
     gridRow3.Cells.Add(gridCell8);
     gridRow3.Cells.Add(gridCell9);
     gridCell10.Value = "1";
     gridCell11.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image3")));
     gridCell11.Value = "";
     gridCell12.Value = "<h5>SuperGrid Edit Controls</h5>\r\n<p padding = \"10,10,5, 0\"><font color=\"Black\">D" +
                        "emonstrates the DateTimeInput, DateTimePicker, NumericUpDown, IntegerInput, and " +
                        "DoubleInput Edit Controls.</font></p>";
     gridRow4.Cells.Add(gridCell10);
     gridRow4.Cells.Add(gridCell11);
     gridRow4.Cells.Add(gridCell12);
     gridCell13.Value = "1";
     gridCell14.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image4")));
     gridCell14.Value = "";
     gridCell15.Value = "<h5>SuperGrid Edit Controls</h5>\r\n<p padding = \"10,10,5, 0\"><font color=\"Black\">D" +
                        "emonstrates the IpAddressInput, PictureBox, LabelX Edit Controls.</font></p>";
     gridRow5.Cells.Add(gridCell13);
     gridRow5.Cells.Add(gridCell14);
     gridRow5.Cells.Add(gridCell15);
     gridCell16.Value = "1";
     gridCell17.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image5")));
     gridCell17.Value = "";
     gridCell18.Value = "<h5>SuperGrid Edit Controls</h5>\r\n<p padding = \"10,10,5, 0\"><font color=\"Black\">D" +
                        "emonstrates the ProgressBarX, Slider, SwitchButton, and CheckBoxX Edit Controls." +
                        "</font></p>";
     gridRow6.Cells.Add(gridCell16);
     gridRow6.Cells.Add(gridCell17);
     gridRow6.Cells.Add(gridCell18);
     gridCell19.Value = "1";
     gridCell20.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image6")));
     gridCell20.Value = "";
     gridCell21.Value = "<h5>SuperGrid Edit Controls</h5>\r\n<p padding = \"10,10,5, 0\"><font color=\"Black\">D" +
                        "emonstrates the MicroChart, BubbleBar, Gauge Edit Controls.</font></p>";
     gridRow7.Cells.Add(gridCell19);
     gridRow7.Cells.Add(gridCell20);
     gridRow7.Cells.Add(gridCell21);
     gridCell22.Value = "2";
     gridCell23.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image7")));
     gridCell23.Value = "";
     gridCell24.Value = "<h5>Data Binding</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Demonstrates " +
                        "IList, IListSource, IBindingList, and DataSet binding.</font></div>";
     gridRow8.Cells.Add(gridCell22);
     gridRow8.Cells.Add(gridCell23);
     gridRow8.Cells.Add(gridCell24);
     gridCell25.Value = "2";
     gridCell26.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image8")));
     gridCell26.Value = "";
     gridCell27.Value = "<h5>Master / Detail</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Demonstrat" +
                        "es a  data bound Master/Detail SuperGrid.</font></div>";
     gridRow9.Cells.Add(gridCell25);
     gridRow9.Cells.Add(gridCell26);
     gridRow9.Cells.Add(gridCell27);
     gridRow9.Expanded = true;
     gridCell28.Value  = "2";
     gridCell29.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image9")));
     gridCell29.Value = "";
     gridCell30.Value = "<h5>Nested Data</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Demonstrates a" +
                        " nested SuperGrid with cell and row level data validation.</font></div>";
     gridRow10.Cells.Add(gridCell28);
     gridRow10.Cells.Add(gridCell29);
     gridRow10.Cells.Add(gridCell30);
     gridCell31.Value = "2";
     gridCell32.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image10")));
     gridCell32.Value = "";
     gridCell33.Value = "<h5>Virtual Data</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Demonstrates " +
                        "a 2,000,000 row SuperGrid.</font></div>";
     gridRow11.Cells.Add(gridCell31);
     gridRow11.Cells.Add(gridCell32);
     gridRow11.Cells.Add(gridCell33);
     gridCell34.Value = "3";
     gridCell35.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image11")));
     gridCell35.Value = "";
     gridCell36.Value = "<h5>Basic Data Filtering</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Demon" +
                        "strates the basics of both row level and column level filtering.</font></div>";
     gridRow12.Cells.Add(gridCell34);
     gridRow12.Cells.Add(gridCell35);
     gridRow12.Cells.Add(gridCell36);
     gridCell37.Value = "3";
     gridCell38.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image12")));
     gridCell38.Value = "";
     gridCell39.Value = "<h5>Extended Data Filtering</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">A " +
                        "more advanced Data Filtering example that demonstrates user supplied filtering c" +
                        "ontrols and intervention.</font></div>";
     gridRow13.Cells.Add(gridCell37);
     gridRow13.Cells.Add(gridCell38);
     gridRow13.Cells.Add(gridCell39);
     gridCell40.Value = "4";
     gridCell41.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image13")));
     gridCell41.Value = "";
     gridCell42.Value = "<h5>File Explorer</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Simple Windo" +
                        "ws-Like File Explorer.</font></div>";
     gridRow14.Cells.Add(gridCell40);
     gridRow14.Cells.Add(gridCell41);
     gridRow14.Cells.Add(gridCell42);
     gridCell43.Value = "4";
     gridCell44.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image14")));
     gridCell44.Value = "";
     gridCell45.Value = "<h5>Simple Spreadsheet</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Simple " +
                        "Spreadsheet display.</font></div>";
     gridRow15.Cells.Add(gridCell43);
     gridRow15.Cells.Add(gridCell44);
     gridRow15.Cells.Add(gridCell45);
     gridCell46.Value = "4";
     gridCell47.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image15")));
     gridCell47.Value = "";
     gridCell48.Value = "<h5>User Defined Cell Editors</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">" +
                        "Sample user defined Modal, NonModal, and InPlace Cell Editors.</font></div>";
     gridRow16.Cells.Add(gridCell46);
     gridRow16.Cells.Add(gridCell47);
     gridRow16.Cells.Add(gridCell48);
     gridCell49.Value = "4";
     gridCell50.CellStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image16")));
     gridCell50.Value = "";
     gridCell51.Value = "<h5>Drag and Drop</h5>\r\n<div padding=\"10,10,5,5\"><font color=\"Black\">Simple Drag-" +
                        "and-drop example.</font></div>";
     gridRow17.Cells.Add(gridCell49);
     gridRow17.Cells.Add(gridCell50);
     gridRow17.Cells.Add(gridCell51);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow1);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow2);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow3);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow4);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow5);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow6);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow7);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow8);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow9);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow10);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow11);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow12);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow13);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow14);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow15);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow16);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow17);
     this.superGridControl1.PrimaryGrid.SelectionGranularity      = DevComponents.DotNetBar.SuperGrid.SelectionGranularity.Row;
     this.superGridControl1.PrimaryGrid.ShowColumnHeader          = false;
     this.superGridControl1.PrimaryGrid.ShowRowHeaders            = false;
     this.superGridControl1.PrimaryGrid.ShowToolTips              = false;
     this.superGridControl1.PrimaryGrid.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled;
     this.superGridControl1.Size              = new System.Drawing.Size(541, 496);
     this.superGridControl1.TabIndex          = 0;
     this.superGridControl1.Text              = "superGridControl1";
     this.superGridControl1.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.SuperGridControl1MouseDoubleClick);
     this.superGridControl1.KeyDown          += new System.Windows.Forms.KeyEventHandler(this.SuperGridControl1KeyDown);
     //
     // styleManager1
     //
     this.styleManager1.ManagerStyle         = DevComponents.DotNetBar.eStyle.Windows7Blue;
     this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26))))));
     //
     // Form1
     //
     this.AcceptButton        = this.btnClose;
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.BackColor           = System.Drawing.Color.White;
     this.ClientSize          = new System.Drawing.Size(805, 502);
     this.Controls.Add(this.btnClose);
     this.Controls.Add(this.rtb);
     this.Controls.Add(this.superGridControl1);
     this.DoubleBuffered = true;
     this.EnableGlass    = false;
     this.Icon           = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name           = "Form1";
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "DevComponents SuperGrid - Demo Application Explorer";
     this.ResumeLayout(false);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager  resources   = new System.ComponentModel.ComponentResourceManager(typeof(DemoGridBasics3));
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn3 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding1    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding2    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding3    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow1    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell1   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell2   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell3   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow2    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell4   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell5   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell6   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow3    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell7   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell8   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell9   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow4    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell10  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell11  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell12  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow5    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell13  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell14  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell15  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow6    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell16  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell17  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell18  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     this.richTextBox1      = new DevComponents.DotNetBar.Controls.RichTextBoxEx();
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.cbxIpCompare      = new DevComponents.DotNetBar.Controls.CheckBoxX();
     this.labelX1           = new DevComponents.DotNetBar.LabelX();
     this.cbxSizeMode       = new DevComponents.DotNetBar.Controls.ComboBoxEx();
     this.superGridControl1 = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.styleManager1     = new DevComponents.DotNetBar.StyleManager(this.components);
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.richTextBox1.BackColorRichTextBox = System.Drawing.Color.White;
     //
     //
     //
     this.richTextBox1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.richTextBox1.Location = new System.Drawing.Point(4, 4);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.ReadOnly = true;
     this.richTextBox1.Size     = new System.Drawing.Size(780, 113);
     this.richTextBox1.TabIndex = 4;
     this.richTextBox1.TabStop  = false;
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "Black Lab");
     this.imageList1.Images.SetKeyName(1, "Boxer");
     this.imageList1.Images.SetKeyName(2, "Collie");
     this.imageList1.Images.SetKeyName(3, "Golden Retriever");
     this.imageList1.Images.SetKeyName(4, "Husky");
     this.imageList1.Images.SetKeyName(5, "St. Bernard");
     //
     // cbxIpCompare
     //
     this.cbxIpCompare.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     //
     //
     //
     this.cbxIpCompare.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.cbxIpCompare.Location        = new System.Drawing.Point(47, 567);
     this.cbxIpCompare.Name            = "cbxIpCompare";
     this.cbxIpCompare.Size            = new System.Drawing.Size(117, 23);
     this.cbxIpCompare.Style           = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cbxIpCompare.TabIndex        = 8;
     this.cbxIpCompare.Text            = "Enable IP Compare";
     this.cbxIpCompare.CheckedChanged += new System.EventHandler(this.CbxIpCompareCheckedChanged);
     //
     // labelX1
     //
     this.labelX1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     //
     //
     //
     this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.labelX1.Location      = new System.Drawing.Point(354, 567);
     this.labelX1.Name          = "labelX1";
     this.labelX1.Size          = new System.Drawing.Size(169, 23);
     this.labelX1.TabIndex      = 7;
     this.labelX1.Text          = "ImageEdit Size Mode:";
     this.labelX1.TextAlignment = System.Drawing.StringAlignment.Far;
     //
     // cbxSizeMode
     //
     this.cbxSizeMode.Anchor            = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.cbxSizeMode.DisplayMember     = "Text";
     this.cbxSizeMode.DrawMode          = System.Windows.Forms.DrawMode.OwnerDrawFixed;
     this.cbxSizeMode.FormattingEnabled = true;
     this.cbxSizeMode.ItemHeight        = 14;
     this.cbxSizeMode.Location          = new System.Drawing.Point(531, 568);
     this.cbxSizeMode.Name                  = "cbxSizeMode";
     this.cbxSizeMode.Size                  = new System.Drawing.Size(206, 20);
     this.cbxSizeMode.Style                 = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.cbxSizeMode.TabIndex              = 6;
     this.cbxSizeMode.SelectedIndexChanged += new System.EventHandler(this.CbxSizeModeSelectedIndexChanged);
     //
     // superGridControl1
     //
     this.superGridControl1.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.superGridControl1.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.superGridControl1.Location = new System.Drawing.Point(0, 123);
     this.superGridControl1.Name     = "superGridControl1";
     this.superGridControl1.PrimaryGrid.AllowRowResize = true;
     gridColumn1.CellStyles.Default.Alignment          = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn1.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridIpAddressInputEditControl);
     gridColumn1.HeaderStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
     gridColumn1.Name  = "IpAddressInput";
     gridColumn1.Width = 150;
     gridColumn2.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn2.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridImageEditControl);
     gridColumn2.HeaderStyles.Default.Image          = ((System.Drawing.Image)(resources.GetObject("resource.Image1")));
     gridColumn2.HeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.TopCenter;
     gridColumn2.Name  = "ImageEdit";
     gridColumn2.Width = 110;
     gridColumn3.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn3.CellStyles.Default.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True;
     gridColumn3.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridLabelXEditControl);
     gridColumn3.HeaderStyles.Default.Image          = ((System.Drawing.Image)(resources.GetObject("resource.Image2")));
     gridColumn3.HeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn3.HeaderStyles.Default.ImageOverlay   = DevComponents.DotNetBar.SuperGrid.Style.ImageOverlay.Bottom;
     gridColumn3.Name  = "LabelX";
     gridColumn3.Width = 300;
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn1);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn2);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn3);
     this.superGridControl1.PrimaryGrid.DefaultRowHeight = 100;
     padding1.Bottom = 4;
     padding1.Left   = 4;
     padding1.Right  = 4;
     padding1.Top    = 4;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Margin = padding1;
     padding2.Bottom = -4;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.ColumnHeaderStyles.Default.ImagePadding = padding2;
     padding3.Bottom = 4;
     padding3.Left   = 4;
     padding3.Right  = 4;
     padding3.Top    = 4;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.ColumnHeaderStyles.Default.Margin = padding3;
     this.superGridControl1.PrimaryGrid.FilterExpr = null;
     gridCell1.Value = "192.168.0.1";
     gridCell2.Value = "Boxer";
     gridCell3.Value = resources.GetString("gridCell3.Value");
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridCell4.Value = "77.255.0.128";
     gridCell5.Value = "Collie";
     gridCell6.Value = "The Collie is a distinctive type of herding dog, including many related landraces" +
                       " and formal breeds. It originates in Scotland and Northern England.";
     gridRow2.Cells.Add(gridCell4);
     gridRow2.Cells.Add(gridCell5);
     gridRow2.Cells.Add(gridCell6);
     gridCell7.Value = "196.128.0.3";
     gridCell8.Value = "St. Bernard";
     gridCell9.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleLeft;
     gridCell9.Value = "The St. Bernard is a breed of very large working dog from the Italian and Swiss A" +
                       "lps, originally bred for rescue.";
     gridRow3.Cells.Add(gridCell7);
     gridRow3.Cells.Add(gridCell8);
     gridRow3.Cells.Add(gridCell9);
     gridCell10.Value = "66.88.2.12";
     gridCell11.Value = "Golden Retriever";
     gridCell12.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight;
     gridCell12.CellStyles.Default.TextColor = System.Drawing.Color.Sienna;
     gridCell12.Value = "The Golden Retriever is a medium-sized breed of dog. They were historically devel" +
                        "oped as gundogs to retrieve shot waterfowl such as ducks and upland game birds d" +
                        "uring hunting and shooting parties.";
     gridRow4.Cells.Add(gridCell10);
     gridRow4.Cells.Add(gridCell11);
     gridRow4.Cells.Add(gridCell12);
     gridCell13.Value = "122.0.0.16";
     gridCell14.Value = "Black Lab";
     gridCell15.Value = resources.GetString("gridCell15.Value");
     gridRow5.Cells.Add(gridCell13);
     gridRow5.Cells.Add(gridCell14);
     gridRow5.Cells.Add(gridCell15);
     gridCell16.Value = "188.44.0.87";
     gridCell17.Value = "Husky";
     gridCell18.CellStyles.Default.TextColor = System.Drawing.Color.Navy;
     gridCell18.Value = "The Siberian Husky is a medium-size, dense-coat working dog breed that originated" +
                        " in eastern Siberia. ";
     gridRow6.Cells.Add(gridCell16);
     gridRow6.Cells.Add(gridCell17);
     gridRow6.Cells.Add(gridCell18);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow1);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow2);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow3);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow4);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow5);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow6);
     this.superGridControl1.PrimaryGrid.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled;
     this.superGridControl1.Size     = new System.Drawing.Size(784, 429);
     this.superGridControl1.TabIndex = 5;
     this.superGridControl1.Text     = "superGridControl1";
     //
     // styleManager1
     //
     this.styleManager1.ManagerStyle         = DevComponents.DotNetBar.eStyle.Windows7Blue;
     this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26))))));
     //
     // DemoGridBasics3
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(784, 602);
     this.Controls.Add(this.cbxIpCompare);
     this.Controls.Add(this.labelX1);
     this.Controls.Add(this.cbxSizeMode);
     this.Controls.Add(this.superGridControl1);
     this.Controls.Add(this.richTextBox1);
     this.DoubleBuffered = true;
     this.EnableGlass    = false;
     this.Name           = "DemoGridBasics3";
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "SuperGrid Demo - IP, Image, and Label Control Types";
     this.ResumeLayout(false);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn3 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn4 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn5 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn6 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn gridColumn7 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow    gridRow1    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell   gridCell1   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell   gridCell2   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell   gridCell3   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell   gridCell4   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell   gridCell5   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell   gridCell6   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow    gridRow2    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     this.ReturnGrid = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.SuspendLayout();
     //
     // ReturnGrid
     //
     this.ReturnGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ReturnGrid.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.ReturnGrid.Location = new System.Drawing.Point(0, 0);
     this.ReturnGrid.Name     = "ReturnGrid";
     this.ReturnGrid.PrimaryGrid.Caption.RowHeight = 40;
     this.ReturnGrid.PrimaryGrid.Caption.Text      = "资料总目";
     gridColumn1.Name       = "gcId";
     gridColumn1.Visible    = false;
     gridColumn2.HeaderText = "资料名称";
     gridColumn2.Name       = "gcArchName";
     gridColumn2.Width      = 360;
     gridColumn3.HeaderText = "归还日期";
     gridColumn3.Name       = "gcReturnDate";
     gridColumn4.HeaderText = "份数";
     gridColumn4.Name       = "gcReturnCount";
     gridColumn5.HeaderText = "归还人";
     gridColumn5.Name       = "gcReturnPerson";
     gridColumn5.Width      = 70;
     gridColumn6.HeaderText = "有无缺失损坏";
     gridColumn6.Name       = "gcMissingDamage";
     gridColumn6.Width      = 90;
     gridColumn7.HeaderText = "备注";
     gridColumn7.Name       = "gcRemark";
     gridColumn7.Width      = 80;
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn1);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn2);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn3);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn4);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn5);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn6);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn7);
     this.ReturnGrid.PrimaryGrid.EnableFiltering      = true;
     this.ReturnGrid.PrimaryGrid.Filter.RowHeight     = 25;
     this.ReturnGrid.PrimaryGrid.Filter.Visible       = true;
     this.ReturnGrid.PrimaryGrid.RowHeaderIndexOffset = 1;
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridRow1.Cells.Add(gridCell6);
     gridRow1.InfoText = "";
     this.ReturnGrid.PrimaryGrid.Rows.Add(gridRow1);
     this.ReturnGrid.PrimaryGrid.Rows.Add(gridRow2);
     this.ReturnGrid.PrimaryGrid.ShowRowGridIndex = true;
     this.ReturnGrid.Size     = new System.Drawing.Size(847, 431);
     this.ReturnGrid.TabIndex = 6;
     this.ReturnGrid.Text     = "superGridControl3";
     //
     // ReturnGridCtrl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.ReturnGrid);
     this.Name = "ReturnGridCtrl";
     this.Size = new System.Drawing.Size(847, 431);
     this.ResumeLayout(false);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn1     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn2     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn3     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn4     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn5     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn6     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn7     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn8     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn9     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn10    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn11    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn12    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn13    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn14    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow              gridRow1        = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell1       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell2       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell3       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell4       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell5       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell6       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background1     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend backColorBlend1 = new DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background2     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.GridRow              gridRow2        = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell7       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell8       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell9       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     System.ComponentModel.ComponentResourceManager         resources       = new System.ComponentModel.ComponentResourceManager(typeof(ArchiveForm));
     this.tabControlPanel1  = new DevComponents.DotNetBar.TabControlPanel();
     this.ArchiveGrid       = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.panel2            = new System.Windows.Forms.Panel();
     this.btnDelete         = new DevComponents.DotNetBar.ButtonX();
     this.buttonX1          = new DevComponents.DotNetBar.ButtonX();
     this.btnRefreshArchive = new DevComponents.DotNetBar.ButtonX();
     this.btnSaveRegister   = new DevComponents.DotNetBar.ButtonX();
     this.btnRegistration   = new DevComponents.DotNetBar.ButtonX();
     this.tabControlPanel1.SuspendLayout();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // tabControlPanel1
     //
     this.tabControlPanel1.Controls.Add(this.ArchiveGrid);
     this.tabControlPanel1.Controls.Add(this.panel2);
     this.tabControlPanel1.DisabledBackColor = System.Drawing.Color.Empty;
     this.tabControlPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tabControlPanel1.Location = new System.Drawing.Point(0, 0);
     this.tabControlPanel1.Name     = "tabControlPanel1";
     this.tabControlPanel1.Padding  = new System.Windows.Forms.Padding(1);
     this.tabControlPanel1.Size     = new System.Drawing.Size(1374, 668);
     this.tabControlPanel1.Style.BackColor1.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231)))));
     this.tabControlPanel1.Style.BackColor2.Color  = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254)))));
     this.tabControlPanel1.Style.Border            = DevComponents.DotNetBar.eBorderType.SingleLine;
     this.tabControlPanel1.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156)))));
     this.tabControlPanel1.Style.BorderSide        = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right)
                                                                                             | DevComponents.DotNetBar.eBorderSide.Bottom)));
     this.tabControlPanel1.Style.GradientAngle = 90;
     this.tabControlPanel1.TabIndex            = 2;
     this.tabControlPanel1.Text = "收存登录";
     //
     // ArchiveGrid
     //
     this.ArchiveGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ArchiveGrid.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.ArchiveGrid.Location = new System.Drawing.Point(1, 52);
     this.ArchiveGrid.Name     = "ArchiveGrid";
     this.ArchiveGrid.PrimaryGrid.Caption.RowHeight = 40;
     this.ArchiveGrid.PrimaryGrid.Caption.Text      = "资料总目";
     gridColumn1.HeaderText             = "资料名称";
     gridColumn1.Name                   = "gcArchName";
     gridColumn1.Width                  = 360;
     gridColumn2.DefaultNewRowCellValue = "";
     gridColumn2.Name                   = "gcId";
     gridColumn2.Visible                = false;
     gridColumn3.DefaultNewRowCellValue = "";
     gridColumn3.EditorType             = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxDropDownEditControl);
     gridColumn3.FilterPopupMaxItems    = 75;
     gridColumn3.HeaderText             = "资料分类";
     gridColumn3.Name                   = "gcType";
     gridColumn3.RenderType             = typeof(DevComponents.DotNetBar.SuperGrid.GridComboBoxExEditControl);
     gridColumn3.Width                  = 75;
     gridColumn4.HeaderText             = "资料日期";
     gridColumn4.Name                   = "gcArchDate";
     gridColumn4.Width                  = 80;
     gridColumn5.HeaderText             = "文号";
     gridColumn5.Name                   = "gcDispatchNum";
     gridColumn5.Width                  = 160;
     gridColumn6.HeaderText             = "总份数";
     gridColumn6.Name                   = "gcAllCount";
     gridColumn6.Width                  = 58;
     gridColumn7.HeaderText             = "剩余份数";
     gridColumn7.Name                   = "gcRemaining";
     gridColumn7.Width                  = 58;
     gridColumn8.HeaderText             = "存放位置";
     gridColumn8.Name                   = "gcLocation";
     gridColumn9.HeaderText             = "经办人";
     gridColumn9.Name                   = "gcHandler";
     gridColumn9.Width                  = 70;
     gridColumn10.Name                  = "gcProjectId";
     gridColumn10.Visible               = false;
     gridColumn11.HeaderText            = "收存日期";
     gridColumn11.Name                  = "gcRegisteDate";
     gridColumn11.Width                 = 80;
     gridColumn12.HeaderText            = "备注";
     gridColumn12.Name                  = "gcRemark";
     gridColumn13.ColumnSortMode        = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
     gridColumn13.EditorType            = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn13.HeaderText            = "借出";
     gridColumn13.Name                  = "gcLend";
     gridColumn13.RenderType            = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn13.SortIndicator         = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
     gridColumn13.Width                 = 80;
     gridColumn14.EditorType            = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn14.HeaderText            = "归还";
     gridColumn14.Name                  = "gcReturn";
     gridColumn14.Width                 = 80;
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn1);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn2);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn3);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn4);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn5);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn6);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn7);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn8);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn9);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn10);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn11);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn12);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn13);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn14);
     this.ArchiveGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Font      = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.ArchiveGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.TextColor = System.Drawing.Color.Black;
     this.ArchiveGrid.PrimaryGrid.EnableFiltering      = true;
     this.ArchiveGrid.PrimaryGrid.Filter.RowHeight     = 25;
     this.ArchiveGrid.PrimaryGrid.Filter.Visible       = true;
     this.ArchiveGrid.PrimaryGrid.RowHeaderIndexOffset = 1;
     this.ArchiveGrid.PrimaryGrid.RowHeaderWidth       = 65;
     gridCell1.Value = "1";
     gridCell2.Value = "2";
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridRow1.Cells.Add(gridCell6);
     backColorBlend1.Colors = new System.Drawing.Color[] {
         System.Drawing.Color.CornflowerBlue
     };
     background1.BackColorBlend             = backColorBlend1;
     background1.Color1                     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     gridRow1.CellStyles.Default.Background = background1;
     gridRow1.Expanded        = true;
     gridRow1.InfoText        = "";
     background2.BackFillType = DevComponents.DotNetBar.SuperGrid.Style.BackFillType.Center;
     background2.Color1       = System.Drawing.Color.Goldenrod;
     gridRow1.RowStyles.Default.Background = background2;
     gridCell7.Value = "2";
     gridCell8.Value = "2";
     gridRow2.Cells.Add(gridCell7);
     gridRow2.Cells.Add(gridCell8);
     gridRow2.Cells.Add(gridCell9);
     this.ArchiveGrid.PrimaryGrid.Rows.Add(gridRow1);
     this.ArchiveGrid.PrimaryGrid.Rows.Add(gridRow2);
     this.ArchiveGrid.PrimaryGrid.ShowRowGridIndex = true;
     this.ArchiveGrid.Size                  = new System.Drawing.Size(1372, 615);
     this.ArchiveGrid.TabIndex              = 3;
     this.ArchiveGrid.Text                  = "superGridControl3";
     this.ArchiveGrid.AfterCollapse        += new System.EventHandler <DevComponents.DotNetBar.SuperGrid.GridAfterCollapseEventArgs>(this.ArchiveGrid_AfterCollapse);
     this.ArchiveGrid.EndEdit              += new System.EventHandler <DevComponents.DotNetBar.SuperGrid.GridEditEventArgs>(this.ArchiveGrid_EndEdit);
     this.ArchiveGrid.AfterExpand          += new System.EventHandler <DevComponents.DotNetBar.SuperGrid.GridAfterExpandEventArgs>(this.ArchiveGrid_AfterExpand);
     this.ArchiveGrid.RowHeaderDoubleClick += new System.EventHandler <DevComponents.DotNetBar.SuperGrid.GridRowHeaderDoubleClickEventArgs>(this.ArchiveGrid_RowHeaderDoubleClick);
     this.ArchiveGrid.KeyDown              += new System.Windows.Forms.KeyEventHandler(this.ArchiveGrid_KeyDown);
     this.ArchiveGrid.KeyUp                += new System.Windows.Forms.KeyEventHandler(this.ArchiveGrid_KeyUp);
     //
     // panel2
     //
     this.panel2.Controls.Add(this.btnDelete);
     this.panel2.Controls.Add(this.buttonX1);
     this.panel2.Controls.Add(this.btnRefreshArchive);
     this.panel2.Controls.Add(this.btnSaveRegister);
     this.panel2.Controls.Add(this.btnRegistration);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(1, 1);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(1372, 51);
     this.panel2.TabIndex = 2;
     //
     // btnDelete
     //
     this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnDelete.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)));
     this.btnDelete.Location  = new System.Drawing.Point(347, 12);
     this.btnDelete.Name      = "btnDelete";
     this.btnDelete.Size      = new System.Drawing.Size(75, 26);
     this.btnDelete.Style     = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnDelete.TabIndex  = 7;
     this.btnDelete.Text      = "删除";
     this.btnDelete.TextColor = System.Drawing.Color.Red;
     this.btnDelete.Click    += new System.EventHandler(this.btnDelete_Click);
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonX1.Location       = new System.Drawing.Point(1140, 15);
     this.buttonX1.Name           = "buttonX1";
     this.buttonX1.Size           = new System.Drawing.Size(75, 23);
     this.buttonX1.Style          = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.buttonX1.TabIndex       = 3;
     this.buttonX1.Text           = "buttonX1";
     this.buttonX1.Visible        = false;
     this.buttonX1.Click         += new System.EventHandler(this.buttonX1_Click);
     //
     // btnRefreshArchive
     //
     this.btnRefreshArchive.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnRefreshArchive.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     this.btnRefreshArchive.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnRefreshArchive.Location   = new System.Drawing.Point(146, 15);
     this.btnRefreshArchive.Name       = "btnRefreshArchive";
     this.btnRefreshArchive.Size       = new System.Drawing.Size(75, 26);
     this.btnRefreshArchive.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnRefreshArchive.TabIndex   = 2;
     this.btnRefreshArchive.Text       = "刷新";
     this.btnRefreshArchive.Visible    = false;
     this.btnRefreshArchive.Click     += new System.EventHandler(this.btnRefreshArchive_Click);
     //
     // btnSaveRegister
     //
     this.btnSaveRegister.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnSaveRegister.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSaveRegister.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnSaveRegister.Location   = new System.Drawing.Point(1029, 15);
     this.btnSaveRegister.Name       = "btnSaveRegister";
     this.btnSaveRegister.Size       = new System.Drawing.Size(75, 26);
     this.btnSaveRegister.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnSaveRegister.TabIndex   = 1;
     this.btnSaveRegister.Text       = "保存";
     this.btnSaveRegister.Click     += new System.EventHandler(this.btnSaveRegister_Click);
     //
     // btnRegistration
     //
     this.btnRegistration.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnRegistration.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnRegistration.Location       = new System.Drawing.Point(27, 15);
     this.btnRegistration.Name           = "btnRegistration";
     this.btnRegistration.Size           = new System.Drawing.Size(75, 26);
     this.btnRegistration.Style          = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnRegistration.TabIndex       = 0;
     this.btnRegistration.Text           = "登记收存";
     this.btnRegistration.Click         += new System.EventHandler(this.btnRegistration_Click);
     //
     // ArchiveForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1374, 668);
     this.Controls.Add(this.tabControlPanel1);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "ArchiveForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "资料管理";
     this.WindowState   = System.Windows.Forms.FormWindowState.Maximized;
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.ArchiveForm_FormClosing);
     this.Shown        += new System.EventHandler(this.ArchiveForm_Shown);
     this.tabControlPanel1.ResumeLayout(false);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevComponents.DotNetBar.SuperGrid.Style.Padding       padding1       = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.Style.Padding       padding2       = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn1    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn2    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn3    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn4    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn5    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn6    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow1       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell1      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell2      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell3      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell4      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell5      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow2       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell6      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell7      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell8      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell9      = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell10     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow3       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell11     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell12     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell13     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell14     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell15     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridPanel           gridPanel1     = new DevComponents.DotNetBar.SuperGrid.GridPanel();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn7    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn8    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn9    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn10   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn11   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.BorderPattern borderPattern1 = new DevComponents.DotNetBar.SuperGrid.Style.BorderPattern();
     DevComponents.DotNetBar.SuperGrid.Style.Thickness     thickness1     = new DevComponents.DotNetBar.SuperGrid.Style.Thickness();
     DevComponents.DotNetBar.SuperGrid.Style.Padding       padding3       = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow4       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell16     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell17     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell18     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell19     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell20     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow5       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell21     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell22     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell23     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell24     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell25     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow6       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell26     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell27     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell28     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell29     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell30     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridPanel           gridPanel2     = new DevComponents.DotNetBar.SuperGrid.GridPanel();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn12   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn13   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn14   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn15   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn16   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn17   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow7       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell31     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell32     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell33     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell34     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell35     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell36     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow8       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell37     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell38     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell39     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell40     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell41     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell42     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow9       = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell43     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell44     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell45     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell46     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell47     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell48     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridPanel           gridPanel3     = new DevComponents.DotNetBar.SuperGrid.GridPanel();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn18   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn19   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn          gridColumn20   = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow10      = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell49     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell50     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell51     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow11      = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell52     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell53     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell54     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow             gridRow12      = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell55     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell56     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell            gridCell57     = new DevComponents.DotNetBar.SuperGrid.GridCell();
     System.ComponentModel.ComponentResourceManager        resources      = new System.ComponentModel.ComponentResourceManager(typeof(DemoStyling));
     this.superGridControl1 = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.imageList1        = new System.Windows.Forms.ImageList(this.components);
     this.imageList2        = new System.Windows.Forms.ImageList(this.components);
     this.bar1 = new DevComponents.DotNetBar.Bar();
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).BeginInit();
     this.SuspendLayout();
     //
     // superGridControl1
     //
     this.superGridControl1.DefaultVisualStyles.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     padding1.Bottom = 2;
     padding1.Left   = 2;
     padding1.Right  = 2;
     padding1.Top    = 2;
     this.superGridControl1.DefaultVisualStyles.CellStyles.Default.Margin = padding1;
     padding2.Bottom = 4;
     padding2.Top    = 4;
     this.superGridControl1.DefaultVisualStyles.ColumnHeaderStyles.Default.Margin = padding2;
     this.superGridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.superGridControl1.Location = new System.Drawing.Point(0, 25);
     this.superGridControl1.Name     = "superGridControl1";
     this.superGridControl1.PrimaryGrid.Caption.RowHeight = 30;
     this.superGridControl1.PrimaryGrid.Caption.Text      = "SuperGrid Style Demo";
     this.superGridControl1.PrimaryGrid.CheckBoxes        = true;
     gridColumn1.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn1.Name       = "ButtonX";
     gridColumn2.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridCheckBoxXEditControl);
     gridColumn2.Name       = "CheckBoxX";
     gridColumn3.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridComboBoxExEditControl);
     gridColumn3.Name       = "ComboBoxEx";
     gridColumn4.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDateTimeInputEditControl);
     gridColumn4.Name       = "DateTimeInput";
     gridColumn5.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDateTimePickerEditControl);
     gridColumn5.Name       = "DateTimePicker";
     gridColumn6.Name       = "Empty";
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn1);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn2);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn3);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn4);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn5);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn6);
     this.superGridControl1.PrimaryGrid.DefaultRowHeight = 0;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     this.superGridControl1.PrimaryGrid.Footer.RowHeight = 30;
     this.superGridControl1.PrimaryGrid.Footer.Text      = "Styling Demo Footer";
     this.superGridControl1.PrimaryGrid.Header.RowHeight = 30;
     this.superGridControl1.PrimaryGrid.Header.Text      = "Styling Demo Header";
     gridCell1.Value = "SuperGrid";
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridCell6.Value = "Styling";
     gridRow2.Cells.Add(gridCell6);
     gridRow2.Cells.Add(gridCell7);
     gridRow2.Cells.Add(gridCell8);
     gridRow2.Cells.Add(gridCell9);
     gridRow2.Cells.Add(gridCell10);
     gridRow2.ReadOnly = true;
     gridCell11.Value  = "Demo";
     gridRow3.Cells.Add(gridCell11);
     gridRow3.Cells.Add(gridCell12);
     gridRow3.Cells.Add(gridCell13);
     gridRow3.Cells.Add(gridCell14);
     gridRow3.Cells.Add(gridCell15);
     gridRow3.Expanded = true;
     gridPanel1.ActiveRowIndicatorStyle       = DevComponents.DotNetBar.SuperGrid.ActiveRowIndicatorStyle.Highlight;
     gridPanel1.Caption.Text                  = "Sub Panel Caption";
     gridColumn7.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight;
     gridColumn7.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridDoubleInputEditControl);
     gridColumn7.Name       = "DoubleInput";
     gridColumn8.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight;
     gridColumn8.EditorType  = typeof(DevComponents.DotNetBar.SuperGrid.GridIntegerInputEditControl);
     gridColumn8.Name        = "IntegerInput";
     gridColumn9.EditorType  = typeof(DevComponents.DotNetBar.SuperGrid.GridIpAddressInputEditControl);
     gridColumn9.Name        = "IpAddress";
     gridColumn10.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridMaskedTextBoxEditControl);
     gridColumn10.Name       = "MaskedTextBox";
     gridColumn11.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight;
     gridColumn11.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridNumericUpDownEditControl);
     gridColumn11.Name       = "NumericUpDown";
     gridPanel1.Columns.Add(gridColumn7);
     gridPanel1.Columns.Add(gridColumn8);
     gridPanel1.Columns.Add(gridColumn9);
     gridPanel1.Columns.Add(gridColumn10);
     gridPanel1.Columns.Add(gridColumn11);
     gridPanel1.DefaultRowHeight = 0;
     borderPattern1.Bottom       = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot;
     borderPattern1.Left         = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot;
     borderPattern1.Right        = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot;
     borderPattern1.Top          = DevComponents.DotNetBar.SuperGrid.Style.LinePattern.Dot;
     gridPanel1.DefaultVisualStyles.CaptionStyles.Default.BorderPattern = borderPattern1;
     thickness1.Bottom = 1;
     thickness1.Left   = 1;
     thickness1.Right  = 1;
     thickness1.Top    = 1;
     gridPanel1.DefaultVisualStyles.CaptionStyles.Default.BorderThickness = thickness1;
     padding3.Bottom = 2;
     padding3.Left   = 2;
     padding3.Right  = 2;
     padding3.Top    = 2;
     gridPanel1.DefaultVisualStyles.CaptionStyles.Default.Margin = padding3;
     gridPanel1.Footer.Text = "And Footer";
     gridPanel1.Name        = "GridPanel1";
     gridRow4.Cells.Add(gridCell16);
     gridRow4.Cells.Add(gridCell17);
     gridRow4.Cells.Add(gridCell18);
     gridRow4.Cells.Add(gridCell19);
     gridRow4.Cells.Add(gridCell20);
     gridRow5.Cells.Add(gridCell21);
     gridRow5.Cells.Add(gridCell22);
     gridRow5.Cells.Add(gridCell23);
     gridRow5.Cells.Add(gridCell24);
     gridRow5.Cells.Add(gridCell25);
     gridRow5.ReadOnly = true;
     gridRow6.Cells.Add(gridCell26);
     gridRow6.Cells.Add(gridCell27);
     gridRow6.Cells.Add(gridCell28);
     gridRow6.Cells.Add(gridCell29);
     gridRow6.Cells.Add(gridCell30);
     gridRow6.Expanded = true;
     gridPanel1.Rows.Add(gridRow4);
     gridPanel1.Rows.Add(gridRow5);
     gridPanel1.Rows.Add(gridRow6);
     gridPanel1.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled;
     gridPanel2.ActiveRowIndicatorStyle   = DevComponents.DotNetBar.SuperGrid.ActiveRowIndicatorStyle.Both;
     gridColumn12.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridProgressBarXEditControl);
     gridColumn12.Name       = "ProgressBarX";
     gridColumn13.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridRatingStarEditControl);
     gridColumn13.Name       = "RatingStar";
     gridColumn13.Width      = 80;
     gridColumn14.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridSliderEditControl);
     gridColumn14.Name       = "Slider";
     gridColumn14.Width      = 150;
     gridColumn15.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridSwitchButtonEditControl);
     gridColumn15.Name       = "SwitchButton";
     gridColumn16.Name       = "TextBoxX";
     gridColumn17.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleLeft;
     gridColumn17.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxDropDownEditControl);
     gridColumn17.Name       = "TextBoxDropDown";
     gridColumn17.Width      = 120;
     gridPanel2.Columns.Add(gridColumn12);
     gridPanel2.Columns.Add(gridColumn13);
     gridPanel2.Columns.Add(gridColumn14);
     gridPanel2.Columns.Add(gridColumn15);
     gridPanel2.Columns.Add(gridColumn16);
     gridPanel2.Columns.Add(gridColumn17);
     gridPanel2.DefaultRowHeight   = 0;
     gridPanel2.Name               = "GridPanel2";
     gridPanel2.PrimaryColumnIndex = 5;
     gridRow7.Cells.Add(gridCell31);
     gridRow7.Cells.Add(gridCell32);
     gridRow7.Cells.Add(gridCell33);
     gridRow7.Cells.Add(gridCell34);
     gridRow7.Cells.Add(gridCell35);
     gridRow7.Cells.Add(gridCell36);
     gridRow8.Cells.Add(gridCell37);
     gridRow8.Cells.Add(gridCell38);
     gridRow8.Cells.Add(gridCell39);
     gridRow8.Cells.Add(gridCell40);
     gridRow8.Cells.Add(gridCell41);
     gridRow8.Cells.Add(gridCell42);
     gridRow8.ReadOnly = true;
     gridRow9.Cells.Add(gridCell43);
     gridRow9.Cells.Add(gridCell44);
     gridRow9.Cells.Add(gridCell45);
     gridRow9.Cells.Add(gridCell46);
     gridRow9.Cells.Add(gridCell47);
     gridRow9.Cells.Add(gridCell48);
     gridPanel2.Rows.Add(gridRow7);
     gridPanel2.Rows.Add(gridRow8);
     gridPanel2.Rows.Add(gridRow9);
     gridPanel2.ShowTreeButtons           = true;
     gridPanel2.ShowTreeLines             = true;
     gridPanel2.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled;
     gridColumn18.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridLabelXEditControl);
     gridColumn18.Name       = "LabelX";
     gridColumn19.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridImageEditControl);
     gridColumn19.Name       = "Image";
     gridColumn20.EditorType = typeof(DevComponents.DotNetBar.SuperGrid.GridMicroChartEditControl);
     gridColumn20.Name       = "MicroChart";
     gridPanel3.Columns.Add(gridColumn18);
     gridPanel3.Columns.Add(gridColumn19);
     gridPanel3.Columns.Add(gridColumn20);
     gridPanel3.DefaultRowHeight = 100;
     gridPanel3.Name             = "GridPanel3";
     gridRow10.Cells.Add(gridCell49);
     gridRow10.Cells.Add(gridCell50);
     gridRow10.Cells.Add(gridCell51);
     gridRow11.Cells.Add(gridCell52);
     gridRow11.Cells.Add(gridCell53);
     gridRow11.Cells.Add(gridCell54);
     gridRow11.ReadOnly = true;
     gridRow12.Cells.Add(gridCell55);
     gridRow12.Cells.Add(gridCell56);
     gridRow12.Cells.Add(gridCell57);
     gridPanel3.Rows.Add(gridRow10);
     gridPanel3.Rows.Add(gridRow11);
     gridPanel3.Rows.Add(gridRow12);
     gridPanel3.ShowRowGridIndex          = true;
     gridPanel3.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled;
     gridRow3.Rows.Add(gridPanel1);
     gridRow3.Rows.Add(gridPanel2);
     gridRow3.Rows.Add(gridPanel3);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow1);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow2);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow3);
     this.superGridControl1.PrimaryGrid.ShowRowGridIndex          = true;
     this.superGridControl1.PrimaryGrid.ShowTreeButtons           = true;
     this.superGridControl1.PrimaryGrid.ShowTreeLines             = true;
     this.superGridControl1.PrimaryGrid.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled;
     this.superGridControl1.PrimaryGrid.Title.RowHeight           = 30;
     this.superGridControl1.PrimaryGrid.Title.Text = "Demo Title";
     this.superGridControl1.PrimaryGrid.UseAlternateColumnStyle = true;
     this.superGridControl1.PrimaryGrid.UseAlternateRowStyle    = true;
     this.superGridControl1.Size     = new System.Drawing.Size(950, 577);
     this.superGridControl1.TabIndex = 6;
     this.superGridControl1.Text     = "superGridControl1";
     //
     // imageList1
     //
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList1.Images.SetKeyName(0, "Avion Small");
     this.imageList1.Images.SetKeyName(1, "Car Small");
     this.imageList1.Images.SetKeyName(2, "Helicopter Small");
     this.imageList1.Images.SetKeyName(3, "Truck Small");
     //
     // imageList2
     //
     this.imageList2.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList2.ImageStream")));
     this.imageList2.TransparentColor = System.Drawing.Color.Transparent;
     this.imageList2.Images.SetKeyName(0, "Avion Large");
     this.imageList2.Images.SetKeyName(1, "Car Large");
     this.imageList2.Images.SetKeyName(2, "Helicopter Large");
     this.imageList2.Images.SetKeyName(3, "Truck Large");
     //
     // bar1
     //
     this.bar1.AntiAlias = true;
     this.bar1.Dock      = System.Windows.Forms.DockStyle.Top;
     this.bar1.Font      = new System.Drawing.Font("Segoe UI", 9F);
     this.bar1.Location  = new System.Drawing.Point(0, 0);
     this.bar1.Name      = "bar1";
     this.bar1.Size      = new System.Drawing.Size(950, 25);
     this.bar1.Stretch   = true;
     this.bar1.Style     = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.bar1.TabIndex  = 7;
     this.bar1.TabStop   = false;
     this.bar1.Text      = "bar1";
     //
     // DemoStyling
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(950, 602);
     this.Controls.Add(this.superGridControl1);
     this.Controls.Add(this.bar1);
     this.DoubleBuffered = true;
     this.Name           = "DemoStyling";
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "SuperGrid Demo - Grid Styling";
     ((System.ComponentModel.ISupportInitialize)(this.bar1)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 8
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn3 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn4 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn5 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn6 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn7 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn8 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn   gridColumn9 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow      gridRow1    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell1   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell2   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell3   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell4   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell5   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell6   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow      gridRow2    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     System.ComponentModel.ComponentResourceManager resources   = new System.ComponentModel.ComponentResourceManager(typeof(ReturnForm));
     this.ReturnGrid      = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.panel4          = new System.Windows.Forms.Panel();
     this.btnDelete       = new DevComponents.DotNetBar.ButtonX();
     this.btnSaveAndClose = new DevComponents.DotNetBar.ButtonX();
     this.buttonX1        = new DevComponents.DotNetBar.ButtonX();
     this.btnSaveReturn   = new DevComponents.DotNetBar.ButtonX();
     this.btnReturn       = new DevComponents.DotNetBar.ButtonX();
     this.panel4.SuspendLayout();
     this.SuspendLayout();
     //
     // ReturnGrid
     //
     this.ReturnGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ReturnGrid.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.ReturnGrid.Location = new System.Drawing.Point(0, 51);
     this.ReturnGrid.Name     = "ReturnGrid";
     this.ReturnGrid.PrimaryGrid.Caption.RowHeight = 40;
     this.ReturnGrid.PrimaryGrid.Caption.Text      = "资料总目";
     gridColumn1.HeaderText = "资料名称";
     gridColumn1.Name       = "gcArchName";
     gridColumn1.Width      = 360;
     gridColumn2.Name       = "gcId";
     gridColumn2.Visible    = false;
     gridColumn3.HeaderText = "归还日期";
     gridColumn3.Name       = "gcReturnDate";
     gridColumn4.HeaderText = "份数";
     gridColumn4.Name       = "gcReturnCount";
     gridColumn5.HeaderText = "归还人";
     gridColumn5.Name       = "gcReturner";
     gridColumn5.Width      = 70;
     gridColumn6.HeaderText = "有无缺失损坏";
     gridColumn6.Name       = "gcMissingDamage";
     gridColumn6.Width      = 90;
     gridColumn7.HeaderText = "经办人";
     gridColumn7.Name       = "gcHandler";
     gridColumn8.HeaderText = "备注";
     gridColumn8.Name       = "gcRemark";
     gridColumn8.Width      = 120;
     gridColumn9.Name       = "gcArchId";
     gridColumn9.Visible    = false;
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn1);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn2);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn3);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn4);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn5);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn6);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn7);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn8);
     this.ReturnGrid.PrimaryGrid.Columns.Add(gridColumn9);
     this.ReturnGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Font      = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.ReturnGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.TextColor = System.Drawing.Color.Black;
     this.ReturnGrid.PrimaryGrid.EnableFiltering      = true;
     this.ReturnGrid.PrimaryGrid.Filter.RowHeight     = 25;
     this.ReturnGrid.PrimaryGrid.Filter.Visible       = true;
     this.ReturnGrid.PrimaryGrid.RowHeaderIndexOffset = 1;
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridRow1.Cells.Add(gridCell6);
     gridRow1.InfoText = "";
     this.ReturnGrid.PrimaryGrid.Rows.Add(gridRow1);
     this.ReturnGrid.PrimaryGrid.Rows.Add(gridRow2);
     this.ReturnGrid.PrimaryGrid.ShowRowGridIndex = true;
     this.ReturnGrid.Size     = new System.Drawing.Size(997, 579);
     this.ReturnGrid.TabIndex = 7;
     this.ReturnGrid.Text     = "superGridControl3";
     this.ReturnGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ReturnGrid_KeyDown);
     this.ReturnGrid.KeyUp   += new System.Windows.Forms.KeyEventHandler(this.ReturnGrid_KeyUp);
     //
     // panel4
     //
     this.panel4.Controls.Add(this.btnDelete);
     this.panel4.Controls.Add(this.btnSaveAndClose);
     this.panel4.Controls.Add(this.buttonX1);
     this.panel4.Controls.Add(this.btnSaveReturn);
     this.panel4.Controls.Add(this.btnReturn);
     this.panel4.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel4.Location = new System.Drawing.Point(0, 0);
     this.panel4.Name     = "panel4";
     this.panel4.Size     = new System.Drawing.Size(997, 51);
     this.panel4.TabIndex = 6;
     //
     // btnDelete
     //
     this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnDelete.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)));
     this.btnDelete.Location  = new System.Drawing.Point(318, 15);
     this.btnDelete.Name      = "btnDelete";
     this.btnDelete.Size      = new System.Drawing.Size(75, 26);
     this.btnDelete.Style     = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnDelete.TabIndex  = 6;
     this.btnDelete.Text      = "删除";
     this.btnDelete.TextColor = System.Drawing.Color.Red;
     this.btnDelete.Click    += new System.EventHandler(this.btnDelete_Click);
     //
     // btnSaveAndClose
     //
     this.btnSaveAndClose.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnSaveAndClose.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                 | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSaveAndClose.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnSaveAndClose.Location   = new System.Drawing.Point(840, 15);
     this.btnSaveAndClose.Name       = "btnSaveAndClose";
     this.btnSaveAndClose.Size       = new System.Drawing.Size(132, 26);
     this.btnSaveAndClose.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnSaveAndClose.TabIndex   = 5;
     this.btnSaveAndClose.Text       = "保存并返回登记收存";
     this.btnSaveAndClose.Click     += new System.EventHandler(this.btnSaveAndClose_Click);
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Left)));
     this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonX1.Location   = new System.Drawing.Point(131, 15);
     this.buttonX1.Name       = "buttonX1";
     this.buttonX1.Size       = new System.Drawing.Size(75, 26);
     this.buttonX1.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.buttonX1.TabIndex   = 4;
     this.buttonX1.Text       = "刷新";
     this.buttonX1.Visible    = false;
     this.buttonX1.Click     += new System.EventHandler(this.buttonX1_Click);
     //
     // btnSaveReturn
     //
     this.btnSaveReturn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnSaveReturn.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                               | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSaveReturn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnSaveReturn.Location   = new System.Drawing.Point(740, 15);
     this.btnSaveReturn.Name       = "btnSaveReturn";
     this.btnSaveReturn.Size       = new System.Drawing.Size(75, 26);
     this.btnSaveReturn.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnSaveReturn.TabIndex   = 2;
     this.btnSaveReturn.Text       = "保存";
     this.btnSaveReturn.Click     += new System.EventHandler(this.btnSaveReturn_Click);
     //
     // btnReturn
     //
     this.btnReturn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnReturn.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnReturn.Location       = new System.Drawing.Point(27, 15);
     this.btnReturn.Name           = "btnReturn";
     this.btnReturn.Size           = new System.Drawing.Size(75, 26);
     this.btnReturn.Style          = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnReturn.TabIndex       = 0;
     this.btnReturn.Text           = "登记归还";
     this.btnReturn.Click         += new System.EventHandler(this.btnReturn_Click);
     //
     // ReturnForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(997, 630);
     this.Controls.Add(this.ReturnGrid);
     this.Controls.Add(this.panel4);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "ReturnForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "归还资料";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.ReturnForm_FormClosing);
     this.Shown        += new System.EventHandler(this.ReturnForm_Shown);
     this.panel4.ResumeLayout(false);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn1     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn2     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn3     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn4     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn5     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn6     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn7     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn8     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn9     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn10    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn11    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn12    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn13    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn14    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow              gridRow1        = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell1       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell2       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell3       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell4       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell5       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell6       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background1     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend backColorBlend1 = new DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background2     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.GridRow              gridRow2        = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell7       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell8       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell9       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     this.ArchiveGrid = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.SuspendLayout();
     //
     // ArchiveGrid
     //
     this.ArchiveGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.ArchiveGrid.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.ArchiveGrid.Location = new System.Drawing.Point(0, 0);
     this.ArchiveGrid.Name     = "ArchiveGrid";
     this.ArchiveGrid.PrimaryGrid.Caption.RowHeight = 40;
     this.ArchiveGrid.PrimaryGrid.Caption.Text      = "资料总目";
     gridColumn1.HeaderText             = "资料名称";
     gridColumn1.Name                   = "gcArchName";
     gridColumn1.Width                  = 360;
     gridColumn2.DefaultNewRowCellValue = "";
     gridColumn2.Name                   = "gcId";
     gridColumn2.Visible                = false;
     gridColumn3.DefaultNewRowCellValue = "";
     gridColumn3.EditorType             = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxDropDownEditControl);
     gridColumn3.FilterPopupMaxItems    = 75;
     gridColumn3.HeaderText             = "资料分类";
     gridColumn3.Name                   = "gcType";
     gridColumn3.RenderType             = typeof(DevComponents.DotNetBar.SuperGrid.GridComboBoxExEditControl);
     gridColumn3.Width                  = 75;
     gridColumn4.HeaderText             = "资料日期";
     gridColumn4.Name                   = "gcArchDate";
     gridColumn4.Width                  = 80;
     gridColumn5.HeaderText             = "文号";
     gridColumn5.Name                   = "gcDispatchNum";
     gridColumn5.Width                  = 160;
     gridColumn6.HeaderText             = "总份数";
     gridColumn6.Name                   = "gcAllCount";
     gridColumn6.Width                  = 58;
     gridColumn7.HeaderText             = "剩余份数";
     gridColumn7.Name                   = "gcRemaining";
     gridColumn7.Width                  = 58;
     gridColumn8.HeaderText             = "存放位置";
     gridColumn8.Name                   = "gcLocation";
     gridColumn9.HeaderText             = "经办人";
     gridColumn9.Name                   = "gcHandler";
     gridColumn9.Width                  = 70;
     gridColumn10.Name                  = "gcProjectId";
     gridColumn10.Visible               = false;
     gridColumn11.HeaderText            = "收存日期";
     gridColumn11.Name                  = "gcRegisteDate";
     gridColumn11.Width                 = 80;
     gridColumn12.HeaderText            = "备注";
     gridColumn12.Name                  = "gcRemark";
     gridColumn13.ColumnSortMode        = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.None;
     gridColumn13.EditorType            = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn13.HeaderText            = "借出";
     gridColumn13.Name                  = "gcLend";
     gridColumn13.RenderType            = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn13.SortIndicator         = DevComponents.DotNetBar.SuperGrid.SortIndicator.None;
     gridColumn13.Width                 = 80;
     gridColumn14.EditorType            = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn14.HeaderText            = "归还";
     gridColumn14.Name                  = "gcReturn";
     gridColumn14.Width                 = 80;
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn1);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn2);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn3);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn4);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn5);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn6);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn7);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn8);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn9);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn10);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn11);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn12);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn13);
     this.ArchiveGrid.PrimaryGrid.Columns.Add(gridColumn14);
     this.ArchiveGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Font      = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.ArchiveGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.TextColor = System.Drawing.Color.Black;
     this.ArchiveGrid.PrimaryGrid.EnableFiltering      = true;
     this.ArchiveGrid.PrimaryGrid.Filter.RowHeight     = 25;
     this.ArchiveGrid.PrimaryGrid.Filter.Visible       = true;
     this.ArchiveGrid.PrimaryGrid.RowHeaderIndexOffset = 1;
     this.ArchiveGrid.PrimaryGrid.RowHeaderWidth       = 65;
     gridCell1.Value = "1";
     gridCell2.Value = "2";
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridRow1.Cells.Add(gridCell6);
     backColorBlend1.Colors = new System.Drawing.Color[] {
         System.Drawing.Color.CornflowerBlue
     };
     background1.BackColorBlend             = backColorBlend1;
     background1.Color1                     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     gridRow1.CellStyles.Default.Background = background1;
     gridRow1.Expanded        = true;
     gridRow1.InfoText        = "";
     background2.BackFillType = DevComponents.DotNetBar.SuperGrid.Style.BackFillType.Center;
     background2.Color1       = System.Drawing.Color.Goldenrod;
     gridRow1.RowStyles.Default.Background = background2;
     gridCell7.Value = "2";
     gridCell8.Value = "2";
     gridRow2.Cells.Add(gridCell7);
     gridRow2.Cells.Add(gridCell8);
     gridRow2.Cells.Add(gridCell9);
     this.ArchiveGrid.PrimaryGrid.Rows.Add(gridRow1);
     this.ArchiveGrid.PrimaryGrid.Rows.Add(gridRow2);
     this.ArchiveGrid.PrimaryGrid.ShowRowGridIndex = true;
     this.ArchiveGrid.Size     = new System.Drawing.Size(1140, 587);
     this.ArchiveGrid.TabIndex = 4;
     this.ArchiveGrid.Text     = "superGridControl3";
     //
     // ArchiveGridCtrl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.ArchiveGrid);
     this.Name = "ArchiveGridCtrl";
     this.Size = new System.Drawing.Size(1140, 587);
     this.ResumeLayout(false);
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager  resources   = new System.ComponentModel.ComponentResourceManager(typeof(DemoGridBasics1));
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn1 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding1    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding2    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn2 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding3    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn3 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding4    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn4 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding5    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridColumn    gridColumn5 = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding6    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.Style.Padding padding7    = new DevComponents.DotNetBar.SuperGrid.Style.Padding();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow1    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell1   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell2   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell3   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell4   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell5   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow2    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell6   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell7   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell8   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell9   = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell10  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow3    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell11  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell12  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell13  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell14  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell15  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow4    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell16  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell17  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell18  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell19  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell20  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow5    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell21  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell22  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell23  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell24  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell25  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow6    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell26  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell27  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell28  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell29  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell30  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow7    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell31  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell32  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell33  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell34  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell35  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow8    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell36  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell37  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell38  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell39  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell40  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow9    = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell41  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell42  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell43  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell44  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell45  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow10   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell46  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell47  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell48  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell49  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell50  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow11   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell51  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell52  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell53  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell54  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell55  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow       gridRow12   = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell56  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell57  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell58  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell59  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell      gridCell60  = new DevComponents.DotNetBar.SuperGrid.GridCell();
     this.richTextBox1      = new DevComponents.DotNetBar.Controls.RichTextBoxEx();
     this.flowerImageList   = new System.Windows.Forms.ImageList(this.components);
     this.superGridControl1 = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.styleManager1     = new DevComponents.DotNetBar.StyleManager(this.components);
     this.SuspendLayout();
     //
     // richTextBox1
     //
     this.richTextBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.richTextBox1.BackColor            = System.Drawing.SystemColors.Control;
     this.richTextBox1.BackColorRichTextBox = System.Drawing.Color.White;
     //
     //
     //
     this.richTextBox1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
     this.richTextBox1.Location = new System.Drawing.Point(4, 4);
     this.richTextBox1.Name     = "richTextBox1";
     this.richTextBox1.Size     = new System.Drawing.Size(780, 182);
     this.richTextBox1.TabIndex = 2;
     //
     // flowerImageList
     //
     this.flowerImageList.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("flowerImageList.ImageStream")));
     this.flowerImageList.TransparentColor = System.Drawing.Color.Transparent;
     this.flowerImageList.Images.SetKeyName(0, "Amaranth");
     this.flowerImageList.Images.SetKeyName(1, "Bellflower");
     this.flowerImageList.Images.SetKeyName(2, "Columbine");
     this.flowerImageList.Images.SetKeyName(3, "Foxglove");
     this.flowerImageList.Images.SetKeyName(4, "Laurestine");
     this.flowerImageList.Images.SetKeyName(5, "Orange-blossom");
     this.flowerImageList.Images.SetKeyName(6, "Hortensia");
     this.flowerImageList.Images.SetKeyName(7, "Rose");
     this.flowerImageList.Images.SetKeyName(8, "Sweet William");
     this.flowerImageList.Images.SetKeyName(9, "Touch-me-not");
     this.flowerImageList.Images.SetKeyName(10, "Violet");
     this.flowerImageList.Images.SetKeyName(11, "Whortleberry");
     //
     // superGridControl1
     //
     this.superGridControl1.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.superGridControl1.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.superGridControl1.Location = new System.Drawing.Point(0, 192);
     this.superGridControl1.Name     = "superGridControl1";
     this.superGridControl1.PrimaryGrid.AllowRowHeaderResize = true;
     this.superGridControl1.PrimaryGrid.AllowRowResize       = true;
     gridColumn1.CellStyles.Default.Font           = new System.Drawing.Font("Segoe UI", 9.75F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     gridColumn1.CellStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight;
     padding1.Left = 4;
     gridColumn1.CellStyles.Default.Margin                   = padding1;
     gridColumn1.CellStyles.MouseOver.Alignment              = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleLeft;
     gridColumn1.CellStyles.MouseOver.Image                  = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
     gridColumn1.CellStyles.MouseOver.ImageAlignment         = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight;
     gridColumn1.CellStyles.SelectedMouseOver.Image          = ((System.Drawing.Image)(resources.GetObject("resource.Image1")));
     gridColumn1.CellStyles.SelectedMouseOver.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleRight;
     gridColumn1.ColumnSortMode                      = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.Multiple;
     gridColumn1.HeaderStyles.Default.Image          = ((System.Drawing.Image)(resources.GetObject("resource.Image2")));
     gridColumn1.HeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.TopCenter;
     padding2.Bottom = 3;
     padding2.Left   = 3;
     padding2.Right  = 3;
     padding2.Top    = 3;
     gridColumn1.HeaderStyles.Default.Margin = padding2;
     gridColumn1.Name  = "TextBoxX";
     gridColumn1.Width = 180;
     gridColumn2.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn2.ColumnSortMode             = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.Multiple;
     gridColumn2.EditorType                 = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxDropDownEditControl);
     gridColumn2.HeaderStyles.Default.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image3")));
     padding3.Left = 6;
     gridColumn2.HeaderStyles.Default.ImagePadding = padding3;
     gridColumn2.Name                                = "TextBoxDropDown";
     gridColumn2.Width                               = 150;
     gridColumn3.ColumnSortMode                      = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.Multiple;
     gridColumn3.DisplayIndex                        = 1;
     gridColumn3.EditorType                          = typeof(DevComponents.DotNetBar.SuperGrid.GridButtonXEditControl);
     gridColumn3.HeaderStyles.Default.Image          = ((System.Drawing.Image)(resources.GetObject("resource.Image4")));
     gridColumn3.HeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     padding4.Bottom = 3;
     padding4.Left   = 3;
     padding4.Right  = 3;
     padding4.Top    = 3;
     gridColumn3.HeaderStyles.Default.Margin   = padding4;
     gridColumn3.MarkRowDirtyOnCellValueChange = false;
     gridColumn3.Name  = "ButtonX";
     gridColumn3.Width = 130;
     gridColumn4.CellStyles.Default.Alignment      = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn4.CellStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn4.ColumnSortMode = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.Multiple;
     gridColumn4.EditorType     = typeof(DevComponents.DotNetBar.SuperGrid.GridMaskedTextBoxEditControl);
     gridColumn4.HeaderStyles.Default.Alignment      = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn4.HeaderStyles.Default.AllowWrap      = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True;
     gridColumn4.HeaderStyles.Default.Image          = ((System.Drawing.Image)(resources.GetObject("resource.Image5")));
     gridColumn4.HeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.TopRight;
     padding5.Bottom = 4;
     padding5.Left   = 4;
     padding5.Right  = 4;
     padding5.Top    = 4;
     gridColumn4.HeaderStyles.Default.Margin = padding5;
     gridColumn4.HeaderText = "Masked TextBox";
     gridColumn4.Name       = "MaskedTextBox";
     gridColumn4.Width      = 120;
     gridColumn5.CellStyles.Default.Alignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.MiddleCenter;
     gridColumn5.ColumnSortMode                      = DevComponents.DotNetBar.SuperGrid.ColumnSortMode.Multiple;
     gridColumn5.EditorType                          = typeof(DevComponents.DotNetBar.SuperGrid.GridComboBoxExEditControl);
     gridColumn5.HeaderStyles.Default.Image          = ((System.Drawing.Image)(resources.GetObject("resource.Image6")));
     gridColumn5.HeaderStyles.Default.ImageAlignment = DevComponents.DotNetBar.SuperGrid.Style.Alignment.BottomRight;
     gridColumn5.HeaderStyles.Default.ImageOverlay   = DevComponents.DotNetBar.SuperGrid.Style.ImageOverlay.Top;
     padding6.Bottom = 4;
     padding6.Left   = 4;
     padding6.Right  = 4;
     padding6.Top    = 4;
     gridColumn5.HeaderStyles.Default.Margin = padding6;
     gridColumn5.Name  = "ComboBoxEx";
     gridColumn5.Width = 140;
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn1);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn2);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn3);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn4);
     this.superGridControl1.PrimaryGrid.Columns.Add(gridColumn5);
     this.superGridControl1.PrimaryGrid.DefaultRowHeight = 25;
     padding7.Top = 6;
     this.superGridControl1.PrimaryGrid.DefaultVisualStyles.ColumnHeaderStyles.Default.ImagePadding = padding7;
     this.superGridControl1.PrimaryGrid.FilterExpr = null;
     gridCell1.Value = "Amaranth";
     gridCell2.Value = "Unfading";
     gridCell3.Value = "Amaranth";
     gridCell4.Value = "EU-A-833";
     gridCell5.Value = "Eudicots";
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridCell6.Value  = "Asterales";
     gridCell7.Value  = "Indescretion";
     gridCell8.Value  = "Bellflower";
     gridCell9.Value  = "AS-A-631";
     gridCell10.Value = "Asterids";
     gridRow2.Cells.Add(gridCell6);
     gridRow2.Cells.Add(gridCell7);
     gridRow2.Cells.Add(gridCell8);
     gridRow2.Cells.Add(gridCell9);
     gridRow2.Cells.Add(gridCell10);
     gridCell11.Value = "Columbine";
     gridCell12.Value = "Folly";
     gridCell13.Value = "Columbine";
     gridCell14.Value = "EU-C-087";
     gridCell15.Value = "Eudicots";
     gridRow3.Cells.Add(gridCell11);
     gridRow3.Cells.Add(gridCell12);
     gridRow3.Cells.Add(gridCell13);
     gridRow3.Cells.Add(gridCell14);
     gridRow3.Cells.Add(gridCell15);
     gridCell16.Value = "Foxglove";
     gridCell17.Value = "Occupation";
     gridCell18.Value = "Foxglove";
     gridCell19.Value = "AS-F-004";
     gridCell20.Value = "Asterids";
     gridRow4.Cells.Add(gridCell16);
     gridRow4.Cells.Add(gridCell17);
     gridRow4.Cells.Add(gridCell18);
     gridRow4.Cells.Add(gridCell19);
     gridRow4.Cells.Add(gridCell20);
     gridCell21.Value = "Hortensia";
     gridCell22.Value = "Carelessness";
     gridCell23.Value = "Hortensia";
     gridCell24.Value = "AS-H-754";
     gridCell25.Value = "Asterids";
     gridRow5.Cells.Add(gridCell21);
     gridRow5.Cells.Add(gridCell22);
     gridRow5.Cells.Add(gridCell23);
     gridRow5.Cells.Add(gridCell24);
     gridRow5.Cells.Add(gridCell25);
     gridCell26.Value = "Laurestine";
     gridCell27.Value = "Delicate attentions";
     gridCell28.Value = "Laurestine";
     gridCell29.Value = "AS-L-339";
     gridCell30.Value = "Asterids";
     gridRow6.Cells.Add(gridCell26);
     gridRow6.Cells.Add(gridCell27);
     gridRow6.Cells.Add(gridCell28);
     gridRow6.Cells.Add(gridCell29);
     gridRow6.Cells.Add(gridCell30);
     gridCell31.Value = "Orange-blossom";
     gridCell32.Value = "Chasity";
     gridCell33.Value = "Orange-blossom";
     gridCell34.Value = "RO-O-059";
     gridCell35.Value = "Rosids";
     gridRow7.Cells.Add(gridCell31);
     gridRow7.Cells.Add(gridCell32);
     gridRow7.Cells.Add(gridCell33);
     gridRow7.Cells.Add(gridCell34);
     gridRow7.Cells.Add(gridCell35);
     gridCell36.Value = "Rose";
     gridCell37.Value = "Beauty";
     gridCell38.Value = "Rose";
     gridCell39.Value = "RO-R-826";
     gridCell40.Value = "Rosids";
     gridRow8.Cells.Add(gridCell36);
     gridRow8.Cells.Add(gridCell37);
     gridRow8.Cells.Add(gridCell38);
     gridRow8.Cells.Add(gridCell39);
     gridRow8.Cells.Add(gridCell40);
     gridCell41.Value = "Sweet William";
     gridCell42.Value = "Scorn";
     gridCell43.Value = "Sweet William";
     gridCell44.Value = "EU-W-635";
     gridCell45.Value = "Eudicots";
     gridRow9.Cells.Add(gridCell41);
     gridRow9.Cells.Add(gridCell42);
     gridRow9.Cells.Add(gridCell43);
     gridRow9.Cells.Add(gridCell44);
     gridRow9.Cells.Add(gridCell45);
     gridCell46.Value = "Touch-me-not";
     gridCell47.Value = "Impatience";
     gridCell48.Value = "Touch-me-not";
     gridCell49.Value = "AS-T-414";
     gridCell50.Value = "Asterids";
     gridRow10.Cells.Add(gridCell46);
     gridRow10.Cells.Add(gridCell47);
     gridRow10.Cells.Add(gridCell48);
     gridRow10.Cells.Add(gridCell49);
     gridRow10.Cells.Add(gridCell50);
     gridCell51.Value = "Violet";
     gridCell52.Value = "Modesty";
     gridCell53.Value = "Violet";
     gridCell54.Value = "RO-V-012";
     gridCell55.Value = "Rosids";
     gridRow11.Cells.Add(gridCell51);
     gridRow11.Cells.Add(gridCell52);
     gridRow11.Cells.Add(gridCell53);
     gridRow11.Cells.Add(gridCell54);
     gridRow11.Cells.Add(gridCell55);
     gridCell56.Value = "Whortleberry";
     gridCell57.Value = "Treachery";
     gridCell58.Value = "Whortleberry";
     gridCell59.Value = "AS-W-502";
     gridCell60.Value = "Asterids";
     gridRow12.Cells.Add(gridCell56);
     gridRow12.Cells.Add(gridCell57);
     gridRow12.Cells.Add(gridCell58);
     gridRow12.Cells.Add(gridCell59);
     gridRow12.Cells.Add(gridCell60);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow1);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow2);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow3);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow4);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow5);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow6);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow7);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow8);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow9);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow10);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow11);
     this.superGridControl1.PrimaryGrid.Rows.Add(gridRow12);
     this.superGridControl1.PrimaryGrid.Title.RowHeaderVisibility = DevComponents.DotNetBar.SuperGrid.RowHeaderVisibility.PanelControlled;
     this.superGridControl1.PrimaryGrid.UseAlternateColumnStyle   = true;
     this.superGridControl1.Size     = new System.Drawing.Size(784, 370);
     this.superGridControl1.TabIndex = 3;
     this.superGridControl1.Text     = "superGridControl1";
     //
     // styleManager1
     //
     this.styleManager1.ManagerStyle         = DevComponents.DotNetBar.eStyle.Windows7Blue;
     this.styleManager1.MetroColorParameters = new DevComponents.DotNetBar.Metro.ColorTables.MetroColorGeneratorParameters(System.Drawing.Color.White, System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(163)))), ((int)(((byte)(26))))));
     //
     // DemoGridBasics1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(784, 562);
     this.Controls.Add(this.superGridControl1);
     this.Controls.Add(this.richTextBox1);
     this.DoubleBuffered = true;
     this.EnableGlass    = false;
     this.Name           = "DemoGridBasics1";
     this.StartPosition  = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text           = "SuperGrid Demo - Text Related Control Types";
     this.ResumeLayout(false);
 }
Ejemplo n.º 11
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn1     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn2     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn3     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn4     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background1     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend backColorBlend1 = new DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn5     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn6     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn7     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn8     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn9     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn10    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn11    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn12    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow  gridRow1  = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell gridCell1 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell gridCell2 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell gridCell3 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell gridCell4 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell gridCell5 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell gridCell6 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow  gridRow2  = new DevComponents.DotNetBar.SuperGrid.GridRow();
     this.LendGrid = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.SuspendLayout();
     //
     // LendGrid
     //
     this.LendGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.LendGrid.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.LendGrid.Location = new System.Drawing.Point(0, 0);
     this.LendGrid.Name     = "LendGrid";
     this.LendGrid.PrimaryGrid.Caption.RowHeight = 40;
     this.LendGrid.PrimaryGrid.Caption.Text      = "资料借出登记表";
     gridColumn1.Name       = "gcId";
     gridColumn1.Visible    = false;
     gridColumn2.HeaderText = "资料名称";
     gridColumn2.Name       = "gcArchName";
     gridColumn2.Width      = 360;
     gridColumn3.HeaderText = "借出日期";
     gridColumn3.Name       = "gcLendDate";
     backColorBlend1.Colors = new System.Drawing.Color[] {
         System.Drawing.Color.LightGray
     };
     background1.BackColorBlend = backColorBlend1;
     gridColumn4.CellStyles.Default.Background = background1;
     gridColumn4.HeaderText  = "份数";
     gridColumn4.Name        = "gcCount";
     gridColumn5.HeaderText  = "借出事由";
     gridColumn5.Name        = "gcReason";
     gridColumn5.Width       = 70;
     gridColumn6.HeaderText  = "借出单位";
     gridColumn6.Name        = "gcLendUnit";
     gridColumn6.Width       = 60;
     gridColumn7.HeaderText  = "借出人";
     gridColumn7.Name        = "gcBorrower";
     gridColumn8.HeaderText  = "电话";
     gridColumn8.Name        = "gcPhone";
     gridColumn8.Width       = 80;
     gridColumn9.HeaderText  = "预计归还时间";
     gridColumn9.Name        = "gcRebackDate";
     gridColumn10.HeaderText = "经办人";
     gridColumn10.Name       = "gcHandler";
     gridColumn11.HeaderText = "核准人";
     gridColumn11.Name       = "gcApprovedBy";
     gridColumn12.HeaderText = "是否需要归还";
     gridColumn12.Name       = "gcNeedReturn";
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn1);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn2);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn3);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn4);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn5);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn6);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn7);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn8);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn9);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn10);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn11);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn12);
     this.LendGrid.PrimaryGrid.EnableFiltering      = true;
     this.LendGrid.PrimaryGrid.Filter.RowHeight     = 25;
     this.LendGrid.PrimaryGrid.Filter.Visible       = true;
     this.LendGrid.PrimaryGrid.RowHeaderIndexOffset = 1;
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridRow1.Cells.Add(gridCell6);
     gridRow1.InfoText = "";
     this.LendGrid.PrimaryGrid.Rows.Add(gridRow1);
     this.LendGrid.PrimaryGrid.Rows.Add(gridRow2);
     this.LendGrid.PrimaryGrid.ShowRowGridIndex = true;
     this.LendGrid.Size     = new System.Drawing.Size(1308, 585);
     this.LendGrid.TabIndex = 8;
     this.LendGrid.Text     = "superGridControl3";
     //
     // LendGridCtrl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.LendGrid);
     this.Name = "LendGridCtrl";
     this.Size = new System.Drawing.Size(1308, 585);
     this.ResumeLayout(false);
 }
Ejemplo n.º 12
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn1     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn2     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn3     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn4     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn5     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn6     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn7     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn8     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow              gridRow1        = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell1       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell2       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell3       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell4       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell5       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell6       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background1     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend backColorBlend1 = new DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background2     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.GridRow              gridRow2        = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell7       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell8       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell             gridCell9       = new DevComponents.DotNetBar.SuperGrid.GridCell();
     this.StatGrid          = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.panel2            = new System.Windows.Forms.Panel();
     this.buttonX1          = new DevComponents.DotNetBar.ButtonX();
     this.btnRefreshArchive = new DevComponents.DotNetBar.ButtonX();
     this.btnExport         = new DevComponents.DotNetBar.ButtonX();
     this.btnPrint          = new DevComponents.DotNetBar.ButtonX();
     this.panel2.SuspendLayout();
     this.SuspendLayout();
     //
     // StatGrid
     //
     this.StatGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.StatGrid.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.StatGrid.Location = new System.Drawing.Point(0, 51);
     this.StatGrid.Name     = "StatGrid";
     this.StatGrid.PrimaryGrid.Caption.RowHeight = 40;
     this.StatGrid.PrimaryGrid.Caption.Text      = "未归还统计";
     gridColumn1.DefaultNewRowCellValue          = "";
     gridColumn1.EditorType          = typeof(DevComponents.DotNetBar.SuperGrid.GridTextBoxDropDownEditControl);
     gridColumn1.FilterPopupMaxItems = 75;
     gridColumn1.HeaderText          = "项目名称";
     gridColumn1.Name       = "gcProjectName";
     gridColumn1.RenderType = typeof(DevComponents.DotNetBar.SuperGrid.GridComboBoxExEditControl);
     gridColumn1.Width      = 275;
     gridColumn2.HeaderText = "资料名称";
     gridColumn2.Name       = "gcArchName";
     gridColumn2.Width      = 360;
     gridColumn3.HeaderText = "未归还份数";
     gridColumn3.Name       = "gcAllCount";
     gridColumn3.Width      = 80;
     gridColumn4.HeaderText = "借出人";
     gridColumn4.Name       = "gcBorrower";
     gridColumn5.HeaderText = "电话";
     gridColumn5.Name       = "gcPhone";
     gridColumn6.HeaderText = "借出单位";
     gridColumn6.Name       = "gcUnit";
     gridColumn7.HeaderText = "借出事由";
     gridColumn7.Name       = "gcReason";
     gridColumn8.HeaderText = "是否需要归还";
     gridColumn8.Name       = "gcNeedReturn";
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn1);
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn2);
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn3);
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn4);
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn5);
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn6);
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn7);
     this.StatGrid.PrimaryGrid.Columns.Add(gridColumn8);
     this.StatGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Font      = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.StatGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.TextColor = System.Drawing.Color.Black;
     this.StatGrid.PrimaryGrid.EnableFiltering      = true;
     this.StatGrid.PrimaryGrid.Filter.RowHeight     = 25;
     this.StatGrid.PrimaryGrid.Filter.Visible       = true;
     this.StatGrid.PrimaryGrid.RowHeaderIndexOffset = 1;
     this.StatGrid.PrimaryGrid.RowHeaderWidth       = 65;
     gridCell1.Value = "1";
     gridCell2.Value = "2";
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridRow1.Cells.Add(gridCell6);
     backColorBlend1.Colors = new System.Drawing.Color[] {
         System.Drawing.Color.CornflowerBlue
     };
     background1.BackColorBlend             = backColorBlend1;
     background1.Color1                     = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
     gridRow1.CellStyles.Default.Background = background1;
     gridRow1.Expanded        = true;
     gridRow1.InfoText        = "";
     background2.BackFillType = DevComponents.DotNetBar.SuperGrid.Style.BackFillType.Center;
     background2.Color1       = System.Drawing.Color.Goldenrod;
     gridRow1.RowStyles.Default.Background = background2;
     gridCell7.Value = "2";
     gridCell8.Value = "2";
     gridRow2.Cells.Add(gridCell7);
     gridRow2.Cells.Add(gridCell8);
     gridRow2.Cells.Add(gridCell9);
     this.StatGrid.PrimaryGrid.Rows.Add(gridRow1);
     this.StatGrid.PrimaryGrid.Rows.Add(gridRow2);
     this.StatGrid.PrimaryGrid.ShowRowGridIndex = true;
     this.StatGrid.Size     = new System.Drawing.Size(1290, 540);
     this.StatGrid.TabIndex = 5;
     //
     // panel2
     //
     this.panel2.Controls.Add(this.buttonX1);
     this.panel2.Controls.Add(this.btnRefreshArchive);
     this.panel2.Controls.Add(this.btnExport);
     this.panel2.Controls.Add(this.btnPrint);
     this.panel2.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel2.Location = new System.Drawing.Point(0, 0);
     this.panel2.Name     = "panel2";
     this.panel2.Size     = new System.Drawing.Size(1290, 51);
     this.panel2.TabIndex = 4;
     //
     // buttonX1
     //
     this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonX1.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonX1.Location       = new System.Drawing.Point(1140, 15);
     this.buttonX1.Name           = "buttonX1";
     this.buttonX1.Size           = new System.Drawing.Size(75, 23);
     this.buttonX1.Style          = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.buttonX1.TabIndex       = 3;
     this.buttonX1.Text           = "buttonX1";
     this.buttonX1.Visible        = false;
     //
     // btnRefreshArchive
     //
     this.btnRefreshArchive.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnRefreshArchive.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                   | System.Windows.Forms.AnchorStyles.Left)));
     this.btnRefreshArchive.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnRefreshArchive.Location   = new System.Drawing.Point(259, 15);
     this.btnRefreshArchive.Name       = "btnRefreshArchive";
     this.btnRefreshArchive.Size       = new System.Drawing.Size(75, 26);
     this.btnRefreshArchive.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnRefreshArchive.TabIndex   = 2;
     this.btnRefreshArchive.Text       = "未归还统计";
     this.btnRefreshArchive.Visible    = false;
     this.btnRefreshArchive.Click     += new System.EventHandler(this.btnRefreshArchive_Click);
     //
     // btnExport
     //
     this.btnExport.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnExport.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)));
     this.btnExport.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnExport.Location   = new System.Drawing.Point(26, 15);
     this.btnExport.Name       = "btnExport";
     this.btnExport.Size       = new System.Drawing.Size(75, 26);
     this.btnExport.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnExport.TabIndex   = 1;
     this.btnExport.Text       = "导出";
     this.btnExport.Click     += new System.EventHandler(this.btnExport_Click);
     //
     // btnPrint
     //
     this.btnPrint.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnPrint.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnPrint.Location       = new System.Drawing.Point(164, 15);
     this.btnPrint.Name           = "btnPrint";
     this.btnPrint.Size           = new System.Drawing.Size(75, 26);
     this.btnPrint.Style          = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnPrint.TabIndex       = 0;
     this.btnPrint.Text           = "打印";
     this.btnPrint.Visible        = false;
     this.btnPrint.Click         += new System.EventHandler(this.btnPrint_Click);
     //
     // NoReturnForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1290, 591);
     this.Controls.Add(this.StatGrid);
     this.Controls.Add(this.panel2);
     this.Name          = "NoReturnForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "未归还统计";
     this.Shown        += new System.EventHandler(this.NoReturnForm_Shown);
     this.panel2.ResumeLayout(false);
     this.ResumeLayout(false);
 }
Ejemplo n.º 13
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn1     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn2     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn3     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn4     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.Style.Background     background1     = new DevComponents.DotNetBar.SuperGrid.Style.Background();
     DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend backColorBlend1 = new DevComponents.DotNetBar.SuperGrid.Style.BackColorBlend();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn5     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn6     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn7     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn8     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn9     = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn10    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn11    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn12    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridColumn           gridColumn13    = new DevComponents.DotNetBar.SuperGrid.GridColumn();
     DevComponents.DotNetBar.SuperGrid.GridRow      gridRow1  = new DevComponents.DotNetBar.SuperGrid.GridRow();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell1 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell2 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell3 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell4 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell5 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridCell     gridCell6 = new DevComponents.DotNetBar.SuperGrid.GridCell();
     DevComponents.DotNetBar.SuperGrid.GridRow      gridRow2  = new DevComponents.DotNetBar.SuperGrid.GridRow();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LendForm));
     this.LendGrid         = new DevComponents.DotNetBar.SuperGrid.SuperGridControl();
     this.panel3           = new System.Windows.Forms.Panel();
     this.btnDelete        = new DevComponents.DotNetBar.ButtonX();
     this.btnSaveAndReturn = new DevComponents.DotNetBar.ButtonX();
     this.btnLendRefresh   = new DevComponents.DotNetBar.ButtonX();
     this.btnSaveSend      = new DevComponents.DotNetBar.ButtonX();
     this.btnLend          = new DevComponents.DotNetBar.ButtonX();
     this.panel3.SuspendLayout();
     this.SuspendLayout();
     //
     // LendGrid
     //
     this.LendGrid.Dock = System.Windows.Forms.DockStyle.Fill;
     this.LendGrid.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed;
     this.LendGrid.Location = new System.Drawing.Point(0, 51);
     this.LendGrid.Name     = "LendGrid";
     this.LendGrid.PrimaryGrid.Caption.RowHeight = 40;
     this.LendGrid.PrimaryGrid.Caption.Text      = "资料借出登记表";
     gridColumn1.HeaderText = "资料名称";
     gridColumn1.Name       = "gcArchName";
     gridColumn1.Width      = 360;
     gridColumn2.Name       = "gcId";
     gridColumn2.Visible    = false;
     gridColumn3.HeaderText = "借出日期";
     gridColumn3.Name       = "gcLendDate";
     backColorBlend1.Colors = new System.Drawing.Color[] {
         System.Drawing.Color.LightGray
     };
     background1.BackColorBlend = backColorBlend1;
     gridColumn4.CellStyles.Default.Background = background1;
     gridColumn4.HeaderText  = "份数";
     gridColumn4.Name        = "gcCount";
     gridColumn5.HeaderText  = "借出事由";
     gridColumn5.Name        = "gcReason";
     gridColumn5.Width       = 70;
     gridColumn6.HeaderText  = "借出单位";
     gridColumn6.Name        = "gcLendUnit";
     gridColumn6.Width       = 60;
     gridColumn7.HeaderText  = "借出人";
     gridColumn7.Name        = "gcBorrower";
     gridColumn8.HeaderText  = "电话";
     gridColumn8.Name        = "gcPhone";
     gridColumn8.Width       = 80;
     gridColumn9.HeaderText  = "预计归还时间";
     gridColumn9.Name        = "gcRebackDate";
     gridColumn10.HeaderText = "经办人";
     gridColumn10.Name       = "gcHandler";
     gridColumn11.HeaderText = "核准人";
     gridColumn11.Name       = "gcApprovedBy";
     gridColumn12.HeaderText = "是否需要归还";
     gridColumn12.Name       = "gcNeedReturn";
     gridColumn13.Name       = "gcArchId";
     gridColumn13.Visible    = false;
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn1);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn2);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn3);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn4);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn5);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn6);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn7);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn8);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn9);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn10);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn11);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn12);
     this.LendGrid.PrimaryGrid.Columns.Add(gridColumn13);
     this.LendGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.Font      = new System.Drawing.Font("微软雅黑", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.LendGrid.PrimaryGrid.DefaultVisualStyles.CaptionStyles.Default.TextColor = System.Drawing.Color.Black;
     this.LendGrid.PrimaryGrid.EnableFiltering      = true;
     this.LendGrid.PrimaryGrid.Filter.RowHeight     = 25;
     this.LendGrid.PrimaryGrid.Filter.Visible       = true;
     this.LendGrid.PrimaryGrid.RowHeaderIndexOffset = 1;
     gridRow1.Cells.Add(gridCell1);
     gridRow1.Cells.Add(gridCell2);
     gridRow1.Cells.Add(gridCell3);
     gridRow1.Cells.Add(gridCell4);
     gridRow1.Cells.Add(gridCell5);
     gridRow1.Cells.Add(gridCell6);
     gridRow1.InfoText = "";
     this.LendGrid.PrimaryGrid.Rows.Add(gridRow1);
     this.LendGrid.PrimaryGrid.Rows.Add(gridRow2);
     this.LendGrid.PrimaryGrid.ShowRowGridIndex = true;
     this.LendGrid.Size     = new System.Drawing.Size(1318, 637);
     this.LendGrid.TabIndex = 7;
     this.LendGrid.Text     = "superGridControl3";
     this.LendGrid.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LendGrid_KeyDown);
     this.LendGrid.KeyUp   += new System.Windows.Forms.KeyEventHandler(this.LendGrid_KeyUp);
     //
     // panel3
     //
     this.panel3.Controls.Add(this.btnDelete);
     this.panel3.Controls.Add(this.btnSaveAndReturn);
     this.panel3.Controls.Add(this.btnLendRefresh);
     this.panel3.Controls.Add(this.btnSaveSend);
     this.panel3.Controls.Add(this.btnLend);
     this.panel3.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panel3.Location = new System.Drawing.Point(0, 0);
     this.panel3.Name     = "panel3";
     this.panel3.Size     = new System.Drawing.Size(1318, 51);
     this.panel3.TabIndex = 6;
     //
     // btnDelete
     //
     this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnDelete.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                           | System.Windows.Forms.AnchorStyles.Left)));
     this.btnDelete.Location  = new System.Drawing.Point(345, 15);
     this.btnDelete.Name      = "btnDelete";
     this.btnDelete.Size      = new System.Drawing.Size(75, 26);
     this.btnDelete.Style     = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnDelete.TabIndex  = 5;
     this.btnDelete.Text      = "删除";
     this.btnDelete.TextColor = System.Drawing.Color.Red;
     this.btnDelete.Click    += new System.EventHandler(this.btnDelete_Click);
     //
     // btnSaveAndReturn
     //
     this.btnSaveAndReturn.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnSaveAndReturn.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                  | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSaveAndReturn.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnSaveAndReturn.Location   = new System.Drawing.Point(1166, 15);
     this.btnSaveAndReturn.Name       = "btnSaveAndReturn";
     this.btnSaveAndReturn.Size       = new System.Drawing.Size(140, 26);
     this.btnSaveAndReturn.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnSaveAndReturn.TabIndex   = 4;
     this.btnSaveAndReturn.Text       = "保存并返回登记收存";
     this.btnSaveAndReturn.Click     += new System.EventHandler(this.btnSaveAndReturn_Click);
     //
     // btnLendRefresh
     //
     this.btnLendRefresh.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnLendRefresh.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                                | System.Windows.Forms.AnchorStyles.Left)));
     this.btnLendRefresh.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnLendRefresh.Location   = new System.Drawing.Point(130, 15);
     this.btnLendRefresh.Name       = "btnLendRefresh";
     this.btnLendRefresh.Size       = new System.Drawing.Size(75, 26);
     this.btnLendRefresh.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnLendRefresh.TabIndex   = 3;
     this.btnLendRefresh.Text       = "刷新";
     this.btnLendRefresh.Visible    = false;
     this.btnLendRefresh.Click     += new System.EventHandler(this.btnLendRefresh_Click);
     //
     // btnSaveSend
     //
     this.btnSaveSend.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnSaveSend.Anchor         = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                             | System.Windows.Forms.AnchorStyles.Right)));
     this.btnSaveSend.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnSaveSend.Location   = new System.Drawing.Point(1060, 15);
     this.btnSaveSend.Name       = "btnSaveSend";
     this.btnSaveSend.Size       = new System.Drawing.Size(75, 26);
     this.btnSaveSend.Style      = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnSaveSend.TabIndex   = 2;
     this.btnSaveSend.Text       = "保存";
     this.btnSaveSend.Click     += new System.EventHandler(this.btnSaveSend_Click);
     //
     // btnLend
     //
     this.btnLend.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.btnLend.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.btnLend.Location       = new System.Drawing.Point(27, 15);
     this.btnLend.Name           = "btnLend";
     this.btnLend.Size           = new System.Drawing.Size(75, 26);
     this.btnLend.Style          = DevComponents.DotNetBar.eDotNetBarStyle.OfficeMobile2014;
     this.btnLend.TabIndex       = 0;
     this.btnLend.Text           = "登记借出";
     this.btnLend.Click         += new System.EventHandler(this.btnLend_Click);
     //
     // LendForm
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(1318, 688);
     this.Controls.Add(this.LendGrid);
     this.Controls.Add(this.panel3);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "LendForm";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "借出资料";
     this.FormClosing  += new System.Windows.Forms.FormClosingEventHandler(this.LendForm_FormClosing);
     this.Shown        += new System.EventHandler(this.LendForm_Shown);
     this.panel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }