关于C# 查询 功能的实现代码__教程 |
|
日期:2007-5-15 21:09:11 人气:507 [大 中 小] |
|
|
|
// // dataSet21 // this.dataSet21.DataSetName = "DataSet2"; this.dataSet21.Locale = new System.Globalization.CultureInfo("zh-CN"); // // dataGrid1 // this.dataGrid1.AlternatingBackColor = System.Drawing.Color.GhostWhite; this.dataGrid1.BackColor = System.Drawing.Color.GhostWhite; this.dataGrid1.BackgroundColor = System.Drawing.Color.Lavender; this.dataGrid1.BorderStyle = System.Windows.Forms.BorderStyle.None; this.dataGrid1.CaptionBackColor = System.Drawing.Color.RoyalBlue; this.dataGrid1.CaptionForeColor = System.Drawing.Color.White; this.dataGrid1.DataMember = ""; this.dataGrid1.DataSource = this.dataSet21.管理用户; this.dataGrid1.FlatMode = true; this.dataGrid1.Font = new System.Drawing.Font("Tahoma", 8F); this.dataGrid1.ForeColor = System.Drawing.Color.MidnightBlue; this.dataGrid1.GridLineColor = System.Drawing.Color.RoyalBlue; this.dataGrid1.HeaderBackColor = System.Drawing.Color.MidnightBlue; this.dataGrid1.HeaderFont = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.dataGrid1.HeaderForeColor = System.Drawing.Color.Lavender; this.dataGrid1.LinkColor = System.Drawing.Color.Teal; this.dataGrid1.Location = new System.Drawing.Point(8, 192); this.dataGrid1.Name = "dataGrid1"; this.dataGrid1.ParentRowsBackColor = System.Drawing.Color.Lavender; this.dataGrid1.ParentRowsForeColor = System.Drawing.Color.MidnightBlue; this.dataGrid1.SelectionBackColor = System.Drawing.Color.Teal; this.dataGrid1.SelectionForeColor = System.Drawing.Color.PaleGreen; this.dataGrid1.Size = new System.Drawing.Size(328, 152); this.dataGrid1.TabIndex = 7; // // FrmLogin // this.AutoScaleBaseSize = new System.Drawing.Size(6, 14); this.ClientSize = new System.Drawing.Size(352, 352); this.Controls.Add(this.dataGrid1); |
|
出处:本站原创 作者:佚名 |
|
|