当前位置: 首页>>代码示例>>C#>>正文


C# XtraGrid.GridControl类代码示例

本文整理汇总了C#中DevExpress.XtraGrid.GridControl的典型用法代码示例。如果您正苦于以下问题:C# DevExpress.XtraGrid.GridControl类的具体用法?C# DevExpress.XtraGrid.GridControl怎么用?C# DevExpress.XtraGrid.GridControl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


DevExpress.XtraGrid.GridControl类属于命名空间,在下文中一共展示了DevExpress.XtraGrid.GridControl类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: barButtonItem2_ItemClick

 private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     xtraTabControl1.SelectedTabPageIndex = 1;
     title = linename;
     gcontrol = this.ctrlglebeProperty1.GridControl;
     this.DialogResult = DialogResult.OK;
 }
开发者ID:EdgarEDT,项目名称:myitoppsp,代码行数:7,代码来源:FrmPicData.cs

示例2: barButtonItem3_ItemClick

 private void barButtonItem3_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
 {
     title = linename;
     gcontrol = this.ctrlglebeProperty1.GridControl;
     gcontrol.Views[0].Dispose();
     this.DialogResult = DialogResult.OK;
 }
开发者ID:EdgarEDT,项目名称:myitoppsp,代码行数:7,代码来源:FrmPicData.cs

示例3: button1_Click

        private void button1_Click(object sender, EventArgs e)
        {
            DevExpress.XtraGrid.GridControl dataGrid = new DevExpress.XtraGrid.GridControl();
            DevExpress.XtraGrid.Views.Layout.LayoutView LayoutView1 = new DevExpress.XtraGrid.Views.Layout.LayoutView();
            dataGrid.MainView = LayoutView1;

            //DevExpress.XtraEditors.Repository.RepositoryItemTextEdit reptextedit = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit();
            //DevExpress.XtraGrid.Views.Layout.LayoutViewField Fd_col1 = new DevExpress.XtraGrid.Views.Layout.LayoutViewField();

            //
            // layoutViewField_colAddress
            //
            //Fd_col1.EditorPreferredWidth = 127;
            //Fd_col1.Location = new System.Drawing.Point(0, 0);
            //Fd_col1.Name = "layoutViewField_colAddress";
            //Fd_col1.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
            //Fd_col1.Size = new System.Drawing.Size(197, 22);
            //Fd_col1.Spacing = new DevExpress.XtraLayout.Utils.Padding(2, 2, 2, 2);
            //Fd_col1.TextSize = new System.Drawing.Size(43, 13);

            DevExpress.XtraGrid.Columns.LayoutViewColumn col1 = new DevExpress.XtraGrid.Columns.LayoutViewColumn();
            //
            // colAddress
            //
            col1.Caption = "编号";
            //col1.ColumnEdit = reptextedit;
            col1.CustomizationCaption = "编号";
            col1.FieldName = "ID_A";
            //col1.LayoutViewField = Fd_col1;
            col1.Name = "colno";
            col1.OptionsColumn.AllowGroup = DevExpress.Utils.DefaultBoolean.False;
            col1.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
            col1.OptionsFilter.AllowFilter = false;

            LayoutView1.Columns.Add(col1);
            // dataGrid.RepositoryItems.Add(reptextedit);
            //ACodeGrid dataGrid= new ACodeGrid ();
            // EditGridLayout dataGrid = new EditGridLayout();
            dataGrid.Dock = DockStyle.Fill;
            //dataGrid.Prdknd = "04";

            this.panel1.Controls.Clear();
            this.panel1.Controls.Add(dataGrid);

            //dataGrid.SetCaption("ZZ_ACODE");
            DataTable dt = CWData.ServerFactory.GetServer().GetDataTable("select * from ZZ_ACODE");
            dataGrid.DataSource = dt;
        }
开发者ID:TGHGH,项目名称:MES-CAR,代码行数:48,代码来源:Form2.cs

示例4: 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();
        }
开发者ID:EgyFalseX-Nestle,项目名称:NestleICSales,代码行数:20,代码来源:QryPro_0004Frm.cs

示例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.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);
 }
开发者ID:sephirothwzc,项目名称:SephirothORM,代码行数:41,代码来源:DataList_Form.designer.cs

示例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.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;
//.........这里部分代码省略.........
开发者ID:EgyFalseX-EESoft-WinForm,项目名称:RetirementCenter,代码行数:101,代码来源:Qry101Frm.designer.cs

示例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.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);
//.........这里部分代码省略.........
开发者ID:neosign,项目名称:DXWindowsApplication2,代码行数:101,代码来源:BasicInfoBuilding.designer.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();
     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

示例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.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 ";
//.........这里部分代码省略.........
开发者ID:khanhdtn,项目名称:my-fw-win,代码行数:101,代码来源:TrialfrmClipboardMan.designer.cs

示例10: 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
//.........这里部分代码省略.........
开发者ID:kimykunjun,项目名称:test,代码行数:101,代码来源:frmClass.cs

示例11: InitializeComponent

 /// <summary>
 /// 设计器支持所需的方法 - 不要
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton();
     this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton();
     this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.comboBox1 = new System.Windows.Forms.ComboBox();
     this.gridControl1 = 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.repositoryItemRadioGroup1 = new DevExpress.XtraEditors.Repository.RepositoryItemRadioGroup();
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemRadioGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     this.SuspendLayout();
     //
     // simpleButton1
     //
     this.simpleButton1.Location = new System.Drawing.Point(277, 309);
     this.simpleButton1.Name = "simpleButton1";
     this.simpleButton1.Size = new System.Drawing.Size(66, 23);
     this.simpleButton1.TabIndex = 1;
     this.simpleButton1.Text = "确定";
     this.simpleButton1.Click += new System.EventHandler(this.simpleButton1_Click);
     //
     // simpleButton2
     //
     this.simpleButton2.Location = new System.Drawing.Point(358, 309);
     this.simpleButton2.Name = "simpleButton2";
     this.simpleButton2.Size = new System.Drawing.Size(66, 23);
     this.simpleButton2.TabIndex = 1;
     this.simpleButton2.Text = "取消";
     this.simpleButton2.Click += new System.EventHandler(this.simpleButton2_Click);
     //
     // checkEdit1
     //
     this.checkEdit1.Location = new System.Drawing.Point(12, 309);
     this.checkEdit1.Name = "checkEdit1";
     this.checkEdit1.Properties.Caption = "全选";
     this.checkEdit1.Size = new System.Drawing.Size(75, 19);
     this.checkEdit1.TabIndex = 2;
     this.checkEdit1.CheckedChanged += new System.EventHandler(this.checkEdit1_CheckedChanged);
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.comboBox1);
     this.panelControl1.Controls.Add(this.checkEdit1);
     this.panelControl1.Controls.Add(this.simpleButton2);
     this.panelControl1.Controls.Add(this.simpleButton1);
     this.panelControl1.Controls.Add(this.gridControl1);
     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(462, 344);
     this.panelControl1.TabIndex = 0;
     this.panelControl1.Text = "panelControl1";
     //
     // comboBox1
     //
     this.comboBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
     this.comboBox1.FormattingEnabled = true;
     this.comboBox1.Location = new System.Drawing.Point(46, 12);
     this.comboBox1.Name = "comboBox1";
     this.comboBox1.Size = new System.Drawing.Size(404, 20);
     this.comboBox1.Sorted = true;
     this.comboBox1.TabIndex = 5;
     this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
     //
     // gridControl1
     //
     this.gridControl1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                 | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControl1.EmbeddedNavigator.Name = "";
     this.gridControl1.Location = new System.Drawing.Point(3, 3);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemCheckEdit1,
     this.repositoryItemRadioGroup1});
     this.gridControl1.Size = new System.Drawing.Size(456, 293);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
//.........这里部分代码省略.........
开发者ID:EdgarEDT,项目名称:myitoppsp,代码行数:101,代码来源:frmDeviceList.designer.cs

示例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.labelControl1 = new DevExpress.XtraEditors.LabelControl();
     this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
     this.textBox1 = new System.Windows.Forms.TextBox();
     this.gridControl1 = 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.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
     this.SuspendLayout();
     //
     // labelControl1
     //
     this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 20F);
     this.labelControl1.Location = new System.Drawing.Point(2, 0);
     this.labelControl1.Name = "labelControl1";
     this.labelControl1.Size = new System.Drawing.Size(385, 33);
     this.labelControl1.TabIndex = 0;
     this.labelControl1.Text = "Near Expiry Batches Information";
     //
     // labelControl2
     //
     this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
     this.labelControl2.Location = new System.Drawing.Point(611, 8);
     this.labelControl2.Name = "labelControl2";
     this.labelControl2.Size = new System.Drawing.Size(96, 16);
     this.labelControl2.TabIndex = 1;
     this.labelControl2.Text = "Near Expiry Days";
     //
     // textBox1
     //
     this.textBox1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox1.Location = new System.Drawing.Point(712, 6);
     this.textBox1.Name = "textBox1";
     this.textBox1.Size = new System.Drawing.Size(100, 21);
     this.textBox1.TabIndex = 2;
     //
     // gridControl1
     //
     this.gridControl1.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.gridControl1.Cursor = System.Windows.Forms.Cursors.Default;
     this.gridControl1.Location = new System.Drawing.Point(2, 33);
     this.gridControl1.MainView = this.gridView1;
     this.gridControl1.Name = "gridControl1";
     this.gridControl1.Size = new System.Drawing.Size(810, 392);
     this.gridControl1.TabIndex = 3;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridView1});
     //
     // gridView1
     //
     this.gridView1.Appearance.HeaderPanel.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.gridView1.Appearance.HeaderPanel.Options.UseFont = true;
     this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
     this.gridColumn1,
     this.gridColumn2,
     this.gridColumn3,
     this.gridColumn4,
     this.gridColumn5,
     this.gridColumn6,
     this.gridColumn7,
     this.gridColumn8,
     this.gridColumn9,
     this.gridColumn10});
     this.gridView1.GridControl = this.gridControl1;
     this.gridView1.Name = "gridView1";
     //
     // gridColumn1
     //
     this.gridColumn1.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F);
     this.gridColumn1.AppearanceHeader.Options.UseFont = true;
     this.gridColumn1.Caption = "P. ID";
     this.gridColumn1.FieldName = "P_ID";
     this.gridColumn1.Name = "gridColumn1";
     this.gridColumn1.Visible = true;
     this.gridColumn1.VisibleIndex = 0;
     this.gridColumn1.Width = 54;
     //
     // gridColumn2
     //
     this.gridColumn2.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9.75F);
     this.gridColumn2.AppearanceHeader.Options.UseFont = true;
     this.gridColumn2.Caption = "Product Name";
//.........这里部分代码省略.........
开发者ID:ahmadmujtaba,项目名称:BMC,代码行数:101,代码来源:frmNearExpiryBatches.designer.cs

示例13: 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.gridControlData = new DevExpress.XtraGrid.GridControl();
     this.XPSCSData = new DevExpress.Xpo.XPServerCollectionSource(this.components);
     this.UOWData = new DevExpress.Xpo.UnitOfWork(this.components);
     this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colDofatSarfAId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colamanatrem = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemMemoExEditremarks = new DevExpress.XtraEditors.Repository.RepositoryItemMemoExEdit();
     this.colBeandate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.coldateremember = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldeleted = 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.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter();
     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.colMMashatName1 = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn();
     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.usersTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.UsersTableAdapter();
     this.tBLBeanWarsaTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLBeanWarsaTableAdapter();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.XPSCSData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.UOWData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemMemoExEditremarks)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).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.dsRetirementCenter)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridView2)).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.XPSCSData;
     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);
     this.gridControlData.MainView = this.gridViewData;
     this.gridControlData.Name = "gridControlData";
     this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemButtonEditSave,
     this.repositoryItemButtonEditDel,
     this.repositoryItemDateEditdatein,
     this.repositoryItemGridLookUpEdituserin,
     this.repositoryItemMemoExEditremarks,
     this.repositoryItemDateEditDMY});
     this.gridControlData.Size = new System.Drawing.Size(1051, 273);
     this.gridControlData.TabIndex = 0;
     this.gridControlData.UseEmbeddedNavigator = true;
     this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewData});
     this.gridControlData.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ActiveKeyDownEvent);
     //
     // XPSCSData
     //
     this.XPSCSData.AllowEdit = true;
     this.XPSCSData.AllowNew = true;
     this.XPSCSData.AllowRemove = true;
     this.XPSCSData.ObjectType = typeof(RetirementCenter.DataSources.dsQueries.vQry59DataTable);
     this.XPSCSData.Session = this.UOWData;
     //
//.........这里部分代码省略.........
开发者ID:EgyFalseX-EESoft-WinForm,项目名称:RetirementCenter,代码行数:101,代码来源:TBLBeanWarsaFrm.designer.cs

示例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.gridControlData = new DevExpress.XtraGrid.GridControl();
     this.LSMS = new DevExpress.Data.Linq.LinqServerModeSource();
     this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView();
     this.colMMashatNId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colsarfnumber = new DevExpress.XtraGrid.Columns.GridColumn();
     this.coldatein = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colyasref = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colRealName = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colEndworkReson = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colfiledate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMashHala = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashataddres = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatMobil = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colWorkeEndDate = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colKideNumber = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSyndicateId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colSubCommitteId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn();
     this.colvisa = new DevExpress.XtraGrid.Columns.GridColumn();
     this.repositoryItemDateEditDate = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.repositoryItemPictureEditImg = new DevExpress.XtraEditors.Repository.RepositoryItemPictureEdit();
     this.repositoryItemCheckEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit();
     this.repositoryItemDateEditDMY = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit();
     this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
     this.btnPrintExport = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.LSMS)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDate.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemPictureEditImg)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemCheckEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemDateEditDMY.VistaTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     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.LSMS;
     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(0, 53);
     this.gridControlData.MainView = this.gridViewData;
     this.gridControlData.Name = "gridControlData";
     this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
     this.repositoryItemDateEditDate,
     this.repositoryItemPictureEditImg,
     this.repositoryItemCheckEdit1,
     this.repositoryItemDateEditDMY});
     this.gridControlData.Size = new System.Drawing.Size(734, 406);
     this.gridControlData.TabIndex = 1;
     this.gridControlData.UseEmbeddedNavigator = true;
     this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
     this.gridViewData});
     //
     // LSMS
     //
     this.LSMS.ElementType = typeof(RetirementCenter.DataSources.Linq.vTBLMashat);
     this.LSMS.KeyExpression = "MMashatId";
     //
     // 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;
     this.gridViewData.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.DarkGray;
     this.gridViewData.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.DarkGray;
     this.gridViewData.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Gainsboro;
     this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true;
     this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true;
     this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true;
     this.gridViewData.Appearance.Empty.BackColor = System.Drawing.Color.DimGray;
     this.gridViewData.Appearance.Empty.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal;
     this.gridViewData.Appearance.Empty.Options.UseBackColor = true;
     this.gridViewData.Appearance.EvenRow.BackColor = System.Drawing.Color.White;
     this.gridViewData.Appearance.EvenRow.Options.UseBackColor = true;
     this.gridViewData.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.Gray;
     this.gridViewData.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.Gray;
     this.gridViewData.Appearance.FilterCloseButton.Options.UseBackColor = true;
     this.gridViewData.Appearance.FilterCloseButton.Options.UseBorderColor = true;
//.........这里部分代码省略.........
开发者ID:EgyFalseX-EESoft-WinForm,项目名称:RetirementCenter,代码行数:101,代码来源:Qry04Frm.designer.cs

示例15: BasicInfoBuilding

        public BasicInfoBuilding()
        {
            InitializeComponent();
            this.Dock = DockStyle.Fill;
            gridControl = gridControl1;

            this.Load += new EventHandler(BasicInfoBuilding_Load);
            SaveClick += new EventHandler(BasicInfoBuilding_SaveClick);
        }
开发者ID:neosign,项目名称:DXWindowsApplication2,代码行数:9,代码来源:BasicInfoBuilding.cs


注:本文中的DevExpress.XtraGrid.GridControl类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。