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


C# DataGridViewCellStyle.set_NullValue方法代码示例

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


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

示例1: InitializeComponent


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

示例2: InitializeComponent


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

示例3: 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();
     this.dgvCounterCheckIntervals = new System.Windows.Forms.DataGridView();
     this.bsCounterCheckIntervals = new System.Windows.Forms.BindingSource(this.components);
     this.tsCounterCheckIntervals = new System.Windows.Forms.ToolStrip();
     this.tsbtnAdd = new System.Windows.Forms.ToolStripButton();
     this.tsbtnEdit = new System.Windows.Forms.ToolStripButton();
     this.tsbtnDelete = 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.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.FromIndicationValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ToIndicationValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.UserName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvCounterCheckIntervals.BeginInit();
     this.bsCounterCheckIntervals.BeginInit();
     this.tsCounterCheckIntervals.SuspendLayout();
     base.SuspendLayout();
     this.dgvCounterCheckIntervals.set_AllowUserToAddRows(false);
     this.dgvCounterCheckIntervals.set_AllowUserToDeleteRows(false);
     this.dgvCounterCheckIntervals.set_AutoGenerateColumns(false);
     this.dgvCounterCheckIntervals.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvCounterCheckIntervals.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvCounterCheckIntervals.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.fromDateDataGridViewTextBoxColumn, this.FromIndicationValue, this.toDateDataGridViewTextBoxColumn, this.ToIndicationValue, this.UserName });
     this.dgvCounterCheckIntervals.set_DataSource(this.bsCounterCheckIntervals);
     this.dgvCounterCheckIntervals.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvCounterCheckIntervals.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgvCounterCheckIntervals.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvCounterCheckIntervals.set_Name("dgvCounterCheckIntervals");
     this.dgvCounterCheckIntervals.set_ReadOnly(true);
     this.dgvCounterCheckIntervals.set_RowHeadersVisible(false);
     this.dgvCounterCheckIntervals.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvCounterCheckIntervals.set_Size(new System.Drawing.Size(0x219, 0x14b));
     this.dgvCounterCheckIntervals.set_TabIndex(0x13);
     this.dgvCounterCheckIntervals.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvCounterCheckIntervals_CellDoubleClick));
     this.bsCounterCheckIntervals.set_DataSource(typeof(ApartmentCounterCheckInterval));
     this.bsCounterCheckIntervals.set_Sort("");
     this.tsCounterCheckIntervals.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbtnAdd, this.tsbtnEdit, this.tsbtnDelete });
     this.tsCounterCheckIntervals.set_Location(new System.Drawing.Point(0, 0));
     this.tsCounterCheckIntervals.set_Name("tsCounterCheckIntervals");
     this.tsCounterCheckIntervals.set_Size(new System.Drawing.Size(0x219, 0x19));
     this.tsCounterCheckIntervals.set_TabIndex(0x12);
     this.tsbtnAdd.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbtnAdd.set_Image(Resources.ADD);
     this.tsbtnAdd.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbtnAdd.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnAdd.set_Name("tsbtnAdd");
     this.tsbtnAdd.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tsbtnAdd.set_Text("&1");
     this.tsbtnAdd.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.tsbtnAdd.set_ToolTipText("Добавить поверочный интервал");
     this.tsbtnAdd.add_Click(new System.EventHandler(this.tsbtnAdd_Click));
     this.tsbtnEdit.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbtnEdit.set_Image(Resources.CHANGE);
     this.tsbtnEdit.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbtnEdit.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnEdit.set_Name("tsbtnEdit");
     this.tsbtnEdit.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbtnEdit.set_Text("&2");
     this.tsbtnEdit.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.tsbtnEdit.set_ToolTipText("Изменить поверочный интервал");
     this.tsbtnEdit.add_Click(new System.EventHandler(this.tsbtnEdit_Click));
     this.tsbtnDelete.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbtnDelete.set_Image(Resources.DELETE);
     this.tsbtnDelete.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbtnDelete.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnDelete.set_Name("tsbtnDelete");
     this.tsbtnDelete.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbtnDelete.set_Text("&3");
     this.tsbtnDelete.set_TextImageRelation(System.Windows.Forms.TextImageRelation.TextBeforeImage);
     this.tsbtnDelete.set_ToolTipText("Удалить поверочный интервал");
     this.tsbtnDelete.add_Click(new System.EventHandler(this.tsbtnDelete_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("FromDate");
     style.set_Format("D");
     style.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x86);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("FromIndictionValue");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Показания на начало");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x85);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("ToDate");
     style2.set_Format("D");
     style2.set_NullValue(null);
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style2);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Дата конца");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
//.........这里部分代码省略.........
开发者ID:u4097,项目名称:SQLScript,代码行数:101,代码来源:ApartmentCounterCheckIntervalsView.cs

示例4: InitializeComponent


//.........这里部分代码省略.........
     this.dgcVal.set_ReadOnly(true);
     this.dgcVal.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcVal.set_ToolTipText("Последнее показание");
     this.dgcVal.set_Width(90);
     this.Consumption.set_DataPropertyName("Consumption");
     this.Consumption.set_HeaderText("Расход");
     this.Consumption.set_MinimumWidth(0x41);
     this.Consumption.set_Name("Consumption");
     this.Consumption.set_Width(0x41);
     this.dgcValDate.set_DataPropertyName("ValDate");
     style7.set_Format("d");
     this.dgcValDate.set_DefaultCellStyle(style7);
     this.dgcValDate.set_HeaderText("Дата последнего показаний");
     this.dgcValDate.set_MinimumWidth(0x4b);
     this.dgcValDate.set_Name("dgcValDate");
     this.dgcValDate.set_ReadOnly(true);
     this.dgcValDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgcValDate.set_ToolTipText("Дата последнего показаний");
     this.dgcValDate.set_Width(0x4b);
     this.dgcCounterName.set_DataPropertyName("CounterName");
     this.dgcCounterName.set_HeaderText("Название");
     this.dgcCounterName.set_MinimumWidth(0x4b);
     this.dgcCounterName.set_Name("dgcCounterName");
     this.dgcCounterName.set_ReadOnly(true);
     this.dgcCounterName.set_Width(0x4b);
     this.dgcServiceTypeName.set_DataPropertyName("ServiceTypeName");
     this.dgcServiceTypeName.set_HeaderText("Тип услуги");
     this.dgcServiceTypeName.set_MinimumWidth(150);
     this.dgcServiceTypeName.set_Name("dgcServiceTypeName");
     this.dgcServiceTypeName.set_ReadOnly(true);
     this.dgcServiceTypeName.set_Width(150);
     this.dgcFromDate.set_DataPropertyName("CounterFromDate");
     style8.set_Format("dd.MM.yyyy");
     style8.set_NullValue(null);
     this.dgcFromDate.set_DefaultCellStyle(style8);
     this.dgcFromDate.set_HeaderText("Дата установки");
     this.dgcFromDate.set_MinimumWidth(0x4b);
     this.dgcFromDate.set_Name("dgcFromDate");
     this.dgcFromDate.set_ReadOnly(true);
     this.dgcFromDate.set_Width(0x4b);
     this.bsApartmentCounterIndicationInputView.set_DataSource(typeof(ApartmentCounterIndicationInputView));
     this.groupBox1.Controls.Add(this.selectAddresses1);
     this.groupBox1.Controls.Add(this.label2);
     this.groupBox1.Controls.Add(this.label1);
     this.groupBox1.Controls.Add(this.selectServiceTypes1);
     this.groupBox1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0x450, 0x51));
     this.groupBox1.set_TabIndex(14);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Параметры поиска");
     this.selectAddresses1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectAddresses1.IsByUser = true;
     this.selectAddresses1.set_Location(new System.Drawing.Point(0x52, 0x17));
     this.selectAddresses1.set_Name("selectAddresses1");
     area.AreaGroupId = 0L;
     area.AreaGroupName = null;
     area.Id = 0L;
     area.IsDeleted = false;
     area.IsDirty = false;
     area.Name = "";
     area.ObjectWithIdType = null;
     area.StatusTemporary = 0;
     this.selectAddresses1.SelectedArea = area;
     this.selectAddresses1.set_Size(new System.Drawing.Size(0x3f8, 20));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:GroupInputApartmentCountersView.cs

示例5: InitializeComponent


//.........这里部分代码省略.........
     this.dateRate.AttachToPeriodEnd = false;
     this.dateRate.set_Location(new System.Drawing.Point(0x25c, 0xa9));
     this.dateRate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dateRate.set_Mask("00/00/0000");
     this.dateRate.set_Name("dateRate");
     this.dateRate.set_Size(new System.Drawing.Size(0x57, 20));
     this.dateRate.set_TabIndex(4);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(2, 0x66));
     this.label3.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x26, 13));
     this.label3.set_TabIndex(13);
     this.label3.set_Text("Адрес");
     this.selectOrg.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectOrg.IsCashlessTransferrer = false;
     this.selectOrg.IsHouseHolder = false;
     this.selectOrg.IsPaymentAgent = false;
     this.selectOrg.IsResourceProvider = false;
     this.selectOrg.IsServiceProvider = true;
     this.selectOrg.set_Location(new System.Drawing.Point(0x75, 2));
     this.selectOrg.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectOrg.set_Name("selectOrg");
     this.selectOrg.set_Size(new System.Drawing.Size(0x2a1, 0x17));
     this.selectOrg.set_TabIndex(1);
     this.selectOrg.OnOrganizationSelected += new OrganizationHandler(this.selectOrg_OnOrganizationSelected);
     this.selectOrgDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectOrgDoc.set_Location(new System.Drawing.Point(0x75, 0xa8));
     this.selectOrgDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectOrgDoc.set_Name("selectOrgDoc");
     this.selectOrgDoc.set_Size(new System.Drawing.Size(0x170, 0x19));
     this.selectOrgDoc.set_TabIndex(3);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("AddressView");
     style4.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x3f);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("ServiceView");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Услуга");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x44);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("TarifOldView");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Действующий тариф");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x7e);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("TarifNew");
     style5.set_Format("N4");
     this.dataGridViewTextBoxColumn4.set_DefaultCellStyle(style5);
     this.dataGridViewTextBoxColumn4.set_HeaderText("Новый тариф");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x5c);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("NewRate");
     style6.set_Format("N4");
     this.dataGridViewTextBoxColumn5.set_DefaultCellStyle(style6);
     this.dataGridViewTextBoxColumn5.set_HeaderText("Новый тариф");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(0x77);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Dateb");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Dateb");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_Width(0x3d);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ServiceTariffGroupChangeForm.cs

示例6: InitializeComponent


//.........这里部分代码省略.........
     style5.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style5.set_WrapMode(System.Windows.Forms.DataGridViewTriState.False);
     this.dgvReportParameters.set_DefaultCellStyle(style5);
     this.dgvReportParameters.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvReportParameters.set_Location(new System.Drawing.Point(0, 0));
     this.dgvReportParameters.set_Name("dgvReportParameters");
     this.dgvReportParameters.set_ReadOnly(true);
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft);
     style6.set_BackColor(System.Drawing.SystemColors.Control);
     style6.set_Font(new System.Drawing.Font("Microsoft Sans Serif", 8.25f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     style6.set_ForeColor(System.Drawing.SystemColors.WindowText);
     style6.set_SelectionBackColor(System.Drawing.SystemColors.Highlight);
     style6.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style6.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvReportParameters.set_RowHeadersDefaultCellStyle(style6);
     this.dgvReportParameters.set_RowHeadersVisible(false);
     this.dgvReportParameters.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvReportParameters.set_Size(new System.Drawing.Size(0x2ed, 0x53));
     this.dgvReportParameters.set_TabIndex(0x12);
     this.printNameDataGridViewTextBoxColumn.set_DataPropertyName("PrintName");
     this.printNameDataGridViewTextBoxColumn.set_HeaderText("Параметр");
     this.printNameDataGridViewTextBoxColumn.set_Name("printNameDataGridViewTextBoxColumn");
     this.printNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.printNameDataGridViewTextBoxColumn.set_Width(0x53);
     this.printValueDataGridViewTextBoxColumn.set_DataPropertyName("PrintValue");
     this.printValueDataGridViewTextBoxColumn.set_HeaderText("Значение");
     this.printValueDataGridViewTextBoxColumn.set_Name("printValueDataGridViewTextBoxColumn");
     this.printValueDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.printValueDataGridViewTextBoxColumn.set_Width(80);
     this.bsReportShedulerParameters.set_DataSource(typeof(RepReportShedulerParameter));
     this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("StartTime");
     style7.set_Format("G");
     style7.set_NullValue(null);
     this.dataGridViewTextBoxColumn1.set_DefaultCellStyle(style7);
     this.dataGridViewTextBoxColumn1.set_HeaderText("Начато формирование");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("FinishTime");
     style8.set_Format("G");
     style8.set_NullValue(null);
     this.dataGridViewTextBoxColumn2.set_DefaultCellStyle(style8);
     this.dataGridViewTextBoxColumn2.set_HeaderText("Сформирован");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Interval");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Периоди- чность");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ToolTipText("м - по месяцам;  д - по дням");
     this.dataGridViewTextBoxColumn3.set_Width(70);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("IntervalValue");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Интервал");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ToolTipText("количество месяцев/дней через которое повторяется выполнение отчёта");
     this.dataGridViewTextBoxColumn4.set_Width(70);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("UserId");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Пользователь");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ToolTipText("добавивший отчёт в планировщик");
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Created");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ReportShedulerForm.cs

示例7: InitializeComponent


//.........这里部分代码省略.........
     style3.set_SelectionForeColor(System.Drawing.SystemColors.HighlightText);
     style3.set_WrapMode(System.Windows.Forms.DataGridViewTriState.True);
     this.m_ServicesGrid.set_RowHeadersDefaultCellStyle(style3);
     this.m_ServicesGrid.set_RowHeadersVisible(false);
     this.m_ServicesGrid.set_Size(new System.Drawing.Size(0x270, 0xea));
     this.m_ServicesGrid.set_TabIndex(0);
     this.m_ServicesGrid.add_CellBeginEdit(new System.Windows.Forms.DataGridViewCellCancelEventHandler(this.m_ServicesGrid_CellBeginEdit));
     this.m_ServicesGrid.add_CellEndEdit(new System.Windows.Forms.DataGridViewCellEventHandler(this.m_ServicesGrid_CellEndEdit));
     this.m_ServicesGrid.add_CellFormatting(new System.Windows.Forms.DataGridViewCellFormattingEventHandler(this.m_ServicesGrid_CellFormatting));
     this.m_ServicesGrid.add_CellValueChanged(new System.Windows.Forms.DataGridViewCellEventHandler(this.m_ServicesGrid_CellValueChanged));
     this.m_ServicesGrid.add_DataError(new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.m_ServicesGrid_DataError));
     this.m_ServicesGrid.add_Sorted(new System.EventHandler(this.m_ServicesGrid_Sorted));
     this.selectDataGridViewTextBoxColumn.set_HeaderText("X");
     this.selectDataGridViewTextBoxColumn.set_Name("selectDataGridViewTextBoxColumn");
     this.selectDataGridViewTextBoxColumn.set_Width(20);
     this.nameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill);
     this.nameDataGridViewTextBoxColumn.set_DataPropertyName("Name");
     this.nameDataGridViewTextBoxColumn.set_HeaderText("Услуга");
     this.nameDataGridViewTextBoxColumn.set_Name("nameDataGridViewTextBoxColumn");
     this.nameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.isFixedDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCellsExceptHeader);
     this.isFixedDataGridViewTextBoxColumn.set_DataPropertyName("IsFixed");
     this.isFixedDataGridViewTextBoxColumn.set_HeaderText("Фиксир. оплата");
     this.isFixedDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.isFixedDataGridViewTextBoxColumn.set_Name("isFixedDataGridViewTextBoxColumn");
     this.isFixedDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.isFixedDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.isFixedDataGridViewTextBoxColumn.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.isFixedDataGridViewTextBoxColumn.set_Width(60);
     this.counterIndicationDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.counterIndicationDataGridViewTextBoxColumn.set_DataPropertyName("DisplayedCounterIndication");
     style4.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style4.set_Format("F3");
     style4.set_NullValue(null);
     this.counterIndicationDataGridViewTextBoxColumn.set_DefaultCellStyle(style4);
     this.counterIndicationDataGridViewTextBoxColumn.set_HeaderText("Старые показания");
     this.counterIndicationDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.counterIndicationDataGridViewTextBoxColumn.set_Name("counterIndicationDataGridViewTextBoxColumn");
     this.counterIndicationDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterIndicationDataGridViewTextBoxColumn.set_Width(0x56);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_DataPropertyName("DisplayedNewCounterIndication");
     style5.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style5.set_Format("F3");
     style5.set_NullValue(null);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_DefaultCellStyle(style5);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_HeaderText("Новые показания");
     this.newCounterIndicationDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.newCounterIndicationDataGridViewTextBoxColumn.set_Name("newCounterIndicationDataGridViewTextBoxColumn");
     this.newCounterIndicationDataGridViewTextBoxColumn.set_Width(0x52);
     this.penaltyDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.penaltyDataGridViewTextBoxColumn.set_DataPropertyName("Penalty");
     style6.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style6.set_Format("N2");
     style6.set_NullValue(null);
     this.penaltyDataGridViewTextBoxColumn.set_DefaultCellStyle(style6);
     this.penaltyDataGridViewTextBoxColumn.set_HeaderText("Пени");
     this.penaltyDataGridViewTextBoxColumn.set_Name("penaltyDataGridViewTextBoxColumn");
     this.penaltyDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.penaltyDataGridViewTextBoxColumn.set_Visible(false);
     this.debtDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.AllCells);
     this.debtDataGridViewTextBoxColumn.set_DataPropertyName("TotalDebt");
     style7.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style7.set_Format("N2");
     style7.set_NullValue(null);
     this.debtDataGridViewTextBoxColumn.set_DefaultCellStyle(style7);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ProcessPaymentView.cs

示例8: InitializeComponent

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

示例9: InitializeComponent


//.........这里部分代码省略.........
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(50);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("OrgCode");
     style8.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn10.set_DefaultCellStyle(style8);
     this.dataGridViewTextBoxColumn10.set_HeaderText("Код ПУ");
     this.dataGridViewTextBoxColumn10.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn10.set_Width(0x23);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("OrgName");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Поставщик");
     this.dataGridViewTextBoxColumn11.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn11.set_Width(80);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("HouseHolderCode");
     style9.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.dataGridViewTextBoxColumn12.set_DefaultCellStyle(style9);
     this.dataGridViewTextBoxColumn12.set_HeaderText("Код УК");
     this.dataGridViewTextBoxColumn12.set_MinimumWidth(0x23);
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn12.set_Width(0x23);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("HouseHolderLongName");
     this.dataGridViewTextBoxColumn13.set_HeaderText("Управл.компания");
     this.dataGridViewTextBoxColumn13.set_MinimumWidth(60);
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn13.set_Width(60);
     style10.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style10.set_Format("N2");
     style10.set_NullValue("0");
     this.PaymentDataGridViewTextBoxColumn.set_DefaultCellStyle(style10);
     this.PaymentDataGridViewTextBoxColumn.set_HeaderText("Оплата");
     this.PaymentDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.PaymentDataGridViewTextBoxColumn.set_Name("PaymentDataGridViewTextBoxColumn");
     this.PaymentDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.PaymentDataGridViewTextBoxColumn.set_Width(60);
     style11.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style11.set_Format("N2");
     style11.set_NullValue("0");
     this.BalanceDataGridViewTextBoxColumn.set_DefaultCellStyle(style11);
     this.BalanceDataGridViewTextBoxColumn.set_HeaderText("К оплате");
     this.BalanceDataGridViewTextBoxColumn.set_MinimumWidth(60);
     this.BalanceDataGridViewTextBoxColumn.set_Name("BalanceDataGridViewTextBoxColumn");
     this.BalanceDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.BalanceDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.BalanceDataGridViewTextBoxColumn.set_Width(60);
     this.ChargeDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     style12.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style12.set_Format("N2");
     style12.set_NullValue("0");
     this.ChargeDataGridViewTextBoxColumn.set_DefaultCellStyle(style12);
     this.ChargeDataGridViewTextBoxColumn.set_HeaderText("Начислено");
     this.ChargeDataGridViewTextBoxColumn.set_MinimumWidth(0x41);
     this.ChargeDataGridViewTextBoxColumn.set_Name("ChargeDataGridViewTextBoxColumn");
     this.ChargeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.ChargeDataGridViewTextBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.ChargeDataGridViewTextBoxColumn.set_Width(0x41);
     this.serviceCodeDataGridViewTextBoxColumn.set_DataPropertyName("ServiceTypeCode");
     style13.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     this.serviceCodeDataGridViewTextBoxColumn.set_DefaultCellStyle(style13);
     this.serviceCodeDataGridViewTextBoxColumn.set_HeaderText("Код");
     this.serviceCodeDataGridViewTextBoxColumn.set_MinimumWidth(0x23);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AccountServicesDecomposeView.cs

示例10: InitializeComponent

 private void InitializeComponent()
 {
     this.components = new Container();
     System.Windows.Forms.DataGridViewCellStyle style = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style2 = new System.Windows.Forms.DataGridViewCellStyle();
     System.Windows.Forms.DataGridViewCellStyle style3 = new System.Windows.Forms.DataGridViewCellStyle();
     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

示例11: InitializeComponent


//.........这里部分代码省略.........
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn1.set_ToolTipText("Новое значение");
     this.dataGridViewTextBoxColumn1.set_Width(0x4b);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("Comment");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Комментарий");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(100);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_ToolTipText("Комментарий");
     this.dataGridViewTextBoxColumn2.set_Width(150);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Val");
     style4.set_Format("N4");
     this.dataGridViewTextBoxColumn3.set_DefaultCellStyle(style4);
     this.dataGridViewTextBoxColumn3.set_HeaderText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_MinimumWidth(90);
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn3.set_ToolTipText("Последнее показание");
     this.dataGridViewTextBoxColumn3.set_Width(90);
     this.dataGridViewComboBoxColumn1.set_DataPropertyName("NewValTypeName");
     this.dataGridViewComboBoxColumn1.set_DisplayStyle(System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox);
     this.dataGridViewComboBoxColumn1.set_HeaderText("Тип показания");
     this.dataGridViewComboBoxColumn1.set_MinimumWidth(150);
     this.dataGridViewComboBoxColumn1.set_Name("dataGridViewComboBoxColumn1");
     this.dataGridViewComboBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewComboBoxColumn1.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.dataGridViewComboBoxColumn1.set_ToolTipText("Тип нового показания");
     this.dataGridViewComboBoxColumn1.set_Width(150);
     this.dataGridViewDateColumn1.set_DataPropertyName("NewValDate");
     style5.set_NullValue(null);
     this.dataGridViewDateColumn1.set_DefaultCellStyle(style5);
     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.dataGridViewTextBoxColumn4.set_DataPropertyName("NewVal");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Новое значение");
     this.dataGridViewTextBoxColumn4.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn4.set_ToolTipText("Новое значение");
     this.dataGridViewTextBoxColumn4.set_Width(0x4b);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("CounterFromDate");
     style6.set_Format("dd.MM.yyyy");
     style6.set_NullValue(null);
     this.dataGridViewTextBoxColumn5.set_DefaultCellStyle(style6);
     this.dataGridViewTextBoxColumn5.set_HeaderText("Дата установки");
     this.dataGridViewTextBoxColumn5.set_MinimumWidth(0x4b);
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Visible(false);
     this.dataGridViewTextBoxColumn5.set_Width(0x4b);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Val");
     style7.set_Format("N4");
     this.dataGridViewTextBoxColumn6.set_DefaultCellStyle(style7);
     this.dataGridViewTextBoxColumn6.set_HeaderText("Последнее показание");
     this.dataGridViewTextBoxColumn6.set_MinimumWidth(90);
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:MassApartmentCounterIndicationInputView.cs

示例12: InitializeComponent


//.........这里部分代码省略.........
     this.IsDelete.set_Name("IsDelete");
     this.IsDelete.set_ReadOnly(true);
     this.IsDelete.set_Width(80);
     this.periodDataGridViewTextBoxColumn.set_DataPropertyName("Period");
     this.periodDataGridViewTextBoxColumn.set_HeaderText("Период");
     this.periodDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.periodDataGridViewTextBoxColumn.set_Name("periodDataGridViewTextBoxColumn");
     this.periodDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.periodDataGridViewTextBoxColumn.set_Width(80);
     this.ByPeriod.set_DataPropertyName("ByPeriod");
     this.ByPeriod.set_HeaderText("За период");
     this.ByPeriod.set_MinimumWidth(100);
     this.ByPeriod.set_Name("ByPeriod");
     this.ByPeriod.set_ReadOnly(true);
     this.benefitCodeDataGridViewTextBoxColumn.set_DataPropertyName("BenefitCode");
     this.benefitCodeDataGridViewTextBoxColumn.set_HeaderText("Код льготы");
     this.benefitCodeDataGridViewTextBoxColumn.set_MinimumWidth(90);
     this.benefitCodeDataGridViewTextBoxColumn.set_Name("benefitCodeDataGridViewTextBoxColumn");
     this.benefitCodeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.benefitCodeDataGridViewTextBoxColumn.set_Width(90);
     this.benefitNameDataGridViewTextBoxColumn.set_DataPropertyName("BenefitName");
     this.benefitNameDataGridViewTextBoxColumn.set_HeaderText("Наименование льготы");
     this.benefitNameDataGridViewTextBoxColumn.set_MinimumWidth(250);
     this.benefitNameDataGridViewTextBoxColumn.set_Name("benefitNameDataGridViewTextBoxColumn");
     this.benefitNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.benefitNameDataGridViewTextBoxColumn.set_Width(250);
     this.accountNumberDataGridViewTextBoxColumn.set_DataPropertyName("AccountNumber");
     this.accountNumberDataGridViewTextBoxColumn.set_HeaderText("Номер ЛС");
     this.accountNumberDataGridViewTextBoxColumn.set_MinimumWidth(100);
     this.accountNumberDataGridViewTextBoxColumn.set_Name("accountNumberDataGridViewTextBoxColumn");
     this.accountNumberDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.summDataGridViewTextBoxColumn.set_DataPropertyName("Summ");
     style.set_Alignment(System.Windows.Forms.DataGridViewContentAlignment.MiddleRight);
     style.set_NullValue(null);
     this.summDataGridViewTextBoxColumn.set_DefaultCellStyle(style);
     this.summDataGridViewTextBoxColumn.set_HeaderText("Сумма");
     this.summDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.summDataGridViewTextBoxColumn.set_Name("summDataGridViewTextBoxColumn");
     this.summDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.summDataGridViewTextBoxColumn.set_Width(80);
     this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn.set_HeaderText("Дата создания");
     this.createdDataGridViewTextBoxColumn.set_MinimumWidth(80);
     this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn");
     this.createdDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.createdDataGridViewTextBoxColumn.set_Width(80);
     this.Comment.set_DataPropertyName("Comment");
     this.Comment.set_HeaderText("Комментарий");
     this.Comment.set_MinimumWidth(120);
     this.Comment.set_Name("Comment");
     this.Comment.set_ReadOnly(true);
     this.Comment.set_Width(120);
     this.bsPersonBenefitOuts.set_DataSource(typeof(PersonBenefitOut));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Period");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Период");
     this.dataGridViewTextBoxColumn1.set_MinimumWidth(80);
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(80);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("BenefitCode");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Код льготы");
     this.dataGridViewTextBoxColumn2.set_MinimumWidth(70);
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(70);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("BenefitName");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:PersonBenefitOutView.cs

示例13: InitializeComponent


//.........这里部分代码省略.........
     this.isNewDataGridViewCheckBoxColumn.set_Width(0x2b);
     this.isDirtyDataGridViewCheckBoxColumn.set_DataPropertyName("IsDirty");
     this.isDirtyDataGridViewCheckBoxColumn.set_HeaderText("IsDirty");
     this.isDirtyDataGridViewCheckBoxColumn.set_Name("isDirtyDataGridViewCheckBoxColumn");
     this.isDirtyDataGridViewCheckBoxColumn.set_Visible(false);
     this.isDirtyDataGridViewCheckBoxColumn.set_Width(0x2a);
     this.isDeletedDataGridViewCheckBoxColumn.set_DataPropertyName("IsDeleted");
     this.isDeletedDataGridViewCheckBoxColumn.set_HeaderText("IsDeleted");
     this.isDeletedDataGridViewCheckBoxColumn.set_Name("isDeletedDataGridViewCheckBoxColumn");
     this.isDeletedDataGridViewCheckBoxColumn.set_Visible(false);
     this.isDeletedDataGridViewCheckBoxColumn.set_Width(0x3a);
     this.dgvcbSelected.set_HeaderText("");
     this.dgvcbSelected.set_Name("dgvcbSelected");
     this.dgvcbSelected.set_Width(20);
     this.AdrName.set_DataPropertyName("AccountAddressName");
     this.AdrName.set_HeaderText("Адрес");
     this.AdrName.set_Name("AdrName");
     this.AdrName.set_ReadOnly(true);
     this.AdrName.set_Width(150);
     this.accountNumber.set_DataPropertyName("AccountNumber");
     this.accountNumber.set_HeaderText("Номер лицевого счета");
     this.accountNumber.set_Name("accountNumber");
     this.accountNumber.set_ReadOnly(true);
     this.accountNumber.set_Width(120);
     this.dgvtbShare.set_DataPropertyName("Share");
     style.set_BackColor(System.Drawing.Color.LemonChiffon);
     this.dgvtbShare.set_DefaultCellStyle(style);
     this.dgvtbShare.set_HeaderText("Доля");
     this.dgvtbShare.set_Name("dgvtbShare");
     this.dgvtbShare.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dgvtbShare.set_Width(60);
     style2.set_BackColor(System.Drawing.Color.LemonChiffon);
     style2.set_Format("d");
     style2.set_NullValue(null);
     this.FromDate.set_DefaultCellStyle(style2);
     this.FromDate.set_HeaderText("Начало привязки");
     this.FromDate.set_Name("FromDate");
     this.FromDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.FromDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.FromDate.set_ToolTipText("Начало привязки услуги");
     this.FromDate.set_Width(0x55);
     style3.set_BackColor(System.Drawing.Color.LemonChiffon);
     style3.set_Format("d");
     this.ToDate.set_DefaultCellStyle(style3);
     this.ToDate.set_HeaderText("Окончание привязки");
     this.ToDate.set_Name("ToDate");
     this.ToDate.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.ToDate.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.ToDate.set_ToolTipText("Окончание привязки услуги");
     this.ToDate.set_Width(0x55);
     this.Code.set_DataPropertyName("serviceCode");
     this.Code.set_HeaderText("Код услуги");
     this.Code.set_Name("Code");
     this.Code.set_ReadOnly(true);
     this.Code.set_Width(50);
     this.serviceNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceName");
     this.serviceNameDataGridViewTextBoxColumn.set_HeaderText("Услуга");
     this.serviceNameDataGridViewTextBoxColumn.set_Name("serviceNameDataGridViewTextBoxColumn");
     this.serviceNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceTypeNameDataGridViewTextBoxColumn.set_DataPropertyName("ServiceTypeName");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_HeaderText("Тип услуги");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Name("serviceTypeNameDataGridViewTextBoxColumn");
     this.serviceTypeNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.serviceTypeNameDataGridViewTextBoxColumn.set_Width(120);
     this.ServiceProvider.set_DataPropertyName("OrgName");
     this.ServiceProvider.set_HeaderText("Поставщик");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:ApartmentCounterAddLinkingForm.cs

示例14: InitializeComponent


//.........这里部分代码省略.........
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn14.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn14.set_Visible(false);
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("CounterId");
     this.dataGridViewTextBoxColumn15.set_HeaderText("CounterId");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn15.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn15.set_Visible(false);
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("ServiceId");
     this.dataGridViewTextBoxColumn16.set_HeaderText("ServiceId");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn16.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn16.set_Visible(false);
     this.dataGridViewTextBoxColumn17.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn17.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn17.set_Name("dataGridViewTextBoxColumn17");
     this.dataGridViewTextBoxColumn17.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn17.set_Visible(false);
     this.dataGridViewTextBoxColumn18.set_DataPropertyName("AccountServiceId");
     this.dataGridViewTextBoxColumn18.set_HeaderText("AccountServiceId");
     this.dataGridViewTextBoxColumn18.set_Name("dataGridViewTextBoxColumn18");
     this.dataGridViewTextBoxColumn18.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn18.set_Visible(false);
     this.AccountNumber.set_DataPropertyName("AccountNumber");
     this.AccountNumber.set_HeaderText("Лиц. счет");
     this.AccountNumber.set_Name("AccountNumber");
     this.AccountNumber.set_ReadOnly(true);
     this.AddressName.set_DataPropertyName("AddressName");
     this.AddressName.set_HeaderText("Адрес");
     this.AddressName.set_Name("AddressName");
     this.AddressName.set_ReadOnly(true);
     this.DataCreated.set_DataPropertyName("DataCreated");
     style.set_Format("d");
     style.set_NullValue(null);
     this.DataCreated.set_DefaultCellStyle(style);
     this.DataCreated.set_HeaderText("Дата");
     this.DataCreated.set_Name("DataCreated");
     this.DataCreated.set_ReadOnly(true);
     this.counterNameDataGridViewTextBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.counterNameDataGridViewTextBoxColumn.set_DataPropertyName("CounterName");
     this.counterNameDataGridViewTextBoxColumn.set_HeaderText("Счетчик");
     this.counterNameDataGridViewTextBoxColumn.set_Name("counterNameDataGridViewTextBoxColumn");
     this.counterNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.counterNameDataGridViewTextBoxColumn.set_Width(0x48);
     this.lastIndicationDataGridViewTextBoxColumn.set_DataPropertyName("LastIndication");
     this.lastIndicationDataGridViewTextBoxColumn.set_HeaderText("Последнее показание");
     this.lastIndicationDataGridViewTextBoxColumn.set_Name("lastIndicationDataGridViewTextBoxColumn");
     this.lastIndicationDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.indicationDateDataGridViewTextBoxColumn.set_DataPropertyName("IndicationDate");
     this.indicationDateDataGridViewTextBoxColumn.set_HeaderText("Дата показаний");
     this.indicationDateDataGridViewTextBoxColumn.set_Name("indicationDateDataGridViewTextBoxColumn");
     this.indicationDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.summRecalcDataGridViewTextBoxColumn.set_DataPropertyName("SummRecalc");
     this.summRecalcDataGridViewTextBoxColumn.set_HeaderText("Сумма перерасчета");
     this.summRecalcDataGridViewTextBoxColumn.set_Name("summRecalcDataGridViewTextBoxColumn");
     this.summRecalcDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата начала");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     this.toDateDataGridViewTextBoxColumn.set_HeaderText("Дата конца");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.errorDataGridViewTextBoxColumn.set_DataPropertyName("Error");
     this.errorDataGridViewTextBoxColumn.set_HeaderText("Код ошибки");
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:SidCounterIndicationsForm.cs

示例15: InitializeComponent


//.........这里部分代码省略.........
     this.tbxLongName.set_Size(new System.Drawing.Size(0x17a, 20));
     this.tbxLongName.set_TabIndex(6);
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(3, 0x43));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x7a, 13));
     this.label9.set_TabIndex(0x2c);
     this.label9.set_Text("Полное наименование");
     this.dgvLaw.set_AllowUserToAddRows(false);
     this.dgvLaw.set_AllowUserToDeleteRows(false);
     this.dgvLaw.set_AllowUserToOrderColumns(true);
     this.dgvLaw.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.dgvLaw.set_AutoGenerateColumns(false);
     this.dgvLaw.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvLaw.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvLaw.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvLaw.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.nameDataGridViewTextBoxColumn, this.Dateb, this.BudgetFasetName, this.OrgName, this.Id });
     this.dgvLaw.set_DataSource(this.bsLaw);
     this.dgvLaw.set_Location(new System.Drawing.Point(6, 0x8f));
     this.dgvLaw.set_MultiSelect(false);
     this.dgvLaw.set_Name("dgvLaw");
     this.dgvLaw.set_ReadOnly(true);
     this.dgvLaw.set_RowHeadersVisible(false);
     this.dgvLaw.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvLaw.set_Size(new System.Drawing.Size(0x1fd, 0x94));
     this.dgvLaw.set_TabIndex(9);
     this.nameDataGridViewTextBoxColumn.set_DataPropertyName("Name");
     this.nameDataGridViewTextBoxColumn.set_HeaderText("Название");
     this.nameDataGridViewTextBoxColumn.set_Name("nameDataGridViewTextBoxColumn");
     this.nameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.nameDataGridViewTextBoxColumn.set_Width(0x52);
     this.Dateb.set_DataPropertyName("FromDate");
     style.set_Format("D");
     style.set_NullValue(null);
     this.Dateb.set_DefaultCellStyle(style);
     this.Dateb.set_HeaderText("Дата начала");
     this.Dateb.set_Name("Dateb");
     this.Dateb.set_ReadOnly(true);
     this.Dateb.set_Width(0x60);
     this.BudgetFasetName.set_DataPropertyName("BudgetFasetName");
     this.BudgetFasetName.set_HeaderText("Вид бюджета");
     this.BudgetFasetName.set_Name("BudgetFasetName");
     this.BudgetFasetName.set_ReadOnly(true);
     this.BudgetFasetName.set_Width(0x63);
     this.OrgName.set_DataPropertyName("OrgName");
     this.OrgName.set_HeaderText("Бюджетодержатель");
     this.OrgName.set_Name("OrgName");
     this.OrgName.set_ReadOnly(true);
     this.OrgName.set_Width(0x85);
     this.Id.set_DataPropertyName("Id");
     this.Id.set_HeaderText("Id");
     this.Id.set_Name("Id");
     this.Id.set_ReadOnly(true);
     this.Id.set_Visible(false);
     this.Id.set_Width(0x29);
     this.bsLaw.set_DataSource(typeof(Law));
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(3, 0x5d));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x41, 13));
     this.label3.set_TabIndex(0x30);
     this.label3.set_Text("Тип льготы");
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(430, 0x129));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x55, 0x19));
开发者ID:u4097,项目名称:SQLScript,代码行数:67,代码来源:AddBenefitForm.cs


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