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


C# DataGridViewCellStyle.set_WrapMode方法代码示例

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


在下文中一共展示了DataGridViewCellStyle.set_WrapMode方法的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(ServiceTariffAddView));
     System.Windows.Forms.DataGridViewCellStyle style4 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style5 = new System.Windows.Forms.DataGridViewCellStyle();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.dgvServices = new System.Windows.Forms.DataGridView();
     this.bsServices = new System.Windows.Forms.BindingSource(this.components);
     this.dgvServiceTariffTypes = new System.Windows.Forms.DataGridView();
     this.bsServiceTariffTypes = new System.Windows.Forms.BindingSource(this.components);
     this.tsServices = new System.Windows.Forms.ToolStrip();
     this.tsbSelectedAll = new System.Windows.Forms.ToolStripButton();
     this.tsBtnServicesFind = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsBtnChangeServiceTariff = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbVisibleCode = new System.Windows.Forms.ToolStripButton();
     this.tsbVisibleName = new System.Windows.Forms.ToolStripButton();
     this.tsbVisibleTypeService = new System.Windows.Forms.ToolStripButton();
     this.tsbVisibleHouseHolder = new System.Windows.Forms.ToolStripButton();
     this.tsbFindByTypeService = new System.Windows.Forms.ToolStripButton();
     this.tsbFindLike = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.SelectedServiceTariffType = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     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.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.tariffTypeNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ServiceTariffId = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.LastNormRate = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.rateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NewServiceTypeTariffRateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.TariffTypeId = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ServiceTeriffTypeId = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Selected = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.TypeId = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.codeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.shortNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.TypeName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.HouseHolderShortName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.lastTariffFromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.lastRateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.NewRateColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.coloring = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.dgvServices.BeginInit();
     this.bsServices.BeginInit();
     this.dgvServiceTariffTypes.BeginInit();
     this.bsServiceTariffTypes.BeginInit();
     this.tsServices.SuspendLayout();
     base.SuspendLayout();
     this.splitContainer2.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer2.set_Location(new System.Drawing.Point(0, 0x19));
     this.splitContainer2.set_Name("splitContainer2");
     this.splitContainer2.Panel1.Controls.Add(this.dgvServices);
     this.splitContainer2.Panel2.Controls.Add(this.dgvServiceTariffTypes);
     this.splitContainer2.set_Size(new System.Drawing.Size(0x33f, 0x15b));
     this.splitContainer2.set_SplitterDistance(510);
     this.splitContainer2.set_TabIndex(0x16);
     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);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ServiceTariffAddView.cs

示例2: InitializeComponent


//.........这里部分代码省略.........
     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));
     this.CheckPrint.set_FillWeight((float) 10.43145f);
     this.CheckPrint.set_HeaderText("Выбор");
     this.CheckPrint.set_MinimumWidth(60);
     this.CheckPrint.set_Name("CheckPrint");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ReportsMainForm.cs

示例3: InitializeComponent


//.........这里部分代码省略.........
     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));
     this.dgvServices.add_Sorted(new System.EventHandler(this.dgvServices_Sorted));
     this.Selected.set_HeaderText("");
     this.Selected.set_MinimumWidth(20);
     this.Selected.set_Name("Selected");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ServiceNormGroupOperationView.cs

示例4: InitializeComponent


//.........这里部分代码省略.........
     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("Выбор");
     this.CheckColumn.set_Name("CheckColumn");
     this.CheckColumn.set_Width(0x2e);
     this.workerRemitteePayOrder.add_DoWork(new DoWorkEventHandler(this.workerRemitteePayOrder_DoWork));
     this.workerRemitteePayOrder.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.workerRemitteePayOrder_RunWorkerCompleted));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PaymentOrdersForm.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
     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));
     this.dgvReestrs.set_TabIndex(6);
     this.dgvReestrs.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvReestrs_CellDoubleClick));
     this.contextMenuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsmiLoadReester, this.tsmiProcessReester, this.изменитьСтатусToolStripMenuItem1, this.изменитьТипToolStripMenuItem, this.tsmiProcessOneReesterMenu, this.tsmiRollbackReester, this.tsmiDeleteReester, this.прерватьToolStripMenuItem });
     this.contextMenuStrip.set_Name("contextMenuStrip");
开发者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.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(90);
     this.dataGridViewNumericColumn1.DecimalPlaces = 0;
     int[] numArray = new int[4];
     this.dataGridViewNumericColumn1.DefaultValue = new decimal(numArray);
     this.dataGridViewNumericColumn1.set_HeaderText("Сумма");
     int[] numArray2 = new int[4];
     numArray2[0] = 100;
     this.dataGridViewNumericColumn1.Maximum = new decimal(numArray2);
     int[] numArray3 = new int[4];
     this.dataGridViewNumericColumn1.Minimum = new decimal(numArray3);
     this.dataGridViewNumericColumn1.set_Name("dataGridViewNumericColumn1");
     this.dataGridViewNumericColumn1.set_Width(0x2f);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("ServiceTypeId");
     this.dataGridViewTextBoxColumn4.set_HeaderText("ServiceTypeId");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x65);
     this.dgvJn.set_AllowUserToAddRows(false);
     this.dgvJn.set_AllowUserToDeleteRows(false);
     this.dgvJn.set_AllowUserToOrderColumns(true);
     this.dgvJn.set_AllowUserToResizeRows(false);
     this.dgvJn.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvJn.set_AutoGenerateColumns(false);
     this.dgvJn.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvJn.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     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.dgvJn.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvJn.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvJn.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.serviceTypeNameDataGridViewTextBoxColumn, this.providerNameDataGridViewTextBoxColumn, this.summForTransfer });
     this.dgvJn.set_DataSource(this.bsJn);
     this.dgvJn.set_Location(new System.Drawing.Point(12, 70));
     this.dgvJn.set_MultiSelect(false);
     this.dgvJn.set_Name("dgvJn");
     this.dgvJn.set_RowHeadersVisible(false);
     this.dgvJn.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.CellSelect);
     this.dgvJn.set_Size(new System.Drawing.Size(760, 0x125));
     this.dgvJn.set_TabIndex(0x2b);
     this.dgvJn.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvJn_CellEndEdit));
     this.serviceTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceTypeName");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип услуги");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Name("serviceTypeNameDataGridViewTextBoxColumn");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Width(0x57);
     this.providerNameDataGridViewTextBoxColumn.set_DataPropertyName("ProviderName");
     this.providerNameDataGridViewTextBoxColumn.set_HeaderText("Поставщик");
     this.providerNameDataGridViewTextBoxColumn.set_Name("providerNameDataGridViewTextBoxColumn");
     this.providerNameDataGridViewTextBoxColumn.set_Width(90);
     this.summForTransfer.set_DataPropertyName("Summ");
     this.summForTransfer.DecimalPlaces = 0;
     int[] numArray4 = new int[4];
     this.summForTransfer.DefaultValue = new decimal(numArray4);
     this.summForTransfer.set_HeaderText("Сумма");
     int[] numArray5 = new int[4];
     numArray5[0] = 100;
     this.summForTransfer.Maximum = new decimal(numArray5);
     int[] numArray6 = new int[4];
     this.summForTransfer.Minimum = new decimal(numArray6);
     this.summForTransfer.set_Name("summForTransfer");
     this.summForTransfer.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PenaltyTransferForm.cs

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

示例9: InitializeComponent


//.........这里部分代码省略.........
     this.chbxIsPartPayment.set_TabIndex(0x25);
     this.chbxIsPartPayment.set_Text("Перенести частично");
     this.chbxIsPartPayment.set_UseVisualStyleBackColor(true);
     this.chbxIsPartPayment.add_CheckedChanged(new System.EventHandler(this.chbxIsPartPayment_CheckedChanged));
     this.lbWarning.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.lbWarning.set_AutoSize(true);
     this.lbWarning.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.lbWarning.set_ForeColor(System.Drawing.Color.IndianRed);
     this.lbWarning.set_Location(new System.Drawing.Point(0x94, 0x1f6));
     this.lbWarning.set_Name("lbWarning");
     this.lbWarning.set_Size(new System.Drawing.Size(0x16b, 13));
     this.lbWarning.set_TabIndex(0x26);
     this.lbWarning.set_Text("Внимание! Оплата пени не подлежит частичному переносу.");
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(12, 14));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0xb7, 13));
     this.label4.set_TabIndex(0x24);
     this.label4.set_Text("Документ - основание для снятия:");
     this.dgvGroupOperationServices.set_AllowUserToAddRows(false);
     this.dgvGroupOperationServices.set_AllowUserToDeleteRows(false);
     this.dgvGroupOperationServices.set_AllowUserToOrderColumns(true);
     this.dgvGroupOperationServices.set_AllowUserToResizeRows(false);
     this.dgvGroupOperationServices.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvGroupOperationServices.set_AutoGenerateColumns(false);
     this.dgvGroupOperationServices.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvGroupOperationServices.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter);
     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.dgvGroupOperationServices.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvGroupOperationServices.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvGroupOperationServices.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.serviceTypeNameDataGridViewTextBoxColumn, this.providerNameDataGridViewTextBoxColumn, this.SourceSumm, this.calcOperNameDataGridViewTextBoxColumn, this.jnBalance });
     this.dgvGroupOperationServices.set_DataSource(this.bsGroupOperationServices);
     this.dgvGroupOperationServices.set_EditMode(System.Windows.Forms.DataGridViewEditMode.EditOnEnter);
     this.dgvGroupOperationServices.set_Location(new System.Drawing.Point(12, 0x60));
     this.dgvGroupOperationServices.set_MultiSelect(false);
     this.dgvGroupOperationServices.set_Name("dgvGroupOperationServices");
     this.dgvGroupOperationServices.set_RowHeadersVisible(false);
     this.dgvGroupOperationServices.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.CellSelect);
     this.dgvGroupOperationServices.set_Size(new System.Drawing.Size(0x2d4, 0x17b));
     this.dgvGroupOperationServices.set_TabIndex(0);
     this.dgvGroupOperationServices.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvGroupOperationServices_CellEndEdit));
     this.lblSourceGroupOperationSumm.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.lblSourceGroupOperationSumm.set_AutoSize(true);
     this.lblSourceGroupOperationSumm.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.lblSourceGroupOperationSumm.set_Location(new System.Drawing.Point(0x91, 0x1e1));
     this.lblSourceGroupOperationSumm.set_Name("lblSourceGroupOperationSumm");
     this.lblSourceGroupOperationSumm.set_Size(new System.Drawing.Size(0x20, 13));
     this.lblSourceGroupOperationSumm.set_TabIndex(2);
     this.lblSourceGroupOperationSumm.set_Text("0.00");
     this.lblSourceGroupOperationSumm.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.label1.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(12, 0x1e1));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x62, 13));
     this.label1.set_TabIndex(0x26);
     this.label1.set_Text("Сумма переноса: ");
     this.label1.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(12, 0x2d));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:CashReturnForm.cs

示例10: InitializeComponent


//.........这里部分代码省略.........
     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);
     this.tsInclude.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsInclude.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.toolStripSeparator1, this.toolStripSplitButton1, this.tsbDel, this.toolStripSeparator3 });
     this.tsInclude.set_Location(new System.Drawing.Point(0, 0));
     this.tsInclude.set_Name("tsInclude");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:RemitteeServiceForm.cs

示例11: InitializeComponent


//.........这里部分代码省略.........
     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("Поставщик");
     this.providerNameDataGridViewTextBoxColumn.set_Name("providerNameDataGridViewTextBoxColumn");
     this.providerNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.providerNameDataGridViewTextBoxColumn.set_Width(0x61);
     this.orgDocumentNameDataGridViewTextBoxColumn.set_DataPropertyName("OrgDocumentName");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ServiceSplitDocumentAddChangeForm.cs

示例12: InitializeComponent


//.........这里部分代码省略.........
     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);
     this.dgvCalcServiceTypeSubQualityByDays.set_AllowUserToAddRows(false);
     this.dgvCalcServiceTypeSubQualityByDays.set_AllowUserToDeleteRows(false);
     this.dgvCalcServiceTypeSubQualityByDays.set_AutoGenerateColumns(false);
     this.dgvCalcServiceTypeSubQualityByDays.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.DisplayedCellsExceptHeader);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AccountRecalcCalcDetailsForm.cs

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

示例14: InitializeComponent


//.........这里部分代码省略.........
     base.SuspendLayout();
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer1.Panel1.Controls.Add(this.groupBox1);
     this.splitContainer1.Panel1.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.splitContainer1.Panel2.Controls.Add(this.m_Tabs);
     this.splitContainer1.Panel2.set_RightToLeft(System.Windows.Forms.RightToLeft.No);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x255, 0x1a5));
     this.splitContainer1.set_SplitterDistance(0xc5);
     this.splitContainer1.set_SplitterWidth(6);
     this.splitContainer1.set_TabIndex(1);
     this.groupBox1.Controls.Add(this.dgvApartmentResidents);
     this.groupBox1.Controls.Add(this.tsResidents);
     this.groupBox1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0x255, 0xc5));
     this.groupBox1.set_TabIndex(1);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Проживающие");
     this.dgvApartmentResidents.set_AllowUserToAddRows(false);
     this.dgvApartmentResidents.set_AllowUserToDeleteRows(false);
     this.dgvApartmentResidents.set_AutoGenerateColumns(false);
     this.dgvApartmentResidents.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader);
     this.dgvApartmentResidents.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.dgvApartmentResidents.set_ColumnHeadersDefaultCellStyle(style);
     this.dgvApartmentResidents.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvApartmentResidents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.AllowPersonalDataUsage, this.Person, this.BirthDate, this.Age, this.RelativeFasetItem, this.Column1, this.ColCreated, this.datebDataGridViewTextBoxColumn, this.ToDate, this.AccountBenefit, this.InsuranceCertificate, this.Comment });
     this.dgvApartmentResidents.set_DataSource(this.bsApartmentResidents);
     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.dgvApartmentResidents.set_DefaultCellStyle(style2);
     this.dgvApartmentResidents.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvApartmentResidents.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvApartmentResidents.set_Location(new System.Drawing.Point(3, 0x29));
     this.dgvApartmentResidents.set_Name("dgvApartmentResidents");
     this.dgvApartmentResidents.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.dgvApartmentResidents.set_RowHeadersDefaultCellStyle(style3);
     this.dgvApartmentResidents.set_RowHeadersVisible(false);
     this.dgvApartmentResidents.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvApartmentResidents.set_Size(new System.Drawing.Size(0x24f, 0x99));
     this.dgvApartmentResidents.set_TabIndex(10);
     this.dgvApartmentResidents.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvApartmentResidents_CellDoubleClick));
     this.dgvApartmentResidents.add_Sorted(new System.EventHandler(this.dgvApartmentResidents_Sorted));
     this.AllowPersonalDataUsage.set_DataPropertyName("AllowPersonalDataUsage");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ApartmentResidentsView.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_WrapMode方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。