209 lines
10 KiB
C#
209 lines
10 KiB
C#
namespace WMS.Ctrl
|
|
{
|
|
partial class FrmGridViewColSelect
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmGridViewColSelect));
|
|
this.bOK = new System.Windows.Forms.Button();
|
|
this.bCancel = new System.Windows.Forms.Button();
|
|
this.gc_GroupList = new DevExpress.XtraGrid.GridControl();
|
|
this.gv_GroupList = new DevExpress.XtraGrid.Views.Grid.GridView();
|
|
this.colCheck = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colCaption = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colIsSum = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.colVisibleIndex = new DevExpress.XtraGrid.Columns.GridColumn();
|
|
this.chkGroupAll = new System.Windows.Forms.RadioButton();
|
|
this.chkGroupSelectRow = new System.Windows.Forms.RadioButton();
|
|
((System.ComponentModel.ISupportInitialize)(this.gc_GroupList)).BeginInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gv_GroupList)).BeginInit();
|
|
this.SuspendLayout();
|
|
//
|
|
// bOK
|
|
//
|
|
this.bOK.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.bOK.Location = new System.Drawing.Point(271, 425);
|
|
this.bOK.Name = "bOK";
|
|
this.bOK.Size = new System.Drawing.Size(80, 25);
|
|
this.bOK.TabIndex = 3;
|
|
this.bOK.Text = "确 定(&OK)";
|
|
this.bOK.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.bOK.UseVisualStyleBackColor = true;
|
|
this.bOK.Click += new System.EventHandler(this.bOK_Click);
|
|
//
|
|
// bCancel
|
|
//
|
|
this.bCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.bCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
this.bCancel.Location = new System.Drawing.Point(375, 425);
|
|
this.bCancel.Name = "bCancel";
|
|
this.bCancel.Size = new System.Drawing.Size(80, 25);
|
|
this.bCancel.TabIndex = 4;
|
|
this.bCancel.Text = "取 消(&Esc)";
|
|
this.bCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
|
|
this.bCancel.UseVisualStyleBackColor = true;
|
|
this.bCancel.Click += new System.EventHandler(this.bCancel_Click);
|
|
//
|
|
// gc_GroupList
|
|
//
|
|
this.gc_GroupList.Location = new System.Drawing.Point(12, 12);
|
|
this.gc_GroupList.MainView = this.gv_GroupList;
|
|
this.gc_GroupList.Name = "gc_GroupList";
|
|
this.gc_GroupList.Size = new System.Drawing.Size(443, 407);
|
|
this.gc_GroupList.TabIndex = 0;
|
|
this.gc_GroupList.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
|
|
this.gv_GroupList});
|
|
//
|
|
// gv_GroupList
|
|
//
|
|
this.gv_GroupList.Appearance.EvenRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(240)))), ((int)(((byte)(240)))), ((int)(((byte)(250)))));
|
|
this.gv_GroupList.Appearance.EvenRow.Options.UseBackColor = true;
|
|
this.gv_GroupList.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
|
|
this.colCheck,
|
|
this.colCaption,
|
|
this.colIsSum,
|
|
this.colVisibleIndex});
|
|
this.gv_GroupList.GridControl = this.gc_GroupList;
|
|
this.gv_GroupList.IndicatorWidth = 40;
|
|
this.gv_GroupList.Name = "gv_GroupList";
|
|
this.gv_GroupList.OptionsView.ColumnAutoWidth = false;
|
|
this.gv_GroupList.OptionsView.EnableAppearanceEvenRow = true;
|
|
this.gv_GroupList.OptionsView.ShowGroupPanel = false;
|
|
this.gv_GroupList.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
|
|
new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.colVisibleIndex, DevExpress.Data.ColumnSortOrder.Ascending)});
|
|
//
|
|
// colCheck
|
|
//
|
|
this.colCheck.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colCheck.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colCheck.Caption = "选择";
|
|
this.colCheck.FieldName = "Check";
|
|
this.colCheck.Name = "colCheck";
|
|
this.colCheck.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
|
|
this.colCheck.Visible = true;
|
|
this.colCheck.VisibleIndex = 0;
|
|
this.colCheck.Width = 77;
|
|
//
|
|
// colCaption
|
|
//
|
|
this.colCaption.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colCaption.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colCaption.Caption = "列标题";
|
|
this.colCaption.FieldName = "Caption";
|
|
this.colCaption.Name = "colCaption";
|
|
this.colCaption.OptionsColumn.AllowEdit = false;
|
|
this.colCaption.Visible = true;
|
|
this.colCaption.VisibleIndex = 1;
|
|
this.colCaption.Width = 150;
|
|
//
|
|
// colIsSum
|
|
//
|
|
this.colIsSum.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colIsSum.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colIsSum.Caption = "是否求和";
|
|
this.colIsSum.FieldName = "IsSum";
|
|
this.colIsSum.Name = "colIsSum";
|
|
this.colIsSum.UnboundType = DevExpress.Data.UnboundColumnType.Boolean;
|
|
this.colIsSum.Visible = true;
|
|
this.colIsSum.VisibleIndex = 2;
|
|
this.colIsSum.Width = 60;
|
|
//
|
|
// colVisibleIndex
|
|
//
|
|
this.colVisibleIndex.AppearanceHeader.Options.UseTextOptions = true;
|
|
this.colVisibleIndex.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
|
|
this.colVisibleIndex.Caption = "排序";
|
|
this.colVisibleIndex.FieldName = "VisibleIndex";
|
|
this.colVisibleIndex.Name = "colVisibleIndex";
|
|
this.colVisibleIndex.OptionsColumn.AllowEdit = false;
|
|
this.colVisibleIndex.UnboundType = DevExpress.Data.UnboundColumnType.Integer;
|
|
this.colVisibleIndex.Visible = true;
|
|
this.colVisibleIndex.VisibleIndex = 3;
|
|
this.colVisibleIndex.Width = 60;
|
|
//
|
|
// chkGroupAll
|
|
//
|
|
this.chkGroupAll.AutoSize = true;
|
|
this.chkGroupAll.Location = new System.Drawing.Point(122, 434);
|
|
this.chkGroupAll.Name = "chkGroupAll";
|
|
this.chkGroupAll.Size = new System.Drawing.Size(95, 16);
|
|
this.chkGroupAll.TabIndex = 2;
|
|
this.chkGroupAll.Text = "汇总所有数据";
|
|
this.chkGroupAll.UseVisualStyleBackColor = true;
|
|
//
|
|
// chkGroupSelectRow
|
|
//
|
|
this.chkGroupSelectRow.AutoSize = true;
|
|
this.chkGroupSelectRow.Checked = true;
|
|
this.chkGroupSelectRow.Location = new System.Drawing.Point(9, 434);
|
|
this.chkGroupSelectRow.Name = "chkGroupSelectRow";
|
|
this.chkGroupSelectRow.Size = new System.Drawing.Size(107, 16);
|
|
this.chkGroupSelectRow.TabIndex = 1;
|
|
this.chkGroupSelectRow.TabStop = true;
|
|
this.chkGroupSelectRow.Text = "汇总当前选择行";
|
|
this.chkGroupSelectRow.UseVisualStyleBackColor = true;
|
|
//
|
|
// FrmGridViewColSelect
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.CancelButton = this.bCancel;
|
|
this.ClientSize = new System.Drawing.Size(467, 462);
|
|
this.Controls.Add(this.chkGroupAll);
|
|
this.Controls.Add(this.chkGroupSelectRow);
|
|
this.Controls.Add(this.gc_GroupList);
|
|
this.Controls.Add(this.bCancel);
|
|
this.Controls.Add(this.bOK);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "FrmGridViewColSelect";
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
this.Text = "列表汇总(选择汇总列)";
|
|
this.Load += new System.EventHandler(this.FrmGridViewColSelect_Load);
|
|
((System.ComponentModel.ISupportInitialize)(this.gc_GroupList)).EndInit();
|
|
((System.ComponentModel.ISupportInitialize)(this.gv_GroupList)).EndInit();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Button bOK;
|
|
private System.Windows.Forms.Button bCancel;
|
|
private DevExpress.XtraGrid.GridControl gc_GroupList;
|
|
private DevExpress.XtraGrid.Views.Grid.GridView gv_GroupList;
|
|
private System.Windows.Forms.RadioButton chkGroupAll;
|
|
private System.Windows.Forms.RadioButton chkGroupSelectRow;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colCaption;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colIsSum;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colCheck;
|
|
private DevExpress.XtraGrid.Columns.GridColumn colVisibleIndex;
|
|
}
|
|
} |