本文整理汇总了C#中DevExpress.XtraGrid.Views.Grid.GridView类的典型用法代码示例。如果您正苦于以下问题:C# DevExpress.XtraGrid.Views.Grid.GridView类的具体用法?C# DevExpress.XtraGrid.Views.Grid.GridView怎么用?C# DevExpress.XtraGrid.Views.Grid.GridView使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
DevExpress.XtraGrid.Views.Grid.GridView类属于命名空间,在下文中一共展示了DevExpress.XtraGrid.Views.Grid.GridView类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
private void InitializeComponent()
{
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
this.SuspendLayout();
//
// gridView1
//
this.gridView1.Name = "gridView1";
//
// gridView2
//
this.gridView2.GridControl = this;
this.gridView2.Name = "gridView2";
//
// GridControlEx
//
this.MainView = this.gridView2;
this.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView2});
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
this.ResumeLayout(false);
}
示例2: pivotGridControlMain_CellDoubleClick
private void pivotGridControlMain_CellDoubleClick(object sender, PivotCellEventArgs e)
{
Form form = new Form();
form.Text = "Records";
// Place a DataGrid control on the form.
DevExpress.XtraGrid.GridControl grid = new DevExpress.XtraGrid.GridControl();
DevExpress.XtraGrid.Views.Grid.GridView view = new DevExpress.XtraGrid.Views.Grid.GridView(); view.OptionsView.ColumnAutoWidth = false;
grid.MainView = view;
grid.Parent = form;
grid.Dock = DockStyle.Fill;
// Get the recrd set associated with the current cell and bind it to the grid.
grid.DataSource = e.CreateDrillDownDataSource();
form.Bounds = new Rectangle(100, 100, 500, 400);
// Display the form.
form.ShowDialog();
form.Dispose();
}
示例3: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.gridControl1 = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
this.SuspendLayout();
//
// gridControl1
//
this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridControl1.Location = new System.Drawing.Point(0, 0);
this.gridControl1.MainView = this.gridView1;
this.gridControl1.Name = "gridControl1";
this.gridControl1.Size = new System.Drawing.Size(1222, 880);
this.gridControl1.TabIndex = 0;
this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView1});
//
// gridView1
//
this.gridView1.GridControl = this.gridControl1;
this.gridView1.Name = "gridView1";
//
// DataList_Form
//
this.AutoScaleDimensions = new System.Drawing.SizeF(12F, 24F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(1222, 880);
this.Controls.Add(this.gridControl1);
this.Name = "DataList_Form";
this.Text = "DataList_Form";
this.Load += new System.EventHandler(this.DataList_Form_Load);
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
this.ResumeLayout(false);
}
示例4: InitializeComponent
/// <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();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject();
this.gridControlData = new DevExpress.XtraGrid.GridControl();
this.tBLSheekWaredBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.dSFellowship = new Fellowship.DataSources.DSFellowship();
this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colSyndicateId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditSyndicateId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.cDSyndicateBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEdaraId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditEdaraId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.cDEDARETBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSheekMony = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemCalcEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
this.colSheekNo = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSheekDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
this.colEdaraSarfDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colNkapaSarfDate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEdaraMandopId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditEdaraMandopId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.tBLEdaraMandopBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colnkapaMandopId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditnkapaMandopId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.tBLNkapaMandopBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView4 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.gridColumnDelete = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemButtonEditDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn();
this.tableAdapterManager = new Fellowship.DataSources.DSFellowshipTableAdapters.TableAdapterManager();
this.cDEDARETTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.CDEDARETTableAdapter();
this.cDSyndicateTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.CDSyndicateTableAdapter();
this.tBLEdaraMandopTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLEdaraMandopTableAdapter();
this.tBLNkapaMandopTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLNkapaMandopTableAdapter();
this.tBLSheekWaredTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.TBLSheekWaredTableAdapter();
this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
this.btnNew = new DevExpress.XtraEditors.SimpleButton();
((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tBLSheekWaredBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dSFellowship)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditSyndicateId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cDSyndicateBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdit1View)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cDEDARETBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemCalcEditf2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditEdaraMandopId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tBLEdaraMandopBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditnkapaMandopId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tBLNkapaMandopBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
this.groupControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
this.groupControl2.SuspendLayout();
this.SuspendLayout();
//
// gridControlData
//
this.gridControlData.DataSource = this.tBLSheekWaredBindingSource;
this.gridControlData.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridControlData.EmbeddedNavigator.Buttons.Append.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false;
this.gridControlData.Location = new System.Drawing.Point(2, 21);
//.........这里部分代码省略.........
示例5: InitializeComponent
/// <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();
DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
this.gridControlData = new DevExpress.XtraGrid.GridControl();
this.sp001BindingSource = new System.Windows.Forms.BindingSource(this.components);
this.dsQueries = new RetirementCenter.DataSources.dsQueries();
this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colTotal = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemTextEditn2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
this.colBankMoney = new DevExpress.XtraGrid.Columns.GridColumn();
this.colAmantaMoney = new DevExpress.XtraGrid.Columns.GridColumn();
this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colpersonName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnSearch = new DevExpress.XtraEditors.SimpleButton();
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
this.ccbeSarfType = new DevExpress.XtraEditors.CheckedComboBoxEdit();
this.cDSarfTypeedadBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.ccbeDof = new DevExpress.XtraEditors.CheckedComboBoxEdit();
this.tBLDofatSarfBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.btnPrintExport = new DevExpress.XtraEditors.SimpleButton();
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
this.tBLDofatSarfTableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.TBLDofatSarfTableAdapter();
this.dxvp = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
this.sp_001TableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.sp_001TableAdapter();
this.cDSarfTypeedadTableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.CDSarfTypeedadTableAdapter();
((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.sp001BindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsQueries)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditn2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
this.layoutControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.ccbeSarfType.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cDSarfTypeedadBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ccbeDof.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dxvp)).BeginInit();
this.SuspendLayout();
//
// gridControlData
//
this.gridControlData.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.gridControlData.DataSource = this.sp001BindingSource;
this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false;
this.gridControlData.EmbeddedNavigator.TextStringFormat = "صف {0} من {1}";
this.gridControlData.Location = new System.Drawing.Point(12, 38);
this.gridControlData.MainView = this.gridViewData;
this.gridControlData.Name = "gridControlData";
this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repositoryItemTextEditn2});
this.gridControlData.Size = new System.Drawing.Size(914, 523);
this.gridControlData.TabIndex = 1;
this.gridControlData.UseEmbeddedNavigator = true;
this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridViewData});
//
// sp001BindingSource
//
this.sp001BindingSource.DataMember = "sp_001";
this.sp001BindingSource.DataSource = this.dsQueries;
//
// dsQueries
//
this.dsQueries.DataSetName = "dsQueries";
this.dsQueries.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// gridViewData
//
this.gridViewData.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.DarkGray;
this.gridViewData.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.DarkGray;
this.gridViewData.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.DimGray;
this.gridViewData.Appearance.ColumnFilterButton.Options.UseBackColor = true;
this.gridViewData.Appearance.ColumnFilterButton.Options.UseBorderColor = true;
this.gridViewData.Appearance.ColumnFilterButton.Options.UseForeColor = true;
//.........这里部分代码省略.........
示例6: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
this.groupControlBuildingList = new DevExpress.XtraEditors.GroupControl();
this.gridControl1 = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.building_company_id_text = new DevExpress.XtraGrid.Columns.GridColumn();
this.building_building_code = new DevExpress.XtraGrid.Columns.GridColumn();
this.building_building_label = new DevExpress.XtraGrid.Columns.GridColumn();
this.building_floor_no = new DevExpress.XtraGrid.Columns.GridColumn();
this.building_building_id = new DevExpress.XtraGrid.Columns.GridColumn();
this.building_company_id = new DevExpress.XtraGrid.Columns.GridColumn();
this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
this.groupControlBuildingInfo = new DevExpress.XtraEditors.GroupControl();
this.xtraScrollableControl1 = new DevExpress.XtraEditors.XtraScrollableControl();
this.lookUpEditxxx = new DevExpress.XtraEditors.LookUpEdit();
this.labelControlRequired = new DevExpress.XtraEditors.LabelControl();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.labelControlCompanyName = new DevExpress.XtraEditors.LabelControl();
this.labelControlBuilding = new DevExpress.XtraEditors.LabelControl();
this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
this.labelControlBuildingLabel = new DevExpress.XtraEditors.LabelControl();
this.labelControlFloorNo = new DevExpress.XtraEditors.LabelControl();
this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
this.bttDelete = new DevExpress.XtraEditors.SimpleButton();
this.bttEdit = new DevExpress.XtraEditors.SimpleButton();
this.bttAdd = new DevExpress.XtraEditors.SimpleButton();
this.luEditFloorNo = new DevExpress.XtraEditors.LookUpEdit();
this.luEditBuilding = new DevExpress.XtraEditors.LookUpEdit();
this.bttSave = new DevExpress.XtraEditors.SimpleButton();
this.bttCancel = new DevExpress.XtraEditors.SimpleButton();
this.txtBuildingLabel = new DevExpress.XtraEditors.TextEdit();
this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
this.splitContainerControl2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingList)).BeginInit();
this.groupControlBuildingList.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
this.panelControl3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControlBuildingInfo)).BeginInit();
this.groupControlBuildingInfo.SuspendLayout();
this.xtraScrollableControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.lookUpEditxxx.Properties)).BeginInit();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.luEditFloorNo.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.luEditBuilding.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtBuildingLabel.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
this.splitContainerControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
this.panelControl2.SuspendLayout();
this.SuspendLayout();
//
// splitContainerControl2
//
this.splitContainerControl2.Dock = System.Windows.Forms.DockStyle.Fill;
this.splitContainerControl2.Location = new System.Drawing.Point(7, 7);
this.splitContainerControl2.Name = "splitContainerControl2";
this.splitContainerControl2.Panel1.Controls.Add(this.groupControlBuildingList);
this.splitContainerControl2.Panel1.Text = "Panel1";
this.splitContainerControl2.Panel2.Controls.Add(this.panelControl3);
this.splitContainerControl2.Panel2.Text = "Panel2";
this.splitContainerControl2.Size = new System.Drawing.Size(1040, 474);
this.splitContainerControl2.SplitterPosition = 500;
this.splitContainerControl2.TabIndex = 11;
this.splitContainerControl2.Text = "splitContainerControl2";
//
// groupControlBuildingList
//
this.groupControlBuildingList.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Bold);
this.groupControlBuildingList.AppearanceCaption.Options.UseFont = true;
this.groupControlBuildingList.Controls.Add(this.gridControl1);
this.groupControlBuildingList.Dock = System.Windows.Forms.DockStyle.Fill;
this.groupControlBuildingList.Location = new System.Drawing.Point(0, 0);
this.groupControlBuildingList.Name = "groupControlBuildingList";
this.groupControlBuildingList.Size = new System.Drawing.Size(500, 474);
this.groupControlBuildingList.TabIndex = 0;
this.groupControlBuildingList.Text = "รายการอาคาร";
//
// gridControl1
//
this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.gridControl1.EmbeddedNavigator.Buttons.EnabledAutoRepeat = false;
this.gridControl1.EmbeddedNavigator.Buttons.EndEdit.Enabled = false;
this.gridControl1.Location = new System.Drawing.Point(2, 22);
this.gridControl1.MainView = this.gridView1;
this.gridControl1.Name = "gridControl1";
this.gridControl1.Size = new System.Drawing.Size(496, 450);
//.........这里部分代码省略.........
示例7: InitializeComponent
/// <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();
this.xpCollection1 = new DevExpress.Xpo.XPCollection();
this.tmrReload = new System.Windows.Forms.Timer(this.components);
this.popupMenu1 = new DevExpress.XtraBars.PopupMenu(this.components);
this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl();
this.bbtnClose = new DevExpress.XtraBars.BarButtonItem();
this.bbtnNewCard = new DevExpress.XtraBars.BarButtonItem();
this.bbtnDeleteCard = new DevExpress.XtraBars.BarButtonItem();
this.rpGeneral = new DevExpress.XtraBars.Ribbon.RibbonPage();
this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup();
this.gridControl1 = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colOid = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCardModel = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCardRevision = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCardSerialNumber = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCardName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colCardDescription = new DevExpress.XtraGrid.Columns.GridColumn();
this.clientPanel = new DevExpress.XtraEditors.PanelControl();
((System.ComponentModel.ISupportInitialize)(this.xpCollection1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.popupMenu1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.clientPanel)).BeginInit();
this.clientPanel.SuspendLayout();
this.SuspendLayout();
//
// xpCollection1
//
this.xpCollection1.BindingBehavior = DevExpress.Xpo.CollectionBindingBehavior.AllowRemove;
this.xpCollection1.ObjectType = typeof(SSTCP.Database.Cards);
//
// tmrReload
//
this.tmrReload.Enabled = true;
this.tmrReload.Interval = 500;
this.tmrReload.Tick += new System.EventHandler(this.tmrReload_Tick);
//
// popupMenu1
//
this.popupMenu1.ItemLinks.Add(this.bbtnDeleteCard);
this.popupMenu1.Name = "popupMenu1";
this.popupMenu1.Ribbon = this.ribbon;
//
// ribbon
//
this.ribbon.ApplicationButtonText = null;
this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
this.bbtnClose,
this.bbtnNewCard,
this.bbtnDeleteCard});
this.ribbon.Location = new System.Drawing.Point(0, 0);
this.ribbon.MaxItemId = 4;
this.ribbon.Name = "ribbon";
this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] {
this.rpGeneral});
this.ribbon.SelectedPage = this.rpGeneral;
this.ribbon.Size = new System.Drawing.Size(793, 143);
//
// bbtnClose
//
this.bbtnClose.Caption = "Close";
this.bbtnClose.Id = 1;
this.bbtnClose.Name = "bbtnClose";
this.bbtnClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbtnClose_ItemClick);
//
// bbtnNewCard
//
this.bbtnNewCard.Caption = "New Card";
this.bbtnNewCard.Id = 2;
this.bbtnNewCard.Name = "bbtnNewCard";
this.bbtnNewCard.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbtnNewCard_ItemClick);
//
// bbtnDeleteCard
//
this.bbtnDeleteCard.Caption = "Delete Card";
this.bbtnDeleteCard.Id = 3;
this.bbtnDeleteCard.Name = "bbtnDeleteCard";
//
// rpGeneral
//
this.rpGeneral.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] {
this.ribbonPageGroup1});
this.rpGeneral.Name = "rpGeneral";
this.rpGeneral.Text = "General";
//
// ribbonPageGroup1
//
this.ribbonPageGroup1.ItemLinks.Add(this.bbtnClose);
this.ribbonPageGroup1.ItemLinks.Add(this.bbtnNewCard);
this.ribbonPageGroup1.Name = "ribbonPageGroup1";
this.ribbonPageGroup1.ShowCaptionButton = false;
this.ribbonPageGroup1.Text = "File";
//.........这里部分代码省略.........
开发者ID:SmartSimTech,项目名称:SSTCP,代码行数:101,代码来源:frmCards.Designer+(Tyler+Reed's+conflicted+copy+2010-12-16).cs
示例8: InitializeComponent
/// <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(frmClipboardMan));
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.addButton = new System.Windows.Forms.ToolStripButton();
this.removeButton = new System.Windows.Forms.ToolStripButton();
this.LuuSep = new System.Windows.Forms.ToolStripSeparator();
this.closeButton = new System.Windows.Forms.ToolStripButton();
this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
this.lbl_doituongClipboard = new DevExpress.XtraEditors.LabelControl();
this.lblCat = new System.Windows.Forms.Label();
this.dockManager1 = new DevExpress.XtraBars.Docking.DockManager(this.components);
this.dockPanel1 = new DevExpress.XtraBars.Docking.DockPanel();
this.dockPanel1_Container = new DevExpress.XtraBars.Docking.ControlContainer();
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
this.navBarControl3 = new DevExpress.XtraNavBar.NavBarControl();
this.groupClipboard = new DevExpress.XtraNavBar.NavBarGroup();
this.navBarItem10 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarControl2 = new DevExpress.XtraNavBar.NavBarControl();
this.navBarItem1 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem2 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem3 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem4 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem5 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem6 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem7 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem8 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarItem9 = new DevExpress.XtraNavBar.NavBarItem();
this.navBarControl1 = new DevExpress.XtraNavBar.NavBarControl();
this.panel1 = new System.Windows.Forms.Panel();
this.dgc_details = new DevExpress.XtraGrid.GridControl();
this.dgv_details = new DevExpress.XtraGrid.Views.Grid.GridView();
this.label1 = new System.Windows.Forms.Label();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
this.panelControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dockManager1)).BeginInit();
this.dockPanel1.SuspendLayout();
this.dockPanel1_Container.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
this.panelControl2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
this.panelControl3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.navBarControl3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.navBarControl2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.navBarControl1)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgc_details)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgv_details)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
//
this.toolStrip1.BackColor = System.Drawing.Color.Transparent;
this.toolStrip1.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
this.toolStrip1.ImageScalingSize = new System.Drawing.Size(23, 23);
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.addButton,
this.removeButton,
this.LuuSep,
this.closeButton});
this.toolStrip1.Location = new System.Drawing.Point(0, 0);
this.toolStrip1.Name = "toolStrip1";
this.toolStrip1.Size = new System.Drawing.Size(580, 25);
this.toolStrip1.TabIndex = 1;
this.toolStrip1.Text = "toolStrip1";
//
// addButton
//
this.addButton.Name = "addButton";
this.addButton.Size = new System.Drawing.Size(98, 22);
this.addButton.Tag = "";
this.addButton.Text = " &Xóa tất cả dữ liệu";
this.addButton.Click += new System.EventHandler(this.addButton_Click);
//
// removeButton
//
this.removeButton.Name = "removeButton";
this.removeButton.Size = new System.Drawing.Size(101, 22);
this.removeButton.Tag = "";
this.removeButton.Text = "Xóa các &dòng chọn";
this.removeButton.Click += new System.EventHandler(this.removeButton_Click);
//
// LuuSep
//
this.LuuSep.Name = "LuuSep";
this.LuuSep.Size = new System.Drawing.Size(6, 25);
this.LuuSep.Visible = false;
//
// closeButton
//
this.closeButton.Name = "closeButton";
this.closeButton.Size = new System.Drawing.Size(43, 22);
this.closeButton.Text = " Đón&g ";
//.........这里部分代码省略.........
示例9: InitializeComponent
/// <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.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(frmClass));
this.grpMDClass = new DevExpress.XtraEditors.GroupControl();
this.btnClass_Add = new DevExpress.XtraEditors.SimpleButton();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.btnClass_Del = new DevExpress.XtraEditors.SimpleButton();
this.btn_Add = new DevExpress.XtraEditors.SimpleButton();
this.btn_Del = new DevExpress.XtraEditors.SimpleButton();
this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
this.gridControlMd_ClassType = new DevExpress.XtraGrid.GridControl();
this.gridViewMd_ClassType = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
this.gridControlMD_Class = new DevExpress.XtraGrid.GridControl();
this.gridViewMd_Class = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.lk_RPClassType = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
((System.ComponentModel.ISupportInitialize)(this.grpMDClass)).BeginInit();
this.grpMDClass.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
this.groupControl2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridControlMd_ClassType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridViewMd_ClassType)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
this.groupControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridControlMD_Class)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridViewMd_Class)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.lk_RPClassType)).BeginInit();
this.SuspendLayout();
//
// grpMDClass
//
this.grpMDClass.Appearance.BackColor = System.Drawing.SystemColors.Control;
this.grpMDClass.Appearance.Options.UseBackColor = true;
this.grpMDClass.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple;
this.grpMDClass.Controls.Add(this.btnClass_Add);
this.grpMDClass.Controls.Add(this.btnClass_Del);
this.grpMDClass.Controls.Add(this.btn_Add);
this.grpMDClass.Controls.Add(this.btn_Del);
this.grpMDClass.Controls.Add(this.groupControl2);
this.grpMDClass.Controls.Add(this.groupControl1);
this.grpMDClass.ImeMode = System.Windows.Forms.ImeMode.On;
this.grpMDClass.Location = new System.Drawing.Point(8, 0);
this.grpMDClass.LookAndFeel.Style = DevExpress.LookAndFeel.LookAndFeelStyle.Office2003;
this.grpMDClass.LookAndFeel.UseDefaultLookAndFeel = false;
this.grpMDClass.LookAndFeel.UseWindowsXPTheme = false;
this.grpMDClass.Name = "grpMDClass";
this.grpMDClass.Size = new System.Drawing.Size(970, 560);
this.grpMDClass.TabIndex = 33;
this.grpMDClass.Text = "Class";
//
// btnClass_Add
//
this.btnClass_Add.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.btnClass_Add.Appearance.Options.UseFont = true;
this.btnClass_Add.Appearance.Options.UseTextOptions = true;
this.btnClass_Add.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.btnClass_Add.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
this.btnClass_Add.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.btnClass_Add.ImageIndex = 0;
this.btnClass_Add.ImageList = this.imageList1;
this.btnClass_Add.ImeMode = System.Windows.Forms.ImeMode.On;
this.btnClass_Add.Location = new System.Drawing.Point(8, 272);
this.btnClass_Add.Name = "btnClass_Add";
this.btnClass_Add.Size = new System.Drawing.Size(38, 16);
this.btnClass_Add.TabIndex = 134;
this.btnClass_Add.Click += new System.EventHandler(this.btnClass_Add_Click);
//
// imageList1
//
this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth24Bit;
this.imageList1.ImageSize = new System.Drawing.Size(16, 16);
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Magenta;
//
// btnClass_Del
//
this.btnClass_Del.Appearance.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(0)));
this.btnClass_Del.Appearance.Options.UseFont = true;
this.btnClass_Del.Appearance.Options.UseTextOptions = true;
this.btnClass_Del.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
this.btnClass_Del.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Top;
this.btnClass_Del.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
this.btnClass_Del.ImageIndex = 1;
this.btnClass_Del.ImageList = this.imageList1;
this.btnClass_Del.Location = new System.Drawing.Point(48, 272);
this.btnClass_Del.Name = "btnClass_Del";
this.btnClass_Del.Size = new System.Drawing.Size(38, 16);
this.btnClass_Del.TabIndex = 133;
this.btnClass_Del.Click += new System.EventHandler(this.btnClass_Del_Click);
//
// btn_Add
//.........这里部分代码省略.........
示例10: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(RealtimeInfo));
this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl();
this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage();
this.splitContainerControl2 = new DevExpress.XtraEditors.SplitContainerControl();
this.groupControl1_Realtime_Graphic = new DevExpress.XtraEditors.GroupControl();
this.groupControl_RealtimeStat_Graphic = new DevExpress.XtraEditors.GroupControl();
this.comboBoxEdit_Realtime_GraphicState = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel_Realtime_GraphicState = new DevExpress.Utils.Frames.NotePanel();
this.comboBoxEdit_Realtime_GraphicClass = new DevExpress.XtraEditors.ComboBoxEdit();
this.comboBoxEdit_Realtime_GraphicGrade = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel_Realtime_GraphicGrade = new DevExpress.Utils.Frames.NotePanel();
this.notePanel_Realtime_GraphicClass = new DevExpress.Utils.Frames.NotePanel();
this.notePanel_Realtime_Graphic = new DevExpress.Utils.Frames.NotePanel();
this.groupControl_Realtime_GraphicShow = new DevExpress.XtraEditors.GroupControl();
this.panelControl_Realtime_GraphicShow = new DevExpress.XtraEditors.PanelControl();
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
this.simpleButton_RealTimeQuery_Graphic = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton_Realtime_GraphicPrint = new DevExpress.XtraEditors.SimpleButton();
this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage();
this.splitContainerControl1 = new DevExpress.XtraEditors.SplitContainerControl();
this.groupControl_RealTime = new DevExpress.XtraEditors.GroupControl();
this.groupControl_RealTimeStat = new DevExpress.XtraEditors.GroupControl();
this.comboBoxEdit_RealTimeOption = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel_RealTimeOption = new DevExpress.Utils.Frames.NotePanel();
this.comboBoxEdit_RealTimeClass = new DevExpress.XtraEditors.ComboBoxEdit();
this.comboBoxEdit_RealTimeGrade = new DevExpress.XtraEditors.ComboBoxEdit();
this.notePanel1_RealTimeGrade = new DevExpress.Utils.Frames.NotePanel();
this.notePanel1_RealTimeClass = new DevExpress.Utils.Frames.NotePanel();
this.notePanel_RealTime = new DevExpress.Utils.Frames.NotePanel();
this.gridControl_RealTimeMorning = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn13 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridControl_RealTimeBack = new DevExpress.XtraGrid.GridControl();
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn11 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn12 = new DevExpress.XtraGrid.Columns.GridColumn();
this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
this.simpleButton_RealTimeQuery = new DevExpress.XtraEditors.SimpleButton();
this.simpleButton_RealTimePrint = new DevExpress.XtraEditors.SimpleButton();
this.saveFileDialog_Report = new System.Windows.Forms.SaveFileDialog();
this.helpProvider_RealtimeInfo_Student = new System.Windows.Forms.HelpProvider();
((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit();
this.xtraTabControl1.SuspendLayout();
this.xtraTabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl2)).BeginInit();
this.splitContainerControl2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl1_Realtime_Graphic)).BeginInit();
this.groupControl1_Realtime_Graphic.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl_RealtimeStat_Graphic)).BeginInit();
this.groupControl_RealtimeStat_Graphic.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicState.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicClass.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_Realtime_GraphicGrade.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.groupControl_Realtime_GraphicShow)).BeginInit();
this.groupControl_Realtime_GraphicShow.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl_Realtime_GraphicShow)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
this.panelControl2.SuspendLayout();
this.xtraTabPage2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
this.splitContainerControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTime)).BeginInit();
this.groupControl_RealTime.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl_RealTimeStat)).BeginInit();
this.groupControl_RealTimeStat.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeOption.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeClass.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit_RealTimeGrade.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeMorning)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridControl_RealTimeBack)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
this.panelControl1.SuspendLayout();
this.SuspendLayout();
//
// xtraTabControl1
//
this.xtraTabControl1.Appearance.BackColor = System.Drawing.Color.WhiteSmoke;
this.xtraTabControl1.Appearance.Options.UseBackColor = true;
this.xtraTabControl1.AppearancePage.HeaderActive.ForeColor = System.Drawing.Color.DarkOrange;
this.xtraTabControl1.AppearancePage.HeaderActive.Options.UseForeColor = true;
this.xtraTabControl1.Controls.Add(this.xtraTabPage1);
this.xtraTabControl1.Controls.Add(this.xtraTabPage2);
//.........这里部分代码省略.........
示例11: InitializeComponent
/// <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();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
this.gridControlData = new DevExpress.XtraGrid.GridControl();
this.tblWarasaAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter();
this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colPersonId = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDofatSarfAId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditDofatSarfAId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.cdDofaatAmanatBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colDofatSarfA = new DevExpress.XtraGrid.Columns.GridColumn();
this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEditPersonId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.LSMSTBLWarasa = new DevExpress.Data.Linq.LinqServerModeSource();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colMMashatName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colPersonId1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colpersonName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSyndicate1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn();
this.colamanatrem = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemMemoExEditamanatrem = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
this.colamanatmony = new DevExpress.XtraGrid.Columns.GridColumn();
this.coldatein = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemDateEditdatein = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
this.coluserin = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemGridLookUpEdituserin = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.usersBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colRealName = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumnSave = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemButtonEditSave = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.gridColumnDelete = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemButtonEditDel = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colaccReview = new DevExpress.XtraGrid.Columns.GridColumn();
this.colestktaa = new DevExpress.XtraGrid.Columns.GridColumn();
this.colmostahek = new DevExpress.XtraGrid.Columns.GridColumn();
this.colsefa = new DevExpress.XtraGrid.Columns.GridColumn();
this.coluseracc = new DevExpress.XtraGrid.Columns.GridColumn();
this.colamantvisa = new DevExpress.XtraGrid.Columns.GridColumn();
this.colsarfcheek = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDofatSarfId = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemLookUpEditDofatSarfId = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.LSMSDofatSarfId = new DevExpress.Data.Linq.LinqServerModeSource();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDofatSarfAId1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colamanattypeid = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemLookUpEditamanattypeid = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.LSMScd_amanattype = new DevExpress.Data.Linq.LinqServerModeSource();
this.coldateReview = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemCalcEditf2 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
this.repositoryItemGridLookUpEditSyndicateId = new DevExpress.XtraEditors.Repository.RepositoryItemGridLookUpEdit();
this.repositoryItemGridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemCalcEditn0 = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
this.repositoryItemCheckEditCardType = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
this.colEDARET = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEDARET1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEdaraMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
this.colnkapaMandopName = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
this.btnNew = new DevExpress.XtraEditors.SimpleButton();
this.tblWarasaAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TblWarasaAmanatTableAdapter();
this.cdDofaatAmanatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.CdDofaatAmanatTableAdapter();
this.usersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.UsersTableAdapter();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.tblWarasaAmanatBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditDofatSarfAId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cdDofaatAmanatBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEditPersonId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.LSMSTBLWarasa)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditamanatrem)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditdatein.VistaTimeProperties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemGridLookUpEdituserin)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.usersBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditSave)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDel)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditDofatSarfId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.LSMSDofatSarfId)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditamanattypeid)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.LSMScd_amanattype)).BeginInit();
//.........这里部分代码省略.........
示例12: InitializeComponent
/// <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(frmXuatNhapTon));
this.img = new DevExpress.Utils.ImageCollection(this.components);
this.bm = new DevExpress.XtraBars.BarManager(this.components);
this.bar2 = new DevExpress.XtraBars.Bar();
this.bbiXem = new DevExpress.XtraBars.BarButtonItem();
this.bbiSua = new DevExpress.XtraBars.BarButtonItem();
this.bbiXoa = new DevExpress.XtraBars.BarButtonItem();
this.bbiXuatExcel = new DevExpress.XtraBars.BarButtonItem();
this.bbiDong = new DevExpress.XtraBars.BarButtonItem();
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
this.txtKhoHang = new DevExpress.XtraEditors.GridLookUpEdit();
this.kHOHANGBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.dsKho = new Do_An_Quan_Ly_Kho.Kho.DS.dsKho();
this.txtKhoHang_View = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colMa_Kho = new DevExpress.XtraGrid.Columns.GridColumn();
this.colTen_Kho1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDia_Chi = new DevExpress.XtraGrid.Columns.GridColumn();
this.colEmail = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDien_Thoai = new DevExpress.XtraGrid.Columns.GridColumn();
this.colFax = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDi_Dong = new DevExpress.XtraGrid.Columns.GridColumn();
this.colThu_Kho = new DevExpress.XtraGrid.Columns.GridColumn();
this.colGhi_Chu = new DevExpress.XtraGrid.Columns.GridColumn();
this.layoutControl2 = new DevExpress.XtraLayout.LayoutControl();
this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup();
this.dtDen = new DevExpress.XtraEditors.DateEdit();
this.dtTu = new DevExpress.XtraEditors.DateEdit();
this.cbChonNgay = new DevExpress.XtraEditors.ComboBoxEdit();
this.gcList = new DevExpress.XtraGrid.GridControl();
this.xuatNhapTonTheoNgayBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.dsXuatNhapTon = new Do_An_Quan_Ly_Kho.XuatNhapTon.DataSet.dsXuatNhapTon();
this.gbList = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colMa_Hang_Hoa = new DevExpress.XtraGrid.Columns.GridColumn();
this.colTen_Hang = new DevExpress.XtraGrid.Columns.GridColumn();
this.colDon_Vi = new DevExpress.XtraGrid.Columns.GridColumn();
this.colMa_Kho_Hang = new DevExpress.XtraGrid.Columns.GridColumn();
this.colTen_Kho = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSo_Luong_Dau_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.rptMayTinh = new DevExpress.XtraEditors.Repository.RepositoryItemCalcEdit();
this.colSo_Luong_Nhap_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSo_Luong_Xuat_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.colSo_Luong_Cuoi_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.colThanh_Tien_Dau_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.colThanh_Tien_Nhap_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.colThanh_Tien_Xuat_Trong_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.colThanh_Tien_Cuoi_Ky = new DevExpress.XtraGrid.Columns.GridColumn();
this.colNhom_Hang = new DevExpress.XtraGrid.Columns.GridColumn();
this.colTen_Nhom_Hang = new DevExpress.XtraGrid.Columns.GridColumn();
this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem();
this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem();
this.kHO_HANGTableAdapter = new Do_An_Quan_Ly_Kho.Kho.DS.dsKhoTableAdapters.KHO_HANGTableAdapter();
((System.ComponentModel.ISupportInitialize)(this.img)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bm)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
this.layoutControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtKhoHang.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.kHOHANGBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsKho)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.txtKhoHang_View)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControl2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtDen.Properties.CalendarTimeProperties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtDen.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtTu.Properties.CalendarTimeProperties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtTu.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.cbChonNgay.Properties)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gcList)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.xuatNhapTonTheoNgayBindingSource)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dsXuatNhapTon)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gbList)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.rptMayTinh)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit();
this.SuspendLayout();
//
// img
//
this.img.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("img.ImageStream")));
this.img.Images.SetKeyName(0, "abort.png");
//.........这里部分代码省略.........
示例13: SetGridStyle
/// 设置样式devExpress
/// </summary>
/// <param name="tableName"></param>
/// <param name="gridView"></param>
public void SetGridStyle(string tableName, DevExpress.XtraGrid.Views.Grid.GridView gridView)
{
_gridView = gridView;
if (!dataGridStyles.ContainsKey(tableName))
{
SaveNewGridStyle(tableName, gridView);//配置文件中不存在此表格的样式配置,需要保存到文件中
}
else
{
SortedList<int, ColumnStyle> columnStyleList = new SortedList<int, ColumnStyle>();
DataGridStyle dataGridStyle = dataGridStyles[tableName];
DeleteMissColumn(dataGridStyle, gridView);
ColumnStyle columnStyle;
int i = 0;
//_gridView.OptionsView.ColumnAutoWidth = true;
//是否自动调整列宽
bool auto = false;
foreach (System.Collections.Generic.KeyValuePair<string, ColumnStyle> item in dataGridStyle.ColumnStyles)
{
if (_gridView != null)
{
if (item.Value.Width == 0) auto = true;
}
}
_gridView.OptionsView.ColumnAutoWidth = auto;
foreach (DevExpress.XtraGrid.Columns.GridColumn column in gridView.Columns)
{
if (dataGridStyle.ColumnStyles.ContainsKey(column.Name))
{
columnStyle = dataGridStyle.ColumnStyles[column.Name];
//SetColumnStyle(column, columnStyle);
columnStyleList.Add(columnStyle.Index, columnStyle);
}
else//此列为新增列时,需要增加到配置文件中
{
int index = dataGridStyle.ColumnStyles.Count + i;
columnStyle = GetColumnStyle(column);
columnStyle.Index = index;
columnStyleList.Add(index, columnStyle);
//SetColumnStyle(column, columnStyle);
//columnStyleList.Add(columnStyle.Index, columnStyle);
//columnStyleList.Add(column.VisibleIndex, columnStyle); //当设置列不可见时VisibleIndex为-1
i++;
}
}
foreach (System.Collections.Generic.KeyValuePair<int, ColumnStyle> item in columnStyleList)
{
foreach (DevExpress.XtraGrid.Columns.GridColumn column in gridView.Columns)
{
if (column.Name == item.Value.Name)
{
SetColumnStyle(column, item.Value); //设置visbleIndex必须按照显示顺序设置,不然先设置的即使index比较大还是显示在前面
break;
}
}
}
dataGridStyle.ColumnStyles.Clear();
for (int j = 0; j < columnStyleList.Count; j++)
dataGridStyle.ColumnStyles.Add(columnStyleList[j].Name, columnStyleList[j]);
SaveGridStyle(dataGridStyle);
}
}
示例14: InitializeComponent
/// <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();
this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
this.panelControl3 = new DevExpress.XtraEditors.PanelControl();
this.panelControl4 = new DevExpress.XtraEditors.PanelControl();
this.dbHoliday = new DevExpress.XtraGrid.GridControl();
this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemLookUpEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.repositoryItemLookUpEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit();
this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView();
this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
this.btnOut = new DevExpress.XtraEditors.SimpleButton();
this.btnSave = new DevExpress.XtraEditors.SimpleButton();
this.btnDel = new DevExpress.XtraEditors.SimpleButton();
this.btnAdd = new DevExpress.XtraEditors.SimpleButton();
this.bar2 = new DevExpress.XtraBars.Bar();
this.barManager1 = new DevExpress.XtraBars.BarManager(this.components);
this.barDockControlTop = new DevExpress.XtraBars.BarDockControl();
this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl();
this.barDockControlRight = new DevExpress.XtraBars.BarDockControl();
((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
this.panelControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl3)).BeginInit();
this.panelControl3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.panelControl4)).BeginInit();
this.panelControl4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dbHoliday)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit1)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEdit2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
this.panelControl2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
this.groupControl1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
this.SuspendLayout();
//
// panelControl1
//
this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.panelControl1.Controls.Add(this.panelControl3);
this.panelControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.panelControl1.Location = new System.Drawing.Point(0, 0);
this.panelControl1.Name = "panelControl1";
this.panelControl1.Size = new System.Drawing.Size(803, 653);
this.panelControl1.TabIndex = 0;
//
// panelControl3
//
this.panelControl3.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.panelControl3.Controls.Add(this.panelControl4);
this.panelControl3.Controls.Add(this.panelControl2);
this.panelControl3.Dock = System.Windows.Forms.DockStyle.Top;
this.panelControl3.Location = new System.Drawing.Point(0, 0);
this.panelControl3.Name = "panelControl3";
this.panelControl3.Size = new System.Drawing.Size(803, 653);
this.panelControl3.TabIndex = 1;
//
// panelControl4
//
this.panelControl4.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
this.panelControl4.Controls.Add(this.dbHoliday);
this.panelControl4.Dock = System.Windows.Forms.DockStyle.Top;
this.panelControl4.Location = new System.Drawing.Point(0, 66);
this.panelControl4.Name = "panelControl4";
this.panelControl4.Size = new System.Drawing.Size(803, 560);
this.panelControl4.TabIndex = 2;
//
// dbHoliday
//
this.dbHoliday.Dock = System.Windows.Forms.DockStyle.Fill;
this.dbHoliday.Location = new System.Drawing.Point(0, 0);
this.dbHoliday.MainView = this.gridView1;
this.dbHoliday.Name = "dbHoliday";
this.dbHoliday.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
this.repositoryItemLookUpEdit1,
this.repositoryItemLookUpEdit2});
this.dbHoliday.Size = new System.Drawing.Size(803, 560);
this.dbHoliday.TabIndex = 2;
this.dbHoliday.Tag = "@db=����������";
this.dbHoliday.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
this.gridView1,
this.gridView2});
//
// gridView1
//
this.gridView1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
//.........这里部分代码省略.........
示例15: InitializeComponent
/// <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(frmLst_CustomerGroups_2));
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject();
DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject();
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
this.txtCustomerGroupName = new DevExpress.XtraEditors.TextEdit();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.lblCheckIn = new DevExpress.XtraEditors.LabelControl();
this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
this.lblCheckOut = new DevExpress.XtraEditors.LabelControl();
this.btnAddNew = new DevExpress.XtraEditors.SimpleButton();
this.dgvCustomerMember = new DevExpress.XtraGrid.GridControl();
this.viewSelectCustomers = new DevExpress.XtraGrid.Views.Grid.GridView();
this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnRemoveSelectCustomers = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.dgvAvailableCustomerGroups = new DevExpress.XtraGrid.GridControl();
this.viewAvailableCustomerGroups = new DevExpress.XtraGrid.Views.Grid.GridView();
this.colDelete = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnDelete = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.colEdit = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnEdit = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn();
this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
this.btnSelectIDCustomerGroups = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.lueFilterCompany = new DevExpress.XtraEditors.LookUpEdit();
this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
this.tableLayoutPanel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.txtCustomerGroupName.Properties)).BeginInit();
this.tableLayoutPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvCustomerMember)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.viewSelectCustomers)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnRemoveSelectCustomers)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dgvAvailableCustomerGroups)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.viewAvailableCustomerGroups)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnDelete)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnEdit)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.btnSelectIDCustomerGroups)).BeginInit();
this.tableLayoutPanel3.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.lueFilterCompany.Properties)).BeginInit();
this.SuspendLayout();
//
// tableLayoutPanel4
//
this.tableLayoutPanel4.ColumnCount = 2;
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 14.26612F));
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 85.73388F));
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
this.tableLayoutPanel4.Controls.Add(this.labelControl13, 0, 0);
this.tableLayoutPanel4.Controls.Add(this.labelControl1, 0, 1);
this.tableLayoutPanel4.Controls.Add(this.txtCustomerGroupName, 1, 0);
this.tableLayoutPanel4.Controls.Add(this.tableLayoutPanel2, 1, 1);
this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel4.Location = new System.Drawing.Point(443, 3);
this.tableLayoutPanel4.Name = "tableLayoutPanel4";
this.tableLayoutPanel4.RowCount = 2;
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel4.Size = new System.Drawing.Size(780, 62);
this.tableLayoutPanel4.TabIndex = 1;
//
// labelControl13
//
this.labelControl13.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelControl13.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl13.Location = new System.Drawing.Point(3, 7);
this.labelControl13.Name = "labelControl13";
this.labelControl13.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.labelControl13.Size = new System.Drawing.Size(72, 16);
this.labelControl13.TabIndex = 2;
this.labelControl13.Text = "Tên nhóm";
//
// labelControl1
//
this.labelControl1.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.labelControl1.Location = new System.Drawing.Point(30, 38);
this.labelControl1.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3);
this.labelControl1.Name = "labelControl1";
this.labelControl1.Padding = new System.Windows.Forms.Padding(10, 0, 0, 0);
this.labelControl1.Size = new System.Drawing.Size(33, 17);
this.labelControl1.TabIndex = 6;
this.labelControl1.Text = "Từ ";
//.........这里部分代码省略.........