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


C# DataGridViewCellStyle.set_Font方法代码示例

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


在下文中一共展示了DataGridViewCellStyle.set_Font方法的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();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PaymentsByAccountView));
     this.m_PaymentsGrid = new System.Windows.Forms.DataGridView();
     this.m_PaymentsSource = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.m_ShowReceipt = new System.Windows.Forms.ToolStripButton();
     this.m_ReversePayment = 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.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.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.externalTransactionIdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.confirmedAtDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.paidSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.requestTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.statusDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.operatorDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.terminalDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.OfficelDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.OrganizationlDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     System.Windows.Forms.ToolStripSeparator separator = new System.Windows.Forms.ToolStripSeparator();
     this.m_PaymentsGrid.BeginInit();
     this.m_PaymentsSource.BeginInit();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     separator.set_Name("toolStripSeparator1");
     separator.set_Size(new System.Drawing.Size(6, 0x19));
     this.m_PaymentsGrid.set_AllowUserToAddRows(false);
     this.m_PaymentsGrid.set_AllowUserToDeleteRows(false);
     this.m_PaymentsGrid.set_AllowUserToOrderColumns(true);
     this.m_PaymentsGrid.set_AutoGenerateColumns(false);
     this.m_PaymentsGrid.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.m_PaymentsGrid.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.m_PaymentsGrid.set_ColumnHeadersDefaultCellStyle(style);
     this.m_PaymentsGrid.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.m_PaymentsGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.externalTransactionIdDataGridViewTextBoxColumn, this.confirmedAtDataGridViewTextBoxColumn, this.paidSummDataGridViewTextBoxColumn, this.requestTypeDataGridViewTextBoxColumn, this.statusDataGridViewTextBoxColumn, this.operatorDataGridViewTextBoxColumn, this.terminalDataGridViewTextBoxColumn, this.OfficelDataGridViewTextBoxColumn, this.OrganizationlDataGridViewTextBoxColumn });
     this.m_PaymentsGrid.set_DataSource(this.m_PaymentsSource);
     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.m_PaymentsGrid.set_DefaultCellStyle(style2);
     this.m_PaymentsGrid.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_PaymentsGrid.set_Location(new System.Drawing.Point(0, 0x19));
     this.m_PaymentsGrid.set_Name("m_PaymentsGrid");
     this.m_PaymentsGrid.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.m_PaymentsGrid.set_RowHeadersDefaultCellStyle(style3);
     this.m_PaymentsGrid.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.m_PaymentsGrid.set_Size(new System.Drawing.Size(0x297, 0x1b9));
     this.m_PaymentsGrid.set_TabIndex(0);
     this.m_PaymentsSource.set_DataSource(typeof(PayRequest));
     this.toolStrip1.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.m_ShowReceipt, separator, this.m_ReversePayment });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x297, 0x19));
     this.toolStrip1.set_TabIndex(1);
     this.toolStrip1.set_Text("toolStrip1");
     this.m_ShowReceipt.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.m_ShowReceipt.set_Image((System.Drawing.Image) manager.GetObject("m_ShowReceipt.Image"));
     this.m_ShowReceipt.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.m_ShowReceipt.set_Name("m_ShowReceipt");
     this.m_ShowReceipt.set_Size(new System.Drawing.Size(0x42, 0x16));
     this.m_ShowReceipt.set_Text("Квитанция");
     this.m_ShowReceipt.add_Click(new System.EventHandler(this.m_ShowReceipt_Click));
     this.m_ReversePayment.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.m_ReversePayment.set_Image((System.Drawing.Image) manager.GetObject("m_ReversePayment.Image"));
     this.m_ReversePayment.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.m_ReversePayment.set_Name("m_ReversePayment");
     this.m_ReversePayment.set_Size(new System.Drawing.Size(0x63, 0x16));
     this.m_ReversePayment.set_Text("Возврат платежа");
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:PaymentsByAccountView.cs

示例2: InitializeComponent


//.........这里部分代码省略.........
     this.оСистемеToolStripMenuItem1.set_Text("О системе");
     this.оСистемеToolStripMenuItem1.add_Click(new System.EventHandler(this.оСистемеToolStripMenuItem1_Click));
     this.настройкиToolStripMenuItem.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.настройкиToolStripMenuItem.set_Name("настройкиToolStripMenuItem");
     this.настройкиToolStripMenuItem.set_Size(new System.Drawing.Size(0x49, 20));
     this.настройкиToolStripMenuItem.set_Text("Настройки");
     this.настройкиToolStripMenuItem.add_Click(new System.EventHandler(this.настройкиToolStripMenuItem_Click));
     this.panel2.set_BorderStyle(System.Windows.Forms.BorderStyle.FixedSingle);
     this.panel2.Controls.Add(this.scReport);
     this.panel2.Controls.Add(this.panel1);
     this.panel2.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel2.set_Location(new System.Drawing.Point(0, 0));
     this.panel2.set_Name("panel2");
     this.panel2.set_Size(new System.Drawing.Size(0x41b, 0x18d));
     this.panel2.set_TabIndex(70);
     this.scReport.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.scReport.set_Location(new System.Drawing.Point(0, 0x30));
     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(0x419, 0x15b));
     this.scReport.set_SplitterDistance(0x90);
     this.scReport.set_TabIndex(0x13);
     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.CheckPrint, this.ReportTemplateName, this.statusDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn, this.UserName, this.StartTime, this.FinishTime, this.PlannedDate, this.Id });
     this.dgvReports.set_DataSource(this.bsReports);
     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(0x419, 0x90));
     this.dgvReports.set_TabIndex(0x11);
     this.dgvReports.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvReports_CellDoubleClick));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ReportsMainForm.cs

示例3: InitializeComponent


//.........这里部分代码省略.........
     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.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.dgvServices.BeginInit();
     this.bsServices.BeginInit();
     this.tab.SuspendLayout();
     this.tbpByApartmentProperties.SuspendLayout();
     this.dgvServiceNormTypesByProperties.BeginInit();
     this.bsServiceNormTypesByProperties.BeginInit();
     this.tbpByServiceNormType.SuspendLayout();
     this.dgvServiceNormTypes.BeginInit();
     this.bsServiceNormTypes.BeginInit();
     this.tsServices.SuspendLayout();
     base.SuspendLayout();
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0x19));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.dgvServices);
     this.splitContainer1.Panel2.Controls.Add(this.tab);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x3e7, 0x1c1));
     this.splitContainer1.set_SplitterDistance(0x29a);
     this.splitContainer1.set_TabIndex(0);
     this.dgvServices.set_AllowUserToAddRows(false);
     this.dgvServices.set_AllowUserToDeleteRows(false);
     this.dgvServices.set_AutoGenerateColumns(false);
     this.dgvServices.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.dgvServices.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvServices.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Selected, this.TypeId, this.codeDataGridViewTextBoxColumn, this.shortNameDataGridViewTextBoxColumn, this.TypeName, this.HouseHolderShortName, this.Id, this.lastTariffFromDateDataGridViewTextBoxColumn, this.lastRateDataGridViewTextBoxColumn, this.NewRateColumn, this.coloring });
     this.dgvServices.set_DataSource(this.bsServices);
     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.dgvServices.set_DefaultCellStyle(style2);
     this.dgvServices.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvServices.set_Location(new System.Drawing.Point(0, 0));
     this.dgvServices.set_Margin(new System.Windows.Forms.Padding(2));
     this.dgvServices.set_Name("dgvServices");
     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.dgvServices.set_RowHeadersDefaultCellStyle(style3);
     this.dgvServices.set_RowHeadersVisible(false);
     this.dgvServices.set_Size(new System.Drawing.Size(0x29a, 0x1c1));
     this.dgvServices.set_TabIndex(0x13);
     this.dgvServices.add_CellClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvServices_CellClick));
     this.dgvServices.add_DataError(new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvServices_DataError));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ServiceNormGroupOperationView.cs

示例4: InitializeComponent


//.........这里部分代码省略.........
     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);
     this.CheckColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.CheckColumn.set_HeaderText("Выбор");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PaymentOrdersForm.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
     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);
     this.dgvReestrs.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvReestrs.set_Size(new System.Drawing.Size(0x32f, 610));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PayReestersForm.cs

示例6: 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.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbAdd = new System.Windows.Forms.ToolStripButton();
     this.tsbChange = new System.Windows.Forms.ToolStripButton();
     this.tsbDelete = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbApply = new System.Windows.Forms.ToolStripButton();
     this.dvgCounterMark = new System.Windows.Forms.DataGridView();
     this.bsCounterMark = new System.Windows.Forms.BindingSource(this.components);
     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.nameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.typeCounterDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.unitNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.rzrdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toolStrip1.SuspendLayout();
     this.dvgCounterMark.BeginInit();
     this.bsCounterMark.BeginInit();
     base.SuspendLayout();
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbAdd, this.tsbChange, this.tsbDelete, this.toolStripSeparator1, this.tsbApply });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(410, 0x19));
     this.toolStrip1.set_TabIndex(0);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsbAdd.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbAdd.set_Image(Resources.ADD);
     this.tsbAdd.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbAdd.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbAdd.set_Name("tsbAdd");
     this.tsbAdd.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tsbAdd.set_Text("Добавить");
     this.tsbAdd.set_ToolTipText("Добавить");
     this.tsbAdd.add_Click(new System.EventHandler(this.tsbAdd_Click));
     this.tsbChange.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbChange.set_Image(Resources.CHANGE);
     this.tsbChange.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbChange.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbChange.set_Name("tsbChange");
     this.tsbChange.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbChange.set_Text("Изменить");
     this.tsbChange.set_ToolTipText("Изменить");
     this.tsbChange.add_Click(new System.EventHandler(this.tsbChange_Click));
     this.tsbDelete.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbDelete.set_Image(Resources.DELETE);
     this.tsbDelete.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbDelete.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbDelete.set_Name("tsbDelete");
     this.tsbDelete.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbDelete.set_Text("Удалить");
     this.tsbDelete.set_ToolTipText("Удалить");
     this.tsbDelete.add_Click(new System.EventHandler(this.tsbDelete_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbApply.set_Image(Resources.APPLY);
     this.tsbApply.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbApply.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbApply.set_Name("tsbApply");
     this.tsbApply.set_Size(new System.Drawing.Size(0x4e, 0x16));
     this.tsbApply.set_Text("Принять");
     this.tsbApply.add_Click(new System.EventHandler(this.tsbApply_Click));
     this.dvgCounterMark.set_AllowUserToAddRows(false);
     this.dvgCounterMark.set_AutoGenerateColumns(false);
     this.dvgCounterMark.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.dvgCounterMark.set_ColumnHeadersDefaultCellStyle(style);
     this.dvgCounterMark.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dvgCounterMark.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.nameDataGridViewTextBoxColumn, this.typeCounterDataGridViewTextBoxColumn, this.unitNameDataGridViewTextBoxColumn, this.rzrdDataGridViewTextBoxColumn });
     this.dvgCounterMark.set_DataSource(this.bsCounterMark);
     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.dvgCounterMark.set_DefaultCellStyle(style2);
     this.dvgCounterMark.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dvgCounterMark.set_Location(new System.Drawing.Point(0, 0x19));
     this.dvgCounterMark.set_Name("dvgCounterMark");
     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);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:CounterMarkForm.cs

示例7: InitializeComponent


//.........这里部分代码省略.........
     this.dataGridViewTextBoxColumn27.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn27.set_HeaderText("Created");
     this.dataGridViewTextBoxColumn27.set_Name("dataGridViewTextBoxColumn27");
     this.dataGridViewTextBoxColumn28.set_DataPropertyName("Period");
     this.dataGridViewTextBoxColumn28.set_HeaderText("Period");
     this.dataGridViewTextBoxColumn28.set_Name("dataGridViewTextBoxColumn28");
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ServiceCode");
     this.dataGridViewTextBoxColumn7.set_HeaderText("ServiceCode");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Visible(false);
     this.dataGridViewTextBoxColumn7.set_Width(0x6d);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("ServiceId");
     this.dataGridViewTextBoxColumn6.set_HeaderText("ServiceId");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Visible(false);
     this.dataGridViewTextBoxColumn6.set_Width(0x29);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("ServiceTypeName");
     this.dataGridViewTextBoxColumn5.set_HeaderText("ServiceTypeName");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Visible(false);
     this.dataGridViewTextBoxColumn5.set_Width(0x42);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(13, 0x2d));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x9d, 13));
     this.label1.set_TabIndex(1);
     this.label1.set_Text("Услуги переносимой оплаты:");
     this.bsJn.set_DataSource(typeof(Jn));
     this.lblTargetSumm.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.lblTargetSumm.set_AutoSize(true);
     this.lblTargetSumm.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.lblTargetSumm.set_ForeColor(System.Drawing.Color.Red);
     this.lblTargetSumm.set_Location(new System.Drawing.Point(0xbd, 0x17a));
     this.lblTargetSumm.set_Name("lblTargetSumm");
     this.lblTargetSumm.set_Size(new System.Drawing.Size(0x20, 13));
     this.lblTargetSumm.set_TabIndex(4);
     this.lblTargetSumm.set_Text("0.00");
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(0x2ac, 0x171));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x58, 0x1f));
     this.btnCancel.set_TabIndex(0x26);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnTransfer.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnTransfer.set_Enabled(false);
     this.btnTransfer.set_Image(Resources.TRANSFERRING);
     this.btnTransfer.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnTransfer.set_Location(new System.Drawing.Point(0x248, 0x171));
     this.btnTransfer.set_Name("btnTransfer");
     this.btnTransfer.set_Size(new System.Drawing.Size(0x5e, 0x1f));
     this.btnTransfer.set_TabIndex(0x27);
     this.btnTransfer.set_Text("Перенести");
     this.btnTransfer.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.btnTransfer.set_UseVisualStyleBackColor(true);
     this.btnTransfer.add_Click(new System.EventHandler(this.btnTransfer_Click));
     this.label5.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(13, 0x17a));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(160, 13));
     this.label5.set_TabIndex(3);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PenaltyTransferForm.cs

示例8: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(CashReturnForm));
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnTransfer = new System.Windows.Forms.Button();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.tsShowSourceBalance = new System.Windows.Forms.ToolStripButton();
     this.epRights = new System.Windows.Forms.ErrorProvider(this.components);
     this.chbxIsPartPayment = new System.Windows.Forms.CheckBox();
     this.lbWarning = new System.Windows.Forms.Label();
     this.label4 = new System.Windows.Forms.Label();
     this.dgvGroupOperationServices = new System.Windows.Forms.DataGridView();
     this.lblSourceGroupOperationSumm = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.chbReturnDate = new System.Windows.Forms.CheckBox();
     this.label3 = new System.Windows.Forms.Label();
     this.dbReturnDate = new DateBox();
     this.serviceTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.providerNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.SourceSumm = new DataGridViewNumericColumn();
     this.calcOperNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.jnBalance = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsGroupOperationServices = new System.Windows.Forms.BindingSource(this.components);
     this.selectOrgDocument = new SelectOrgDocument();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewNumericColumn1 = new DataGridViewNumericColumn();
     this.dataGridViewNumericColumn2 = new DataGridViewNumericColumn();
     this.dataGridViewNumericColumn3 = new DataGridViewNumericColumn();
     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.dataGridViewNumericColumn4 = new DataGridViewNumericColumn();
     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.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toolStrip1.SuspendLayout();
     this.epRights.BeginInit();
     this.dgvGroupOperationServices.BeginInit();
     this.bsGroupOperationServices.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(0x288, 0x1e1));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x58, 0x1f));
     this.btnCancel.set_TabIndex(5);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnTransfer.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnTransfer.set_Image(Resources.TRANSFERRING);
     this.btnTransfer.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btnTransfer.set_Location(new System.Drawing.Point(0x215, 0x1e1));
     this.btnTransfer.set_Name("btnTransfer");
     this.btnTransfer.set_Size(new System.Drawing.Size(0x6d, 0x1f));
     this.btnTransfer.set_TabIndex(30);
     this.btnTransfer.set_Text("Снять оплату");
     this.btnTransfer.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.btnTransfer.set_UseVisualStyleBackColor(true);
     this.btnTransfer.add_Click(new System.EventHandler(this.btnTransfer_Click));
     this.toolStrip1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.toolStrip1.set_AutoSize(false);
     this.toolStrip1.set_Dock(System.Windows.Forms.DockStyle.None);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.tsShowSourceBalance });
     this.toolStrip1.set_Location(new System.Drawing.Point(12, 0x44));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x2d4, 0x19));
     this.toolStrip1.set_TabIndex(0x27);
     this.toolStrip1.set_Text("toolStrip1");
     this.toolStripLabel1.set_Font(new System.Drawing.Font("Tahoma", 8.25f, System.Drawing.FontStyle.Bold));
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:CashReturnForm.cs

示例9: InitializeComponent


//.........这里部分代码省略.........
     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.m_ServicesGrid.BeginInit();
     this.m_ServicesSource.BeginInit();
     this.m_PeriodsSource.BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.m_HouseHoldersSource.BeginInit();
     this.dataGridView1.BeginInit();
     this.m_RequestBenefitsSource.BeginInit();
     this.tpDatePayment.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.groupBoxPayment.SuspendLayout();
     this.splitContainer1.BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.tab.SuspendLayout();
     this.tpServices.SuspendLayout();
     this.tpCounters.SuspendLayout();
     this.m_CountersGrid.BeginInit();
     this.m_PayRequestCounters.BeginInit();
     base.SuspendLayout();
     this.m_ServicesGrid.set_AllowUserToAddRows(false);
     this.m_ServicesGrid.set_AllowUserToDeleteRows(false);
     this.m_ServicesGrid.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.m_ServicesGrid.set_AutoGenerateColumns(false);
     this.m_ServicesGrid.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.m_ServicesGrid.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.m_ServicesGrid.set_ColumnHeadersDefaultCellStyle(style);
     this.m_ServicesGrid.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.m_ServicesGrid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.selectDataGridViewTextBoxColumn, this.nameDataGridViewTextBoxColumn, this.isFixedDataGridViewTextBoxColumn, this.counterIndicationDataGridViewTextBoxColumn, this.newCounterIndicationDataGridViewTextBoxColumn, this.penaltyDataGridViewTextBoxColumn, this.debtDataGridViewTextBoxColumn, this.debtToPayDataGridViewTextBoxColumn, this.paidDataGridViewTextBoxColumn });
     this.m_ServicesGrid.set_DataSource(this.m_ServicesSource);
     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.m_ServicesGrid.set_DefaultCellStyle(style2);
     this.m_ServicesGrid.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnKeystroke);
     this.m_ServicesGrid.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.m_ServicesGrid.set_Location(new System.Drawing.Point(3, 0x21));
     this.m_ServicesGrid.set_Name("m_ServicesGrid");
     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.m_ServicesGrid.set_RowHeadersDefaultCellStyle(style3);
     this.m_ServicesGrid.set_RowHeadersVisible(false);
     this.m_ServicesGrid.set_Size(new System.Drawing.Size(0x270, 0xea));
     this.m_ServicesGrid.set_TabIndex(0);
     this.m_ServicesGrid.add_CellBeginEdit(new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.m_ServicesGrid_CellBeginEdit));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ProcessPaymentView.cs

示例10: InitializeComponent


//.........这里部分代码省略.........
     this.tbsAdd.set_Name("tbsAdd");
     this.tbsAdd.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tbsAdd.set_Text("Добавить");
     this.tbsAdd.add_Click(new System.EventHandler(this.tbsAdd_Click));
     this.tsbEdit.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbEdit.set_Image(Resources.CHANGE);
     this.tsbEdit.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbEdit.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbEdit.set_Name("tsbEdit");
     this.tsbEdit.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbEdit.set_Text("Изменить");
     this.tsbEdit.add_Click(new System.EventHandler(this.tsbEdit_Click));
     this.tsbDel.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbDel.set_Image(Resources.DELETE);
     this.tsbDel.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbDel.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbDel.set_Name("tsbDel");
     this.tsbDel.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbDel.set_Text("Удалить");
     this.tsbDel.add_Click(new System.EventHandler(this.tsbDel_Click));
     this.panel2.Controls.Add(this.panel1);
     this.panel2.Controls.Add(this.tsButtons);
     this.panel2.set_Location(new System.Drawing.Point(0, 0));
     this.panel2.set_Name("panel2");
     this.panel2.set_Size(new System.Drawing.Size(0x356, 0x87));
     this.panel2.set_TabIndex(0x16);
     this.dgvServiceSplitPercents.set_AllowUserToAddRows(false);
     this.dgvServiceSplitPercents.set_AllowUserToDeleteRows(false);
     this.dgvServiceSplitPercents.set_AutoGenerateColumns(false);
     this.dgvServiceSplitPercents.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvServiceSplitPercents.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", 9f));
     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.dgvServiceSplitPercents.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvServiceSplitPercents.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvServiceSplitPercents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.percentDataGridViewTextBoxColumn, this.providerNameDataGridViewTextBoxColumn, this.orgDocumentNameDataGridViewTextBoxColumn });
     this.dgvServiceSplitPercents.set_DataSource(this.bsServiceSplitPercents);
     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", 9f));
     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.dgvServiceSplitPercents.set_DefaultCellStyle(style2);
     this.dgvServiceSplitPercents.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.dgvServiceSplitPercents.set_Location(new System.Drawing.Point(0, 0x8a));
     this.dgvServiceSplitPercents.set_Name("dgvServiceSplitPercents");
     this.dgvServiceSplitPercents.set_ReadOnly(true);
     this.dgvServiceSplitPercents.set_RowHeadersVisible(false);
     this.dgvServiceSplitPercents.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvServiceSplitPercents.set_Size(new System.Drawing.Size(0x356, 0x156));
     this.dgvServiceSplitPercents.set_TabIndex(0x17);
     this.dgvServiceSplitPercents.add_DoubleClick(new System.EventHandler(this.dgvShemeSplittingCalcOrganizations_DoubleClick));
     this.percentDataGridViewTextBoxColumn.set_DataPropertyName("Percent");
     this.percentDataGridViewTextBoxColumn.set_HeaderText("Процент");
     this.percentDataGridViewTextBoxColumn.set_Name("percentDataGridViewTextBoxColumn");
     this.percentDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.percentDataGridViewTextBoxColumn.set_Width(0x53);
     this.providerNameDataGridViewTextBoxColumn.set_DataPropertyName("ProviderName");
     this.providerNameDataGridViewTextBoxColumn.set_HeaderText("Поставщик");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ServiceSplitDocumentAddChangeForm.cs

示例11: 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();
     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();
     System.Windows.Forms.DataGridViewCellStyle style11 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style12 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style13 = new System.Windows.Forms.DataGridViewCellStyle();
     this.dataGridViewDateColumn1 = new DataGridViewDateColumn();
     this.dgvApartmentCounterIndicationsView = new System.Windows.Forms.DataGridView();
     this.dgcNewVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.newValTypeName = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.newValDate = new DataGridViewDateColumn();
     this.Comment = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcVal = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcValDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcCounterType = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcCounterName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcServiceTypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgcFromDate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsApartmentCounterIndicationInputView = new System.Windows.Forms.BindingSource(this.components);
     this.dbGlobalIndicationDate = new DateBox();
     this.dataGridViewDateColumn2 = new DataGridViewDateColumn();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewDateColumn3 = new DataGridViewDateColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.nudPackNumber = new System.Windows.Forms.NumericUpDown();
     this.lbPackNumber = new System.Windows.Forms.Label();
     this.cbIndicationType = new System.Windows.Forms.ComboBox();
     this.btnUpdate = new System.Windows.Forms.ToolStripButton();
     this.btnSave = new System.Windows.Forms.ToolStripButton();
     this.lbGlobalIndicationDate = new System.Windows.Forms.ToolStripLabel();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.label1 = new System.Windows.Forms.Label();
     this.ttsCounterIndicationsUnsert = new System.Windows.Forms.ToolStrip();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvApartmentCounterIndicationsView.BeginInit();
     this.bsApartmentCounterIndicationInputView.BeginInit();
     this.nudPackNumber.BeginInit();
     this.ttsCounterIndicationsUnsert.SuspendLayout();
     base.SuspendLayout();
     this.dataGridViewDateColumn1.set_DataPropertyName("NewValDate");
     style.set_NullValue(null);
     this.dataGridViewDateColumn1.set_DefaultCellStyle(style);
     this.dataGridViewDateColumn1.set_HeaderText("Дата показания");
     this.dataGridViewDateColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewDateColumn1.set_Name("dataGridViewDateColumn1");
     this.dataGridViewDateColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewDateColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewDateColumn1.set_ToolTipText("Дата показания нового показания");
     this.dataGridViewDateColumn1.set_Width(0x4b);
     this.dgvApartmentCounterIndicationsView.set_AllowUserToAddRows(false);
     this.dgvApartmentCounterIndicationsView.set_AllowUserToDeleteRows(false);
     this.dgvApartmentCounterIndicationsView.set_AutoGenerateColumns(false);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvApartmentCounterIndicationsView.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style2.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style2.set_BackColor(System.Drawing.SystemColors.Control);
     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.WindowText);
     style2.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style2.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style2.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvApartmentCounterIndicationsView.set_ColumnHeadersDefaultCellStyle(style2);
     this.dgvApartmentCounterIndicationsView.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvApartmentCounterIndicationsView.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgcNewVal, this.newValTypeName, this.newValDate, this.Comment, this.dgcVal, this.dgcValDate, this.dgcCounterType, this.dgcCounterName, this.dgcServiceTypeName, this.dgcFromDate });
     this.dgvApartmentCounterIndicationsView.set_DataSource(this.bsApartmentCounterIndicationInputView);
     style3.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style3.set_BackColor(System.Drawing.SystemColors.Window);
     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.ControlText);
     style3.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvApartmentCounterIndicationsView.set_DefaultCellStyle(style3);
     this.dgvApartmentCounterIndicationsView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvApartmentCounterIndicationsView.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvApartmentCounterIndicationsView.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvApartmentCounterIndicationsView.set_MultiSelect(false);
     this.dgvApartmentCounterIndicationsView.set_Name("dgvApartmentCounterIndicationsView");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style4.set_BackColor(System.Drawing.SystemColors.Control);
     style4.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style4.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style4.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ApartmentCounterIndicationInputUIView.cs

示例12: InitializeComponent


//.........这里部分代码省略.........
     this.dgvCounterIndications.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvCounterIndications.set_Location(new System.Drawing.Point(0x107, 3));
     this.dgvCounterIndications.set_Name("dgvCounterIndications");
     this.dgvCounterIndications.set_ReadOnly(true);
     this.dgvCounterIndications.set_RowHeadersVisible(false);
     this.dgvCounterIndications.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvCounterIndications.set_Size(new System.Drawing.Size(0x159, 0xdf));
     this.dgvCounterIndications.set_TabIndex(0);
     this.datebDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.datebDataGridViewTextBoxColumn.set_HeaderText("Дата установки");
     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.ValDateAverageMounth.set_DataPropertyName("ValDateAverageMounth");
     this.ValDateAverageMounth.set_HeaderText("Дата ср. мес.");
     this.ValDateAverageMounth.set_MinimumWidth(80);
     this.ValDateAverageMounth.set_Name("ValDateAverageMounth");
     this.ValDateAverageMounth.set_ReadOnly(true);
     this.ValDateAverageMounth.set_Width(80);
     this.ValAverageMounth.set_DataPropertyName("ValAverageMounth");
     style.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.ValAverageMounth.set_DefaultCellStyle(style);
     this.ValAverageMounth.set_HeaderText("Ср. мес. расход");
     this.ValAverageMounth.set_MinimumWidth(80);
     this.ValAverageMounth.set_Name("ValAverageMounth");
     this.ValAverageMounth.set_ReadOnly(true);
     this.ValAverageMounth.set_Width(80);
     this.MarkName.set_DataPropertyName("MarkName");
     this.MarkName.set_HeaderText("Марка");
     this.MarkName.set_MinimumWidth(60);
     this.MarkName.set_Name("MarkName");
     this.MarkName.set_ReadOnly(true);
     this.MarkName.set_Width(60);
     this.counterSizeDataGridViewTextBoxColumn.set_DataPropertyName("CounterSize");
     this.counterSizeDataGridViewTextBoxColumn.set_HeaderText("Разрядность");
     this.counterSizeDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.counterSizeDataGridViewTextBoxColumn.set_Name("counterSizeDataGridViewTextBoxColumn");
     this.counterSizeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterSizeDataGridViewTextBoxColumn.set_Width(80);
     this.TypeScaleCounterName.set_DataPropertyName("TypeScaleCounterName");
     this.TypeScaleCounterName.set_HeaderText("Тип шкалы");
     this.TypeScaleCounterName.set_MinimumWidth(80);
     this.TypeScaleCounterName.set_Name("TypeScaleCounterName");
     this.TypeScaleCounterName.set_ReadOnly(true);
     this.TypeScaleCounterName.set_Width(80);
     this.counterNumberDataGridViewTextBoxColumn.set_DataPropertyName("CounterNumber");
     this.counterNumberDataGridViewTextBoxColumn.set_HeaderText("Номер");
     this.counterNumberDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.counterNumberDataGridViewTextBoxColumn.set_Name("counterNumberDataGridViewTextBoxColumn");
     this.counterNumberDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterNumberDataGridViewTextBoxColumn.set_Width(60);
     this.counterNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterName");
     this.counterNameDataGridViewTextBoxColumn.set_HeaderText("Наименование");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AccountCashlessAverageConsumptionRecalcView.cs

示例13: InitializeComponent


//.........这里部分代码省略.........
     this.dataGridViewTextBoxColumn4.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ShortName");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Услуга");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("ServiceProvider");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Поставщик услуг");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("HouseHolder");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Управляющая компания");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.errorProvider.set_ContainerControl(this);
     this.splitContainer1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0xa8));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.dgvIncludeRoles);
     this.splitContainer1.Panel1.Controls.Add(this.tsInclude);
     this.splitContainer1.Panel2.Controls.Add(this.dgvExcludeRoles);
     this.splitContainer1.Panel2.Controls.Add(this.tsExclude);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x31a, 0x1a0));
     this.splitContainer1.set_SplitterDistance(0x18d);
     this.splitContainer1.set_TabIndex(0x1a);
     this.dgvIncludeRoles.set_AllowUserToAddRows(false);
     this.dgvIncludeRoles.set_AllowUserToDeleteRows(false);
     this.dgvIncludeRoles.set_AutoGenerateColumns(false);
     this.dgvIncludeRoles.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvIncludeRoles.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.dgvIncludeRoles.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvIncludeRoles.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvIncludeRoles.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dgvInCode, this.dataGridViewTextBoxColumn7, this.dataGridViewTextBoxColumn8, this.dataGridViewTextBoxColumn9, this.dataGridViewTextBoxColumn10, this.dgvInShortName });
     this.dgvIncludeRoles.set_DataSource(this.bsIncludeService);
     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.dgvIncludeRoles.set_DefaultCellStyle(style2);
     this.dgvIncludeRoles.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvIncludeRoles.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvIncludeRoles.set_Name("dgvIncludeRoles");
     this.dgvIncludeRoles.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.dgvIncludeRoles.set_RowHeadersDefaultCellStyle(style3);
     this.dgvIncludeRoles.set_RowHeadersVisible(false);
     this.dgvIncludeRoles.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvIncludeRoles.set_Size(new System.Drawing.Size(0x18d, 0x187));
     this.dgvIncludeRoles.set_TabIndex(0x1b);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:RemitteeServiceForm.cs

示例14: InitializeComponent


//.........这里部分代码省略.........
     this.dgvCalcServiceBenefitsByDays.set_DataSource(this.bsCalcServicesBenefitByDays);
     this.dgvCalcServiceBenefitsByDays.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvCalcServiceBenefitsByDays.set_Location(new System.Drawing.Point(3, 3));
     this.dgvCalcServiceBenefitsByDays.set_Name("dgvCalcServiceBenefitsByDays");
     this.dgvCalcServiceBenefitsByDays.set_ReadOnly(true);
     this.dgvCalcServiceBenefitsByDays.set_RowHeadersVisible(false);
     this.dgvCalcServiceBenefitsByDays.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvCalcServiceBenefitsByDays.set_Size(new System.Drawing.Size(0x345, 0xb8));
     this.dgvCalcServiceBenefitsByDays.set_TabIndex(0);
     this.tabSubQuality.Controls.Add(this.splitContainer3);
     this.tabSubQuality.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabSubQuality.set_Name("tabSubQuality");
     this.tabSubQuality.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabSubQuality.set_Size(new System.Drawing.Size(0x34b, 190));
     this.tabSubQuality.set_TabIndex(4);
     this.tabSubQuality.set_Text("Недопоставка");
     this.tabSubQuality.set_UseVisualStyleBackColor(true);
     this.splitContainer3.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer3.set_Location(new System.Drawing.Point(3, 3));
     this.splitContainer3.set_Name("splitContainer3");
     this.splitContainer3.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer3.Panel1.Controls.Add(this.dgvCalcServiceTypeSubQuality);
     this.splitContainer3.Panel2.Controls.Add(this.dgvCalcServiceTypeSubQualityByDays);
     this.splitContainer3.set_Size(new System.Drawing.Size(0x345, 0xb8));
     this.splitContainer3.set_SplitterDistance(110);
     this.splitContainer3.set_TabIndex(0);
     this.dgvCalcServiceTypeSubQuality.set_AllowUserToAddRows(false);
     this.dgvCalcServiceTypeSubQuality.set_AllowUserToDeleteRows(false);
     this.dgvCalcServiceTypeSubQuality.set_AutoGenerateColumns(false);
     this.dgvCalcServiceTypeSubQuality.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCellsExceptHeader);
     this.dgvCalcServiceTypeSubQuality.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.dgvCalcServiceTypeSubQuality.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvCalcServiceTypeSubQuality.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvCalcServiceTypeSubQuality.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.periodDataGridViewTextBoxColumn, this.exceptAcceptableDurationDataGridViewCheckBoxColumn, this.interruptedSupplyHoursCountDataGridViewTextBoxColumn, this.calculatedPercentByPeriodDataGridViewTextBoxColumn, this.squareFactorByPeriodDataGridViewTextBoxColumn });
     this.dgvCalcServiceTypeSubQuality.set_DataSource(this.bsCalcServiceTypeSubQuality);
     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.dgvCalcServiceTypeSubQuality.set_DefaultCellStyle(style2);
     this.dgvCalcServiceTypeSubQuality.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvCalcServiceTypeSubQuality.set_Location(new System.Drawing.Point(0, 0));
     this.dgvCalcServiceTypeSubQuality.set_Name("dgvCalcServiceTypeSubQuality");
     this.dgvCalcServiceTypeSubQuality.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.dgvCalcServiceTypeSubQuality.set_RowHeadersDefaultCellStyle(style3);
     this.dgvCalcServiceTypeSubQuality.set_RowHeadersVisible(false);
     this.dgvCalcServiceTypeSubQuality.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvCalcServiceTypeSubQuality.set_Size(new System.Drawing.Size(0x345, 110));
     this.dgvCalcServiceTypeSubQuality.set_TabIndex(1);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AccountRecalcCalcDetailsForm.cs

示例15: 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


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