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


C# DataGridViewCellStyle.set_Alignment方法代码示例

本文整理汇总了C#中System.Windows.Forms.DataGridViewCellStyle.set_Alignment方法的典型用法代码示例。如果您正苦于以下问题:C# DataGridViewCellStyle.set_Alignment方法的具体用法?C# DataGridViewCellStyle.set_Alignment怎么用?C# DataGridViewCellStyle.set_Alignment使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Windows.Forms.DataGridViewCellStyle的用法示例。


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

示例1: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style5 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style6 = new System.Windows.Forms.DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(CashierMainForm));
     this.menuStrip = new System.Windows.Forms.MenuStrip();
     this.выпискаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.платежиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.оПрограммеToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.настройкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.m_CashierModeStatus = new System.Windows.Forms.ToolStripMenuItem();
     this.tbControlPayment = new System.Windows.Forms.TabControl();
     this.tabPageLocal = new System.Windows.Forms.TabPage();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.m_AccountsGrid = new System.Windows.Forms.DataGridView();
     this.bsAccounts = new System.Windows.Forms.BindingSource(this.components);
     this.tabPageOther = new System.Windows.Forms.TabPage();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.m_AccountsOtherGrid = new System.Windows.Forms.DataGridView();
     this.bsAccountsOther = new System.Windows.Forms.BindingSource(this.components);
     this.tsAccountReportMenu = new System.Windows.Forms.ToolStripSplitButton();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.POSView = new AIS.SN.UI.Cashier.PointOfSale.POSView();
     this.m_SearchControl = new AccountSearchControl();
     this.ApartmentNumberDataGridViewTextColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.AddressNameDataGridViewTextColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NumberDataGridViewTextColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.OwnerNameDataGridViewTextColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_accountSearchOtherPaymentControl = new AccountSearchControlOtherPayment();
     this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ServiceName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ProviderName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Phone = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tsbOpen = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.menuStrip.SuspendLayout();
     this.tbControlPayment.SuspendLayout();
     this.tabPageLocal.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.m_AccountsGrid.BeginInit();
     this.bsAccounts.BeginInit();
     this.tabPageOther.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.m_AccountsOtherGrid.BeginInit();
     this.bsAccountsOther.BeginInit();
     this.toolStrip1.SuspendLayout();
     this.tableLayoutPanel1.SuspendLayout();
     base.SuspendLayout();
     this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.выпискаToolStripMenuItem, this.платежиToolStripMenuItem, this.оПрограммеToolStripMenuItem, this.настройкиToolStripMenuItem, this.m_CashierModeStatus });
     this.menuStrip.set_Location(new System.Drawing.Point(0, 0));
     this.menuStrip.set_Name("menuStrip");
     this.menuStrip.set_Size(new System.Drawing.Size(0x3d1, 0x18));
     this.menuStrip.set_TabIndex(0);
     this.menuStrip.set_Text("menuCash");
     this.выпискаToolStripMenuItem.set_Name("выпискаToolStripMenuItem");
     this.выпискаToolStripMenuItem.set_Size(new System.Drawing.Size(0x43, 20));
     this.выпискаToolStripMenuItem.set_Text("Выписка");
     this.выпискаToolStripMenuItem.add_Click(new System.EventHandler(this.выпискаToolStripMenuItem_Click));
     this.платежиToolStripMenuItem.set_Name("платежиToolStripMenuItem");
     this.платежиToolStripMenuItem.set_Size(new System.Drawing.Size(0x44, 20));
     this.платежиToolStripMenuItem.set_Text("Платежи");
     this.платежиToolStripMenuItem.add_Click(new System.EventHandler(this.платежиToolStripMenuItem_Click));
     this.оПрограммеToolStripMenuItem.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.оПрограммеToolStripMenuItem.set_Name("оПрограммеToolStripMenuItem");
     this.оПрограммеToolStripMenuItem.set_Size(new System.Drawing.Size(0x4c, 20));
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:CashierMainForm.cs

示例2: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(ApartmentPropertyView));
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     this.bsApartmentProperties = new System.Windows.Forms.BindingSource(this.components);
     this.dgvProperties = new System.Windows.Forms.DataGridView();
     this.toolStrip2 = new System.Windows.Forms.ToolStrip();
     this.tsbShowHistory = new System.Windows.Forms.ToolStripButton();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.propertyNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.propertyValueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsApartmentProperties.BeginInit();
     this.dgvProperties.BeginInit();
     this.toolStrip2.SuspendLayout();
     base.SuspendLayout();
     this.bsApartmentProperties.set_DataSource(typeof(ApartmentProperty));
     this.bsApartmentProperties.set_Sort("FromDate desc");
     this.dgvProperties.set_AllowUserToAddRows(false);
     this.dgvProperties.set_AllowUserToDeleteRows(false);
     this.dgvProperties.set_AutoGenerateColumns(false);
     this.dgvProperties.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvProperties.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvProperties.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvProperties.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.propertyNameDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.propertyValueDataGridViewTextBoxColumn });
     this.dgvProperties.set_DataSource(this.bsApartmentProperties);
     this.dgvProperties.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvProperties.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvProperties.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvProperties.set_Name("dgvProperties");
     this.dgvProperties.set_ReadOnly(true);
     this.dgvProperties.set_RowHeadersVisible(false);
     this.dgvProperties.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvProperties.set_Size(new System.Drawing.Size(0x1f8, 0x121));
     this.dgvProperties.set_TabIndex(0x10);
     this.dgvProperties.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvProperties_CellDoubleClick));
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbShowHistory });
     this.toolStrip2.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip2.set_Name("toolStrip2");
     this.toolStrip2.set_Size(new System.Drawing.Size(0x1f8, 0x19));
     this.toolStrip2.set_TabIndex(0);
     this.toolStrip2.set_Text("toolStrip2");
     this.tsbShowHistory.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbShowHistory.set_Image((System.Drawing.Image) manager.GetObject("tsbShowHistory.Image"));
     this.tsbShowHistory.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbShowHistory.set_Name("tsbShowHistory");
     this.tsbShowHistory.set_Size(new System.Drawing.Size(0x76, 0x16));
     this.tsbShowHistory.set_Text("Посмотреть историю");
     this.tsbShowHistory.add_Click(new System.EventHandler(this.tsbShowHistory_Click));
     this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("PropertyName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Параметр");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_Width(70);
     this.dataGridViewTextBoxColumn3.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("PropertyValue");
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Значение");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_Width(70);
     this.propertyNameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.propertyNameDataGridViewTextBoxColumn.set_DataPropertyName("PropertyName");
     this.propertyNameDataGridViewTextBoxColumn.set_HeaderText("Параметр");
     this.propertyNameDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.propertyNameDataGridViewTextBoxColumn.set_Name("propertyNameDataGridViewTextBoxColumn");
     this.propertyNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата начала");
     this.fromDateDataGridViewTextBoxColumn.set_MinimumWidth(70);
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_Width(70);
     this.propertyValueDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.propertyValueDataGridViewTextBoxColumn.set_DataPropertyName("PropertyValue");
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.propertyValueDataGridViewTextBoxColumn.set_DefaultCellStyle(style2);
     this.propertyValueDataGridViewTextBoxColumn.set_HeaderText("Значение");
     this.propertyValueDataGridViewTextBoxColumn.set_MinimumWidth(70);
     this.propertyValueDataGridViewTextBoxColumn.set_Name("propertyValueDataGridViewTextBoxColumn");
     this.propertyValueDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.propertyValueDataGridViewTextBoxColumn.set_Width(70);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.dgvProperties);
     base.Controls.Add(this.toolStrip2);
     base.set_Name("ApartmentPropertyView");
     base.set_Size(new System.Drawing.Size(0x1f8, 0x13a));
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ApartmentPropertyView.cs

示例3: InitializeComponent


//.........这里部分代码省略.........
     this.dgvIncludedReesters.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvIncludedReesters.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvIncludedReesters.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.IsBound, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.numberDataGridViewTextBoxColumn1, this.summDataGridViewTextBoxColumn1, this.paymentSystemNameDataGridViewTextBoxColumn, this.organizationNameDataGridViewTextBoxColumn, this.reeTypeNameDataGridViewTextBoxColumn, this.statusNameDataGridViewTextBoxColumn, this.recordsDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn1 });
     this.dgvIncludedReesters.set_DataSource(this.bsReesters);
     this.dgvIncludedReesters.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvIncludedReesters.set_Location(new System.Drawing.Point(0, 0));
     this.dgvIncludedReesters.set_Name("dgvIncludedReesters");
     this.dgvIncludedReesters.set_RowHeadersVisible(false);
     this.dgvIncludedReesters.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvIncludedReesters.set_Size(new System.Drawing.Size(0x3f4, 0x109));
     this.dgvIncludedReesters.set_TabIndex(2);
     this.dgvIncludedReesters.add_CellContentClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvIncludedReesters_CellContentClick));
     this.dgvIncludedReesters.add_Sorted(new System.EventHandler(this.dgvIncludedReesters_Sorted));
     this.IsBound.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.IsBound.set_HeaderText("Выбран");
     this.IsBound.set_Name("IsBound");
     this.IsBound.set_Width(0x34);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("С");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_Width(0x5f);
     this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     this.toDateDataGridViewTextBoxColumn.set_HeaderText("По");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.toDateDataGridViewTextBoxColumn.set_Width(0x5f);
     this.numberDataGridViewTextBoxColumn1.set_DataPropertyName("Number");
     this.numberDataGridViewTextBoxColumn1.set_HeaderText("Номер");
     this.numberDataGridViewTextBoxColumn1.set_Name("numberDataGridViewTextBoxColumn1");
     this.numberDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.numberDataGridViewTextBoxColumn1.set_Width(0x41);
     this.summDataGridViewTextBoxColumn1.set_DataPropertyName("Summ");
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style.set_Format("N2");
     style.set_NullValue("0");
     this.summDataGridViewTextBoxColumn1.set_DefaultCellStyle(style);
     this.summDataGridViewTextBoxColumn1.set_HeaderText("Сумма");
     this.summDataGridViewTextBoxColumn1.set_Name("summDataGridViewTextBoxColumn1");
     this.summDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.summDataGridViewTextBoxColumn1.set_Width(80);
     this.paymentSystemNameDataGridViewTextBoxColumn.set_DataPropertyName("PaymentSystemName");
     this.paymentSystemNameDataGridViewTextBoxColumn.set_HeaderText("Платёжная система");
     this.paymentSystemNameDataGridViewTextBoxColumn.set_Name("paymentSystemNameDataGridViewTextBoxColumn");
     this.paymentSystemNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.organizationNameDataGridViewTextBoxColumn.set_DataPropertyName("OrganizationName");
     this.organizationNameDataGridViewTextBoxColumn.set_HeaderText("Платёжный агент");
     this.organizationNameDataGridViewTextBoxColumn.set_Name("organizationNameDataGridViewTextBoxColumn");
     this.organizationNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.organizationNameDataGridViewTextBoxColumn.set_Width(140);
     this.reeTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("ReeTypeName");
     this.reeTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип реестра");
     this.reeTypeNameDataGridViewTextBoxColumn.set_Name("reeTypeNameDataGridViewTextBoxColumn");
     this.reeTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.reeTypeNameDataGridViewTextBoxColumn.set_Width(120);
     this.statusNameDataGridViewTextBoxColumn.set_DataPropertyName("StatusName");
     this.statusNameDataGridViewTextBoxColumn.set_HeaderText("Статус");
     this.statusNameDataGridViewTextBoxColumn.set_Name("statusNameDataGridViewTextBoxColumn");
     this.statusNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.recordsDataGridViewTextBoxColumn.set_DataPropertyName("Records");
     this.recordsDataGridViewTextBoxColumn.set_HeaderText("Записей");
     this.recordsDataGridViewTextBoxColumn.set_Name("recordsDataGridViewTextBoxColumn");
     this.recordsDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.recordsDataGridViewTextBoxColumn.set_Width(60);
     this.createdDataGridViewTextBoxColumn1.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn1.set_HeaderText("Создан");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PayPaymentOrdersForm.cs

示例4: InitializeComponent


//.........这里部分代码省略.........
     this.btnReCalc.set_Name("btnReCalc");
     this.btnReCalc.set_Size(new System.Drawing.Size(0x5f, 0x1d));
     this.btnReCalc.set_TabIndex(4);
     this.btnReCalc.set_Text("Рассчитать");
     this.btnReCalc.set_UseVisualStyleBackColor(true);
     this.btnReCalc.add_Click(new System.EventHandler(this.btnReCalc_Click));
     this.dgvRecalcPeriod.set_AllowUserToAddRows(false);
     this.dgvRecalcPeriod.set_AllowUserToDeleteRows(false);
     this.dgvRecalcPeriod.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvRecalcPeriod.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCellsExceptHeaders);
     this.dgvRecalcPeriod.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvRecalcPeriod.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.period, this.DiffChargeSummPeriod, this.DiffBenefitSummPeriod });
     this.dgvRecalcPeriod.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvRecalcPeriod.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvRecalcPeriod.set_Location(new System.Drawing.Point(0, 0));
     this.dgvRecalcPeriod.set_Name("dgvRecalcPeriod");
     this.dgvRecalcPeriod.set_ReadOnly(true);
     this.dgvRecalcPeriod.set_RowHeadersVisible(false);
     this.dgvRecalcPeriod.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvRecalcPeriod.set_Size(new System.Drawing.Size(0x80, 0xe4));
     this.dgvRecalcPeriod.set_TabIndex(7);
     this.dgvRecalcPeriod.add_CellFormatting(new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.dgvRecalcPeriod_CellFormatting));
     this.dgvRecalcPeriod.add_SelectionChanged(new System.EventHandler(this.dgvRecalcPeriod_SelectionChanged));
     this.period.set_DataPropertyName("period");
     style.set_Format("MM'.'yyyy");
     style.set_NullValue(null);
     this.period.set_DefaultCellStyle(style);
     this.period.set_HeaderText("Период");
     this.period.set_MinimumWidth(50);
     this.period.set_Name("period");
     this.period.set_ReadOnly(true);
     this.period.set_Width(50);
     this.DiffChargeSummPeriod.set_DataPropertyName("DiffChargeSumm");
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.DiffChargeSummPeriod.set_DefaultCellStyle(style2);
     this.DiffChargeSummPeriod.set_HeaderText("Нач. разница");
     this.DiffChargeSummPeriod.set_MinimumWidth(40);
     this.DiffChargeSummPeriod.set_Name("DiffChargeSummPeriod");
     this.DiffChargeSummPeriod.set_ReadOnly(true);
     this.DiffChargeSummPeriod.set_Width(40);
     this.DiffBenefitSummPeriod.set_DataPropertyName("DiffBenefitSumm");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.TopRight);
     this.DiffBenefitSummPeriod.set_DefaultCellStyle(style3);
     this.DiffBenefitSummPeriod.set_HeaderText("Льгот разница");
     this.DiffBenefitSummPeriod.set_MinimumWidth(40);
     this.DiffBenefitSummPeriod.set_Name("DiffBenefitSummPeriod");
     this.DiffBenefitSummPeriod.set_ReadOnly(true);
     this.DiffBenefitSummPeriod.set_Width(40);
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0xb1));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.dgvRecalcPeriod);
     this.splitContainer1.Panel2.Controls.Add(this.dgvAccountServices);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x2a5, 0xe4));
     this.splitContainer1.set_SplitterDistance(0x80);
     this.splitContainer1.set_TabIndex(0x15);
     this.dgvAccountServices.set_AllowUserToAddRows(false);
     this.dgvAccountServices.set_AllowUserToDeleteRows(false);
     this.dgvAccountServices.set_AutoGenerateColumns(false);
     this.dgvAccountServices.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCellsExceptHeader);
     this.dgvAccountServices.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.DisplayedCellsExceptHeaders);
     this.dgvAccountServices.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvAccountServices.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.serviceCodeDataGridViewTextBoxColumn, this.serviceShortName, this.oldChargeSummDataGridViewTextBoxColumn, this.oldBenefitSummDataGridViewTextBoxColumn, this.chargeSummDataGridViewTextBoxColumn, this.benefitSummDataGridViewTextBoxColumn, this.diffChargeSumm, this.diffBenefitSumm });
     this.dgvAccountServices.set_DataSource(this.bsCalcServices);
     this.dgvAccountServices.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvAccountServices.set_GridColor(System.Drawing.SystemColors.ControlLight);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AccountRecalcView.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x68);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Дата ликвидации");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x6f);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("CounterTypeName");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Тип счетчика");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("CounterName");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Наименование");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(0x6c);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("CounterNumber");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Номер");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(0x41);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(0x42);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("CounterCreated");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Дата создания пр. уч.");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(0x77);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("CounterFromDate");
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn8.set_DefaultCellStyle(style);
     this.dataGridViewTextBoxColumn8.set_HeaderText("Дата установки пр. уч.");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(0x7b);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("CounterToDate");
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn9.set_DefaultCellStyle(style2);
     this.dataGridViewTextBoxColumn9.set_HeaderText("Дата ликвидации пр. уч.");
     this.dataGridViewTextBoxColumn9.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(130);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("Share");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn10.set_DefaultCellStyle(style3);
     this.dataGridViewTextBoxColumn10.set_HeaderText("Доля оплаты");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Width(0x5b);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("CounterSize");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Разрядность");
     this.dataGridViewTextBoxColumn11.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_Width(0x62);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("CounterFactor");
     this.dataGridViewTextBoxColumn12.set_HeaderText("Коэффициент");
     this.dataGridViewTextBoxColumn12.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AccountServiceCountersView.cs

示例6: InitializeComponent


//.........这里部分代码省略.........
     this.datebDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.datebDataGridViewTextBoxColumn.set_Name("datebDataGridViewTextBoxColumn");
     this.datebDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.datebDataGridViewTextBoxColumn.set_Width(80);
     this.dateeDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     this.dateeDataGridViewTextBoxColumn.set_HeaderText("Дата ликвидации");
     this.dateeDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.dateeDataGridViewTextBoxColumn.set_Name("dateeDataGridViewTextBoxColumn");
     this.dateeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.dateeDataGridViewTextBoxColumn.set_Width(80);
     this.counterTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterTypeName");
     this.counterTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип счетчика");
     this.counterTypeNameDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.counterTypeNameDataGridViewTextBoxColumn.set_Name("counterTypeNameDataGridViewTextBoxColumn");
     this.counterTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterTypeNameDataGridViewTextBoxColumn.set_Width(80);
     this.counterNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterName");
     this.counterNameDataGridViewTextBoxColumn.set_HeaderText("Наименование");
     this.counterNameDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.counterNameDataGridViewTextBoxColumn.set_Name("counterNameDataGridViewTextBoxColumn");
     this.counterNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.StampDate.set_DataPropertyName("StampDate");
     this.StampDate.set_HeaderText("Дата опломбировки");
     this.StampDate.set_MinimumWidth(100);
     this.StampDate.set_Name("StampDate");
     this.StampDate.set_ReadOnly(true);
     this.counterNumberDataGridViewTextBoxColumn.set_DataPropertyName("CounterNumber");
     this.counterNumberDataGridViewTextBoxColumn.set_HeaderText("Номер");
     this.counterNumberDataGridViewTextBoxColumn.set_MinimumWidth(50);
     this.counterNumberDataGridViewTextBoxColumn.set_Name("counterNumberDataGridViewTextBoxColumn");
     this.counterNumberDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterNumberDataGridViewTextBoxColumn.set_Width(50);
     this.counterSizeDataGridViewTextBoxColumn.set_DataPropertyName("CounterSize");
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.counterSizeDataGridViewTextBoxColumn.set_DefaultCellStyle(style);
     this.counterSizeDataGridViewTextBoxColumn.set_HeaderText("Разрядность");
     this.counterSizeDataGridViewTextBoxColumn.set_MinimumWidth(90);
     this.counterSizeDataGridViewTextBoxColumn.set_Name("counterSizeDataGridViewTextBoxColumn");
     this.counterSizeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterSizeDataGridViewTextBoxColumn.set_Width(90);
     this.Factor.set_DataPropertyName("Factor");
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.Factor.set_DefaultCellStyle(style2);
     this.Factor.set_HeaderText("Коэффициент");
     this.Factor.set_MinimumWidth(90);
     this.Factor.set_Name("Factor");
     this.Factor.set_ReadOnly(true);
     this.Factor.set_Width(90);
     this.maddleTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("MaddleTypeName");
     this.maddleTypeNameDataGridViewTextBoxColumn.set_HeaderText("По среднему");
     this.maddleTypeNameDataGridViewTextBoxColumn.set_MinimumWidth(70);
     this.maddleTypeNameDataGridViewTextBoxColumn.set_Name("maddleTypeNameDataGridViewTextBoxColumn");
     this.maddleTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.maddleTypeNameDataGridViewTextBoxColumn.set_Width(70);
     this.Stamp.set_DataPropertyName("Stamp");
     this.Stamp.set_HeaderText("Пломба");
     this.Stamp.set_MinimumWidth(60);
     this.Stamp.set_Name("Stamp");
     this.Stamp.set_ReadOnly(true);
     this.Stamp.set_Width(60);
     this.MarkName.set_DataPropertyName("MarkName");
     this.MarkName.set_HeaderText("Марка");
     this.MarkName.set_MinimumWidth(50);
     this.MarkName.set_Name("MarkName");
     this.MarkName.set_ReadOnly(true);
     this.MarkName.set_Width(50);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ForUKApartmentCountersView.cs

示例7: InitializeComponent


//.........这里部分代码省略.........
     this.tsmiTotal.set_ShortcutKeys(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.T);
     this.tsmiTotal.set_ShowShortcutKeys(false);
     this.tsmiTotal.set_Size(new System.Drawing.Size(0x67, 0x16));
     this.tsmiTotal.set_Text("Группировка");
     this.tsmiTotal.set_ToolTipText("Группировка реестров (Ctrl+T)");
     this.tsmiTotal.add_Click(new System.EventHandler(this.tsmiTotal_Click));
     this.tsmiStats.set_Image(Resources.REPORT);
     this.tsmiStats.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsmiStats.set_Name("tsmiStats");
     this.tsmiStats.set_Size(new System.Drawing.Size(0x63, 0x16));
     this.tsmiStats.set_Text("Статистика");
     this.tsmiStats.add_Click(new System.EventHandler(this.tsmiStats_Click));
     this.справкаToolStripMenuItem.set_Image(Resources.QUESTION);
     this.справкаToolStripMenuItem.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.справкаToolStripMenuItem.set_Name("справкаToolStripMenuItem");
     this.справкаToolStripMenuItem.set_Size(new System.Drawing.Size(0x52, 0x16));
     this.справкаToolStripMenuItem.set_Text("Справка");
     this.справкаToolStripMenuItem.add_Click(new System.EventHandler(this.справкаToolStripMenuItem_Click));
     this.выходToolStripMenuItem.set_Image(Resources.EXIT);
     this.выходToolStripMenuItem.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.выходToolStripMenuItem.set_Name("выходToolStripMenuItem");
     this.выходToolStripMenuItem.set_ShortcutKeys(System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Q);
     this.выходToolStripMenuItem.set_ShowShortcutKeys(false);
     this.выходToolStripMenuItem.set_Size(new System.Drawing.Size(0x47, 0x16));
     this.выходToolStripMenuItem.set_Text("Выход");
     this.выходToolStripMenuItem.set_ToolTipText("Закрыть это окно (Ctrl+Q)");
     this.выходToolStripMenuItem.add_Click(new System.EventHandler(this.выходToolStripMenuItem_Click));
     this.dgvReestrs.set_AllowUserToAddRows(false);
     this.dgvReestrs.set_AllowUserToDeleteRows(false);
     this.dgvReestrs.set_AllowUserToOrderColumns(true);
     this.dgvReestrs.set_AutoGenerateColumns(false);
     this.dgvReestrs.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvReestrs.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.Control);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvReestrs.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvReestrs.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvReestrs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.statusNameDataGridViewTextBoxColumn, this.numberDataGridViewTextBoxColumn, this.summDataGridViewTextBoxColumn, this.recordsDataGridViewTextBoxColumn, this.reeTypeNameDataGridViewTextBoxColumn, this.paymentOrderDateDataGridViewTextBoxColumn, this.paymentSystemDataGridViewTextBoxColumn, this.organizationDataGridViewTextBoxColumn, this.OrganizationName, this.createdDataGridViewTextBoxColumn, this.ServiceCode });
     this.dgvReestrs.set_ContextMenuStrip(this.contextMenuStrip);
     this.dgvReestrs.set_DataSource(this.bsPayReestres);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvReestrs.set_DefaultCellStyle(style2);
     this.dgvReestrs.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvReestrs.set_Location(new System.Drawing.Point(0, 0x1a));
     this.dgvReestrs.set_Name("dgvReestrs");
     this.dgvReestrs.set_ReadOnly(true);
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Control);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvReestrs.set_RowHeadersDefaultCellStyle(style3);
     this.dgvReestrs.set_RowHeadersVisible(false);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PayReestersForm.cs

示例8: InitializeComponent


//.........这里部分代码省略.........
     this.toolStripLabel2.set_Text("Показывать параметры:");
     this.tsbHorizontal.set_Checked(true);
     this.tsbHorizontal.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsbHorizontal.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbHorizontal.set_Image((System.Drawing.Image) manager.GetObject("tsbHorizontal.Image"));
     this.tsbHorizontal.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbHorizontal.set_Name("tsbHorizontal");
     this.tsbHorizontal.set_Size(new System.Drawing.Size(0x5e, 0x16));
     this.tsbHorizontal.set_Text("горизонтально");
     this.tsbHorizontal.add_Click(new System.EventHandler(this.tsbHorizontal_Click));
     this.tsbVertical.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbVertical.set_Image((System.Drawing.Image) manager.GetObject("tsbVertical.Image"));
     this.tsbVertical.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbVertical.set_Name("tsbVertical");
     this.tsbVertical.set_Size(new System.Drawing.Size(0x51, 0x16));
     this.tsbVertical.set_Text("вертикально");
     this.tsbVertical.add_Click(new System.EventHandler(this.tsbVertical_Click));
     this.scReport.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.scReport.set_Location(new System.Drawing.Point(0, 0xd0));
     this.scReport.set_Name("scReport");
     this.scReport.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.scReport.Panel1.Controls.Add(this.dgvReports);
     this.scReport.Panel1.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.scReport.Panel2.Controls.Add(this.dgvReportParameters);
     this.scReport.Panel2.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.scReport.set_Size(new System.Drawing.Size(0x2ed, 0xea));
     this.scReport.set_SplitterDistance(0x93);
     this.scReport.set_TabIndex(20);
     this.dgvReports.set_AllowUserToAddRows(false);
     this.dgvReports.set_AllowUserToDeleteRows(false);
     this.dgvReports.set_AutoGenerateColumns(false);
     this.dgvReports.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvReports.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.Control);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvReports.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvReports.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvReports.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.enableDataGridViewCheckBoxColumn, this.CheckPrint, this.reportTemplateIdDataGridViewTextBoxColumn, this.nextTimeDataGridViewTextBoxColumn, this.intervalDataGridViewTextBoxColumn, this.intervalValueDataGridViewTextBoxColumn, this.dayBeginAllowShiftDataGridViewCheckBoxColumn, this.createdDataGridViewTextBoxColumn, this.userNameDataGridViewTextBoxColumn, this.compleateCountDataGridViewTextBoxColumn, this.idDataGridViewTextBoxColumn });
     this.dgvReports.set_DataSource(this.bsReportShedulers);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvReports.set_DefaultCellStyle(style2);
     this.dgvReports.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvReports.set_Location(new System.Drawing.Point(0, 0));
     this.dgvReports.set_Name("dgvReports");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Control);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvReports.set_RowHeadersDefaultCellStyle(style3);
     this.dgvReports.set_RowHeadersVisible(false);
     this.dgvReports.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvReports.set_Size(new System.Drawing.Size(0x2ed, 0x93));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ReportShedulerForm.cs

示例9: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PayReesterRecordApxView));
     this.dgvUnpivotApx = new System.Windows.Forms.DataGridView();
     this.bsApx = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsBtnSave = new System.Windows.Forms.ToolStripButton();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.printColumnNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.columnValueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvUnpivotApx.BeginInit();
     this.bsApx.BeginInit();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.dgvUnpivotApx.set_AllowUserToAddRows(false);
     this.dgvUnpivotApx.set_AllowUserToDeleteRows(false);
     this.dgvUnpivotApx.set_AutoGenerateColumns(false);
     this.dgvUnpivotApx.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvUnpivotApx.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.Control);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvUnpivotApx.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvUnpivotApx.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvUnpivotApx.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.printColumnNameDataGridViewTextBoxColumn, this.columnNameDataGridViewTextBoxColumn, this.columnValueDataGridViewTextBoxColumn });
     this.dgvUnpivotApx.set_DataSource(this.bsApx);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvUnpivotApx.set_DefaultCellStyle(style2);
     this.dgvUnpivotApx.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvUnpivotApx.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvUnpivotApx.set_Name("dgvUnpivotApx");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Control);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvUnpivotApx.set_RowHeadersDefaultCellStyle(style3);
     this.dgvUnpivotApx.set_RowHeadersVisible(false);
     this.dgvUnpivotApx.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvUnpivotApx.set_Size(new System.Drawing.Size(470, 0x163));
     this.dgvUnpivotApx.set_TabIndex(3);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnSave });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(470, 0x19));
     this.toolStrip1.set_TabIndex(4);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsBtnSave.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsBtnSave.set_Image((System.Drawing.Image) manager.GetObject("tsBtnSave.Image"));
     this.tsBtnSave.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnSave.set_Name("tsBtnSave");
     this.tsBtnSave.set_Size(new System.Drawing.Size(0x7a, 0x16));
     this.tsBtnSave.set_Text("Сохранить изменения");
     this.tsBtnSave.add_Click(new System.EventHandler(this.tsBtnSave_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("printColumnName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Наименование поля");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x7c);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("columnName");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Наименование поля в реестере");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x86);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("columnValue");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Значение");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_Width(80);
     this.printColumnNameDataGridViewTextBoxColumn.set_DataPropertyName("printColumnName");
     this.printColumnNameDataGridViewTextBoxColumn.set_HeaderText("Наименование поля");
     this.printColumnNameDataGridViewTextBoxColumn.set_Name("printColumnNameDataGridViewTextBoxColumn");
     this.printColumnNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.printColumnNameDataGridViewTextBoxColumn.set_Width(0x7a);
     this.columnNameDataGridViewTextBoxColumn.set_DataPropertyName("columnName");
     this.columnNameDataGridViewTextBoxColumn.set_HeaderText("Наименование поля в реестре");
     this.columnNameDataGridViewTextBoxColumn.set_Name("columnNameDataGridViewTextBoxColumn");
     this.columnNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.columnNameDataGridViewTextBoxColumn.set_Width(0x84);
     this.columnValueDataGridViewTextBoxColumn.set_DataPropertyName("columnValue");
     this.columnValueDataGridViewTextBoxColumn.set_HeaderText("Значение");
     this.columnValueDataGridViewTextBoxColumn.set_Name("columnValueDataGridViewTextBoxColumn");
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:PayReesterRecordApxView.cs

示例10: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle();
     this.panel1 = new System.Windows.Forms.Panel();
     this.dgwHousePropertys = new System.Windows.Forms.DataGridView();
     this.propertyName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.selectedType = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.fasetId = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fasetItemId = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.selectedFasetName = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.bsHousePropertys = new System.Windows.Forms.BindingSource(this.components);
     this.bsFasetItems = new System.Windows.Forms.BindingSource(this.components);
     this.panel2 = new System.Windows.Forms.Panel();
     this.apartmentCanonicalTypeView = new ApartmentCanonicalTypeView();
     this.panel3 = new System.Windows.Forms.Panel();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewComboBoxColumn2 = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.panel1.SuspendLayout();
     this.dgwHousePropertys.BeginInit();
     this.bsHousePropertys.BeginInit();
     this.bsFasetItems.BeginInit();
     this.panel2.SuspendLayout();
     base.SuspendLayout();
     this.panel1.Controls.Add(this.dgwHousePropertys);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x2b8, 0xdd));
     this.panel1.set_TabIndex(1);
     this.dgwHousePropertys.set_AllowUserToAddRows(false);
     this.dgwHousePropertys.set_AllowUserToDeleteRows(false);
     this.dgwHousePropertys.set_AllowUserToResizeColumns(false);
     this.dgwHousePropertys.set_AllowUserToResizeRows(false);
     this.dgwHousePropertys.set_AutoGenerateColumns(false);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.ButtonFace);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.InfoText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.InactiveCaption);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgwHousePropertys.set_ColumnHeadersDefaultCellStyle(style);
     this.dgwHousePropertys.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgwHousePropertys.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.propertyName, this.selectedType, this.fasetId, this.fasetItemId, this.selectedFasetName });
     this.dgwHousePropertys.set_DataSource(this.bsHousePropertys);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.Desktop);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.InactiveCaption);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgwHousePropertys.set_DefaultCellStyle(style2);
     this.dgwHousePropertys.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgwHousePropertys.set_Location(new System.Drawing.Point(0, 0));
     this.dgwHousePropertys.set_Name("dgwHousePropertys");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.ButtonHighlight);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.InfoText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.InactiveCaption);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgwHousePropertys.set_RowHeadersDefaultCellStyle(style3);
     this.dgwHousePropertys.set_RowHeadersVisible(false);
     this.dgwHousePropertys.set_Size(new System.Drawing.Size(0x2b8, 0xdd));
     this.dgwHousePropertys.set_TabIndex(0);
     this.dgwHousePropertys.add_CellClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgwHousePropertys_CellClick));
     this.dgwHousePropertys.add_EditingControlShowing(new System.Windows.Forms.DataGridViewEditingControlShowingEventHandler(this.dgwHousePropertys_EditingControlShowing));
     this.propertyName.set_DataPropertyName("propertyName");
     this.propertyName.set_HeaderText("Свойство");
     this.propertyName.set_Name("propertyName");
     this.propertyName.set_ReadOnly(true);
     this.propertyName.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.NotSortable);
     this.propertyName.set_Width(180);
     this.selectedType.set_DataPropertyName("Id");
     this.selectedType.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.selectedType.set_HeaderText("Значение");
     this.selectedType.set_Name("selectedType");
     this.selectedType.set_Width(400);
     this.fasetId.set_DataPropertyName("fasetId");
     this.fasetId.set_HeaderText("fasetId");
     this.fasetId.set_Name("fasetId");
     this.fasetId.set_Visible(false);
     this.fasetId.set_Width(0x40);
     this.fasetItemId.set_DataPropertyName("Id");
     this.fasetItemId.set_HeaderText("fasetItemId");
     this.fasetItemId.set_Name("fasetItemId");
     this.fasetItemId.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.fasetItemId.set_Visible(false);
     this.fasetItemId.set_Width(0x54);
     this.selectedFasetName.set_DataPropertyName("fasetItemId");
     this.selectedFasetName.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.selectedFasetName.set_HeaderText("Новое значение");
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:HouseIngenerTableView.cs

示例11: InitializeComponent


//.........这里部分代码省略.........
     this.cbServiceTypes.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbServiceTypes.set_DataSource(this.bsServiceTypes);
     this.cbServiceTypes.set_DisplayMember("ShortName");
     this.cbServiceTypes.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbServiceTypes.set_FormattingEnabled(true);
     this.cbServiceTypes.set_Location(new System.Drawing.Point(0x75, 0x85));
     this.cbServiceTypes.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbServiceTypes.set_Name("cbServiceTypes");
     this.cbServiceTypes.set_Size(new System.Drawing.Size(0x23e, 0x15));
     this.cbServiceTypes.set_TabIndex(2);
     this.bsServiceTypes.set_DataSource(typeof(ServiceTypeOld));
     this.bsServiceTypes.set_Sort("ShortName");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(0, 0x88));
     this.label1.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x4e, 13));
     this.label1.set_TabIndex(4);
     this.label1.set_Text("Группа услуги");
     this.lPU.set_AutoSize(true);
     this.lPU.set_Location(new System.Drawing.Point(1, 7));
     this.lPU.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.lPU.set_Name("lPU");
     this.lPU.set_Size(new System.Drawing.Size(0x41, 13));
     this.lPU.set_TabIndex(2);
     this.lPU.set_Text("Поставщик");
     this.dgTariffView.set_AllowUserToAddRows(false);
     this.dgTariffView.set_AllowUserToDeleteRows(false);
     this.dgTariffView.set_AllowUserToOrderColumns(true);
     this.dgTariffView.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgTariffView.set_AutoGenerateColumns(false);
     this.dgTariffView.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgTariffView.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.Control);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgTariffView.set_ColumnHeadersDefaultCellStyle(style);
     this.dgTariffView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.ProviderName, this.ServiceTypeName, this.serviceCodeDataGridViewTextBoxColumn, this.serviceNameDataGridViewTextBoxColumn, this.HouseHolderName, this.CanonicalName, this.fromDateDataGridViewTextBoxColumn, this.rateDataGridViewTextBoxColumn, this.NewRateDataGridViewTextBoxColumn, this.AdrName });
     this.dgTariffView.set_DataSource(this.bsServiceTariffs);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgTariffView.set_DefaultCellStyle(style2);
     this.dgTariffView.set_Location(new System.Drawing.Point(0, 0xdf));
     this.dgTariffView.set_Margin(new System.Windows.Forms.Padding(2));
     this.dgTariffView.set_Name("dgTariffView");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Control);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgTariffView.set_RowHeadersDefaultCellStyle(style3);
     this.dgTariffView.set_RowHeadersVisible(false);
     this.dgTariffView.set_Size(new System.Drawing.Size(0x318, 0x19b));
     this.dgTariffView.set_TabIndex(2);
     this.dgTariffView.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgTariffView_CellDoubleClick));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ServiceTariffGroupChangeForm.cs

示例12: InitializeComponent

 private void InitializeComponent()
 {
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style5 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style6 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style7 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style8 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style9 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style10 = new System.Windows.Forms.DataGridViewCellStyle();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnAccept = new System.Windows.Forms.Button();
     this.gbSubqualityParameters = new System.Windows.Forms.GroupBox();
     this.subqualityPropertiesView = new SubqualityPropertiesView();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewDateTimeColumn1 = new DataGridViewDateTimeColumn();
     this.dataGridViewDateTimeColumn2 = new DataGridViewDateTimeColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.panel1 = new System.Windows.Forms.Panel();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.btnAddSubquality = new System.Windows.Forms.ToolStripButton();
     this.btnDeleteSubquality = new System.Windows.Forms.ToolStripButton();
     this.btnCopySubquality = new System.Windows.Forms.ToolStripButton();
     this.btnHelp = new System.Windows.Forms.ToolStripButton();
     this.dgvSubqualities = new System.Windows.Forms.DataGridView();
     this.Number = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.City = new DataGridViewSmartComboColumn();
     this.Street = new DataGridViewSmartComboColumn();
     this.House = new DataGridViewSmartComboColumn();
     this.Flat = new DataGridViewSmartComboColumn();
     this.FromDate = new DataGridViewDateTimeColumn();
     this.ToDate = new DataGridViewDateTimeColumn();
     this.Hours = new DataGridViewNumericColumn();
     this.DayTemperature = new DataGridViewNumericColumn();
     this.NightTemperature = new DataGridViewNumericColumn();
     this.Square = new DataGridViewNumericColumn();
     this.cbRecalc = new System.Windows.Forms.CheckBox();
     this.gbSubqualityParameters.SuspendLayout();
     this.panel1.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     this.dgvSubqualities.BeginInit();
     base.SuspendLayout();
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(0x2b9, 0x211));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(60);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnAccept.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnAccept.set_Location(new System.Drawing.Point(0x268, 0x211));
     this.btnAccept.set_Name("btnAccept");
     this.btnAccept.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnAccept.set_TabIndex(50);
     this.btnAccept.set_Text("Принять");
     this.btnAccept.set_UseVisualStyleBackColor(true);
     this.btnAccept.add_Click(new System.EventHandler(this.btnAccept_Click));
     this.gbSubqualityParameters.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbSubqualityParameters.Controls.Add(this.subqualityPropertiesView);
     this.gbSubqualityParameters.set_Location(new System.Drawing.Point(12, 12));
     this.gbSubqualityParameters.set_Name("gbSubqualityParameters");
     this.gbSubqualityParameters.set_Size(new System.Drawing.Size(760, 0xde));
     this.gbSubqualityParameters.set_TabIndex(5);
     this.gbSubqualityParameters.set_TabStop(false);
     this.gbSubqualityParameters.set_Text("Параметры недопоставок:");
     this.subqualityPropertiesView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.subqualityPropertiesView.set_Location(new System.Drawing.Point(3, 0x10));
     this.subqualityPropertiesView.set_Name("subqualityPropertiesView");
     this.subqualityPropertiesView.ObjectWithId = null;
     this.subqualityPropertiesView.set_Size(new System.Drawing.Size(0x2f2, 0xcb));
     this.subqualityPropertiesView.set_TabIndex(10);
     this.subqualityPropertiesView.SuspensionTypeSelected += new SubqualityPropertiesViewSuspensionTypeSelected(this.subqualityPropertiesView_SuspensionTypeSelected);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style.set_BackColor(System.Drawing.Color.FromArgb(0xe0, 0xe0, 0xe0));
     style.set_Format("N0");
     style.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style);
     this.dataGridViewTextBoxColumn1.set_HeaderText("№ п.п.");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(30);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style2.set_Format("g");
     style2.set_NullValue(null);
     this.dataGridViewDateTimeColumn1.set_DefaultCellStyle(style2);
     this.dataGridViewDateTimeColumn1.set_HeaderText("Дата начала");
     this.dataGridViewDateTimeColumn1.set_Name("dataGridViewDateTimeColumn1");
     this.dataGridViewDateTimeColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateTimeColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     style3.set_Format("g");
     this.dataGridViewDateTimeColumn2.set_DefaultCellStyle(style3);
     this.dataGridViewDateTimeColumn2.set_HeaderText("Дата окончания");
     this.dataGridViewDateTimeColumn2.set_Name("dataGridViewDateTimeColumn2");
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:GroupSubqualtyForm.cs

示例13: InitializeComponent


//.........这里部分代码省略.........
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x65);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("SummCashlessPayments");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Сумма безналичных платежей");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(50);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(170);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("CounterCount");
     this.dataGridViewTextBoxColumn5.set_HeaderText("ПРУ");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Width(80);
     this.dataGridViewTextBoxColumn6.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("CounterName");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Наим-ие ПРУ");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(80);
     this.dataGridViewTextBoxColumn7.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("EquipmentCount");
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.dataGridViewTextBoxColumn7.set_DefaultCellStyle(style3);
     this.dataGridViewTextBoxColumn7.set_HeaderText("ОБ");
     this.dataGridViewTextBoxColumn7.set_MinimumWidth(150);
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(110);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("ServiceCode");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn8.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn8.set_HeaderText("Код");
     this.dataGridViewTextBoxColumn8.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(0x33);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("ServiceShortName");
     this.dataGridViewTextBoxColumn9.set_HeaderText("Услуга");
     this.dataGridViewTextBoxColumn9.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(80);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("ServiceTypeName");
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn10.set_DefaultCellStyle(style5);
     this.dataGridViewTextBoxColumn10.set_HeaderText("Тип услуги");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Width(80);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("LastRate");
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn11.set_DefaultCellStyle(style6);
     this.dataGridViewTextBoxColumn11.set_HeaderText("Последний тариф");
     this.dataGridViewTextBoxColumn11.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_Width(0x70);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("CurrentRate");
     style7.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn12.set_DefaultCellStyle(style7);
     this.dataGridViewTextBoxColumn12.set_HeaderText("Текущий тариф");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AccountCashlessCancelPaymentsView.cs

示例14: InitializeComponent


//.........这里部分代码省略.........
     this.btnSave.set_Text("Добавить");
     this.btnSave.set_UseVisualStyleBackColor(true);
     this.btnSave.add_Click(new System.EventHandler(this.btnSave_Click));
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(4, 15));
     this.label1.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x6b, 13));
     this.label1.set_TabIndex(1);
     this.label1.set_Text("Период действия: с");
     this.dbxBegin.AttachToPeriod = false;
     this.dbxBegin.AttachToPeriodEnd = false;
     this.dbxBegin.set_Location(new System.Drawing.Point(0x74, 12));
     this.dbxBegin.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbxBegin.set_Mask("00/00/0000");
     this.dbxBegin.set_Name("dbxBegin");
     this.dbxBegin.set_Size(new System.Drawing.Size(0x4c, 20));
     this.dbxBegin.set_TabIndex(0);
     this.groupBox4.Controls.Add(this.dgvPersonBenefits);
     this.groupBox4.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox4.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox4.set_Margin(new System.Windows.Forms.Padding(2));
     this.groupBox4.set_Name("groupBox4");
     this.groupBox4.set_Padding(new System.Windows.Forms.Padding(2));
     this.groupBox4.set_Size(new System.Drawing.Size(0x29f, 0x86));
     this.groupBox4.set_TabIndex(3);
     this.groupBox4.set_TabStop(false);
     this.groupBox4.set_Text("Собственники льготы");
     this.dgvPersonBenefits.set_AllowUserToAddRows(false);
     this.dgvPersonBenefits.set_AllowUserToDeleteRows(false);
     this.dgvPersonBenefits.set_AutoGenerateColumns(false);
     this.dgvPersonBenefits.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvPersonBenefits.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.Control);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvPersonBenefits.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvPersonBenefits.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvPersonBenefits.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.personNameDataGridViewTextBoxColumn, this.birthDateDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.benefitNameDataGridViewTextBoxColumn });
     this.dgvPersonBenefits.set_DataSource(this.bsApartmentPersonBenefits);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvPersonBenefits.set_DefaultCellStyle(style2);
     this.dgvPersonBenefits.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvPersonBenefits.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvPersonBenefits.set_Location(new System.Drawing.Point(2, 15));
     this.dgvPersonBenefits.set_Margin(new System.Windows.Forms.Padding(2));
     this.dgvPersonBenefits.set_Name("dgvPersonBenefits");
     this.dgvPersonBenefits.set_ReadOnly(true);
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Control);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvPersonBenefits.set_RowHeadersDefaultCellStyle(style3);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ApartmentResidentBenefitForm.cs

示例15: InitializeComponent


//.........这里部分代码省略.........
     this.groupBox3.set_Text("Выгрузка");
     this.cbTypeUse.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbTypeUse.set_DataSource(this.bsUseType);
     this.cbTypeUse.set_FormattingEnabled(true);
     this.cbTypeUse.set_Location(new System.Drawing.Point(110, 0x2b));
     this.cbTypeUse.set_Name("cbTypeUse");
     this.cbTypeUse.set_Size(new System.Drawing.Size(0xde, 0x15));
     this.cbTypeUse.set_TabIndex(5);
     this.Upload.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.Upload.set_Location(new System.Drawing.Point(0x158, 0x30));
     this.Upload.set_Name("Upload");
     this.Upload.set_Size(new System.Drawing.Size(0x7e, 30));
     this.Upload.set_TabIndex(4);
     this.Upload.set_Text("Выгрузить");
     this.Upload.set_UseVisualStyleBackColor(true);
     this.Upload.add_Click(new System.EventHandler(this.Upload_Click));
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(9, 0x10));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x2b, 13));
     this.label6.set_TabIndex(3);
     this.label6.set_Text("Услуги");
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(9, 0x2e));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x62, 13));
     this.label5.set_TabIndex(2);
     this.label5.set_Text("Назначение и вид");
     this.dgvRemitteePaymentOrders.set_AllowUserToAddRows(false);
     this.dgvRemitteePaymentOrders.set_AllowUserToResizeRows(false);
     this.dgvRemitteePaymentOrders.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvRemitteePaymentOrders.set_AutoGenerateColumns(false);
     this.dgvRemitteePaymentOrders.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style.set_BackColor(System.Drawing.SystemColors.Control);
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvRemitteePaymentOrders.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvRemitteePaymentOrders.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvRemitteePaymentOrders.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.CheckColumn, this.Id, this.numberDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.remitteeOrgShortNameDataGridViewTextBoxColumn, this.clientDocOrgNameDataGridViewTextBoxColumn, this.summDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn });
     this.dgvRemitteePaymentOrders.set_DataSource(this.bsRemitteePaymentOrders);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Window);
     style2.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style2.set_ForeColor(System.Drawing.SystemColors.ControlText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvRemitteePaymentOrders.set_DefaultCellStyle(style2);
     this.dgvRemitteePaymentOrders.set_Location(new System.Drawing.Point(6, 0xfb));
     this.dgvRemitteePaymentOrders.set_Name("dgvRemitteePaymentOrders");
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Control);
     style3.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style3.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvRemitteePaymentOrders.set_RowHeadersDefaultCellStyle(style3);
     this.dgvRemitteePaymentOrders.set_RowHeadersVisible(false);
     this.dgvRemitteePaymentOrders.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvRemitteePaymentOrders.set_Size(new System.Drawing.Size(0x1df, 0xe2));
     this.dgvRemitteePaymentOrders.set_TabIndex(2);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PaymentOrdersForm.cs


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