本文整理汇总了C#中System.Windows.Forms.DataGridViewTextBoxColumn类的典型用法代码示例。如果您正苦于以下问题:C# System.Windows.Forms.DataGridViewTextBoxColumn类的具体用法?C# System.Windows.Forms.DataGridViewTextBoxColumn怎么用?C# System.Windows.Forms.DataGridViewTextBoxColumn使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
System.Windows.Forms.DataGridViewTextBoxColumn类属于命名空间,在下文中一共展示了System.Windows.Forms.DataGridViewTextBoxColumn类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.dataGridView1 = new System.Windows.Forms.DataGridView();
this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
this.SuspendLayout();
//
// dataGridView1
//
this.dataGridView1.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.dataGridView1.BackgroundColor = System.Drawing.SystemColors.ButtonFace;
this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Column1,
this.Column2,
this.Column3});
this.dataGridView1.Location = new System.Drawing.Point(12, 12);
this.dataGridView1.Name = "dataGridView1";
this.dataGridView1.ReadOnly = true;
this.dataGridView1.Size = new System.Drawing.Size(703, 612);
this.dataGridView1.TabIndex = 0;
//
// Column1
//
this.Column1.HeaderText = "Номер канала";
this.Column1.Name = "Column1";
this.Column1.ReadOnly = true;
this.Column1.Width = 150;
//
// Column2
//
this.Column2.HeaderText = "Описание";
this.Column2.Name = "Column2";
this.Column2.ReadOnly = true;
this.Column2.Width = 300;
//
// Column3
//
this.Column3.HeaderText = "Текущее значение";
this.Column3.Name = "Column3";
this.Column3.ReadOnly = true;
this.Column3.Width = 200;
//
// ChannelsViewForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(728, 636);
this.Controls.Add(this.dataGridView1);
this.Name = "ChannelsViewForm";
this.Text = "Каналы";
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.ChannelsViewForm_FormClosing);
this.Load += new System.EventHandler(this.ChannelsViewForm_Load);
((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
this.ResumeLayout(false);
}
示例2: 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.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.grdWinter = new System.Windows.Forms.DataGridView();
this.gridMenuStrip = new zaitun.GUI.GridMenuStrip(this.components);
((System.ComponentModel.ISupportInitialize)(this.grdWinter)).BeginInit();
this.SuspendLayout();
//
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.dataGridViewTextBoxColumn1.HeaderText = "Value";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.ReadOnly = true;
//
// dataGridViewTextBoxColumn2
//
this.dataGridViewTextBoxColumn2.HeaderText = "Predicted";
this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
this.dataGridViewTextBoxColumn2.ReadOnly = true;
//
// dataGridViewTextBoxColumn3
//
this.dataGridViewTextBoxColumn3.HeaderText = "Residual";
this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
this.dataGridViewTextBoxColumn3.ReadOnly = true;
//
// grdWinter
//
this.grdWinter.AllowUserToAddRows = false;
this.grdWinter.AllowUserToDeleteRows = false;
this.grdWinter.AllowUserToResizeRows = false;
this.grdWinter.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grdWinter.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdWinter.ContextMenuStrip = this.gridMenuStrip;
this.grdWinter.Location = new System.Drawing.Point(0, 0);
this.grdWinter.Margin = new System.Windows.Forms.Padding(10);
this.grdWinter.Name = "grdWinter";
this.grdWinter.ReadOnly = true;
this.grdWinter.RowTemplate.DefaultCellStyle.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
this.grdWinter.RowTemplate.Height = 25;
this.grdWinter.Size = new System.Drawing.Size(512, 353);
this.grdWinter.TabIndex = 4;
//
// gridMenuStrip
//
this.gridMenuStrip.Name = "mnuGrid";
this.gridMenuStrip.Size = new System.Drawing.Size(168, 142);
//
// TripleExponentialSmoothingWinterDataGrid
//
this.Controls.Add(this.grdWinter);
this.Name = "TripleExponentialSmoothingWinterDataGrid";
this.Size = new System.Drawing.Size(512, 353);
((System.ComponentModel.ISupportInitialize)(this.grdWinter)).EndInit();
this.ResumeLayout(false);
}
开发者ID:ammepuspita,项目名称:zaitun-time-series,代码行数:64,代码来源:TripleExponentialSmoothingWinterDataGrid.designer.cs
示例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.grid = new System.Windows.Forms.DataGridView();
this.Valor = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Descricao = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.grid)).BeginInit();
this.SuspendLayout();
//
// grid
//
this.grid.AllowUserToAddRows = false;
this.grid.AllowUserToDeleteRows = false;
this.grid.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Valor,
this.Descricao});
this.grid.Dock = System.Windows.Forms.DockStyle.Fill;
this.grid.Location = new System.Drawing.Point(0, 0);
this.grid.Name = "grid";
this.grid.ReadOnly = true;
this.grid.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.grid.Size = new System.Drawing.Size(284, 356);
this.grid.TabIndex = 0;
this.grid.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.grid_MouseDoubleClick);
this.grid.SelectionChanged += new System.EventHandler(this.grid_SelectionChanged);
this.grid.CellContentClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.grid_CellContentClick);
//
// Valor
//
this.Valor.HeaderText = "Valor";
this.Valor.Name = "Valor";
this.Valor.ReadOnly = true;
//
// Descricao
//
this.Descricao.FillWeight = 300F;
this.Descricao.HeaderText = "Descricao";
this.Descricao.Name = "Descricao";
this.Descricao.ReadOnly = true;
this.Descricao.Width = 300;
//
// NeoSelect
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 356);
this.Controls.Add(this.grid);
this.MaximizeBox = false;
this.MinimizeBox = false;
this.Name = "NeoSelect";
this.ShowIcon = false;
this.ShowInTaskbar = false;
this.Text = "Selecione a opção com um clique duplo";
this.Load += new System.EventHandler(this.NeoSelect_Load);
this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.NeoSelect_FormClosed);
this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.NeoSelect_FormClosing);
((System.ComponentModel.ISupportInitialize)(this.grid)).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.dgvStation = new System.Windows.Forms.DataGridView();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Value_2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.dgvStation)).BeginInit();
this.SuspendLayout();
//
// dgvStation
//
this.dgvStation.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.dgvStation.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvStation.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Id,
this.Value,
this.Value_2});
this.dgvStation.Location = new System.Drawing.Point(12, 12);
this.dgvStation.Name = "dgvStation";
this.dgvStation.Size = new System.Drawing.Size(844, 462);
this.dgvStation.TabIndex = 0;
//
// Id
//
this.Id.HeaderText = "Name";
this.Id.Name = "Id";
this.Id.Width = 200;
//
// Value
//
this.Value.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Value.FillWeight = 200F;
this.Value.HeaderText = "Value";
this.Value.Name = "Value";
this.Value.ReadOnly = true;
//
// Value_2
//
this.Value_2.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill;
this.Value_2.FillWeight = 200F;
this.Value_2.HeaderText = "Personal Data";
this.Value_2.Name = "Value_2";
//
// EDStationView
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(868, 486);
this.Controls.Add(this.dgvStation);
this.Name = "EDStationView";
this.Text = "EDStationView";
((System.ComponentModel.ISupportInitialize)(this.dgvStation)).EndInit();
this.ResumeLayout(false);
}
示例5: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.studentNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.classPeriodColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.totalGradeColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
this.SuspendLayout();
//
// studentNameColumn
//
this.studentNameColumn.DataPropertyName = "FormattedName";
this.studentNameColumn.HeaderText = "Student";
this.studentNameColumn.Name = "studentNameColumn";
this.studentNameColumn.ReadOnly = true;
//
// classPeriodColumn
//
this.classPeriodColumn.DataPropertyName = "ClassPeriod";
this.classPeriodColumn.HeaderText = "Class";
this.classPeriodColumn.Name = "classPeriodColumn";
this.classPeriodColumn.ReadOnly = true;
//
// totalGradeColumn
//
dataGridViewCellStyle1.Format = "P";
this.totalGradeColumn.DefaultCellStyle = dataGridViewCellStyle1;
this.totalGradeColumn.HeaderText = "Total Grade";
this.totalGradeColumn.Name = "totalGradeColumn";
this.totalGradeColumn.ReadOnly = true;
this.totalGradeColumn.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic;
//
// GradeGrid
//
this.AllowUserToAddRows = false;
this.AllowUserToDeleteRows = false;
this.AllowUserToOrderColumns = true;
this.AutoGenerateColumns = false;
this.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells;
this.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.studentNameColumn,
this.classPeriodColumn,
this.totalGradeColumn});
this.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.GradeGrid_CellEndEdit);
this.CellFormatting += new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.GradeGrid_CellFormatting);
this.CellValidating += new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.GradeGrid_CellValidating);
this.SortCompare += new System.Windows.Forms.DataGridViewSortCompareEventHandler(this.GradeGrid_SortCompare);
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
this.ResumeLayout(false);
}
示例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.lastNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.firstNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.classPeriodDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
this.SuspendLayout();
//
// lastNameDataGridViewTextBoxColumn
//
this.lastNameDataGridViewTextBoxColumn.DataPropertyName = "LastName";
this.lastNameDataGridViewTextBoxColumn.HeaderText = "Last Name";
this.lastNameDataGridViewTextBoxColumn.Name = "lastNameDataGridViewTextBoxColumn";
this.lastNameDataGridViewTextBoxColumn.Width = 83;
//
// firstNameDataGridViewTextBoxColumn
//
this.firstNameDataGridViewTextBoxColumn.DataPropertyName = "FirstName";
this.firstNameDataGridViewTextBoxColumn.HeaderText = "First Name";
this.firstNameDataGridViewTextBoxColumn.Name = "firstNameDataGridViewTextBoxColumn";
this.firstNameDataGridViewTextBoxColumn.Width = 82;
//
// classPeriodDataGridViewTextBoxColumn
//
this.classPeriodDataGridViewTextBoxColumn.DataPropertyName = "ClassPeriod";
this.classPeriodDataGridViewTextBoxColumn.HeaderText = "Class Period";
this.classPeriodDataGridViewTextBoxColumn.Name = "classPeriodDataGridViewTextBoxColumn";
this.classPeriodDataGridViewTextBoxColumn.Width = 82;
//
// StudentGrid
//
this.AllowUserToOrderColumns = true;
this.AutoGenerateColumns = false;
this.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells;
this.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.lastNameDataGridViewTextBoxColumn,
this.firstNameDataGridViewTextBoxColumn,
this.classPeriodDataGridViewTextBoxColumn});
this.Dock = System.Windows.Forms.DockStyle.Fill;
this.Location = new System.Drawing.Point(3, 3);
this.Name = "dgStudents";
this.Size = new System.Drawing.Size(670, 389);
this.CellEndEdit += new System.Windows.Forms.DataGridViewCellEventHandler(this.StudentGrid_CellEndEdit);
this.UserDeletedRow += new System.Windows.Forms.DataGridViewRowEventHandler(this.StudentGrid_UserDeletedRow);
this.UserDeletingRow += new System.Windows.Forms.DataGridViewRowCancelEventHandler(this.StudentGrid_UserDeletingRow);
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
this.ResumeLayout(false);
}
示例7: SetTheDataGridViewColumn
protected override void SetTheDataGridViewColumn()
{
System.Windows.Forms.DataGridViewTextBoxColumn No = new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn CompanyType = new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn CompanyName = new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn Country = new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn OwnerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn PaymentTerm = new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn ShippingTerm = new System.Windows.Forms.DataGridViewTextBoxColumn();
No.Name = "No";
No.Visible = false;
CompanyType.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
CompanyType.HeaderText = "Type";
CompanyType.Name = "Company Type";
CompanyName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
CompanyName.HeaderText = "Company Name";
CompanyName.Name = "Compnay Name";
Country.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
Country.HeaderText = "Country";
Country.Name = "Country";
OwnerName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
OwnerName.HeaderText = "Owner Name";
OwnerName.Name = "Owner Name";
PaymentTerm.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
PaymentTerm.HeaderText = "Payment Term";
PaymentTerm.Name = "Payment Term";
ShippingTerm.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
ShippingTerm.HeaderText = "Shipping Term";
ShippingTerm.Name = "Shipping Term";
dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
No,
CompanyType,
CompanyName,
Country,
OwnerName,
PaymentTerm,
ShippingTerm
});
}
示例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.indexList = new System.Windows.Forms.DataGridView();
this.Characteristics = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.indexList)).BeginInit();
this.SuspendLayout();
//
// indexList
//
this.indexList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.indexList.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.Characteristics,
this.Value});
this.indexList.Location = new System.Drawing.Point(13, 13);
this.indexList.Name = "indexList";
this.indexList.Size = new System.Drawing.Size(259, 301);
this.indexList.TabIndex = 0;
//
// Characteristics
//
this.Characteristics.HeaderText = "Characteristitics";
this.Characteristics.Name = "Characteristics";
this.Characteristics.ReadOnly = true;
//
// Value
//
this.Value.HeaderText = "Values";
this.Value.Name = "Value";
this.Value.ReadOnly = true;
//
// OracleIndexes
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(284, 167);
this.Controls.Add(this.indexList);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "OracleIndexes";
this.Text = "OracleIndexes";
((System.ComponentModel.ISupportInitialize)(this.indexList)).EndInit();
this.ResumeLayout(false);
}
示例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(EditIonMobilityLibraryDlg));
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.label1 = new System.Windows.Forms.Label();
this.textLibraryName = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.textDatabase = new System.Windows.Forms.TextBox();
this.btnBrowseDb = new System.Windows.Forms.Button();
this.btnOk = new System.Windows.Forms.Button();
this.btnCancel = new System.Windows.Forms.Button();
this.btnImportFromLibrary = new System.Windows.Forms.Button();
this.labelNumPeptides = new System.Windows.Forms.Label();
this.btnCreateDb = new System.Windows.Forms.Button();
this.bindingSourceLibrary = new System.Windows.Forms.BindingSource(this.components);
this.bindingSourceStandard = new System.Windows.Forms.BindingSource(this.components);
this.contextMenuAdd = new System.Windows.Forms.ContextMenuStrip(this.components);
this.addResultsContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.addSpectralLibraryContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.addIRTDatabaseContextMenuItem = new System.Windows.Forms.ToolStripMenuItem();
this.label4 = new System.Windows.Forms.Label();
this.gridViewMeasuredPeptides = new pwiz.Skyline.Controls.DataGridViewEx();
this.toolTipImportBtn = new System.Windows.Forms.ToolTip(this.components);
this.toolTipMeasuredPeptidesGrid = new System.Windows.Forms.ToolTip(this.components);
this.columnLibrarySequence = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.columnLibraryCollisionalCrossSection = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.columnLibraryHighEnergyDriftTimeOffsetMsec = new System.Windows.Forms.DataGridViewTextBoxColumn();
((System.ComponentModel.ISupportInitialize)(this.bindingSourceLibrary)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.bindingSourceStandard)).BeginInit();
this.contextMenuAdd.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.gridViewMeasuredPeptides)).BeginInit();
this.SuspendLayout();
//
// label1
//
resources.ApplyResources(this.label1, "label1");
this.label1.Name = "label1";
//
// textLibraryName
//
resources.ApplyResources(this.textLibraryName, "textLibraryName");
this.textLibraryName.Name = "textLibraryName";
//
// label2
//
resources.ApplyResources(this.label2, "label2");
this.label2.Name = "label2";
//
// textDatabase
//
resources.ApplyResources(this.textDatabase, "textDatabase");
this.textDatabase.Name = "textDatabase";
//
// btnBrowseDb
//
resources.ApplyResources(this.btnBrowseDb, "btnBrowseDb");
this.btnBrowseDb.Name = "btnBrowseDb";
this.btnBrowseDb.UseVisualStyleBackColor = true;
this.btnBrowseDb.Click += new System.EventHandler(this.btnBrowseDb_Click);
//
// btnOk
//
resources.ApplyResources(this.btnOk, "btnOk");
this.btnOk.Name = "btnOk";
this.btnOk.UseVisualStyleBackColor = true;
this.btnOk.Click += new System.EventHandler(this.btnOk_Click);
//
// btnCancel
//
resources.ApplyResources(this.btnCancel, "btnCancel");
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Name = "btnCancel";
this.btnCancel.UseVisualStyleBackColor = true;
//
// btnImportFromLibrary
//
resources.ApplyResources(this.btnImportFromLibrary, "btnImportFromLibrary");
this.btnImportFromLibrary.Name = "btnImportFromLibrary";
this.toolTipImportBtn.SetToolTip(this.btnImportFromLibrary, resources.GetString("btnImportFromLibrary.ToolTip"));
this.btnImportFromLibrary.UseVisualStyleBackColor = true;
this.btnImportFromLibrary.Click += new System.EventHandler(this.btnImportFromLibrary_Click);
//
// labelNumPeptides
//
resources.ApplyResources(this.labelNumPeptides, "labelNumPeptides");
this.labelNumPeptides.Name = "labelNumPeptides";
//
// btnCreateDb
//
resources.ApplyResources(this.btnCreateDb, "btnCreateDb");
this.btnCreateDb.Name = "btnCreateDb";
this.btnCreateDb.UseVisualStyleBackColor = true;
//.........这里部分代码省略.........
示例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.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MainForm));
this.faTabStrip1 = new System.Windows.Forms.TabControl();
this.faTabStripItemInfo = new System.Windows.Forms.TabPage();
this.label10 = new System.Windows.Forms.Label();
this.label9 = new System.Windows.Forms.Label();
this.faTabStripItemSend = new System.Windows.Forms.TabPage();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.cmdClearSend = new System.Windows.Forms.Button();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.lblStatus = new System.Windows.Forms.Label();
this.cmdSend = new System.Windows.Forms.Button();
this.lblTeleLength = new System.Windows.Forms.Label();
this.panel2 = new System.Windows.Forms.Panel();
this.label7 = new System.Windows.Forms.Label();
this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
this.panel4 = new System.Windows.Forms.Panel();
this.lblLenEmpf = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.splitContainer2 = new System.Windows.Forms.SplitContainer();
this.splitContainer3 = new System.Windows.Forms.SplitContainer();
this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
this.lstStoredSenddata = new System.Windows.Forms.ListBox();
this.panel3 = new System.Windows.Forms.Panel();
this.cmdRemoveSendeTele = new System.Windows.Forms.Button();
this.cmdAddSendeTele = new System.Windows.Forms.Button();
this.dtaSendTabelle = new System.Windows.Forms.DataGridView();
this.Bezeichnung = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Laenge = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Wert = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splitContainer4 = new System.Windows.Forms.SplitContainer();
this.dtaSendSendTable = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dtaSendQuittTable = new System.Windows.Forms.DataGridView();
this.colSendQuittText = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.faTabStripItemRecieve = new System.Windows.Forms.TabPage();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.kryptonButton2 = new System.Windows.Forms.Button();
this.splitContainer1 = new System.Windows.Forms.SplitContainer();
this.grdEmpfang = new System.Windows.Forms.DataGridView();
this.colEmpf = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dtaEmpfangstelegrammAufgeschluesselt = new System.Windows.Forms.DataGridView();
this.colEmpfBezeichnung = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEmpfLaenge = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colEmpfWert = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.faTabStripItemSettings = new System.Windows.Forms.TabPage();
this.groupBox4 = new System.Windows.Forms.GroupBox();
this.label5 = new System.Windows.Forms.Label();
this.cmdDelTele = new System.Windows.Forms.Button();
this.cmdEditQuittFields = new System.Windows.Forms.Button();
this.lstQuitt = new System.Windows.Forms.ListBox();
this.chkAutoQuitt = new System.Windows.Forms.CheckBox();
this.groupBox3 = new System.Windows.Forms.GroupBox();
this.numSequenceNumberLength = new System.Windows.Forms.NumericUpDown();
this.numSequenceNumberPosition = new System.Windows.Forms.NumericUpDown();
this.label4 = new System.Windows.Forms.Label();
this.label6 = new System.Windows.Forms.Label();
this.groupBox2 = new System.Windows.Forms.GroupBox();
this.chkChanel2active = new System.Windows.Forms.CheckBox();
this.numPort2 = new System.Windows.Forms.NumericUpDown();
this.numPort1 = new System.Windows.Forms.NumericUpDown();
this.lblKanal2Port = new System.Windows.Forms.Label();
this.chkChanel1active = new System.Windows.Forms.CheckBox();
this.lblKanal2 = new System.Windows.Forms.Label();
this.label3 = new System.Windows.Forms.Label();
this.label2 = new System.Windows.Forms.Label();
this.optTwoChannel = new System.Windows.Forms.RadioButton();
this.optOneChannel = new System.Windows.Forms.RadioButton();
this.groupBox1 = new System.Windows.Forms.GroupBox();
this.label1 = new System.Windows.Forms.Label();
this.ipAddressControl = new IPAddressControlLib.IPAddressControl();
this.cmdSelectStep7UDT = new System.Windows.Forms.Button();
this.cmdConnect = new System.Windows.Forms.Button();
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
this.panel1 = new System.Windows.Forms.Panel();
this.cmdSettExport = new System.Windows.Forms.Button();
this.cmdSettImport = new System.Windows.Forms.Button();
this.cmdSettingsSave = new System.Windows.Forms.Button();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.picConnection1 = new System.Windows.Forms.PictureBox();
this.picConnection2 = new System.Windows.Forms.PictureBox();
this.cmdDisconnect = new System.Windows.Forms.Button();
this.toolTip = new System.Windows.Forms.ToolTip(this.components);
this.faTabStrip1.SuspendLayout();
this.faTabStripItemInfo.SuspendLayout();
this.faTabStripItemSend.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
this.panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splitContainer2)).BeginInit();
this.splitContainer2.Panel1.SuspendLayout();
this.splitContainer2.Panel2.SuspendLayout();
//.........这里部分代码省略.........
示例11: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StudentDetails));
this.dataGridViewStudentDetails = new System.Windows.Forms.DataGridView();
this.StudentID = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.StudentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.GPA = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.DateBirth = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.Active = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.PnlGreen = new System.Windows.Forms.Panel();
this.textBoxStudentName = new System.Windows.Forms.TextBox();
this.labelInfor = new System.Windows.Forms.Label();
this.labelStudentName = new System.Windows.Forms.Label();
this.pictureBoxStudent = new System.Windows.Forms.PictureBox();
this.buttonSave = new System.Windows.Forms.Button();
this.buttonNew = new System.Windows.Forms.Button();
((System.ComponentModel.ISupportInitialize)(this.dataGridViewStudentDetails)).BeginInit();
this.PnlGreen.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBoxStudent)).BeginInit();
this.SuspendLayout();
//
// dataGridViewStudentDetails
//
this.dataGridViewStudentDetails.AllowUserToAddRows = false;
this.dataGridViewStudentDetails.BackgroundColor = System.Drawing.Color.DarkGray;
this.dataGridViewStudentDetails.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.dataGridViewStudentDetails.ColumnHeadersBorderStyle = System.Windows.Forms.DataGridViewHeaderBorderStyle.Single;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
dataGridViewCellStyle1.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
this.dataGridViewStudentDetails.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.dataGridViewStudentDetails.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.StudentID,
this.StudentName,
this.GPA,
this.DateBirth,
this.Active});
this.dataGridViewStudentDetails.EnableHeadersVisualStyles = false;
this.dataGridViewStudentDetails.Location = new System.Drawing.Point(10, 104);
this.dataGridViewStudentDetails.MultiSelect = false;
this.dataGridViewStudentDetails.Name = "dataGridViewStudentDetails";
this.dataGridViewStudentDetails.RowHeadersVisible = false;
this.dataGridViewStudentDetails.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
this.dataGridViewStudentDetails.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dataGridViewStudentDetails.Size = new System.Drawing.Size(762, 433);
this.dataGridViewStudentDetails.TabIndex = 12;
this.dataGridViewStudentDetails.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDetail_CellDoubleClick);
//
// StudentID
//
this.StudentID.HeaderText = "Student ID";
this.StudentID.Name = "StudentID";
this.StudentID.Width = 90;
//
// StudentName
//
this.StudentName.HeaderText = "Student Name";
this.StudentName.Name = "StudentName";
this.StudentName.Width = 370;
//
// GPA
//
dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleRight;
this.GPA.DefaultCellStyle = dataGridViewCellStyle2;
this.GPA.HeaderText = "Grade Point Avg";
this.GPA.Name = "GPA";
this.GPA.Width = 150;
//
// DateBirth
//
dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
this.DateBirth.DefaultCellStyle = dataGridViewCellStyle3;
this.DateBirth.HeaderText = "Date Of Birth";
this.DateBirth.Name = "DateBirth";
//
// Active
//
this.Active.HeaderText = "Active";
this.Active.Name = "Active";
//
// PnlGreen
//
this.PnlGreen.BackColor = System.Drawing.Color.Black;
this.PnlGreen.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.PnlGreen.Controls.Add(this.pictureBoxStudent);
this.PnlGreen.Controls.Add(this.textBoxStudentName);
this.PnlGreen.Controls.Add(this.labelInfor);
this.PnlGreen.Controls.Add(this.labelStudentName);
this.PnlGreen.Controls.Add(this.buttonSave);
//.........这里部分代码省略.........
示例12: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用主键编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
this.btnCancel = new System.Windows.Forms.Button();
this.btnSave = new System.Windows.Forms.Button();
this.tabControl1 = new System.Windows.Forms.TabControl();
this.tpUser = new System.Windows.Forms.TabPage();
this.grpRequestAnAccount = new System.Windows.Forms.GroupBox();
this.ucSubCompany = new DotNet.WinForm.Common.WinControls.UCOrganizeSelect();
this.lblSubCompany = new System.Windows.Forms.Label();
this.txtCode = new System.Windows.Forms.TextBox();
this.lblCode = new System.Windows.Forms.Label();
this.txtMobile = new System.Windows.Forms.TextBox();
this.label2 = new System.Windows.Forms.Label();
this.ucWorkgroup = new DotNet.WinForm.Common.WinControls.UCOrganizeSelect();
this.lblWorkgroup = new System.Windows.Forms.Label();
this.ucDepartment = new DotNet.WinForm.Common.WinControls.UCOrganizeSelect();
this.ucCompany = new DotNet.WinForm.Common.WinControls.UCOrganizeSelect();
this.txtEmail = new System.Windows.Forms.TextBox();
this.lblE_mail = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.txtDescription = new System.Windows.Forms.TextBox();
this.lblDescription = new System.Windows.Forms.Label();
this.label1 = new System.Windows.Forms.Label();
this.lblUserNameReq = new System.Windows.Forms.Label();
this.lblDepartment = new System.Windows.Forms.Label();
this.lblCompanyName = new System.Windows.Forms.Label();
this.cmbRole = new System.Windows.Forms.ComboBox();
this.lblRole = new System.Windows.Forms.Label();
this.txtRealName = new System.Windows.Forms.TextBox();
this.chbEnabled = new System.Windows.Forms.CheckBox();
this.txtUserName = new System.Windows.Forms.TextBox();
this.lblRealName = new System.Windows.Forms.Label();
this.lblUserName = new System.Windows.Forms.Label();
this.tpUserOrganize = new System.Windows.Forms.TabPage();
this.btnRemove = new System.Windows.Forms.Button();
this.grdUserOrganize = new System.Windows.Forms.DataGridView();
this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colCompanyName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDepartmentName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colWorkgroupName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colRoleName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.btnAddToOrganize = new System.Windows.Forms.Button();
this.btnInvertSelect = new System.Windows.Forms.Button();
this.btnSelectAll = new System.Windows.Forms.Button();
this.btnSetPassword = new System.Windows.Forms.Button();
this.btnLikeAdd = new System.Windows.Forms.Button();
this.tabControl1.SuspendLayout();
this.tpUser.SuspendLayout();
this.grpRequestAnAccount.SuspendLayout();
this.tpUserOrganize.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grdUserOrganize)).BeginInit();
this.SuspendLayout();
//
// btnCancel
//
this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
this.btnCancel.Location = new System.Drawing.Point(490, 463);
this.btnCancel.Name = "btnCancel";
this.btnCancel.Size = new System.Drawing.Size(75, 23);
this.btnCancel.TabIndex = 4;
this.btnCancel.Text = "取消";
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
//
// btnSave
//
this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnSave.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
this.btnSave.Location = new System.Drawing.Point(363, 463);
this.btnSave.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(124, 23);
this.btnSave.TabIndex = 3;
this.btnSave.Text = "更新用户(&R)";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
//
// tabControl1
//
this.tabControl1.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.tabControl1.Controls.Add(this.tpUser);
this.tabControl1.Controls.Add(this.tpUserOrganize);
this.tabControl1.Location = new System.Drawing.Point(8, 11);
this.tabControl1.Name = "tabControl1";
this.tabControl1.SelectedIndex = 0;
this.tabControl1.Size = new System.Drawing.Size(558, 446);
this.tabControl1.TabIndex = 0;
//
// tpUser
//
this.tpUser.BackColor = System.Drawing.SystemColors.Control;
this.tpUser.Controls.Add(this.grpRequestAnAccount);
this.tpUser.Location = new System.Drawing.Point(4, 22);
//.........这里部分代码省略.........
示例13: InitializeComponent
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
this.grupa = new System.Windows.Forms.GroupBox();
this.dgvRobneLokacije = new System.Windows.Forms.DataGridView();
this.lblRoba = new System.Windows.Forms.Label();
this.pnlVrh = new System.Windows.Forms.Panel();
this.txtŠifraIliBarkod = new System.Windows.Forms.TextBox();
this.lblŠifraIliBarkod = new System.Windows.Forms.Label();
this.lblSkladište = new System.Windows.Forms.Label();
this.ddlSkladište = new System.Windows.Forms.ComboBox();
this.btnTraži = new System.Windows.Forms.Button();
this.colLokacija = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colStanje = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colKapacitet = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colSifra = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.grupa.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvRobneLokacije)).BeginInit();
this.pnlVrh.SuspendLayout();
this.SuspendLayout();
//
// grupa
//
this.grupa.Controls.Add(this.dgvRobneLokacije);
this.grupa.Controls.Add(this.lblRoba);
this.grupa.Controls.Add(this.pnlVrh);
this.grupa.Dock = System.Windows.Forms.DockStyle.Fill;
this.grupa.Location = new System.Drawing.Point(0, 25);
this.grupa.Name = "grupa";
this.grupa.Size = new System.Drawing.Size(1208, 624);
this.grupa.TabIndex = 2;
this.grupa.TabStop = false;
this.grupa.Text = "Robne lokacije";
//
// dgvRobneLokacije
//
this.dgvRobneLokacije.AllowUserToAddRows = false;
this.dgvRobneLokacije.AllowUserToDeleteRows = false;
this.dgvRobneLokacije.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvRobneLokacije.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colLokacija,
this.colStanje,
this.colKapacitet,
this.colSifra});
this.dgvRobneLokacije.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvRobneLokacije.Location = new System.Drawing.Point(3, 110);
this.dgvRobneLokacije.MultiSelect = false;
this.dgvRobneLokacije.Name = "dgvRobneLokacije";
this.dgvRobneLokacije.ReadOnly = true;
this.dgvRobneLokacije.RowHeadersVisible = false;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.ActiveCaption;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.dgvRobneLokacije.RowsDefaultCellStyle = dataGridViewCellStyle1;
this.dgvRobneLokacije.RowTemplate.ReadOnly = true;
this.dgvRobneLokacije.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
this.dgvRobneLokacije.Size = new System.Drawing.Size(1202, 511);
this.dgvRobneLokacije.TabIndex = 9;
//
// lblRoba
//
this.lblRoba.BackColor = System.Drawing.SystemColors.ActiveCaption;
this.lblRoba.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.lblRoba.Dock = System.Windows.Forms.DockStyle.Top;
this.lblRoba.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.lblRoba.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.lblRoba.Location = new System.Drawing.Point(3, 80);
this.lblRoba.Name = "lblRoba";
this.lblRoba.Size = new System.Drawing.Size(1202, 30);
this.lblRoba.TabIndex = 8;
//
// pnlVrh
//
this.pnlVrh.Controls.Add(this.txtŠifraIliBarkod);
this.pnlVrh.Controls.Add(this.lblŠifraIliBarkod);
this.pnlVrh.Controls.Add(this.lblSkladište);
this.pnlVrh.Controls.Add(this.ddlSkladište);
this.pnlVrh.Controls.Add(this.btnTraži);
this.pnlVrh.Dock = System.Windows.Forms.DockStyle.Top;
this.pnlVrh.Location = new System.Drawing.Point(3, 20);
this.pnlVrh.Name = "pnlVrh";
this.pnlVrh.Size = new System.Drawing.Size(1202, 60);
this.pnlVrh.TabIndex = 9;
//
// txtŠifraIliBarkod
//
this.txtŠifraIliBarkod.Location = new System.Drawing.Point(142, 3);
this.txtŠifraIliBarkod.MaxLength = 30;
this.txtŠifraIliBarkod.Name = "txtŠifraIliBarkod";
this.txtŠifraIliBarkod.Size = new System.Drawing.Size(330, 24);
this.txtŠifraIliBarkod.TabIndex = 4;
//
// lblŠifraIliBarkod
//
this.lblŠifraIliBarkod.AutoSize = true;
this.lblŠifraIliBarkod.Location = new System.Drawing.Point(3, 6);
this.lblŠifraIliBarkod.Name = "lblŠifraIliBarkod";
//.........这里部分代码省略.........
示例14: InitializeComponent
/// <summary>
/// 设计器支持所需的方法 - 不要
/// 使用主键编辑器修改此方法的内容。
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmFolderAdmin));
this.btnBatchSave = new System.Windows.Forms.Button();
this.btnMove = new System.Windows.Forms.Button();
this.pnlFolder = new System.Windows.Forms.Panel();
this.grdFolder = new System.Windows.Forms.DataGridView();
this.colSelected = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.colFolderName = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.colDescription = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.splFolder = new System.Windows.Forms.Splitter();
this.tvFolder = new System.Windows.Forms.TreeView();
this.cMnuFolder = new System.Windows.Forms.ContextMenuStrip(this.components);
this.mItmAdd = new System.Windows.Forms.ToolStripMenuItem();
this.mItmEdit = new System.Windows.Forms.ToolStripMenuItem();
this.mItmMove = new System.Windows.Forms.ToolStripMenuItem();
this.mItmDelete = new System.Windows.Forms.ToolStripMenuItem();
this.tsspAddRootFolder = new System.Windows.Forms.ToolStripSeparator();
this.mItmAddRootFolder = new System.Windows.Forms.ToolStripMenuItem();
this.imageList = new System.Windows.Forms.ImageList(this.components);
this.btnBatchDelete = new System.Windows.Forms.Button();
this.btnEdit = new System.Windows.Forms.Button();
this.btnClose = new System.Windows.Forms.Button();
this.btnAdd = new System.Windows.Forms.Button();
this.ucTableSort = new DotNet.WinForm.Common.WinControls.UCTableSort();
this.btnInvertSelect = new System.Windows.Forms.Button();
this.btnSelectAll = new System.Windows.Forms.Button();
this.btnExport = new System.Windows.Forms.Button();
this.pnlFolder.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.grdFolder)).BeginInit();
this.cMnuFolder.SuspendLayout();
this.SuspendLayout();
//
// btnBatchSave
//
this.btnBatchSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnBatchSave.Location = new System.Drawing.Point(788, 533);
this.btnBatchSave.Name = "btnBatchSave";
this.btnBatchSave.Size = new System.Drawing.Size(75, 23);
this.btnBatchSave.TabIndex = 9;
this.btnBatchSave.Text = "保存(&S)";
this.btnBatchSave.UseVisualStyleBackColor = true;
this.btnBatchSave.Click += new System.EventHandler(this.btnBatchSave_Click);
//
// btnMove
//
this.btnMove.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
this.btnMove.Location = new System.Drawing.Point(628, 533);
this.btnMove.Name = "btnMove";
this.btnMove.Size = new System.Drawing.Size(75, 23);
this.btnMove.TabIndex = 7;
this.btnMove.Text = "移动(&M)...";
this.btnMove.UseVisualStyleBackColor = true;
this.btnMove.Click += new System.EventHandler(this.btnMove_Click);
//
// pnlFolder
//
this.pnlFolder.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.pnlFolder.Controls.Add(this.grdFolder);
this.pnlFolder.Controls.Add(this.splFolder);
this.pnlFolder.Controls.Add(this.tvFolder);
this.pnlFolder.Location = new System.Drawing.Point(8, 65);
this.pnlFolder.Name = "pnlFolder";
this.pnlFolder.Size = new System.Drawing.Size(935, 463);
this.pnlFolder.TabIndex = 1;
//
// grdFolder
//
this.grdFolder.AllowDrop = true;
this.grdFolder.AllowUserToAddRows = false;
this.grdFolder.AllowUserToDeleteRows = false;
this.grdFolder.BackgroundColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
dataGridViewCellStyle1.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Pixel);
dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
this.grdFolder.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
this.grdFolder.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.grdFolder.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.colSelected,
this.colFolderName,
this.colDescription});
this.grdFolder.Dock = System.Windows.Forms.DockStyle.Fill;
this.grdFolder.Location = new System.Drawing.Point(263, 0);
this.grdFolder.MultiSelect = false;
this.grdFolder.Name = "grdFolder";
this.grdFolder.RowTemplate.Height = 23;
this.grdFolder.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect;
//.........这里部分代码省略.........
示例15: ViewStart
protected override void ViewStart()
{
this.Text = "SO List for Sales";
tscbList.Items.Add("All SO");
tscbList.Items.Add("My SO");
//Add columns for datagridView1
System.Windows.Forms.DataGridViewTextBoxColumn No = new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn Customer=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn Contact=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn Sp=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn SalesOrderNo=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn OrderDate=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn CustomerPo=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn PaymentTerms=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn FreightTerms=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn CustomerAccount=new System.Windows.Forms.DataGridViewTextBoxColumn();
System.Windows.Forms.DataGridViewTextBoxColumn SoState = new System.Windows.Forms.DataGridViewTextBoxColumn();
No.Name = "No";
No.Visible = false;
Customer.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
Customer.HeaderText = "Customer";
Customer.Name = "Customer";
Contact.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
Contact.HeaderText = "Contact";
Contact.Name = "Contact";
Sp.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
Sp.HeaderText = "S/P";
Sp.Name = "Sp";
SalesOrderNo.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
SalesOrderNo.HeaderText = "SO#";
SalesOrderNo.Name = "SalesOrderNo";
OrderDate.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
OrderDate.HeaderText = "Order Date";
OrderDate.Name = "OrderDate";
CustomerPo.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
CustomerPo.HeaderText = "Customer Po #";
CustomerPo.Name = "CustomerPo";
PaymentTerms.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
PaymentTerms.HeaderText = "Payment Terms";
PaymentTerms.Name = "PaymentTerms";
FreightTerms.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
FreightTerms.HeaderText = "Freight Terms";
FreightTerms.Name = "FreightTerms";
CustomerAccount.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
CustomerAccount.HeaderText = "Customer Account";
CustomerAccount.Name = "CustomerAccount";
SoState.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells;
SoState.HeaderText = "So State";
SoState.Name = "SoState";
dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
No,
SalesOrderNo,
Customer,
Contact,
Sp,
OrderDate,
CustomerPo,
PaymentTerms,
FreightTerms,
CustomerAccount,
SoState
});
}