コード例 #1
0
		public API_MSBuild_Gui buildGui(Panel _topPanel)
		{
			topPanel = _topPanel;
			msBuild = new API_MSBuild(); 
			buildEnabled = true;
			consoleOut_TextArea = topPanel.insert_Right(300).add_GroupBox("Console Out details").add_TextArea_With_SearchPanel().wordWrap(false);
			tableList = topPanel.clear().add_TableList("VisualStudio MSBuild results");
			tableList.add_Columns("Project", "Path", "Status", "Time", "Console Out");
			 
			startBuild = (pathToProject) =>
								{
									var buildStatus = "SKIPPED";
									var buildResult = false;
									if (buildEnabled)
									{															
										buildResult = msBuild.build_Ok(pathToProject); 
										buildStatus = buildResult ? "OK" :  "FAILED";																				
									}
									else
									{
										"buildEnabled was set to false, so skipping build for: {0}".error(pathToProject);
										msBuild.ConsoleOut = new StringBuilder();
									}
										
									tableList.add_ListViewItem(	pathToProject.fileName(), 
															   	pathToProject, 
															   	buildStatus, 
															   	msBuild.BuildDuration.timeSpan_ToString(),
															   	msBuild.ConsoleOut.str())
											 .foreColor(buildResult, Color.Green, Color.Red);
										
							   	}; 
			 
			tableList.afterSelect_get_Cell(4, (value)=>consoleOut_TextArea.set_Text(value)); 
			buildEnabled_CheckBox  	= tableList.insert_Below(50,"Config")
									 			.add_CheckBox("Build Enabled",3,0,(value) => buildEnabled = value).check();
			//currentTarget_TextBox	= buildEnabled_CheckBox.append_Label("Current Target").top(8).autoSize().append_TextBox("").width(300);
			status_Label 			= buildEnabled_CheckBox.append_Label("...").autoSize().top(8);
			
			tableList.add_ContextMenu()
					 .add_MenuItem("Recompile project" , true ,
					 	()=>{		 			
					 			startBuild(tableList.selected().values().second());
							})
					 .add_MenuItem("Open Project folder" ,  true,
					 	()=>{		 			
					 			tableList.selected().values()
					 								.second()
					 								.directoryName()
					 								.startProcess();
							})
					.add_MenuItem("Clear table" ,
						()=> tableList.clearRows() ); 
			
			//tableList.onDoubleClick_get_Row((row)=> buildProject(row.values().second()));
			tableList.columns_Width(200,200,50, 100,-2);
			
			buildProjects = (fileOrFolder, onBuildComplete)=>
								{
									//currentTarget_TextBox.set_Text(fileOrFolder);
									O2Thread.mtaThread(
										()=>{												
												var start = DateTime.Now;
												tableList.listView().backColor(Color.Azure);
												"Loading file(s) from: {0}".info(fileOrFolder);
												if (fileOrFolder.fileExists())
												{
													status_Label.set_Text("[1/1] Building: {0}".format(fileOrFolder.fileName()));
													startBuild(fileOrFolder);
												}
												else
												{
													var files = fileOrFolder.csproj_Files();
													"Found {0} csproj files to process: {0}".debug(files.size());
													var processed = 1;
													foreach(var file in files)
													{
														status_Label.set_Text("[{0}/{1}] Building: {2}".format(processed ++, files.size(), file.fileName()));
														startBuild(file);																											
													}
												}
												status_Label.set_Text("Build complete");
												tableList.listView().backColor(Color.White);		
												"Build Projects action was completed in: {0}".info(start.timeSpan_ToString());
												onBuildComplete();
											});
								};	
			
			tableList.listView().onDrop((fileOrFolder)=> buildProjects(fileOrFolder, ()=>{}));
			return this;
		}
コード例 #2
0
ファイル: SpOrgAddChangeForm.cs プロジェクト: u4097/SQLScript
 private void InitializeComponent()
 {
     this.label4 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.tbCode = new System.Windows.Forms.TextBox();
     this.tbShortName = new System.Windows.Forms.TextBox();
     this.btnOk = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.nudComission = new System.Windows.Forms.NumericUpDown();
     this.selectOrganization1 = new SelectOrganization();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.nudComission.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(2, 60));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label6");
     label.set_Size(new System.Drawing.Size(0x4a, 13));
     label.set_TabIndex(0x16);
     label.set_Text("Организация");
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(1, 0x58));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x3a, 13));
     this.label4.set_TabIndex(0x15);
     this.label4.set_Text("Комиссия");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(1, 0x1f));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x7e, 13));
     this.label2.set_TabIndex(20);
     this.label2.set_Text("Краткое наименование");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(1, 7));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label1.set_TabIndex(0x13);
     this.label1.set_Text("Код организации");
     this.tbCode.set_Location(new System.Drawing.Point(0x84, 7));
     this.tbCode.set_MaxLength(10);
     this.tbCode.set_Name("tbCode");
     this.tbCode.set_Size(new System.Drawing.Size(0x120, 20));
     this.tbCode.set_TabIndex(0x17);
     this.tbShortName.set_Location(new System.Drawing.Point(0x84, 0x1f));
     this.tbShortName.set_MaxLength(200);
     this.tbShortName.set_Name("tbShortName");
     this.tbShortName.set_Size(new System.Drawing.Size(0x120, 20));
     this.tbShortName.set_TabIndex(0x18);
     this.btnOk.set_Location(new System.Drawing.Point(0x108, 0x75));
     this.btnOk.set_Name("btnOk");
     this.btnOk.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnOk.set_TabIndex(0x1b);
     this.btnOk.set_UseVisualStyleBackColor(true);
     this.btnOk.add_Click(new System.EventHandler(this.btnOk_Click));
     this.btnCancel.set_Location(new System.Drawing.Point(0x159, 0x75));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(0x1c);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.nudComission.set_DecimalPlaces(6);
     this.nudComission.set_Location(new System.Drawing.Point(0x84, 0x58));
     this.nudComission.set_Name("nudComission");
     this.nudComission.set_Size(new System.Drawing.Size(0x6d, 20));
     this.nudComission.set_TabIndex(0x1a);
     this.selectOrganization1.IsCashlessTransferrer = false;
     this.selectOrganization1.IsHouseHolder = false;
     this.selectOrganization1.IsPaymentAgent = false;
     this.selectOrganization1.IsResourceProvider = false;
     this.selectOrganization1.IsServiceProvider = false;
     this.selectOrganization1.set_Location(new System.Drawing.Point(0x84, 60));
     this.selectOrganization1.set_Name("selectOrganization1");
     this.selectOrganization1.set_Size(new System.Drawing.Size(0x120, 20));
     this.selectOrganization1.set_TabIndex(0x19);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x1b0, 0x98));
     base.Controls.Add(this.nudComission);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.selectOrganization1);
     base.Controls.Add(this.tbShortName);
     base.Controls.Add(this.tbCode);
     base.Controls.Add(label);
     base.Controls.Add(this.label4);
     base.Controls.Add(this.label2);
     base.Controls.Add(this.label1);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     base.set_Name("SpOrgAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("SpOrgAddChangeForm");
     base.add_Load(new System.EventHandler(this.SpOrgAddChangeForm_Load));
     base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.SpOrgAddChangeForm_FormClosing));
     this.nudComission.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #3
0
 private void InitializeComponent()
 {
     this.btnAdd = new System.Windows.Forms.Button();
     this.m_CalcButton = new System.Windows.Forms.Button();
     this.m_CalcWorker = new BackgroundWorker();
     this.selectAreaAddresses = new SelectAddresses();
     this.datePeriod = new DatePeriod();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(12, 9));
     label.set_Name("label1");
     label.set_Size(new System.Drawing.Size(0x93, 13));
     label.set_TabIndex(0);
     label.set_Text("Текущий открытый период:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(12, 0x1d));
     label2.set_Name("label2");
     label2.set_Size(new System.Drawing.Size(0x57, 13));
     label2.set_TabIndex(6);
     label2.set_Text("Набор адресов:");
     this.btnAdd.set_Location(new System.Drawing.Point(12, 0x47));
     this.btnAdd.set_Name("btnAdd");
     this.btnAdd.set_Size(new System.Drawing.Size(0x9f, 0x2b));
     this.btnAdd.set_TabIndex(2);
     this.btnAdd.set_Text("Добавить следующий");
     this.btnAdd.set_UseVisualStyleBackColor(true);
     this.btnAdd.add_Click(new System.EventHandler(this.btnAdd_Click));
     this.m_CalcButton.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_CalcButton.set_Location(new System.Drawing.Point(0xbf, 0x47));
     this.m_CalcButton.set_Name("m_CalcButton");
     this.m_CalcButton.set_Size(new System.Drawing.Size(0xcc, 0x2b));
     this.m_CalcButton.set_TabIndex(4);
     this.m_CalcButton.set_Text("Произвести начисление\r\nза текущий период");
     this.m_CalcButton.set_UseVisualStyleBackColor(true);
     this.m_CalcButton.add_Click(new System.EventHandler(this.m_CalcButton_Click));
     this.m_CalcWorker.add_DoWork(new DoWorkEventHandler(this.m_CalcWorker_DoWork));
     this.m_CalcWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_CalcWorker_RunWorkerCompleted));
     this.selectAreaAddresses.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectAreaAddresses.IsByUser = false;
     this.selectAreaAddresses.set_Location(new System.Drawing.Point(12, 0x2d));
     this.selectAreaAddresses.set_Name("selectAreaAddresses");
     this.selectAreaAddresses.set_Size(new System.Drawing.Size(0x17f, 20));
     this.selectAreaAddresses.set_TabIndex(5);
     this.datePeriod.AttachToPeriod = false;
     this.datePeriod.DateBeginReadonly = true;
     this.datePeriod.DateEndReadonly = true;
     this.datePeriod.set_Location(new System.Drawing.Point(0xab, 7));
     this.datePeriod.set_Margin(new System.Windows.Forms.Padding(4));
     this.datePeriod.set_Name("datePeriod");
     this.datePeriod.set_Size(new System.Drawing.Size(0xe9, 0x17));
     this.datePeriod.set_TabIndex(3);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x197, 0x80));
     base.Controls.Add(label2);
     base.Controls.Add(this.selectAreaAddresses);
     base.Controls.Add(this.m_CalcButton);
     base.Controls.Add(this.datePeriod);
     base.Controls.Add(this.btnAdd);
     base.Controls.Add(label);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     this.set_MinimumSize(new System.Drawing.Size(0x19d, 0x98));
     base.set_Name("InitialCalculationForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Расчет нового отчетного периода");
     base.add_Load(new System.EventHandler(this.CalcPeriodsForm_Load));
     base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.CalcPeriodsForm_FormClosing));
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #4
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_StreetLabel = new System.Windows.Forms.Label();
     this.m_CityLabel = new System.Windows.Forms.Label();
     this.m_StreetBox = new System.Windows.Forms.ComboBox();
     this.bsStreet = new System.Windows.Forms.BindingSource(this.components);
     this.m_HouseBox = new System.Windows.Forms.ComboBox();
     this.bsHouse = new System.Windows.Forms.BindingSource(this.components);
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.m_CityBox = new System.Windows.Forms.ComboBox();
     this.bsCity = new System.Windows.Forms.BindingSource(this.components);
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.bsStreet.BeginInit();
     this.bsHouse.BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.bsCity.BeginInit();
     base.SuspendLayout();
     label.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(3, 80));
     label.set_Name("label3");
     label.set_Size(new System.Drawing.Size(0xcd, 13));
     label.set_TabIndex(6);
     label.set_Text("Дом");
     this.m_StreetLabel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_StreetLabel.set_AutoSize(true);
     this.m_StreetLabel.set_Location(new System.Drawing.Point(3, 40));
     this.m_StreetLabel.set_Name("m_StreetLabel");
     this.m_StreetLabel.set_Size(new System.Drawing.Size(0xcd, 13));
     this.m_StreetLabel.set_TabIndex(5);
     this.m_StreetLabel.set_Text("Улица");
     this.m_CityLabel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_CityLabel.set_AutoSize(true);
     this.m_CityLabel.set_Location(new System.Drawing.Point(3, 0));
     this.m_CityLabel.set_Name("m_CityLabel");
     this.m_CityLabel.set_Size(new System.Drawing.Size(0xcd, 13));
     this.m_CityLabel.set_TabIndex(5);
     this.m_CityLabel.set_Text("Населенный пункт");
     this.m_StreetBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_StreetBox.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.m_StreetBox.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.m_StreetBox.set_DataSource(this.bsStreet);
     this.m_StreetBox.set_DisplayMember("Name");
     this.m_StreetBox.set_FormattingEnabled(true);
     this.m_StreetBox.set_Location(new System.Drawing.Point(3, 0x38));
     this.m_StreetBox.set_MaxDropDownItems(0x10);
     this.m_StreetBox.set_Name("m_StreetBox");
     this.m_StreetBox.set_Size(new System.Drawing.Size(0xcd, 0x15));
     this.m_StreetBox.set_TabIndex(0);
     this.m_StreetBox.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.cb_KeyDown));
     this.bsStreet.set_DataSource(typeof(LocalAddress));
     this.bsStreet.add_CurrentChanged(new System.EventHandler(this.bsStreet_CurrentChanged));
     this.m_HouseBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_HouseBox.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.m_HouseBox.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.m_HouseBox.set_DataSource(this.bsHouse);
     this.m_HouseBox.set_DisplayMember("Name");
     this.m_HouseBox.set_FormattingEnabled(true);
     this.m_HouseBox.set_Location(new System.Drawing.Point(3, 0x60));
     this.m_HouseBox.set_MaxDropDownItems(0x10);
     this.m_HouseBox.set_Name("m_HouseBox");
     this.m_HouseBox.set_Size(new System.Drawing.Size(0xcd, 0x15));
     this.m_HouseBox.set_TabIndex(1);
     this.m_HouseBox.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.cb_KeyDown));
     this.bsHouse.set_DataSource(typeof(LocalAddress));
     this.tableLayoutPanel1.set_ColumnCount(1);
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.Controls.Add(label, 0, 4);
     this.tableLayoutPanel1.Controls.Add(this.m_StreetBox, 0, 3);
     this.tableLayoutPanel1.Controls.Add(this.m_StreetLabel, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.m_CityLabel, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.m_CityBox, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.m_HouseBox, 0, 5);
     this.tableLayoutPanel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tableLayoutPanel1.set_Location(new System.Drawing.Point(0, 0));
     this.tableLayoutPanel1.set_Name("tableLayoutPanel1");
     this.tableLayoutPanel1.set_RowCount(7);
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.set_Size(new System.Drawing.Size(0xd3, 0x9a));
     this.tableLayoutPanel1.set_TabIndex(8);
     this.m_CityBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left);
     this.m_CityBox.set_AutoCompleteMode(System.Windows.Forms.AutoCompleteMode.SuggestAppend);
     this.m_CityBox.set_AutoCompleteSource(System.Windows.Forms.AutoCompleteSource.ListItems);
     this.m_CityBox.set_DisplayMember("Name");
     this.m_CityBox.set_FormattingEnabled(true);
     this.m_CityBox.set_Location(new System.Drawing.Point(3, 0x10));
     this.m_CityBox.set_MaxDropDownItems(0x10);
     this.m_CityBox.set_Name("m_CityBox");
     this.m_CityBox.set_Size(new System.Drawing.Size(0xcd, 0x15));
     this.m_CityBox.set_TabIndex(0);
     this.m_CityBox.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.cb_KeyDown));
     this.bsCity.set_DataSource(typeof(LocalAddress));
     this.bsCity.add_CurrentChanged(new System.EventHandler(this.bsCity_CurrentChanged));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Inherit);
     base.Controls.Add(this.tableLayoutPanel1);
     base.set_Margin(new System.Windows.Forms.Padding(0));
     base.set_Name("HouseAddressSelector");
     base.set_Size(new System.Drawing.Size(0xd3, 0x9a));
     base.add_Load(new System.EventHandler(this.HouseAddressSelector_Load));
     base.add_Resize(new System.EventHandler(this.HouseAddressSelector_Resize));
     this.bsStreet.EndInit();
     this.bsHouse.EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.bsCity.EndInit();
     base.ResumeLayout(false);
 }
コード例 #5
0
ファイル: OrganizationView.cs プロジェクト: u4097/SQLScript
 private void InitializeComponent()
 {
     this.components = new Container();
     this.orgListBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.tcOrganizations = new System.Windows.Forms.TabControl();
     this.tabPage1 = new System.Windows.Forms.TabPage();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.m_IsPaymentUseNegativeSumm = new System.Windows.Forms.CheckBox();
     this.m_IsPaymentUseNotice = new System.Windows.Forms.CheckBox();
     this.selectDistributePayment = new SelectFasetData();
     this.label13 = new System.Windows.Forms.Label();
     this.m_ChiefAccountant = new System.Windows.Forms.TextBox();
     this.m_ModeWk = new System.Windows.Forms.TextBox();
     this.m_IsContractEnded = new System.Windows.Forms.CheckBox();
     this.m_IsBankrupt = new System.Windows.Forms.CheckBox();
     this.m_Address = new System.Windows.Forms.TextBox();
     this.m_ManagerPosition = new System.Windows.Forms.TextBox();
     this.m_Manager = new System.Windows.Forms.TextBox();
     this.m_Fax = new System.Windows.Forms.TextBox();
     this.m_TelephoneEmergencyDispatchService = new System.Windows.Forms.TextBox();
     this.m_Phone = new System.Windows.Forms.TextBox();
     this.m_AddrInfo = new System.Windows.Forms.TextBox();
     this.m_Info = new System.Windows.Forms.TextBox();
     this.m_DatePeriod = new DatePeriod();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.m_isResourceProvider = new System.Windows.Forms.CheckBox();
     this.m_IsPaymentAgent = new System.Windows.Forms.CheckBox();
     this.m_IsServiceProvider = new System.Windows.Forms.CheckBox();
     this.m_IsFlatOwner = new System.Windows.Forms.CheckBox();
     this.m_IsHouseHolder = new System.Windows.Forms.CheckBox();
     this.m_IsBenefitTransferrer = new System.Windows.Forms.CheckBox();
     this.m_IsCashlessTransferrer = new System.Windows.Forms.CheckBox();
     this.cbParentOrg = new System.Windows.Forms.ComboBox();
     this.m_OGRN = new System.Windows.Forms.TextBox();
     this.m_KPP = new System.Windows.Forms.TextBox();
     this.m_INN = new System.Windows.Forms.TextBox();
     this.m_LongName = new System.Windows.Forms.TextBox();
     this.m_ShortName = new System.Windows.Forms.TextBox();
     this.m_Code = new System.Windows.Forms.TextBox();
     this.tabPage2 = new System.Windows.Forms.TabPage();
     this.orgWageBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.tabPage3 = new System.Windows.Forms.TabPage();
     this.organizationMaterialsView1 = new OrganizationMaterialsView();
     this.tbProperties = new System.Windows.Forms.TabPage();
     this.dgv = new System.Windows.Forms.DataGridView();
     this.propertyNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.propertyValueDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsOrganizarionProperties = new System.Windows.Forms.BindingSource(this.components);
     this.tsProperties = new System.Windows.Forms.ToolStrip();
     this.btnAddPropertie = new System.Windows.Forms.ToolStripButton();
     this.btnChangePropertie = new System.Windows.Forms.ToolStripButton();
     this.btnDeletePropertie = new System.Windows.Forms.ToolStripButton();
     this.orgMaterialBindingSource = new System.Windows.Forms.BindingSource(this.components);
     this.organizationWagesView1 = new OrganizationWagesView();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label7 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label8 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label9 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label10 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label11 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label12 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label13 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label14 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label15 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label16 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label17 = new System.Windows.Forms.Label();
     this.orgListBindingSource.BeginInit();
     this.tcOrganizations.SuspendLayout();
     this.tabPage1.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.tabPage2.SuspendLayout();
     this.orgWageBindingSource.BeginInit();
     this.tabPage3.SuspendLayout();
     this.tbProperties.SuspendLayout();
     this.dgv.BeginInit();
     this.bsOrganizarionProperties.BeginInit();
     this.tsProperties.SuspendLayout();
     this.orgMaterialBindingSource.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(2, 0x173));
     label.set_Name("label12");
     label.set_Size(new System.Drawing.Size(0x4e, 13));
     label.set_TabIndex(0x5d);
     label.set_Text("Гл. бухгалтер:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(2, 0x10f));
     label2.set_Name("label10");
     label2.set_Size(new System.Drawing.Size(0x55, 13));
     label2.set_TabIndex(0x59);
     label2.set_Text("Режим работы:");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(2, 0x128));
     label3.set_Name("label8");
     label3.set_Size(new System.Drawing.Size(0x29, 13));
     label3.set_TabIndex(0x4e);
     label3.set_Text("Адрес:");
     label4.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(0x173, 0x15a));
     label4.set_Name("label6");
     label4.set_Size(new System.Drawing.Size(0x44, 13));
     label4.set_TabIndex(0x4d);
     label4.set_Text("Должность:");
     label5.set_AutoSize(true);
     label5.set_Location(new System.Drawing.Point(2, 0x15a));
     label5.set_Name("label7");
     label5.set_Size(new System.Drawing.Size(0x51, 13));
     label5.set_TabIndex(0x4b);
     label5.set_Text("Руководитель:");
     label6.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label6.set_AutoSize(true);
     label6.set_Location(new System.Drawing.Point(0x173, 0x141));
     label6.set_Name("label5");
     label6.set_Size(new System.Drawing.Size(0x27, 13));
     label6.set_TabIndex(0x49);
     label6.set_Text("Факс:");
     label7.set_AutoSize(true);
     label7.set_Location(new System.Drawing.Point(2, 0x18c));
     label7.set_Name("label9");
     label7.set_Size(new System.Drawing.Size(0x51, 13));
     label7.set_TabIndex(70);
     label7.set_Text("Телефон АДС:");
     label8.set_AutoSize(true);
     label8.set_Location(new System.Drawing.Point(2, 0x141));
     label8.set_Name("label4");
     label8.set_Size(new System.Drawing.Size(0x37, 13));
     label8.set_TabIndex(0x47);
     label8.set_Text("Телефон:");
     label9.set_AutoSize(true);
     label9.set_Location(new System.Drawing.Point(2, 0xef));
     label9.set_Name("label3");
     label9.set_Size(new System.Drawing.Size(0x88, 13));
     label9.set_TabIndex(0x43);
     label9.set_Text("Контактная информация:");
     label10.set_AutoSize(true);
     label10.set_Location(new System.Drawing.Point(2, 0xca));
     label10.set_Name("label2");
     label10.set_Size(new System.Drawing.Size(0x4c, 13));
     label10.set_TabIndex(0x44);
     label10.set_Text("Информация:");
     label11.set_AutoSize(true);
     label11.set_Location(new System.Drawing.Point(2, 0x91));
     label11.set_Name("oGRNLabel");
     label11.set_Size(new System.Drawing.Size(0x27, 13));
     label11.set_TabIndex(0x3f);
     label11.set_Text("ОГРН:");
     label12.set_AutoSize(true);
     label12.set_Location(new System.Drawing.Point(2, 120));
     label12.set_Name("kPPLabel");
     label12.set_Size(new System.Drawing.Size(0x21, 13));
     label12.set_TabIndex(60);
     label12.set_Text("КПП:");
     label13.set_AutoSize(true);
     label13.set_Location(new System.Drawing.Point(2, 0x5f));
     label13.set_Name("iNNLabel");
     label13.set_Size(new System.Drawing.Size(0x22, 13));
     label13.set_TabIndex(0x3b);
     label13.set_Text("ИНН:");
     label14.set_AutoSize(true);
     label14.set_Location(new System.Drawing.Point(2, 70));
     label14.set_Name("longNameLabel");
     label14.set_Size(new System.Drawing.Size(0x7d, 13));
     label14.set_TabIndex(0x3a);
     label14.set_Text("Полное наименование:");
     label15.set_AutoSize(true);
     label15.set_Location(new System.Drawing.Point(2, 0x2d));
     label15.set_Name("shortNameLabel");
     label15.set_Size(new System.Drawing.Size(0x87, 13));
     label15.set_TabIndex(0x39);
     label15.set_Text("Короткое наименование:");
     label16.set_AutoSize(true);
     label16.set_Location(new System.Drawing.Point(2, 170));
     label16.set_Name("label1");
     label16.set_Size(new System.Drawing.Size(0x7a, 13));
     label16.set_TabIndex(0x37);
     label16.set_Text("Старшая организация:");
     label17.set_AutoSize(true);
     label17.set_Location(new System.Drawing.Point(2, 20));
     label17.set_Name("codeLabel");
     label17.set_Size(new System.Drawing.Size(0x1d, 13));
     label17.set_TabIndex(0x38);
     label17.set_Text("Код:");
     this.orgListBindingSource.set_DataSource(typeof(Organization));
     this.tcOrganizations.Controls.Add(this.tabPage1);
     this.tcOrganizations.Controls.Add(this.tabPage2);
     this.tcOrganizations.Controls.Add(this.tabPage3);
     this.tcOrganizations.Controls.Add(this.tbProperties);
     this.tcOrganizations.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tcOrganizations.set_Location(new System.Drawing.Point(0, 0));
     this.tcOrganizations.set_Name("tcOrganizations");
     this.tcOrganizations.set_SelectedIndex(0);
     this.tcOrganizations.set_Size(new System.Drawing.Size(0x261, 520));
     this.tcOrganizations.set_TabIndex(0);
     this.tabPage1.Controls.Add(this.groupBox2);
     this.tabPage1.Controls.Add(this.m_ChiefAccountant);
     this.tabPage1.Controls.Add(label);
     this.tabPage1.Controls.Add(this.m_ModeWk);
     this.tabPage1.Controls.Add(label2);
     this.tabPage1.Controls.Add(this.m_IsContractEnded);
     this.tabPage1.Controls.Add(this.m_IsBankrupt);
     this.tabPage1.Controls.Add(this.m_Address);
     this.tabPage1.Controls.Add(label3);
     this.tabPage1.Controls.Add(label4);
     this.tabPage1.Controls.Add(this.m_ManagerPosition);
     this.tabPage1.Controls.Add(label5);
     this.tabPage1.Controls.Add(this.m_Manager);
     this.tabPage1.Controls.Add(label6);
     this.tabPage1.Controls.Add(this.m_Fax);
     this.tabPage1.Controls.Add(label7);
     this.tabPage1.Controls.Add(label8);
     this.tabPage1.Controls.Add(this.m_TelephoneEmergencyDispatchService);
     this.tabPage1.Controls.Add(this.m_Phone);
     this.tabPage1.Controls.Add(this.m_AddrInfo);
     this.tabPage1.Controls.Add(label9);
     this.tabPage1.Controls.Add(label10);
     this.tabPage1.Controls.Add(this.m_Info);
     this.tabPage1.Controls.Add(this.m_DatePeriod);
     this.tabPage1.Controls.Add(this.groupBox1);
     this.tabPage1.Controls.Add(this.cbParentOrg);
     this.tabPage1.Controls.Add(label11);
     this.tabPage1.Controls.Add(this.m_OGRN);
     this.tabPage1.Controls.Add(label12);
     this.tabPage1.Controls.Add(this.m_KPP);
     this.tabPage1.Controls.Add(label13);
     this.tabPage1.Controls.Add(this.m_INN);
     this.tabPage1.Controls.Add(label14);
     this.tabPage1.Controls.Add(this.m_LongName);
     this.tabPage1.Controls.Add(label15);
     this.tabPage1.Controls.Add(this.m_ShortName);
     this.tabPage1.Controls.Add(label16);
     this.tabPage1.Controls.Add(label17);
     this.tabPage1.Controls.Add(this.m_Code);
     this.tabPage1.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPage1.set_Name("tabPage1");
     this.tabPage1.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabPage1.set_Size(new System.Drawing.Size(0x259, 0x1ee));
     this.tabPage1.set_TabIndex(0);
     this.tabPage1.set_Text("Организация");
     this.tabPage1.set_UseVisualStyleBackColor(true);
     this.groupBox2.Controls.Add(this.m_IsPaymentUseNegativeSumm);
     this.groupBox2.Controls.Add(this.m_IsPaymentUseNotice);
     this.groupBox2.Controls.Add(this.selectDistributePayment);
     this.groupBox2.Controls.Add(this.label13);
     this.groupBox2.set_Location(new System.Drawing.Point(3, 0x1a2));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Size(new System.Drawing.Size(0x250, 0x41));
     this.groupBox2.set_TabIndex(0x61);
     this.groupBox2.set_TabStop(false);
     this.groupBox2.set_Text("Распределение оплаты");
     this.m_IsPaymentUseNegativeSumm.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_IsPaymentUseNegativeSumm.set_AutoSize(true);
     this.m_IsPaymentUseNegativeSumm.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_IsPaymentUseNegativeSumm.set_Location(new System.Drawing.Point(0xc7, 0x13));
     this.m_IsPaymentUseNegativeSumm.set_Name("m_IsPaymentUseNegativeSumm");
     this.m_IsPaymentUseNegativeSumm.set_Size(new System.Drawing.Size(0x110, 0x11));
     this.m_IsPaymentUseNegativeSumm.set_TabIndex(0x62);
     this.m_IsPaymentUseNegativeSumm.set_Text("Распределять отрицательное сальдо на услугах");
     this.m_IsPaymentUseNegativeSumm.set_UseVisualStyleBackColor(true);
     this.m_IsPaymentUseNotice.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_IsPaymentUseNotice.set_AutoSize(true);
     this.m_IsPaymentUseNotice.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_IsPaymentUseNotice.set_Location(new System.Drawing.Point(3, 0x13));
     this.m_IsPaymentUseNotice.set_Name("m_IsPaymentUseNotice");
     this.m_IsPaymentUseNotice.set_Size(new System.Drawing.Size(0xa9, 0x11));
     this.m_IsPaymentUseNotice.set_TabIndex(0x63);
     this.m_IsPaymentUseNotice.set_Text("Распределять по квитанции");
     this.m_IsPaymentUseNotice.set_UseVisualStyleBackColor(true);
     this.selectDistributePayment.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectDistributePayment.set_FormattingEnabled(true);
     this.selectDistributePayment.set_Location(new System.Drawing.Point(0x86, 0x27));
     this.selectDistributePayment.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectDistributePayment.set_Name("selectDistributePayment");
     this.selectDistributePayment.set_Size(new System.Drawing.Size(0x1c5, 0x15));
     this.selectDistributePayment.set_Sorted(true);
     this.selectDistributePayment.set_TabIndex(0x60);
     this.label13.set_AutoSize(true);
     this.label13.set_Location(new System.Drawing.Point(5, 0x2a));
     this.label13.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label13.set_Name("label13");
     this.label13.set_Size(new System.Drawing.Size(0x7d, 13));
     this.label13.set_TabIndex(0x5f);
     this.label13.set_Text("Способ распределения");
     this.m_ChiefAccountant.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_ChiefAccountant.set_Location(new System.Drawing.Point(0x89, 0x170));
     this.m_ChiefAccountant.set_Name("m_ChiefAccountant");
     this.m_ChiefAccountant.set_Size(new System.Drawing.Size(0x1cd, 20));
     this.m_ChiefAccountant.set_TabIndex(0x5e);
     this.m_ModeWk.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_ModeWk.set_Location(new System.Drawing.Point(0x89, 0x10b));
     this.m_ModeWk.set_Name("m_ModeWk");
     this.m_ModeWk.set_Size(new System.Drawing.Size(0x1cd, 20));
     this.m_ModeWk.set_TabIndex(90);
     this.m_IsContractEnded.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_IsContractEnded.set_AutoSize(true);
     this.m_IsContractEnded.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_IsContractEnded.set_Location(new System.Drawing.Point(0x120, 0x18a));
     this.m_IsContractEnded.set_Name("m_IsContractEnded");
     this.m_IsContractEnded.set_Size(new System.Drawing.Size(0xab, 0x11));
     this.m_IsContractEnded.set_TabIndex(0x58);
     this.m_IsContractEnded.set_Text("Договор закрыт/расторгнут");
     this.m_IsContractEnded.set_UseVisualStyleBackColor(true);
     this.m_IsBankrupt.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_IsBankrupt.set_AutoSize(true);
     this.m_IsBankrupt.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_IsBankrupt.set_Location(new System.Drawing.Point(0x1d1, 0x18a));
     this.m_IsBankrupt.set_Name("m_IsBankrupt");
     this.m_IsBankrupt.set_Size(new System.Drawing.Size(0x85, 0x11));
     this.m_IsBankrupt.set_TabIndex(0x57);
     this.m_IsBankrupt.set_Text("Является банкротом");
     this.m_IsBankrupt.set_UseVisualStyleBackColor(true);
     this.m_Address.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_Address.set_Location(new System.Drawing.Point(0x89, 0x124));
     this.m_Address.set_Name("m_Address");
     this.m_Address.set_Size(new System.Drawing.Size(0x1cd, 20));
     this.m_Address.set_TabIndex(0x56);
     this.m_ManagerPosition.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_ManagerPosition.set_Location(new System.Drawing.Point(0x1bb, 0x156));
     this.m_ManagerPosition.set_Name("m_ManagerPosition");
     this.m_ManagerPosition.set_Size(new System.Drawing.Size(0x9b, 20));
     this.m_ManagerPosition.set_TabIndex(0x55);
     this.m_Manager.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_Manager.set_Location(new System.Drawing.Point(0x89, 0x156));
     this.m_Manager.set_Name("m_Manager");
     this.m_Manager.set_Size(new System.Drawing.Size(0xe7, 20));
     this.m_Manager.set_TabIndex(0x54);
     this.m_Fax.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_Fax.set_Location(new System.Drawing.Point(0x1bb, 0x13d));
     this.m_Fax.set_Name("m_Fax");
     this.m_Fax.set_Size(new System.Drawing.Size(0x9b, 20));
     this.m_Fax.set_TabIndex(0x53);
     this.m_TelephoneEmergencyDispatchService.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_TelephoneEmergencyDispatchService.set_Location(new System.Drawing.Point(0x89, 0x188));
     this.m_TelephoneEmergencyDispatchService.set_Name("m_TelephoneEmergencyDispatchService");
     this.m_TelephoneEmergencyDispatchService.set_Size(new System.Drawing.Size(0x84, 20));
     this.m_TelephoneEmergencyDispatchService.set_TabIndex(0x51);
     this.m_Phone.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_Phone.set_Location(new System.Drawing.Point(0x89, 0x13d));
     this.m_Phone.set_Name("m_Phone");
     this.m_Phone.set_Size(new System.Drawing.Size(0xe7, 20));
     this.m_Phone.set_TabIndex(0x52);
     this.m_AddrInfo.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_AddrInfo.set_Location(new System.Drawing.Point(0x89, 0xe5));
     this.m_AddrInfo.set_Multiline(true);
     this.m_AddrInfo.set_Name("m_AddrInfo");
     this.m_AddrInfo.set_ScrollBars(System.Windows.Forms.ScrollBars.Both);
     this.m_AddrInfo.set_Size(new System.Drawing.Size(0x1cd, 0x21));
     this.m_AddrInfo.set_TabIndex(80);
     this.m_Info.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_Info.set_Location(new System.Drawing.Point(0x89, 0xc0));
     this.m_Info.set_Multiline(true);
     this.m_Info.set_Name("m_Info");
     this.m_Info.set_ScrollBars(System.Windows.Forms.ScrollBars.Both);
     this.m_Info.set_Size(new System.Drawing.Size(0x1cd, 0x20));
     this.m_Info.set_TabIndex(0x4f);
     this.m_DatePeriod.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_DatePeriod.AttachToPeriod = false;
     this.m_DatePeriod.DateBeginReadonly = false;
     this.m_DatePeriod.DateEndReadonly = false;
     this.m_DatePeriod.set_Location(new System.Drawing.Point(0x174, 0xa5));
     this.m_DatePeriod.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_DatePeriod.set_Name("m_DatePeriod");
     this.m_DatePeriod.set_Size(new System.Drawing.Size(0xe2, 0x15));
     this.m_DatePeriod.set_TabIndex(0x4c);
     this.groupBox1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox1.Controls.Add(this.m_isResourceProvider);
     this.groupBox1.Controls.Add(this.m_IsPaymentAgent);
     this.groupBox1.Controls.Add(this.m_IsServiceProvider);
     this.groupBox1.Controls.Add(this.m_IsFlatOwner);
     this.groupBox1.Controls.Add(this.m_IsHouseHolder);
     this.groupBox1.Controls.Add(this.m_IsBenefitTransferrer);
     this.groupBox1.Controls.Add(this.m_IsCashlessTransferrer);
     this.groupBox1.set_Location(new System.Drawing.Point(0x174, 3));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0xe2, 0x9e));
     this.groupBox1.set_TabIndex(0x4a);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Роли организации");
     this.m_isResourceProvider.set_AutoSize(true);
     this.m_isResourceProvider.set_Location(new System.Drawing.Point(5, 130));
     this.m_isResourceProvider.set_Name("m_isResourceProvider");
     this.m_isResourceProvider.set_Size(new System.Drawing.Size(0xcb, 0x11));
     this.m_isResourceProvider.set_TabIndex(6);
     this.m_isResourceProvider.set_Text("Ресурсоснабжающая организация");
     this.m_isResourceProvider.set_UseVisualStyleBackColor(true);
     this.m_IsPaymentAgent.set_AutoSize(true);
     this.m_IsPaymentAgent.set_Location(new System.Drawing.Point(5, 0x6f));
     this.m_IsPaymentAgent.set_Name("m_IsPaymentAgent");
     this.m_IsPaymentAgent.set_Size(new System.Drawing.Size(0x74, 0x11));
     this.m_IsPaymentAgent.set_TabIndex(5);
     this.m_IsPaymentAgent.set_Text("Платёжный агент");
     this.m_IsPaymentAgent.set_UseVisualStyleBackColor(true);
     this.m_IsServiceProvider.set_AutoSize(true);
     this.m_IsServiceProvider.set_Location(new System.Drawing.Point(5, 0x10));
     this.m_IsServiceProvider.set_Name("m_IsServiceProvider");
     this.m_IsServiceProvider.set_Size(new System.Drawing.Size(0x72, 0x11));
     this.m_IsServiceProvider.set_TabIndex(0);
     this.m_IsServiceProvider.set_Text("Поставщик услуг");
     this.m_IsServiceProvider.set_UseVisualStyleBackColor(true);
     this.m_IsFlatOwner.set_AutoSize(true);
     this.m_IsFlatOwner.set_Location(new System.Drawing.Point(5, 0x5c));
     this.m_IsFlatOwner.set_Name("m_IsFlatOwner");
     this.m_IsFlatOwner.set_Size(new System.Drawing.Size(0xc7, 0x11));
     this.m_IsFlatOwner.set_TabIndex(4);
     this.m_IsFlatOwner.set_Text("Имеет квартиры в собственности");
     this.m_IsFlatOwner.set_UseVisualStyleBackColor(true);
     this.m_IsHouseHolder.set_AutoSize(true);
     this.m_IsHouseHolder.set_Location(new System.Drawing.Point(5, 0x23));
     this.m_IsHouseHolder.set_Name("m_IsHouseHolder");
     this.m_IsHouseHolder.set_Size(new System.Drawing.Size(0x7c, 0x11));
     this.m_IsHouseHolder.set_TabIndex(1);
     this.m_IsHouseHolder.set_Text("Балансодержатель");
     this.m_IsHouseHolder.set_UseVisualStyleBackColor(true);
     this.m_IsBenefitTransferrer.set_AutoSize(true);
     this.m_IsBenefitTransferrer.set_Location(new System.Drawing.Point(5, 0x49));
     this.m_IsBenefitTransferrer.set_Name("m_IsBenefitTransferrer");
     this.m_IsBenefitTransferrer.set_Size(new System.Drawing.Size(0x7a, 0x11));
     this.m_IsBenefitTransferrer.set_TabIndex(3);
     this.m_IsBenefitTransferrer.set_Text("Покрывает льготы");
     this.m_IsBenefitTransferrer.set_UseVisualStyleBackColor(true);
     this.m_IsCashlessTransferrer.set_AutoSize(true);
     this.m_IsCashlessTransferrer.set_Location(new System.Drawing.Point(5, 0x36));
     this.m_IsCashlessTransferrer.set_Name("m_IsCashlessTransferrer");
     this.m_IsCashlessTransferrer.set_Size(new System.Drawing.Size(0xa8, 0x11));
     this.m_IsCashlessTransferrer.set_TabIndex(2);
     this.m_IsCashlessTransferrer.set_Text("Безналичные перечисления");
     this.m_IsCashlessTransferrer.set_UseVisualStyleBackColor(true);
     this.cbParentOrg.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbParentOrg.set_DataSource(this.orgListBindingSource);
     this.cbParentOrg.set_DisplayMember("CodeName");
     this.cbParentOrg.set_FormattingEnabled(true);
     this.cbParentOrg.set_Location(new System.Drawing.Point(0x89, 0xa6));
     this.cbParentOrg.set_Name("cbParentOrg");
     this.cbParentOrg.set_Size(new System.Drawing.Size(230, 0x15));
     this.cbParentOrg.set_TabIndex(0x48);
     this.m_OGRN.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OGRN.set_Location(new System.Drawing.Point(0x89, 0x8d));
     this.m_OGRN.set_Name("m_OGRN");
     this.m_OGRN.set_Size(new System.Drawing.Size(230, 20));
     this.m_OGRN.set_TabIndex(0x45);
     this.m_OGRN.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.Field_KeyDown));
     this.m_KPP.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_KPP.set_Location(new System.Drawing.Point(0x89, 0x74));
     this.m_KPP.set_Name("m_KPP");
     this.m_KPP.set_Size(new System.Drawing.Size(230, 20));
     this.m_KPP.set_TabIndex(0x42);
     this.m_KPP.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.Field_KeyDown));
     this.m_INN.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_INN.set_Location(new System.Drawing.Point(0x89, 0x5b));
     this.m_INN.set_Name("m_INN");
     this.m_INN.set_Size(new System.Drawing.Size(230, 20));
     this.m_INN.set_TabIndex(0x41);
     this.m_INN.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.Field_KeyDown));
     this.m_LongName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_LongName.set_Location(new System.Drawing.Point(0x89, 0x42));
     this.m_LongName.set_Name("m_LongName");
     this.m_LongName.set_Size(new System.Drawing.Size(230, 20));
     this.m_LongName.set_TabIndex(0x40);
     this.m_LongName.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.Field_KeyDown));
     this.m_ShortName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_ShortName.set_Location(new System.Drawing.Point(0x89, 0x29));
     this.m_ShortName.set_Name("m_ShortName");
     this.m_ShortName.set_Size(new System.Drawing.Size(230, 20));
     this.m_ShortName.set_TabIndex(0x3e);
     this.m_ShortName.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.Field_KeyDown));
     this.m_Code.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_Code.set_Location(new System.Drawing.Point(0x89, 0x10));
     this.m_Code.set_Name("m_Code");
     this.m_Code.set_Size(new System.Drawing.Size(230, 20));
     this.m_Code.set_TabIndex(0x3d);
     this.m_Code.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.Field_KeyDown));
     this.tabPage2.Controls.Add(this.organizationWagesView1);
     this.tabPage2.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPage2.set_Name("tabPage2");
     this.tabPage2.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabPage2.set_Size(new System.Drawing.Size(0x259, 0x1ee));
     this.tabPage2.set_TabIndex(1);
     this.tabPage2.set_Text("Профессии");
     this.tabPage2.set_UseVisualStyleBackColor(true);
     this.orgWageBindingSource.set_DataSource(typeof(OrganizationWage));
     this.tabPage3.Controls.Add(this.organizationMaterialsView1);
     this.tabPage3.set_Location(new System.Drawing.Point(4, 0x16));
     this.tabPage3.set_Name("tabPage3");
     this.tabPage3.set_Padding(new System.Windows.Forms.Padding(3));
     this.tabPage3.set_Size(new System.Drawing.Size(0x259, 0x1ee));
     this.tabPage3.set_TabIndex(2);
     this.tabPage3.set_Text("Инструменты");
     this.tabPage3.set_UseVisualStyleBackColor(true);
     this.organizationMaterialsView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.organizationMaterialsView1.set_Location(new System.Drawing.Point(3, 3));
     this.organizationMaterialsView1.set_Name("organizationMaterialsView1");
     this.organizationMaterialsView1.set_Size(new System.Drawing.Size(0x253, 0x1e8));
     this.organizationMaterialsView1.set_TabIndex(0);
     this.tbProperties.Controls.Add(this.dgv);
     this.tbProperties.Controls.Add(this.tsProperties);
     this.tbProperties.set_Location(new System.Drawing.Point(4, 0x16));
     this.tbProperties.set_Name("tbProperties");
     this.tbProperties.set_Padding(new System.Windows.Forms.Padding(3));
     this.tbProperties.set_Size(new System.Drawing.Size(0x259, 0x1ee));
     this.tbProperties.set_TabIndex(3);
     this.tbProperties.set_Text("Свойства");
     this.tbProperties.set_UseVisualStyleBackColor(true);
     this.dgv.set_AllowUserToAddRows(false);
     this.dgv.set_AllowUserToDeleteRows(false);
     this.dgv.set_AutoGenerateColumns(false);
     this.dgv.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgv.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgv.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgv.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.propertyNameDataGridViewTextBoxColumn, this.propertyValueDataGridViewTextBoxColumn });
     this.dgv.set_DataSource(this.bsOrganizarionProperties);
     this.dgv.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgv.set_Location(new System.Drawing.Point(3, 0x1c));
     this.dgv.set_Name("dgv");
     this.dgv.set_ReadOnly(true);
     this.dgv.set_RowHeadersVisible(false);
     this.dgv.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgv.set_Size(new System.Drawing.Size(0x253, 0x1cf));
     this.dgv.set_TabIndex(6);
     this.propertyNameDataGridViewTextBoxColumn.set_DataPropertyName("PropertyName");
     this.propertyNameDataGridViewTextBoxColumn.set_HeaderText("Свойство");
     this.propertyNameDataGridViewTextBoxColumn.set_Name("propertyNameDataGridViewTextBoxColumn");
     this.propertyNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.propertyNameDataGridViewTextBoxColumn.set_Width(80);
     this.propertyValueDataGridViewTextBoxColumn.set_DataPropertyName("PropertyValue");
     this.propertyValueDataGridViewTextBoxColumn.set_HeaderText("Значение");
     this.propertyValueDataGridViewTextBoxColumn.set_Name("propertyValueDataGridViewTextBoxColumn");
     this.propertyValueDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.propertyValueDataGridViewTextBoxColumn.set_Width(80);
     this.bsOrganizarionProperties.set_DataSource(typeof(OrganizationProperties));
     this.tsProperties.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnAddPropertie, this.btnChangePropertie, this.btnDeletePropertie });
     this.tsProperties.set_LayoutStyle(System.Windows.Forms.ToolStripLayoutStyle.Flow);
     this.tsProperties.set_Location(new System.Drawing.Point(3, 3));
     this.tsProperties.set_Name("tsProperties");
     this.tsProperties.set_Size(new System.Drawing.Size(0x253, 0x19));
     this.tsProperties.set_TabIndex(5);
     this.btnAddPropertie.set_BackColor(System.Drawing.Color.Transparent);
     this.btnAddPropertie.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnAddPropertie.set_Image(Resources.ADD);
     this.btnAddPropertie.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnAddPropertie.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnAddPropertie.set_Name("btnAddPropertie");
     this.btnAddPropertie.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.btnAddPropertie.set_Text("Добавить");
     this.btnAddPropertie.add_Click(new System.EventHandler(this.btnAddPropertie_Click));
     this.btnChangePropertie.set_BackColor(System.Drawing.Color.Transparent);
     this.btnChangePropertie.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnChangePropertie.set_Image(Resources.CHANGE);
     this.btnChangePropertie.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnChangePropertie.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnChangePropertie.set_Name("btnChangePropertie");
     this.btnChangePropertie.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnChangePropertie.set_Text("Редактировать");
     this.btnChangePropertie.add_Click(new System.EventHandler(this.btnChangePropertie_Click));
     this.btnDeletePropertie.set_BackColor(System.Drawing.Color.Transparent);
     this.btnDeletePropertie.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnDeletePropertie.set_Image(Resources.DELETE);
     this.btnDeletePropertie.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnDeletePropertie.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnDeletePropertie.set_Name("btnDeletePropertie");
     this.btnDeletePropertie.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnDeletePropertie.set_Text("Удалить");
     this.btnDeletePropertie.add_Click(new System.EventHandler(this.btnDeletePropertie_Click));
     this.orgMaterialBindingSource.set_DataSource(typeof(OrganizationMaterial));
     this.organizationWagesView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.organizationWagesView1.set_Location(new System.Drawing.Point(3, 3));
     this.organizationWagesView1.set_Name("organizationWagesView1");
     this.organizationWagesView1.set_Size(new System.Drawing.Size(0x253, 0x1e8));
     this.organizationWagesView1.set_TabIndex(0);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.tcOrganizations);
     base.set_Name("OrganizationView");
     base.set_Size(new System.Drawing.Size(0x261, 520));
     base.add_Load(new System.EventHandler(this.OrganizationView_Load));
     this.orgListBindingSource.EndInit();
     this.tcOrganizations.ResumeLayout(false);
     this.tabPage1.ResumeLayout(false);
     this.tabPage1.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.tabPage2.ResumeLayout(false);
     this.orgWageBindingSource.EndInit();
     this.tabPage3.ResumeLayout(false);
     this.tbProperties.ResumeLayout(false);
     this.tbProperties.PerformLayout();
     this.dgv.EndInit();
     this.bsOrganizarionProperties.EndInit();
     this.tsProperties.ResumeLayout(false);
     this.tsProperties.PerformLayout();
     this.orgMaterialBindingSource.EndInit();
     base.ResumeLayout(false);
 }
コード例 #6
0
ファイル: AccountView.cs プロジェクト: u4097/SQLScript
 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_OwnerName = new System.Windows.Forms.TextBox();
     this.m_ToDateLabel = new System.Windows.Forms.Label();
     this.cbNeedOwnerPresence = new System.Windows.Forms.CheckBox();
     this.tbComment = new System.Windows.Forms.TextBox();
     this.label3 = new System.Windows.Forms.Label();
     this.m_AccountNumber = new System.Windows.Forms.TextBox();
     this.label18 = new System.Windows.Forms.Label();
     this.tbxAccountHolder = new System.Windows.Forms.TextBox();
     this.label5 = new System.Windows.Forms.Label();
     this.btnSelectProvider = new System.Windows.Forms.Button();
     this.cbNeedPrintNotice = new System.Windows.Forms.CheckBox();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.label7 = new System.Windows.Forms.Label();
     this.tbIdentityCardHolderName = new System.Windows.Forms.TextBox();
     this.label6 = new System.Windows.Forms.Label();
     this.tbIdentityCardNumber = new System.Windows.Forms.TextBox();
     this.label8 = new System.Windows.Forms.Label();
     this.tbDocInfo = new System.Windows.Forms.TextBox();
     this.label9 = new System.Windows.Forms.Label();
     this.chbClosePG = new System.Windows.Forms.CheckBox();
     this.chbCloseReg = new System.Windows.Forms.CheckBox();
     this.tbNoticeAdrName = new System.Windows.Forms.TextBox();
     this.cbCloseInPaymentsystem = new System.Windows.Forms.CheckBox();
     this.m_AccountBS = new System.Windows.Forms.BindingSource(this.components);
     this.selectNoticeAdr = new SelectAddress();
     this.m_OwnerSelection = new SelectOwner();
     this.m_ToDate = new DateBox();
     this.m_FromDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.GroupBox box = new System.Windows.Forms.GroupBox();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     box.SuspendLayout();
     this.groupBox2.SuspendLayout();
     this.m_AccountBS.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(11, 0xca));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x49, 13));
     label.set_TabIndex(10);
     label.set_Text("Действует с:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(11, 0x6a));
     label2.set_Margin(new System.Windows.Forms.Padding(0));
     label2.set_Name("label1");
     label2.set_Size(new System.Drawing.Size(0x5d, 13));
     label2.set_TabIndex(8);
     label2.set_Text("Отображать как:");
     box.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     box.Controls.Add(this.m_OwnerSelection);
     box.Controls.Add(this.m_OwnerName);
     box.Controls.Add(label2);
     box.set_Location(new System.Drawing.Point(0, 0));
     box.set_Name("groupBox1");
     box.set_Size(new System.Drawing.Size(0x213, 130));
     box.set_TabIndex(1);
     box.set_TabStop(false);
     box.set_Text("Ответственный");
     this.m_OwnerName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "OwnerName", true));
     this.m_OwnerName.set_Location(new System.Drawing.Point(0x75, 0x67));
     this.m_OwnerName.set_Name("m_OwnerName");
     this.m_OwnerName.set_Size(new System.Drawing.Size(0x196, 20));
     this.m_OwnerName.set_TabIndex(2);
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(11, 0x8b));
     label3.set_Margin(new System.Windows.Forms.Padding(0));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(0x2c, 13));
     label3.set_TabIndex(15);
     label3.set_Text("Номер:");
     this.m_ToDateLabel.set_AutoSize(true);
     this.m_ToDateLabel.set_Location(new System.Drawing.Point(210, 0xca));
     this.m_ToDateLabel.set_Margin(new System.Windows.Forms.Padding(0));
     this.m_ToDateLabel.set_Name("m_ToDateLabel");
     this.m_ToDateLabel.set_Size(new System.Drawing.Size(0x16, 13));
     this.m_ToDateLabel.set_TabIndex(10);
     this.m_ToDateLabel.set_Text("по:");
     this.cbNeedOwnerPresence.set_AutoSize(true);
     this.cbNeedOwnerPresence.set_CheckAlign(System.Drawing.ContentAlignment.TopRight);
     this.cbNeedOwnerPresence.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.m_AccountBS, "NeedOwnerPresence", true));
     this.cbNeedOwnerPresence.set_Location(new System.Drawing.Point(8, 0x133));
     this.cbNeedOwnerPresence.set_Name("cbNeedOwnerPresence");
     this.cbNeedOwnerPresence.set_Size(new System.Drawing.Size(0x87, 0x11));
     this.cbNeedOwnerPresence.set_TabIndex(14);
     this.cbNeedOwnerPresence.set_Text("Зайти в бухгалтерию:");
     this.cbNeedOwnerPresence.set_UseVisualStyleBackColor(true);
     this.tbComment.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbComment.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "Comment", true));
     this.tbComment.set_Location(new System.Drawing.Point(0x75, 0x169));
     this.tbComment.set_Multiline(true);
     this.tbComment.set_Name("tbComment");
     this.tbComment.set_Size(new System.Drawing.Size(0x196, 0x1c));
     this.tbComment.set_TabIndex(13);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(11, 0x16c));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x49, 13));
     this.label3.set_TabIndex(12);
     this.label3.set_Text("Примечание:");
     this.m_AccountNumber.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_AccountNumber.set_Location(new System.Drawing.Point(0x75, 0x88));
     this.m_AccountNumber.set_Name("m_AccountNumber");
     this.m_AccountNumber.set_Size(new System.Drawing.Size(0x196, 20));
     this.m_AccountNumber.set_TabIndex(0x10);
     this.m_AccountNumber.add_TextChanged(new System.EventHandler(this.m_AccountNumber_TextChanged));
     this.label18.set_AutoSize(true);
     this.label18.set_Location(new System.Drawing.Point(11, 0xa2));
     this.label18.set_Name("label18");
     this.label18.set_Size(new System.Drawing.Size(80, 13));
     this.label18.set_TabIndex(0x3a);
     this.label18.set_TabStop(true);
     this.label18.set_Text("Управляющая");
     this.tbxAccountHolder.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbxAccountHolder.set_Location(new System.Drawing.Point(0x75, 0xa3));
     this.tbxAccountHolder.set_Name("tbxAccountHolder");
     this.tbxAccountHolder.set_ReadOnly(true);
     this.tbxAccountHolder.set_Size(new System.Drawing.Size(0x178, 20));
     this.tbxAccountHolder.set_TabIndex(0x38);
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(11, 0xb0));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0x4e, 13));
     this.label5.set_TabIndex(0x3b);
     this.label5.set_TabStop(true);
     this.label5.set_Text("компания ЛС:");
     this.btnSelectProvider.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnSelectProvider.set_Location(new System.Drawing.Point(0x1ed, 0xa2));
     this.btnSelectProvider.set_Name("btnSelectProvider");
     this.btnSelectProvider.set_Size(new System.Drawing.Size(30, 20));
     this.btnSelectProvider.set_TabIndex(0x3d);
     this.btnSelectProvider.set_Text("...");
     this.btnSelectProvider.set_UseVisualStyleBackColor(true);
     this.btnSelectProvider.add_Click(new System.EventHandler(this.btnSelectProvider_Click));
     this.cbNeedPrintNotice.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.cbNeedPrintNotice.set_AutoSize(true);
     this.cbNeedPrintNotice.set_Checked(true);
     this.cbNeedPrintNotice.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.cbNeedPrintNotice.set_Location(new System.Drawing.Point(0x188, 0x133));
     this.cbNeedPrintNotice.set_Name("cbNeedPrintNotice");
     this.cbNeedPrintNotice.set_Size(new System.Drawing.Size(0x85, 0x11));
     this.cbNeedPrintNotice.set_TabIndex(0x3e);
     this.cbNeedPrintNotice.set_Text("Печатать извещения");
     this.cbNeedPrintNotice.set_UseVisualStyleBackColor(true);
     this.cbNeedPrintNotice.add_CheckedChanged(new System.EventHandler(this.cbNeedPrintNotice_CheckedChanged));
     this.groupBox2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox2.Controls.Add(this.label7);
     this.groupBox2.Controls.Add(this.tbIdentityCardHolderName);
     this.groupBox2.Controls.Add(this.label6);
     this.groupBox2.Controls.Add(this.tbIdentityCardNumber);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 230));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Size(new System.Drawing.Size(0x213, 0x47));
     this.groupBox2.set_TabIndex(0x41);
     this.groupBox2.set_TabStop(false);
     this.groupBox2.set_Text("Идентификационная карта");
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(11, 0x30));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x3b, 13));
     this.label7.set_TabIndex(0x44);
     this.label7.set_Text("Владелец:");
     this.tbIdentityCardHolderName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbIdentityCardHolderName.set_Location(new System.Drawing.Point(0x75, 0x2d));
     this.tbIdentityCardHolderName.set_Name("tbIdentityCardHolderName");
     this.tbIdentityCardHolderName.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbIdentityCardHolderName.set_TabIndex(0x43);
     this.tbIdentityCardHolderName.add_TextChanged(new System.EventHandler(this.tbIdentityCardHolderName_TextChanged));
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(11, 0x16));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x2c, 13));
     this.label6.set_TabIndex(0x42);
     this.label6.set_Text("Номер:");
     this.tbIdentityCardNumber.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbIdentityCardNumber.set_Location(new System.Drawing.Point(0x75, 0x13));
     this.tbIdentityCardNumber.set_Name("tbIdentityCardNumber");
     this.tbIdentityCardNumber.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbIdentityCardNumber.set_TabIndex(0x41);
     this.tbIdentityCardNumber.add_TextChanged(new System.EventHandler(this.tbIdentityCardNumber_TextChanged));
     this.label8.set_Location(new System.Drawing.Point(11, 0x147));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(100, 0x1f));
     this.label8.set_TabIndex(0x42);
     this.label8.set_Text("Документ на открытие");
     this.tbDocInfo.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbDocInfo.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_AccountBS, "DocInfo", true));
     this.tbDocInfo.set_Location(new System.Drawing.Point(0x75, 0x14b));
     this.tbDocInfo.set_Name("tbDocInfo");
     this.tbDocInfo.set_Size(new System.Drawing.Size(0x196, 20));
     this.tbDocInfo.set_TabIndex(0x44);
     this.tbDocInfo.add_TextChanged(new System.EventHandler(this.tbDocInfo_TextChanged));
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(11, 0x187));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(0x84, 13));
     this.label9.set_TabIndex(70);
     this.label9.set_Text("Адрес для уведомлений:");
     this.chbClosePG.set_AutoSize(true);
     this.chbClosePG.set_Location(new System.Drawing.Point(14, 0x1e5));
     this.chbClosePG.set_Name("chbClosePG");
     this.chbClosePG.set_Size(new System.Drawing.Size(0xc2, 0x11));
     this.chbClosePG.set_TabIndex(0x47);
     this.chbClosePG.set_Text("Закрыть ПЖ датой закрытия ЛС");
     this.chbClosePG.set_UseVisualStyleBackColor(true);
     this.chbCloseReg.set_AutoSize(true);
     this.chbCloseReg.set_Location(new System.Drawing.Point(14, 0x1f8));
     this.chbCloseReg.set_Name("chbCloseReg");
     this.chbCloseReg.set_Size(new System.Drawing.Size(0xeb, 0x11));
     this.chbCloseReg.set_TabIndex(0x48);
     this.chbCloseReg.set_Text("Выписать проживающих датой закрытия");
     this.chbCloseReg.set_UseVisualStyleBackColor(true);
     this.tbNoticeAdrName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbNoticeAdrName.set_Location(new System.Drawing.Point(14, 0x1b3));
     this.tbNoticeAdrName.set_Name("tbNoticeAdrName");
     this.tbNoticeAdrName.set_Size(new System.Drawing.Size(0x1fd, 20));
     this.tbNoticeAdrName.set_TabIndex(0x49);
     this.tbNoticeAdrName.add_TextChanged(new System.EventHandler(this.tbNoticeAdrName_TextChanged));
     this.cbCloseInPaymentsystem.set_AutoSize(true);
     this.cbCloseInPaymentsystem.set_CheckAlign(System.Drawing.ContentAlignment.TopLeft);
     this.cbCloseInPaymentsystem.DataBindings.Add(new System.Windows.Forms.Binding("Checked", this.m_AccountBS, "IsCloseInPaymentSystem", true));
     this.cbCloseInPaymentsystem.set_Location(new System.Drawing.Point(14, 0x1d1));
     this.cbCloseInPaymentsystem.set_Name("cbCloseInPaymentsystem");
     this.cbCloseInPaymentsystem.set_Size(new System.Drawing.Size(0xb7, 0x11));
     this.cbCloseInPaymentsystem.set_TabIndex(0x4a);
     this.cbCloseInPaymentsystem.set_Text("Закрыть в платежной системе");
     this.cbCloseInPaymentsystem.set_UseVisualStyleBackColor(true);
     this.m_AccountBS.set_DataSource(typeof(Account));
     this.m_AccountBS.add_BindingComplete(new System.Windows.Forms.BindingCompleteEventHandler(this.m_AccountBS_BindingComplete));
     this.m_AccountBS.add_DataError(new System.Windows.Forms.BindingManagerDataErrorEventHandler(this.m_AccountBS_DataError));
     this.m_AccountBS.add_DataSourceChanged(new System.EventHandler(this.m_AccountBS_DataSourceChanged));
     this.selectNoticeAdr.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectNoticeAdr.set_Location(new System.Drawing.Point(14, 0x197));
     this.selectNoticeAdr.set_Name("selectNoticeAdr");
     this.selectNoticeAdr.set_Size(new System.Drawing.Size(0x1fd, 0x17));
     this.selectNoticeAdr.set_TabIndex(0x45);
     this.m_OwnerSelection.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerSelection.set_Location(new System.Drawing.Point(8, 0x11));
     this.m_OwnerSelection.set_Margin(new System.Windows.Forms.Padding(5, 4, 5, 4));
     this.m_OwnerSelection.set_Name("m_OwnerSelection");
     this.m_OwnerSelection.set_Size(new System.Drawing.Size(0x203, 0x4f));
     this.m_OwnerSelection.set_TabIndex(1);
     this.m_OwnerSelection.OnOwnerSelected += new OwnerHandler(this.m_OwnerSelection_OnOwnerSelected);
     this.m_ToDate.AttachToPeriod = false;
     this.m_ToDate.AttachToPeriodEnd = false;
     this.m_ToDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_AccountBS, "ToDate", true));
     this.m_ToDate.set_Location(new System.Drawing.Point(0xeb, 0xc7));
     this.m_ToDate.set_Margin(new System.Windows.Forms.Padding(0, 8, 0, 8));
     this.m_ToDate.set_Mask("00/00/0000");
     this.m_ToDate.set_Name("m_ToDate");
     this.m_ToDate.set_Size(new System.Drawing.Size(90, 20));
     this.m_ToDate.set_TabIndex(3);
     this.m_FromDate.AttachToPeriod = false;
     this.m_FromDate.AttachToPeriodEnd = false;
     this.m_FromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_AccountBS, "FromDate", true));
     this.m_FromDate.set_Location(new System.Drawing.Point(0x75, 0xc7));
     this.m_FromDate.set_Margin(new System.Windows.Forms.Padding(0, 8, 0, 8));
     this.m_FromDate.set_Mask("00/00/0000");
     this.m_FromDate.set_Name("m_FromDate");
     this.m_FromDate.set_Size(new System.Drawing.Size(90, 20));
     this.m_FromDate.set_TabIndex(2);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.cbCloseInPaymentsystem);
     base.Controls.Add(this.tbNoticeAdrName);
     base.Controls.Add(this.chbCloseReg);
     base.Controls.Add(this.chbClosePG);
     base.Controls.Add(this.label9);
     base.Controls.Add(this.selectNoticeAdr);
     base.Controls.Add(this.tbDocInfo);
     base.Controls.Add(this.label8);
     base.Controls.Add(this.groupBox2);
     base.Controls.Add(this.cbNeedPrintNotice);
     base.Controls.Add(this.btnSelectProvider);
     base.Controls.Add(this.label5);
     base.Controls.Add(this.label18);
     base.Controls.Add(this.tbxAccountHolder);
     base.Controls.Add(this.m_AccountNumber);
     base.Controls.Add(label3);
     base.Controls.Add(this.cbNeedOwnerPresence);
     base.Controls.Add(this.tbComment);
     base.Controls.Add(this.label3);
     base.Controls.Add(box);
     base.Controls.Add(label);
     base.Controls.Add(this.m_ToDate);
     base.Controls.Add(this.m_FromDate);
     base.Controls.Add(this.m_ToDateLabel);
     this.set_MinimumSize(new System.Drawing.Size(0x125, 0x86));
     base.set_Name("AccountView");
     base.set_Size(new System.Drawing.Size(0x213, 0x20d));
     base.add_Load(new System.EventHandler(this.AccountView_Load));
     box.ResumeLayout(false);
     box.PerformLayout();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.m_AccountBS.EndInit();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #7
0
ファイル: OrganizationsForm.cs プロジェクト: u4097/SQLScript
 private void InitializeComponent()
 {
     this.components = new Container();
     this.bsOrganizations = new System.Windows.Forms.BindingSource(this.components);
     this.panelOrg = new System.Windows.Forms.Panel();
     this.panel1 = new System.Windows.Forms.Panel();
     this.dgOrgs = new System.Windows.Forms.DataGridView();
     this.codeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.shortNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.longNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.tsOrganizations = new System.Windows.Forms.ToolStrip();
     this.tsBtnFindServiceProvider = new System.Windows.Forms.ToolStripButton();
     this.tsBtnFindHouseHolder = new System.Windows.Forms.ToolStripButton();
     this.tsBtnFindResourceProvider = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.btnSearch = new System.Windows.Forms.ToolStripButton();
     this.btnClear = new System.Windows.Forms.ToolStripButton();
     this.btnOk = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.btnAdd = new System.Windows.Forms.ToolStripButton();
     this.btnChange = new System.Windows.Forms.ToolStripButton();
     this.btnDelete = new System.Windows.Forms.ToolStripButton();
     this.gbFilter = new System.Windows.Forms.GroupBox();
     this.gbStatuses = new System.Windows.Forms.GroupBox();
     this.cbIsBankrupt = new System.Windows.Forms.CheckBox();
     this.cbIsContractEnded = new System.Windows.Forms.CheckBox();
     this.cbIsArchived = new System.Windows.Forms.CheckBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.cbisResourceProvider = new System.Windows.Forms.CheckBox();
     this.cbIsBenefitTransferrer = new System.Windows.Forms.CheckBox();
     this.cbIsPaymentAgent = new System.Windows.Forms.CheckBox();
     this.cbIsServiceProvider = new System.Windows.Forms.CheckBox();
     this.cbIsFlatOwner = new System.Windows.Forms.CheckBox();
     this.cbIsHouseHolder = new System.Windows.Forms.CheckBox();
     this.cbIsCashlessTransferrer = new System.Windows.Forms.CheckBox();
     this.cbParentOrg = new System.Windows.Forms.ComboBox();
     this.bsParentOrganizations = new System.Windows.Forms.BindingSource(this.components);
     this.tbLongName = new System.Windows.Forms.TextBox();
     this.tbShortName = new System.Windows.Forms.TextBox();
     this.tbCode = new System.Windows.Forms.TextBox();
     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();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     this.bsOrganizations.BeginInit();
     this.panelOrg.SuspendLayout();
     this.panel1.SuspendLayout();
     this.dgOrgs.BeginInit();
     this.tsOrganizations.SuspendLayout();
     this.gbFilter.SuspendLayout();
     this.gbStatuses.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.bsParentOrganizations.BeginInit();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(6, 0x5e));
     label.set_Name("longNameLabel");
     label.set_Size(new System.Drawing.Size(0x7d, 13));
     label.set_TabIndex(0x31);
     label.set_Text("Полное наименование:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(6, 0x44));
     label2.set_Name("shortNameLabel");
     label2.set_Size(new System.Drawing.Size(0x87, 13));
     label2.set_TabIndex(0x30);
     label2.set_Text("Короткое наименование:");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(6, 15));
     label3.set_Name("label1");
     label3.set_Size(new System.Drawing.Size(0x7a, 13));
     label3.set_TabIndex(0x2e);
     label3.set_Text("Старшая организация:");
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(6, 0x2a));
     label4.set_Name("codeLabel");
     label4.set_Size(new System.Drawing.Size(0x1d, 13));
     label4.set_TabIndex(0x2f);
     label4.set_Text("Код:");
     this.bsOrganizations.set_DataSource(typeof(Organization));
     this.panelOrg.Controls.Add(this.panel1);
     this.panelOrg.Controls.Add(this.tsOrganizations);
     this.panelOrg.Controls.Add(this.gbFilter);
     this.panelOrg.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panelOrg.set_Location(new System.Drawing.Point(0, 0));
     this.panelOrg.set_Name("panelOrg");
     this.panelOrg.set_Size(new System.Drawing.Size(0x287, 0x21a));
     this.panelOrg.set_TabIndex(9);
     this.panel1.Controls.Add(this.dgOrgs);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel1.set_Location(new System.Drawing.Point(0, 0xf2));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x287, 0x128));
     this.panel1.set_TabIndex(0x12);
     this.dgOrgs.set_AllowUserToAddRows(false);
     this.dgOrgs.set_AllowUserToDeleteRows(false);
     this.dgOrgs.set_AutoGenerateColumns(false);
     this.dgOrgs.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgOrgs.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgOrgs.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgOrgs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.codeDataGridViewTextBoxColumn, this.shortNameDataGridViewTextBoxColumn, this.longNameDataGridViewTextBoxColumn });
     this.dgOrgs.set_DataSource(this.bsOrganizations);
     this.dgOrgs.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgOrgs.set_GridColor(System.Drawing.SystemColors.ControlLight);
     this.dgOrgs.set_Location(new System.Drawing.Point(0, 0));
     this.dgOrgs.set_Margin(new System.Windows.Forms.Padding(3, 2, 3, 2));
     this.dgOrgs.set_Name("dgOrgs");
     this.dgOrgs.set_ReadOnly(true);
     this.dgOrgs.set_RowHeadersVisible(false);
     this.dgOrgs.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgOrgs.set_Size(new System.Drawing.Size(0x287, 0x128));
     this.dgOrgs.set_TabIndex(15);
     this.dgOrgs.add_CellDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.m_OrgsGrid_CellDoubleClick));
     this.dgOrgs.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.dgOrgs_KeyDown));
     this.codeDataGridViewTextBoxColumn.set_DataPropertyName("Code");
     this.codeDataGridViewTextBoxColumn.set_HeaderText("Код");
     this.codeDataGridViewTextBoxColumn.set_Name("codeDataGridViewTextBoxColumn");
     this.codeDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.codeDataGridViewTextBoxColumn.set_Width(0x33);
     this.shortNameDataGridViewTextBoxColumn.set_DataPropertyName("ShortName");
     this.shortNameDataGridViewTextBoxColumn.set_HeaderText("Краткое наименование");
     this.shortNameDataGridViewTextBoxColumn.set_Name("shortNameDataGridViewTextBoxColumn");
     this.shortNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.shortNameDataGridViewTextBoxColumn.set_Width(0x8a);
     this.longNameDataGridViewTextBoxColumn.set_DataPropertyName("LongName");
     this.longNameDataGridViewTextBoxColumn.set_HeaderText("Полное наименование");
     this.longNameDataGridViewTextBoxColumn.set_Name("longNameDataGridViewTextBoxColumn");
     this.longNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.longNameDataGridViewTextBoxColumn.set_Width(0x86);
     this.tsOrganizations.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnFindServiceProvider, this.tsBtnFindHouseHolder, this.tsBtnFindResourceProvider, this.toolStripSeparator2, this.btnSearch, this.btnClear, this.btnOk, this.toolStripSeparator1, this.btnAdd, this.btnChange, this.btnDelete });
     this.tsOrganizations.set_Location(new System.Drawing.Point(0, 0xd9));
     this.tsOrganizations.set_Name("tsOrganizations");
     this.tsOrganizations.set_Size(new System.Drawing.Size(0x287, 0x19));
     this.tsOrganizations.set_TabIndex(0x11);
     this.tsOrganizations.set_Text("tsOrg");
     this.tsBtnFindServiceProvider.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsBtnFindServiceProvider.set_Image(Resources.ПУ);
     this.tsBtnFindServiceProvider.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnFindServiceProvider.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnFindServiceProvider.set_Name("tsBtnFindServiceProvider");
     this.tsBtnFindServiceProvider.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tsBtnFindServiceProvider.set_Text("ПУ");
     this.tsBtnFindServiceProvider.set_ToolTipText("Найти поставщиков услуг");
     this.tsBtnFindServiceProvider.add_Click(new System.EventHandler(this.tsBtnFindServiceProvider_Click));
     this.tsBtnFindHouseHolder.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsBtnFindHouseHolder.set_Image(Resources.БД);
     this.tsBtnFindHouseHolder.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnFindHouseHolder.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnFindHouseHolder.set_Name("tsBtnFindHouseHolder");
     this.tsBtnFindHouseHolder.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.tsBtnFindHouseHolder.set_Text("БД");
     this.tsBtnFindHouseHolder.set_ToolTipText("Найти балансодержателей");
     this.tsBtnFindHouseHolder.add_Click(new System.EventHandler(this.tsBtnFindHouseHolder_Click));
     this.tsBtnFindResourceProvider.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsBtnFindResourceProvider.set_Image(Resources.РСО);
     this.tsBtnFindResourceProvider.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnFindResourceProvider.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnFindResourceProvider.set_Name("tsBtnFindResourceProvider");
     this.tsBtnFindResourceProvider.set_Size(new System.Drawing.Size(0x19, 0x16));
     this.tsBtnFindResourceProvider.set_Text("РСО");
     this.tsBtnFindResourceProvider.set_ToolTipText("Найти ресурсоснабжающие организации");
     this.tsBtnFindResourceProvider.add_Click(new System.EventHandler(this.tsBtnFindResourceProvider_Click));
     this.toolStripSeparator2.set_Name("toolStripSeparator2");
     this.toolStripSeparator2.set_Size(new System.Drawing.Size(6, 0x19));
     this.btnSearch.set_Font(new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Bold));
     this.btnSearch.set_Image(Resources.SEARCH);
     this.btnSearch.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnSearch.set_Name("btnSearch");
     this.btnSearch.set_Size(new System.Drawing.Size(0x48, 0x16));
     this.btnSearch.set_Text("Поиск");
     this.btnSearch.add_Click(new System.EventHandler(this.btnSearch_Click));
     this.btnClear.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnClear.set_Image(Resources.ERASE);
     this.btnClear.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnClear.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnClear.set_Name("btnClear");
     this.btnClear.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnClear.set_Text("Очистить");
     this.btnClear.set_ToolTipText("Очистить поля фильтра");
     this.btnClear.add_Click(new System.EventHandler(this.btnClear_Click));
     this.btnOk.set_Image(Resources.APPLY);
     this.btnOk.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnOk.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnOk.set_Name("btnOk");
     this.btnOk.set_Size(new System.Drawing.Size(0x4e, 0x16));
     this.btnOk.set_Text("Принять");
     this.btnOk.add_Click(new System.EventHandler(this.btnOk_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.btnAdd.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnAdd.set_Image(Resources.ADD);
     this.btnAdd.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnAdd.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnAdd.set_Name("btnAdd");
     this.btnAdd.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.btnAdd.set_Text("Добавить");
     this.btnAdd.add_Click(new System.EventHandler(this.btnAdd_Click));
     this.btnChange.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnChange.set_Image(Resources.CHANGE);
     this.btnChange.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnChange.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnChange.set_Name("btnChange");
     this.btnChange.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnChange.set_Text("Изменить");
     this.btnChange.add_Click(new System.EventHandler(this.btnChange_Click));
     this.btnDelete.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnDelete.set_Image(Resources.DELETE);
     this.btnDelete.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnDelete.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnDelete.set_Name("btnDelete");
     this.btnDelete.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnDelete.set_Text("Удалить");
     this.btnDelete.add_Click(new System.EventHandler(this.btnDelete_Click));
     this.gbFilter.Controls.Add(this.gbStatuses);
     this.gbFilter.Controls.Add(this.groupBox1);
     this.gbFilter.Controls.Add(this.cbParentOrg);
     this.gbFilter.Controls.Add(label);
     this.gbFilter.Controls.Add(this.tbLongName);
     this.gbFilter.Controls.Add(label2);
     this.gbFilter.Controls.Add(this.tbShortName);
     this.gbFilter.Controls.Add(label3);
     this.gbFilter.Controls.Add(label4);
     this.gbFilter.Controls.Add(this.tbCode);
     this.gbFilter.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.gbFilter.set_Location(new System.Drawing.Point(0, 0));
     this.gbFilter.set_Name("gbFilter");
     this.gbFilter.set_Size(new System.Drawing.Size(0x287, 0xd9));
     this.gbFilter.set_TabIndex(0x10);
     this.gbFilter.set_TabStop(false);
     this.gbFilter.set_Text("Фильтр");
     this.gbStatuses.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbStatuses.Controls.Add(this.cbIsBankrupt);
     this.gbStatuses.Controls.Add(this.cbIsContractEnded);
     this.gbStatuses.Controls.Add(this.cbIsArchived);
     this.gbStatuses.set_Location(new System.Drawing.Point(6, 0x75));
     this.gbStatuses.set_Name("gbStatuses");
     this.gbStatuses.set_Size(new System.Drawing.Size(0x1d9, 0x5c));
     this.gbStatuses.set_TabIndex(0x37);
     this.gbStatuses.set_TabStop(false);
     this.gbStatuses.set_Text("Статус организации");
     this.cbIsBankrupt.set_AutoSize(true);
     this.cbIsBankrupt.set_Location(new System.Drawing.Point(6, 0x17));
     this.cbIsBankrupt.set_Name("cbIsBankrupt");
     this.cbIsBankrupt.set_Size(new System.Drawing.Size(0x44, 0x11));
     this.cbIsBankrupt.set_TabIndex(0x2a);
     this.cbIsBankrupt.set_Text("Банкрот");
     this.cbIsBankrupt.set_UseVisualStyleBackColor(true);
     this.cbIsContractEnded.set_AutoSize(true);
     this.cbIsContractEnded.set_Location(new System.Drawing.Point(6, 0x2e));
     this.cbIsContractEnded.set_Name("cbIsContractEnded");
     this.cbIsContractEnded.set_Size(new System.Drawing.Size(0xab, 0x11));
     this.cbIsContractEnded.set_TabIndex(0x2b);
     this.cbIsContractEnded.set_Text("Договор закрыт/расторгнут");
     this.cbIsContractEnded.set_UseVisualStyleBackColor(true);
     this.cbIsArchived.set_AutoSize(true);
     this.cbIsArchived.set_Location(new System.Drawing.Point(6, 0x45));
     this.cbIsArchived.set_Name("cbIsArchived");
     this.cbIsArchived.set_Size(new System.Drawing.Size(0x47, 0x11));
     this.cbIsArchived.set_TabIndex(0x2c);
     this.cbIsArchived.set_Text("В архиве");
     this.cbIsArchived.set_UseVisualStyleBackColor(true);
     this.groupBox1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox1.Controls.Add(this.cbisResourceProvider);
     this.groupBox1.Controls.Add(this.cbIsBenefitTransferrer);
     this.groupBox1.Controls.Add(this.cbIsPaymentAgent);
     this.groupBox1.Controls.Add(this.cbIsServiceProvider);
     this.groupBox1.Controls.Add(this.cbIsFlatOwner);
     this.groupBox1.Controls.Add(this.cbIsHouseHolder);
     this.groupBox1.Controls.Add(this.cbIsCashlessTransferrer);
     this.groupBox1.set_Location(new System.Drawing.Point(0x1e5, 0x1f));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(150, 180));
     this.groupBox1.set_TabIndex(0x36);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Роль организации");
     this.cbisResourceProvider.set_AutoSize(true);
     this.cbisResourceProvider.set_Location(new System.Drawing.Point(6, 0x41));
     this.cbisResourceProvider.set_Name("cbisResourceProvider");
     this.cbisResourceProvider.set_Size(new System.Drawing.Size(0x87, 0x11));
     this.cbisResourceProvider.set_TabIndex(0x21);
     this.cbisResourceProvider.set_Text("Ресурсоснабжающая");
     this.cbisResourceProvider.set_UseVisualStyleBackColor(true);
     this.cbIsBenefitTransferrer.set_AutoSize(true);
     this.cbIsBenefitTransferrer.set_Location(new System.Drawing.Point(6, 0x86));
     this.cbIsBenefitTransferrer.set_Name("cbIsBenefitTransferrer");
     this.cbIsBenefitTransferrer.set_Size(new System.Drawing.Size(0x7a, 0x11));
     this.cbIsBenefitTransferrer.set_TabIndex(0x24);
     this.cbIsBenefitTransferrer.set_Text("Покрывает льготы");
     this.cbIsBenefitTransferrer.set_UseVisualStyleBackColor(true);
     this.cbIsPaymentAgent.set_AutoSize(true);
     this.cbIsPaymentAgent.set_Location(new System.Drawing.Point(6, 0x58));
     this.cbIsPaymentAgent.set_Name("cbIsPaymentAgent");
     this.cbIsPaymentAgent.set_Size(new System.Drawing.Size(0x74, 0x11));
     this.cbIsPaymentAgent.set_TabIndex(0x22);
     this.cbIsPaymentAgent.set_Text("Платёжный агент");
     this.cbIsPaymentAgent.set_UseVisualStyleBackColor(true);
     this.cbIsServiceProvider.set_AutoSize(true);
     this.cbIsServiceProvider.set_Location(new System.Drawing.Point(6, 0x13));
     this.cbIsServiceProvider.set_Name("cbIsServiceProvider");
     this.cbIsServiceProvider.set_Size(new System.Drawing.Size(0x72, 0x11));
     this.cbIsServiceProvider.set_TabIndex(0x1f);
     this.cbIsServiceProvider.set_Text("Поставщик услуг");
     this.cbIsServiceProvider.set_UseVisualStyleBackColor(true);
     this.cbIsFlatOwner.set_AutoSize(true);
     this.cbIsFlatOwner.set_Location(new System.Drawing.Point(6, 0x9d));
     this.cbIsFlatOwner.set_Name("cbIsFlatOwner");
     this.cbIsFlatOwner.set_Size(new System.Drawing.Size(0x88, 0x11));
     this.cbIsFlatOwner.set_TabIndex(0x25);
     this.cbIsFlatOwner.set_Text("Собственник квартир");
     this.cbIsFlatOwner.set_UseVisualStyleBackColor(true);
     this.cbIsHouseHolder.set_AutoSize(true);
     this.cbIsHouseHolder.set_Location(new System.Drawing.Point(6, 0x2a));
     this.cbIsHouseHolder.set_Name("cbIsHouseHolder");
     this.cbIsHouseHolder.set_Size(new System.Drawing.Size(0x7c, 0x11));
     this.cbIsHouseHolder.set_TabIndex(0x20);
     this.cbIsHouseHolder.set_Text("Балансодержатель");
     this.cbIsHouseHolder.set_UseVisualStyleBackColor(true);
     this.cbIsCashlessTransferrer.set_AutoSize(true);
     this.cbIsCashlessTransferrer.set_Location(new System.Drawing.Point(6, 0x6f));
     this.cbIsCashlessTransferrer.set_Name("cbIsCashlessTransferrer");
     this.cbIsCashlessTransferrer.set_Size(new System.Drawing.Size(0x3f, 0x11));
     this.cbIsCashlessTransferrer.set_TabIndex(0x23);
     this.cbIsCashlessTransferrer.set_Text("Безнал");
     this.cbIsCashlessTransferrer.set_UseVisualStyleBackColor(true);
     this.cbParentOrg.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbParentOrg.set_DataSource(this.bsParentOrganizations);
     this.cbParentOrg.set_DisplayMember("CodeName");
     this.cbParentOrg.set_FormattingEnabled(true);
     this.cbParentOrg.set_Location(new System.Drawing.Point(0x93, 12));
     this.cbParentOrg.set_Name("cbParentOrg");
     this.cbParentOrg.set_Size(new System.Drawing.Size(0x1e8, 0x15));
     this.cbParentOrg.set_TabIndex(5);
     this.bsParentOrganizations.set_DataSource(typeof(Organization));
     this.tbLongName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbLongName.set_Location(new System.Drawing.Point(0x93, 0x5b));
     this.tbLongName.set_Name("tbLongName");
     this.tbLongName.set_Size(new System.Drawing.Size(0x14c, 20));
     this.tbLongName.set_TabIndex(0x15);
     this.tbLongName.add_KeyUp(new System.Windows.Forms.KeyEventHandler(this.Enter_KeyUp));
     this.tbShortName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbShortName.set_Location(new System.Drawing.Point(0x93, 0x41));
     this.tbShortName.set_Name("tbShortName");
     this.tbShortName.set_Size(new System.Drawing.Size(0x14c, 20));
     this.tbShortName.set_TabIndex(20);
     this.tbShortName.add_KeyUp(new System.Windows.Forms.KeyEventHandler(this.Enter_KeyUp));
     this.tbCode.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbCode.set_Location(new System.Drawing.Point(0x93, 0x27));
     this.tbCode.set_Name("tbCode");
     this.tbCode.set_Size(new System.Drawing.Size(0x14c, 20));
     this.tbCode.set_TabIndex(10);
     this.tbCode.add_KeyUp(new System.Windows.Forms.KeyEventHandler(this.Enter_KeyUp));
     this.dataGridViewTextBoxColumn1.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("Code");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Код");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Width(0x31);
     this.dataGridViewTextBoxColumn2.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("ShortName");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Краткое наименование");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.DisplayedCells);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("LongName");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Полное наименование");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("INN");
     this.dataGridViewTextBoxColumn4.set_HeaderText("ИНН");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x36);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x287, 0x21a));
     base.Controls.Add(this.panelOrg);
     this.set_MinimumSize(new System.Drawing.Size(400, 0x16d));
     base.set_Name("OrganizationsForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Организации");
     base.add_Load(new System.EventHandler(this.OrganizationsForm_Load));
     this.bsOrganizations.EndInit();
     this.panelOrg.ResumeLayout(false);
     this.panelOrg.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.dgOrgs.EndInit();
     this.tsOrganizations.ResumeLayout(false);
     this.tsOrganizations.PerformLayout();
     this.gbFilter.ResumeLayout(false);
     this.gbFilter.PerformLayout();
     this.gbStatuses.ResumeLayout(false);
     this.gbStatuses.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.bsParentOrganizations.EndInit();
     base.ResumeLayout(false);
 }
コード例 #8
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.gbDoc = new System.Windows.Forms.GroupBox();
     this.tbDoc = new System.Windows.Forms.TextBox();
     this.m_ApartmentOwner = new System.Windows.Forms.BindingSource(this.components);
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.dbDateDoc = new DateBox();
     this.gbOwner = new System.Windows.Forms.GroupBox();
     this.selectTypeOwnerFasetName = new SelectFasetData();
     this.label10 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.nmDenom = new System.Windows.Forms.NumericUpDown();
     this.nmNum = new System.Windows.Forms.NumericUpDown();
     this.tbPrintName = new System.Windows.Forms.TextBox();
     this.dbToDate = new DateBox();
     this.label1 = new System.Windows.Forms.Label();
     this.m_OwnerSelection = new SelectOwner();
     this.label9 = new System.Windows.Forms.Label();
     this.dbFromDate = new DateBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.btnAddChangeApartmentOwner = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tbSaleContract = new System.Windows.Forms.TextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.dbSaleContractDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.gbDoc.SuspendLayout();
     this.m_ApartmentOwner.BeginInit();
     this.gbOwner.SuspendLayout();
     this.nmDenom.BeginInit();
     this.nmNum.BeginInit();
     this.groupBox1.SuspendLayout();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(8, 0x6b));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x5d, 13));
     label.set_TabIndex(20);
     label.set_Text("Отображать как:");
     this.gbDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbDoc.Controls.Add(this.tbDoc);
     this.gbDoc.Controls.Add(this.label4);
     this.gbDoc.Controls.Add(this.label3);
     this.gbDoc.Controls.Add(this.dbDateDoc);
     this.gbDoc.set_Location(new System.Drawing.Point(2, 250));
     this.gbDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.gbDoc.set_Name("gbDoc");
     this.gbDoc.set_Padding(new System.Windows.Forms.Padding(2));
     this.gbDoc.set_Size(new System.Drawing.Size(0x21f, 0x44));
     this.gbDoc.set_TabIndex(2);
     this.gbDoc.set_TabStop(false);
     this.gbDoc.set_Text("Документ");
     this.tbDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbDoc.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_ApartmentOwner, "Doc", true));
     this.tbDoc.set_Location(new System.Drawing.Point(0x6c, 0x11));
     this.tbDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.tbDoc.set_Name("tbDoc");
     this.tbDoc.set_Size(new System.Drawing.Size(0x1a8, 20));
     this.tbDoc.set_TabIndex(1);
     this.m_ApartmentOwner.set_DataSource(typeof(AIS.SN.Model.DomainObjects.ApartmentOwner));
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(7, 20));
     this.label4.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x56, 13));
     this.label4.set_TabIndex(2);
     this.label4.set_Text("Наименование:");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(6, 0x2c));
     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(0x24, 13));
     this.label3.set_TabIndex(1);
     this.label3.set_Text("Дата:");
     this.dbDateDoc.AttachToPeriod = false;
     this.dbDateDoc.AttachToPeriodEnd = false;
     this.dbDateDoc.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwner, "DateDoc", true));
     this.dbDateDoc.set_Location(new System.Drawing.Point(0x6c, 0x29));
     this.dbDateDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbDateDoc.set_Mask("00/00/0000");
     this.dbDateDoc.set_Name("dbDateDoc");
     this.dbDateDoc.set_Size(new System.Drawing.Size(0x55, 20));
     this.dbDateDoc.set_TabIndex(2);
     this.gbOwner.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbOwner.Controls.Add(this.selectTypeOwnerFasetName);
     this.gbOwner.Controls.Add(this.label10);
     this.gbOwner.Controls.Add(this.label8);
     this.gbOwner.Controls.Add(this.nmDenom);
     this.gbOwner.Controls.Add(this.nmNum);
     this.gbOwner.Controls.Add(label);
     this.gbOwner.Controls.Add(this.tbPrintName);
     this.gbOwner.Controls.Add(this.dbToDate);
     this.gbOwner.Controls.Add(this.label1);
     this.gbOwner.Controls.Add(this.m_OwnerSelection);
     this.gbOwner.Controls.Add(this.label9);
     this.gbOwner.Controls.Add(this.dbFromDate);
     this.gbOwner.Controls.Add(this.label7);
     this.gbOwner.Controls.Add(this.label6);
     this.gbOwner.Controls.Add(this.label5);
     this.gbOwner.set_Location(new System.Drawing.Point(2, 4));
     this.gbOwner.set_Margin(new System.Windows.Forms.Padding(2));
     this.gbOwner.set_Name("gbOwner");
     this.gbOwner.set_Padding(new System.Windows.Forms.Padding(2));
     this.gbOwner.set_Size(new System.Drawing.Size(0x21f, 0xf2));
     this.gbOwner.set_TabIndex(1);
     this.gbOwner.set_TabStop(false);
     this.gbOwner.set_Text("Владелец");
     this.selectTypeOwnerFasetName.set_FormattingEnabled(true);
     this.selectTypeOwnerFasetName.set_Location(new System.Drawing.Point(0x95, 0xcf));
     this.selectTypeOwnerFasetName.set_Name("selectTypeOwnerFasetName");
     this.selectTypeOwnerFasetName.set_Size(new System.Drawing.Size(0x182, 0x15));
     this.selectTypeOwnerFasetName.set_Sorted(true);
     this.selectTypeOwnerFasetName.set_TabIndex(0x18);
     this.label10.set_AutoSize(true);
     this.label10.set_Location(new System.Drawing.Point(8, 0xd0));
     this.label10.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label10.set_Name("label10");
     this.label10.set_Size(new System.Drawing.Size(0x4d, 13));
     this.label10.set_TabIndex(0x17);
     this.label10.set_Text("Тип владения");
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(8, 0xdd));
     this.label8.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label8.set_TabIndex(0x15);
     this.label8.set_Text("собственностью:");
     this.nmDenom.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwner, "Denom", true));
     this.nmDenom.set_Location(new System.Drawing.Point(0xf8, 130));
     int[] numArray = new int[4];
     numArray[0] = 0x3e8;
     this.nmDenom.set_Maximum(new decimal(numArray));
     int[] numArray2 = new int[4];
     numArray2[0] = 1;
     this.nmDenom.set_Minimum(new decimal(numArray2));
     this.nmDenom.set_Name("nmDenom");
     this.nmDenom.set_Size(new System.Drawing.Size(0x4d, 20));
     this.nmDenom.set_TabIndex(4);
     int[] numArray3 = new int[4];
     numArray3[0] = 1;
     this.nmDenom.set_Value(new decimal(numArray3));
     this.nmNum.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwner, "Num", true));
     this.nmNum.set_Location(new System.Drawing.Point(0x95, 130));
     int[] numArray4 = new int[4];
     numArray4[0] = 0x3e8;
     this.nmNum.set_Maximum(new decimal(numArray4));
     this.nmNum.set_Name("nmNum");
     this.nmNum.set_Size(new System.Drawing.Size(0x4d, 20));
     this.nmNum.set_TabIndex(3);
     this.tbPrintName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbPrintName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_ApartmentOwner, "PrintName", true));
     this.tbPrintName.set_Location(new System.Drawing.Point(0x70, 0x68));
     this.tbPrintName.set_Name("tbPrintName");
     this.tbPrintName.set_Size(new System.Drawing.Size(0x1a7, 20));
     this.tbPrintName.set_TabIndex(2);
     this.dbToDate.AttachToPeriod = false;
     this.dbToDate.AttachToPeriodEnd = false;
     this.dbToDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwner, "ToDate", true));
     this.dbToDate.set_Location(new System.Drawing.Point(0x95, 0xb6));
     this.dbToDate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbToDate.set_Mask("00/00/0000");
     this.dbToDate.set_Name("dbToDate");
     this.dbToDate.set_Size(new System.Drawing.Size(90, 20));
     this.dbToDate.set_TabIndex(6);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(9, 0xb9));
     this.label1.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x8e, 13));
     this.label1.set_TabIndex(0x10);
     this.label1.set_Text("Дата окончания действия:");
     this.m_OwnerSelection.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerSelection.set_Location(new System.Drawing.Point(3, 20));
     this.m_OwnerSelection.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_OwnerSelection.set_Name("m_OwnerSelection");
     this.m_OwnerSelection.set_Size(new System.Drawing.Size(0x213, 0x53));
     this.m_OwnerSelection.set_TabIndex(1);
     this.m_OwnerSelection.OnOwnerSelected += new OwnerHandler(this.m_OwnerSelection_OnOwnerSelected);
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(0xe7, 0x87));
     this.label9.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(12, 13));
     this.label9.set_TabIndex(15);
     this.label9.set_Text("/");
     this.dbFromDate.AttachToPeriod = false;
     this.dbFromDate.AttachToPeriodEnd = false;
     this.dbFromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwner, "FromDate", true));
     this.dbFromDate.set_Location(new System.Drawing.Point(0x95, 0x9d));
     this.dbFromDate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbFromDate.set_Mask("00/00/0000");
     this.dbFromDate.set_Name("dbFromDate");
     this.dbFromDate.set_Size(new System.Drawing.Size(90, 20));
     this.dbFromDate.set_TabIndex(5);
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(8, 0x87));
     this.label7.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x74, 13));
     this.label7.set_TabIndex(9);
     this.label7.set_Text("Доля собственности:");
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(8, 160));
     this.label6.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x7c, 13));
     this.label6.set_TabIndex(7);
     this.label6.set_Text("Дата начала действия:");
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(4, 0x4a));
     this.label5.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0, 13));
     this.label5.set_TabIndex(6);
     this.btnAddChangeApartmentOwner.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnAddChangeApartmentOwner.set_Location(new System.Drawing.Point(0x178, 0x18a));
     this.btnAddChangeApartmentOwner.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnAddChangeApartmentOwner.set_Name("btnAddChangeApartmentOwner");
     this.btnAddChangeApartmentOwner.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnAddChangeApartmentOwner.set_TabIndex(4);
     this.btnAddChangeApartmentOwner.set_UseVisualStyleBackColor(true);
     this.btnAddChangeApartmentOwner.add_Click(new System.EventHandler(this.btnAddChangeApartmentOwner_Click));
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.btnCancel.set_DialogResult(System.Windows.Forms.DialogResult.Cancel);
     this.btnCancel.set_Location(new System.Drawing.Point(460, 0x18a));
     this.btnCancel.set_Margin(new System.Windows.Forms.Padding(2));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(80, 0x19));
     this.btnCancel.set_TabIndex(5);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.groupBox1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox1.Controls.Add(this.tbSaleContract);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.dbSaleContractDate);
     this.groupBox1.set_Location(new System.Drawing.Point(2, 0x142));
     this.groupBox1.set_Margin(new System.Windows.Forms.Padding(2));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Padding(new System.Windows.Forms.Padding(2));
     this.groupBox1.set_Size(new System.Drawing.Size(0x21f, 0x44));
     this.groupBox1.set_TabIndex(3);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Договор купли-продажи");
     this.tbSaleContract.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbSaleContract.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_ApartmentOwner, "SaleContract", true));
     this.tbSaleContract.set_Location(new System.Drawing.Point(0x6c, 0x11));
     this.tbSaleContract.set_Margin(new System.Windows.Forms.Padding(2));
     this.tbSaleContract.set_Name("tbSaleContract");
     this.tbSaleContract.set_Size(new System.Drawing.Size(0x1a8, 20));
     this.tbSaleContract.set_TabIndex(1);
     this.label11.set_AutoSize(true);
     this.label11.set_Location(new System.Drawing.Point(7, 20));
     this.label11.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label11.set_Name("label11");
     this.label11.set_Size(new System.Drawing.Size(0x56, 13));
     this.label11.set_TabIndex(2);
     this.label11.set_Text("Наименование:");
     this.label12.set_AutoSize(true);
     this.label12.set_Location(new System.Drawing.Point(6, 0x2c));
     this.label12.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label12.set_Name("label12");
     this.label12.set_Size(new System.Drawing.Size(0x24, 13));
     this.label12.set_TabIndex(1);
     this.label12.set_Text("Дата:");
     this.dbSaleContractDate.AttachToPeriod = false;
     this.dbSaleContractDate.AttachToPeriodEnd = false;
     this.dbSaleContractDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwner, "SaleContractDate", true));
     this.dbSaleContractDate.set_Location(new System.Drawing.Point(0x6c, 0x29));
     this.dbSaleContractDate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbSaleContractDate.set_Mask("00/00/0000");
     this.dbSaleContractDate.set_Name("dbSaleContractDate");
     this.dbSaleContractDate.set_Size(new System.Drawing.Size(0x55, 20));
     this.dbSaleContractDate.set_TabIndex(2);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x225, 0x1ac));
     base.Controls.Add(this.groupBox1);
     base.Controls.Add(this.btnCancel);
     base.Controls.Add(this.btnAddChangeApartmentOwner);
     base.Controls.Add(this.gbOwner);
     base.Controls.Add(this.gbDoc);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_Name("ApartmentOwnerAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     base.add_FormClosed(new System.Windows.Forms.FormClosedEventHandler(this.ApartmentOwnerAddChangeForm_FormClosed));
     base.add_Load(new System.EventHandler(this.ApartmentOwnerAddChangeForm_Load));
     this.gbDoc.ResumeLayout(false);
     this.gbDoc.PerformLayout();
     this.m_ApartmentOwner.EndInit();
     this.gbOwner.ResumeLayout(false);
     this.gbOwner.PerformLayout();
     this.nmDenom.EndInit();
     this.nmNum.EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     base.ResumeLayout(false);
 }
コード例 #9
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.cbStreets = new System.Windows.Forms.ComboBox();
     this.bsStreets = new System.Windows.Forms.BindingSource(this.components);
     this.cbHouses = new System.Windows.Forms.ComboBox();
     this.bsHouses = new System.Windows.Forms.BindingSource(this.components);
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.dataGridView1 = new System.Windows.Forms.DataGridView();
     this.PreviousAddressName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PreviousNumber = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.PreviousOwnerName = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsPrevApartments = new System.Windows.Forms.BindingSource(this.components);
     this.label1 = new System.Windows.Forms.Label();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.dateMergeSplit = new DateBox();
     this.dgvApartments = new System.Windows.Forms.DataGridView();
     this.selectForMergeDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.addressNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.numberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ownerNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsCurrentApartments = new System.Windows.Forms.BindingSource(this.components);
     this.tsApartmentMerge = new System.Windows.Forms.ToolStrip();
     this.tsBtnSplit = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsBtnMerge = new System.Windows.Forms.ToolStripButton();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.dataGridView3 = new System.Windows.Forms.DataGridView();
     this.nextAddressNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.nextNumberDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.nextOwnerNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.createdDataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsNextApartments = new System.Windows.Forms.BindingSource(this.components);
     this.label2 = new System.Windows.Forms.Label();
     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();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     this.bsStreets.BeginInit();
     this.bsHouses.BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.dataGridView1.BeginInit();
     this.bsPrevApartments.BeginInit();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.dgvApartments.BeginInit();
     this.bsCurrentApartments.BeginInit();
     this.tsApartmentMerge.SuspendLayout();
     this.groupBox1.SuspendLayout();
     this.dataGridView3.BeginInit();
     this.bsNextApartments.BeginInit();
     base.SuspendLayout();
     label.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(0x22e, 0x13));
     label.set_Name("label6");
     label.set_Size(new System.Drawing.Size(30, 13));
     label.set_TabIndex(12);
     label.set_Text("Дом");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(9, 0x13));
     label2.set_Name("label5");
     label2.set_Size(new System.Drawing.Size(0x27, 13));
     label2.set_TabIndex(13);
     label2.set_Text("Улица");
     this.cbStreets.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.cbStreets.set_DataSource(this.bsStreets);
     this.cbStreets.set_DisplayMember("Name");
     this.cbStreets.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbStreets.set_FormattingEnabled(true);
     this.cbStreets.set_Location(new System.Drawing.Point(0x3b, 0x10));
     this.cbStreets.set_Name("cbStreets");
     this.cbStreets.set_Size(new System.Drawing.Size(0x1ed, 0x15));
     this.cbStreets.set_TabIndex(10);
     this.bsStreets.set_DataSource(typeof(LocalAddress));
     this.bsStreets.add_CurrentChanged(new System.EventHandler(this.bsStreets_CurrentChanged));
     this.cbHouses.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.cbHouses.set_DataSource(this.bsHouses);
     this.cbHouses.set_DisplayMember("Name");
     this.cbHouses.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbHouses.set_FormattingEnabled(true);
     this.cbHouses.set_Location(new System.Drawing.Point(0x252, 0x10));
     this.cbHouses.set_Name("cbHouses");
     this.cbHouses.set_Size(new System.Drawing.Size(0x74, 0x15));
     this.cbHouses.set_TabIndex(11);
     this.bsHouses.set_DataSource(typeof(LocalAddress));
     this.bsHouses.add_CurrentChanged(new System.EventHandler(this.bsHouses_CurrentChanged));
     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.dataGridView1);
     this.splitContainer1.Panel1.Controls.Add(this.label1);
     this.splitContainer1.Panel2.Controls.Add(this.splitContainer2);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x2d2, 0x1ee));
     this.splitContainer1.set_SplitterDistance(0x69);
     this.splitContainer1.set_TabIndex(0x10);
     this.dataGridView1.set_AllowUserToAddRows(false);
     this.dataGridView1.set_AllowUserToDeleteRows(false);
     this.dataGridView1.set_AutoGenerateColumns(false);
     this.dataGridView1.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dataGridView1.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dataGridView1.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dataGridView1.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.PreviousAddressName, this.PreviousNumber, this.PreviousOwnerName, this.fromDateDataGridViewTextBoxColumn1, this.createdDataGridViewTextBoxColumn1 });
     this.dataGridView1.set_DataSource(this.bsPrevApartments);
     this.dataGridView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dataGridView1.set_Location(new System.Drawing.Point(0, 13));
     this.dataGridView1.set_Name("dataGridView1");
     this.dataGridView1.set_ReadOnly(true);
     this.dataGridView1.set_RowHeadersVisible(false);
     this.dataGridView1.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dataGridView1.set_Size(new System.Drawing.Size(0x2d2, 0x5c));
     this.dataGridView1.set_TabIndex(2);
     this.PreviousAddressName.set_DataPropertyName("PreviousAddressName");
     this.PreviousAddressName.set_HeaderText("Адрес");
     this.PreviousAddressName.set_Name("PreviousAddressName");
     this.PreviousAddressName.set_ReadOnly(true);
     this.PreviousAddressName.set_Width(0x3f);
     this.PreviousNumber.set_DataPropertyName("PreviousNumber");
     this.PreviousNumber.set_HeaderText("Ид.жилья");
     this.PreviousNumber.set_Name("PreviousNumber");
     this.PreviousNumber.set_ReadOnly(true);
     this.PreviousNumber.set_Width(0x51);
     this.PreviousOwnerName.set_DataPropertyName("PreviousOwnerName");
     this.PreviousOwnerName.set_HeaderText("Владелец");
     this.PreviousOwnerName.set_Name("PreviousOwnerName");
     this.PreviousOwnerName.set_ReadOnly(true);
     this.PreviousOwnerName.set_Width(0x51);
     this.fromDateDataGridViewTextBoxColumn1.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn1.set_HeaderText("Дата слияния/разделения");
     this.fromDateDataGridViewTextBoxColumn1.set_Name("fromDateDataGridViewTextBoxColumn1");
     this.fromDateDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn1.set_Width(0x99);
     this.createdDataGridViewTextBoxColumn1.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn1.set_HeaderText("Дата создания");
     this.createdDataGridViewTextBoxColumn1.set_Name("createdDataGridViewTextBoxColumn1");
     this.createdDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.bsPrevApartments.set_DataSource(typeof(ApartmentMergeHistory));
     this.label1.set_AutoSize(true);
     this.label1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.label1.set_Location(new System.Drawing.Point(0, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x9e, 13));
     this.label1.set_TabIndex(1);
     this.label1.set_Text("Предыдущие паспорта жилья");
     this.splitContainer2.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer2.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer2.set_Name("splitContainer2");
     this.splitContainer2.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer2.Panel1.Controls.Add(this.dateMergeSplit);
     this.splitContainer2.Panel1.Controls.Add(this.dgvApartments);
     this.splitContainer2.Panel1.Controls.Add(this.tsApartmentMerge);
     this.splitContainer2.Panel1.Controls.Add(this.groupBox1);
     this.splitContainer2.Panel2.Controls.Add(this.dataGridView3);
     this.splitContainer2.Panel2.Controls.Add(this.label2);
     this.splitContainer2.set_Size(new System.Drawing.Size(0x2d2, 0x181));
     this.splitContainer2.set_SplitterDistance(0xe5);
     this.splitContainer2.set_TabIndex(0);
     this.dateMergeSplit.AttachToPeriod = false;
     this.dateMergeSplit.AttachToPeriodEnd = false;
     this.dateMergeSplit.set_Location(new System.Drawing.Point(0x191, 0x2d));
     this.dateMergeSplit.set_Mask("00/00/0000");
     this.dateMergeSplit.set_Name("dateMergeSplit");
     this.dateMergeSplit.set_Size(new System.Drawing.Size(100, 20));
     this.dateMergeSplit.set_TabIndex(0x12);
     this.dgvApartments.set_AllowUserToAddRows(false);
     this.dgvApartments.set_AllowUserToDeleteRows(false);
     this.dgvApartments.set_AutoGenerateColumns(false);
     this.dgvApartments.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvApartments.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvApartments.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvApartments.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.selectForMergeDataGridViewCheckBoxColumn, this.addressNameDataGridViewTextBoxColumn, this.numberDataGridViewTextBoxColumn, this.ownerNameDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.createdDataGridViewTextBoxColumn });
     this.dgvApartments.set_DataSource(this.bsCurrentApartments);
     this.dgvApartments.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvApartments.set_Location(new System.Drawing.Point(0, 0x44));
     this.dgvApartments.set_Name("dgvApartments");
     this.dgvApartments.set_RowHeadersVisible(false);
     this.dgvApartments.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvApartments.set_Size(new System.Drawing.Size(0x2d2, 0xa1));
     this.dgvApartments.set_TabIndex(1);
     this.selectForMergeDataGridViewCheckBoxColumn.set_HeaderText("");
     this.selectForMergeDataGridViewCheckBoxColumn.set_Name("selectForMergeDataGridViewCheckBoxColumn");
     this.selectForMergeDataGridViewCheckBoxColumn.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.selectForMergeDataGridViewCheckBoxColumn.set_SortMode(System.Windows.Forms.DataGridViewColumnSortMode.Automatic);
     this.selectForMergeDataGridViewCheckBoxColumn.set_Width(0x13);
     this.addressNameDataGridViewTextBoxColumn.set_DataPropertyName("AddressName");
     this.addressNameDataGridViewTextBoxColumn.set_HeaderText("Адрес");
     this.addressNameDataGridViewTextBoxColumn.set_Name("addressNameDataGridViewTextBoxColumn");
     this.addressNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.addressNameDataGridViewTextBoxColumn.set_Width(0x3f);
     this.numberDataGridViewTextBoxColumn.set_DataPropertyName("Number");
     this.numberDataGridViewTextBoxColumn.set_HeaderText("Ид.жилья");
     this.numberDataGridViewTextBoxColumn.set_Name("numberDataGridViewTextBoxColumn");
     this.numberDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.numberDataGridViewTextBoxColumn.set_Width(0x51);
     this.ownerNameDataGridViewTextBoxColumn.set_DataPropertyName("OwnerName");
     this.ownerNameDataGridViewTextBoxColumn.set_HeaderText("Владелец");
     this.ownerNameDataGridViewTextBoxColumn.set_Name("ownerNameDataGridViewTextBoxColumn");
     this.ownerNameDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.ownerNameDataGridViewTextBoxColumn.set_Width(0x51);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата ввода в жилой фонд");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_Width(0x7e);
     this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     this.toDateDataGridViewTextBoxColumn.set_HeaderText("Дата выбытия из жилого фонда");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.toDateDataGridViewTextBoxColumn.set_Width(150);
     this.createdDataGridViewTextBoxColumn.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn.set_HeaderText("Дата создания");
     this.createdDataGridViewTextBoxColumn.set_Name("createdDataGridViewTextBoxColumn");
     this.createdDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.bsCurrentApartments.set_DataSource(typeof(Apartment));
     this.bsCurrentApartments.add_CurrentChanged(new System.EventHandler(this.bsCurrentApartments_CurrentChanged));
     this.tsApartmentMerge.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnSplit, this.toolStripSeparator1, this.tsBtnMerge, this.toolStripLabel1 });
     this.tsApartmentMerge.set_Location(new System.Drawing.Point(0, 0x2b));
     this.tsApartmentMerge.set_Name("tsApartmentMerge");
     this.tsApartmentMerge.set_Size(new System.Drawing.Size(0x2d2, 0x19));
     this.tsApartmentMerge.set_TabIndex(0);
     this.tsApartmentMerge.set_Text("toolStrip1");
     this.tsBtnSplit.set_Image(Resources.SPLIT);
     this.tsBtnSplit.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnSplit.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnSplit.set_Name("tsBtnSplit");
     this.tsBtnSplit.set_Size(new System.Drawing.Size(0x87, 0x16));
     this.tsBtnSplit.set_Text("Разделить текущий");
     this.tsBtnSplit.add_Click(new System.EventHandler(this.tsBtnSplit_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsBtnMerge.set_Image(Resources.MERGE);
     this.tsBtnMerge.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnMerge.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnMerge.set_Name("tsBtnMerge");
     this.tsBtnMerge.set_Size(new System.Drawing.Size(0x81, 0x16));
     this.tsBtnMerge.set_Text("Слить выбранные");
     this.tsBtnMerge.add_Click(new System.EventHandler(this.tsBtnMerge_Click));
     this.toolStripLabel1.set_Name("toolStripLabel1");
     this.toolStripLabel1.set_Size(new System.Drawing.Size(0x91, 0x16));
     this.toolStripLabel1.set_Text("Дата создания (слияния):");
     this.groupBox1.Controls.Add(this.cbStreets);
     this.groupBox1.Controls.Add(label2);
     this.groupBox1.Controls.Add(label);
     this.groupBox1.Controls.Add(this.cbHouses);
     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(0x2d2, 0x2b));
     this.groupBox1.set_TabIndex(0x11);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Поиск паспортов жилья");
     this.dataGridView3.set_AllowUserToAddRows(false);
     this.dataGridView3.set_AllowUserToDeleteRows(false);
     this.dataGridView3.set_AutoGenerateColumns(false);
     this.dataGridView3.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dataGridView3.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dataGridView3.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dataGridView3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.nextAddressNameDataGridViewTextBoxColumn1, this.nextNumberDataGridViewTextBoxColumn1, this.nextOwnerNameDataGridViewTextBoxColumn1, this.fromDateDataGridViewTextBoxColumn2, this.createdDataGridViewTextBoxColumn2 });
     this.dataGridView3.set_DataSource(this.bsNextApartments);
     this.dataGridView3.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dataGridView3.set_Location(new System.Drawing.Point(0, 13));
     this.dataGridView3.set_Name("dataGridView3");
     this.dataGridView3.set_ReadOnly(true);
     this.dataGridView3.set_RowHeadersVisible(false);
     this.dataGridView3.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dataGridView3.set_Size(new System.Drawing.Size(0x2d2, 0x8b));
     this.dataGridView3.set_TabIndex(3);
     this.nextAddressNameDataGridViewTextBoxColumn1.set_DataPropertyName("NextAddressName");
     this.nextAddressNameDataGridViewTextBoxColumn1.set_HeaderText("Адрес");
     this.nextAddressNameDataGridViewTextBoxColumn1.set_Name("nextAddressNameDataGridViewTextBoxColumn1");
     this.nextAddressNameDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.nextAddressNameDataGridViewTextBoxColumn1.set_Width(0x3f);
     this.nextNumberDataGridViewTextBoxColumn1.set_DataPropertyName("NextNumber");
     this.nextNumberDataGridViewTextBoxColumn1.set_HeaderText("Ид.жилья");
     this.nextNumberDataGridViewTextBoxColumn1.set_Name("nextNumberDataGridViewTextBoxColumn1");
     this.nextNumberDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.nextNumberDataGridViewTextBoxColumn1.set_Width(0x51);
     this.nextOwnerNameDataGridViewTextBoxColumn1.set_DataPropertyName("NextOwnerName");
     this.nextOwnerNameDataGridViewTextBoxColumn1.set_HeaderText("Владелец");
     this.nextOwnerNameDataGridViewTextBoxColumn1.set_Name("nextOwnerNameDataGridViewTextBoxColumn1");
     this.nextOwnerNameDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.nextOwnerNameDataGridViewTextBoxColumn1.set_Width(0x51);
     this.fromDateDataGridViewTextBoxColumn2.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn2.set_HeaderText("Дата слияния/разделения");
     this.fromDateDataGridViewTextBoxColumn2.set_Name("fromDateDataGridViewTextBoxColumn2");
     this.fromDateDataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn2.set_Width(0x99);
     this.createdDataGridViewTextBoxColumn2.set_DataPropertyName("Created");
     this.createdDataGridViewTextBoxColumn2.set_HeaderText("Дата создания");
     this.createdDataGridViewTextBoxColumn2.set_Name("createdDataGridViewTextBoxColumn2");
     this.createdDataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.bsNextApartments.set_DataSource(typeof(ApartmentMergeHistory));
     this.label2.set_AutoSize(true);
     this.label2.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.label2.set_Location(new System.Drawing.Point(0, 0));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0xa4, 13));
     this.label2.set_TabIndex(2);
     this.label2.set_Text("Последующие паспорта жилья");
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("CurrentAddressName");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_Width(0x3f);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("CurrentNumber");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Ид.жилья");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_Width(0x51);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("CurrentOwnerName");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Владелец");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_Width(0x51);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Дата слияния/разделения");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_Width(0x99);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("AddressName");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_Width(0x3f);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("Number");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Ид.жилья");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_Width(0x51);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("OwnerName");
     this.dataGridViewTextBoxColumn8.set_HeaderText("Владелец");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_Width(0x51);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn9.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_Width(0x58);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn10.set_HeaderText("Дата выбытия");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_Width(0x61);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("NextAddressName");
     this.dataGridViewTextBoxColumn12.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_Width(0x3f);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("NextNumber");
     this.dataGridViewTextBoxColumn13.set_HeaderText("Ид.жилья");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_Width(0x51);
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("NextOwnerName");
     this.dataGridViewTextBoxColumn14.set_HeaderText("Владелец");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn14.set_Width(0x51);
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn15.set_HeaderText("Дата слияния/разделения");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn15.set_Width(0x99);
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("Created");
     this.dataGridViewTextBoxColumn16.set_HeaderText("Дата создания");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x2d2, 0x1ee));
     base.Controls.Add(this.splitContainer1);
     base.set_Name("ApartmentMergeHistoryForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Слияние/разделение паспортов жилья");
     base.add_Load(new System.EventHandler(this.ApartmentMergeHistoryForm_Load));
     this.bsStreets.EndInit();
     this.bsHouses.EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.dataGridView1.EndInit();
     this.bsPrevApartments.EndInit();
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel1.PerformLayout();
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     this.splitContainer2.ResumeLayout(false);
     this.dgvApartments.EndInit();
     this.bsCurrentApartments.EndInit();
     this.tsApartmentMerge.ResumeLayout(false);
     this.tsApartmentMerge.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.dataGridView3.EndInit();
     this.bsNextApartments.EndInit();
     base.ResumeLayout(false);
 }
コード例 #10
0
 private void InitializeComponent()
 {
     this.btnOk = new System.Windows.Forms.Button();
     this.btnCancel = new System.Windows.Forms.Button();
     this.sfRate = new SelectFasetData();
     this.tbxPrintNames = new System.Windows.Forms.TextBox();
     this.label2 = new System.Windows.Forms.Label();
     this.sfNormRate = new SelectFasetData();
     this.label3 = new System.Windows.Forms.Label();
     this.sfResurce = new SelectFasetData();
     this.cb_splitByPeriod = new System.Windows.Forms.CheckBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(0x25, 0x5e));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label6");
     label.set_Size(new System.Drawing.Size(0x2b, 13));
     label.set_TabIndex(20);
     label.set_Text("Тариф:");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(9, 15));
     label2.set_Margin(new System.Windows.Forms.Padding(0));
     label2.set_Name("label1");
     label2.set_Size(new System.Drawing.Size(0x76, 13));
     label2.set_TabIndex(20);
     label2.set_Text("Дочерние типы услуг:");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(0x25, 0x79));
     label3.set_Margin(new System.Windows.Forms.Padding(0));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(0x3d, 13));
     label3.set_TabIndex(20);
     label3.set_Text("Норматив:");
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(0x25, 0x94));
     label4.set_Margin(new System.Windows.Forms.Padding(0));
     label4.set_Name("label5");
     label4.set_Size(new System.Drawing.Size(0x2e, 13));
     label4.set_TabIndex(20);
     label4.set_Text("Ресурс:");
     this.btnOk.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnOk.set_Location(new System.Drawing.Point(0x16d, 0xb6));
     this.btnOk.set_Name("btnOk");
     this.btnOk.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnOk.set_TabIndex(9);
     this.btnOk.set_UseVisualStyleBackColor(true);
     this.btnOk.add_Click(new System.EventHandler(this.btnOk_Click));
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_Location(new System.Drawing.Point(0x1be, 0xb6));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x4b, 0x17));
     this.btnCancel.set_TabIndex(10);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.sfRate.set_FormattingEnabled(true);
     this.sfRate.set_Location(new System.Drawing.Point(0x89, 0x5b));
     this.sfRate.set_Name("sfRate");
     this.sfRate.set_Size(new System.Drawing.Size(0xd4, 0x15));
     this.sfRate.set_Sorted(true);
     this.sfRate.set_TabIndex(11);
     this.tbxPrintNames.set_Location(new System.Drawing.Point(0x89, 12));
     this.tbxPrintNames.set_Name("tbxPrintNames");
     this.tbxPrintNames.set_ReadOnly(true);
     this.tbxPrintNames.set_Size(new System.Drawing.Size(0x176, 20));
     this.tbxPrintNames.set_TabIndex(0x13);
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(9, 0x29));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0xbb, 13));
     this.label2.set_TabIndex(0x15);
     this.label2.set_Text("Дополнительные свойства группы.");
     this.sfNormRate.set_FormattingEnabled(true);
     this.sfNormRate.set_Location(new System.Drawing.Point(0x89, 0x76));
     this.sfNormRate.set_Name("sfNormRate");
     this.sfNormRate.set_Size(new System.Drawing.Size(0xd4, 0x15));
     this.sfNormRate.set_Sorted(true);
     this.sfNormRate.set_TabIndex(11);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(9, 0x40));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x1f3, 13));
     this.label3.set_TabIndex(0x15);
     this.label3.set_Text("Выберите виды агрегирующих функций для соответствующих данных при сворачивании группы:");
     this.sfResurce.set_FormattingEnabled(true);
     this.sfResurce.set_Location(new System.Drawing.Point(0x89, 0x91));
     this.sfResurce.set_Name("sfResurce");
     this.sfResurce.set_Size(new System.Drawing.Size(0xd4, 0x15));
     this.sfResurce.set_Sorted(true);
     this.sfResurce.set_TabIndex(11);
     this.cb_splitByPeriod.set_AutoSize(true);
     this.cb_splitByPeriod.set_CheckAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.cb_splitByPeriod.set_Location(new System.Drawing.Point(0x24, 0xac));
     this.cb_splitByPeriod.set_Name("cb_splitByPeriod");
     this.cb_splitByPeriod.set_Size(new System.Drawing.Size(0xe3, 0x11));
     this.cb_splitByPeriod.set_TabIndex(0x16);
     this.cb_splitByPeriod.set_Text("Показывать детализацию по периодам");
     this.cb_splitByPeriod.set_UseVisualStyleBackColor(true);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x215, 0xd9));
     base.Controls.Add(this.cb_splitByPeriod);
     base.Controls.Add(this.label3);
     base.Controls.Add(this.label2);
     base.Controls.Add(label2);
     base.Controls.Add(label4);
     base.Controls.Add(label3);
     base.Controls.Add(label);
     base.Controls.Add(this.tbxPrintNames);
     base.Controls.Add(this.sfResurce);
     base.Controls.Add(this.sfNormRate);
     base.Controls.Add(this.sfRate);
     base.Controls.Add(this.btnOk);
     base.Controls.Add(this.btnCancel);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_Name("ServiceTypeGroupConditionAddChangeForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("ServiceTypeGroupConditionAddChangeForm");
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #11
0
 private void InitializeComponent()
 {
     ComponentResourceManager manager = new ComponentResourceManager(typeof(ChangeConnectionsUrlForm));
     this.m_UriBox = new System.Windows.Forms.TextBox();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.m_ResetUriButton = new System.Windows.Forms.ToolStripButton();
     this.m_CancelButton = new System.Windows.Forms.ToolStripButton();
     this.m_SaveButton = new System.Windows.Forms.ToolStripButton();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.m_UriBox.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_UriBox.set_Location(new System.Drawing.Point(12, 0x19));
     this.m_UriBox.set_Name("m_UriBox");
     this.m_UriBox.set_Size(new System.Drawing.Size(0x185, 20));
     this.m_UriBox.set_TabIndex(0);
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(12, 9));
     label.set_Name("label1");
     label.set_Size(new System.Drawing.Size(0x185, 13));
     label.set_TabIndex(3);
     label.set_Text("Адрес Web-сервиса для получения настроек подключения к базам данных");
     this.toolStrip1.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.toolStrip1.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.m_ResetUriButton, this.m_CancelButton, this.m_SaveButton });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0x37));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x19d, 0x19));
     this.toolStrip1.set_TabIndex(4);
     this.toolStrip1.set_Text("toolStrip1");
     this.m_ResetUriButton.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.m_ResetUriButton.set_Image((System.Drawing.Image) manager.GetObject("m_ResetUriButton.Image"));
     this.m_ResetUriButton.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.m_ResetUriButton.set_Name("m_ResetUriButton");
     this.m_ResetUriButton.set_Size(new System.Drawing.Size(0x90, 0x16));
     this.m_ResetUriButton.set_Text("Взять стандартный адрес");
     this.m_ResetUriButton.add_Click(new System.EventHandler(this.m_ResetUriButton_Click));
     this.m_CancelButton.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.m_CancelButton.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.m_CancelButton.set_Image((System.Drawing.Image) manager.GetObject("m_CancelButton.Image"));
     this.m_CancelButton.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.m_CancelButton.set_Name("m_CancelButton");
     this.m_CancelButton.set_Size(new System.Drawing.Size(0x31, 0x16));
     this.m_CancelButton.set_Text("Отмена");
     this.m_CancelButton.add_Click(new System.EventHandler(this.m_CancelButton_Click));
     this.m_SaveButton.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.m_SaveButton.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.m_SaveButton.set_Image((System.Drawing.Image) manager.GetObject("m_SaveButton.Image"));
     this.m_SaveButton.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.m_SaveButton.set_Name("m_SaveButton");
     this.m_SaveButton.set_Size(new System.Drawing.Size(0x42, 0x16));
     this.m_SaveButton.set_Text("Сохранить");
     this.m_SaveButton.add_Click(new System.EventHandler(this.m_SaveButton_Click));
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x19d, 80));
     base.set_ControlBox(false);
     base.Controls.Add(this.toolStrip1);
     base.Controls.Add(label);
     base.Controls.Add(this.m_UriBox);
     this.set_MaximumSize(new System.Drawing.Size(0x7d0, 0x72));
     this.set_MinimumSize(new System.Drawing.Size(0x1a0, 0x72));
     base.set_Name("ChangeConnectionsUrlForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("Введите адрес");
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #12
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.m_ServicesBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_StreetsBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_HousesBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_SettlementsBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_Grid = new System.Windows.Forms.DataGridView();
     this.includeDataGridViewCheckBoxColumn = new System.Windows.Forms.DataGridViewCheckBoxColumn();
     this.flatNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.apartmentNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.abonentDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ownershipTypeDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.monthCountDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.chargeSummDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.m_GridBS = new System.Windows.Forms.BindingSource(this.components);
     this.m_SaveCalcButton = new System.Windows.Forms.Button();
     this.m_PreprocessMonths = new System.Windows.Forms.NumericUpDown();
     this.m_PreprocessButton = new System.Windows.Forms.Button();
     this.m_SearchButton = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.chbxNotChargeMunicipal = new System.Windows.Forms.CheckBox();
     this.chbxValidateNegativeSumm = new System.Windows.Forms.CheckBox();
     this.m_ExcludeAllButton = new System.Windows.Forms.Button();
     this.m_PreprocessDate = new DateBox();
     this.m_IncludeAllButton = new System.Windows.Forms.Button();
     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.selectOrganization1 = new SelectOrganization();
     this.m_FindWorker = new BackgroundWorker();
     this.m_ExecWorker = new BackgroundWorker();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label5 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label6 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label7 = new System.Windows.Forms.Label();
     System.Windows.Forms.Label label8 = new System.Windows.Forms.Label();
     System.Windows.Forms.ComboBox box = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box2 = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box3 = new System.Windows.Forms.ComboBox();
     System.Windows.Forms.ComboBox box4 = new System.Windows.Forms.ComboBox();
     this.m_ServicesBS.BeginInit();
     this.m_StreetsBS.BeginInit();
     this.m_HousesBS.BeginInit();
     this.m_SettlementsBS.BeginInit();
     this.m_Grid.BeginInit();
     this.m_GridBS.BeginInit();
     this.m_PreprocessMonths.BeginInit();
     this.groupBox1.SuspendLayout();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(9, 6));
     label.set_Name("label1");
     label.set_Size(new System.Drawing.Size(0x41, 13));
     label.set_TabIndex(1);
     label.set_Text("Поставщик");
     label2.set_AutoSize(true);
     label2.set_Location(new System.Drawing.Point(9, 0x20));
     label2.set_Name("label2");
     label2.set_Size(new System.Drawing.Size(0x2b, 13));
     label2.set_TabIndex(2);
     label2.set_Text("Услуга");
     label3.set_AutoSize(true);
     label3.set_Location(new System.Drawing.Point(9, 0x3b));
     label3.set_Name("label4");
     label3.set_Size(new System.Drawing.Size(70, 13));
     label3.set_TabIndex(9);
     label3.set_Text("Насел.пункт");
     label4.set_AutoSize(true);
     label4.set_Location(new System.Drawing.Point(0x11b, 0x3b));
     label4.set_Name("label5");
     label4.set_Size(new System.Drawing.Size(0x27, 13));
     label4.set_TabIndex(9);
     label4.set_Text("Улица");
     label5.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     label5.set_AutoSize(true);
     label5.set_Location(new System.Drawing.Point(0x242, 0x3b));
     label5.set_Name("label6");
     label5.set_Size(new System.Drawing.Size(30, 13));
     label5.set_TabIndex(9);
     label5.set_Text("Дом");
     label6.set_AutoSize(true);
     label6.set_Location(new System.Drawing.Point(3, 0x2f));
     label6.set_Name("label7");
     label6.set_Size(new System.Drawing.Size(0x69, 13));
     label6.set_TabIndex(12);
     label6.set_Text("Начисление с даты");
     label7.set_AutoSize(true);
     label7.set_Location(new System.Drawing.Point(220, 0x2f));
     label7.set_Name("label8");
     label7.set_Size(new System.Drawing.Size(90, 13));
     label7.set_TabIndex(12);
     label7.set_Text("с рассрочкой на");
     label8.set_AutoSize(true);
     label8.set_Location(new System.Drawing.Point(0x16d, 0x2f));
     label8.set_Name("label9");
     label8.set_Size(new System.Drawing.Size(0x33, 13));
     label8.set_TabIndex(12);
     label8.set_Text("месяцев");
     box.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     box.set_DataSource(this.m_ServicesBS);
     box.set_DisplayMember("CodeName");
     box.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     box.set_FormattingEnabled(true);
     box.set_Location(new System.Drawing.Point(0x55, 0x1d));
     box.set_Name("comboBox1");
     box.set_Size(new System.Drawing.Size(0x2b5, 0x15));
     box.set_TabIndex(3);
     this.m_ServicesBS.set_DataSource(typeof(ServiceOld));
     box2.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     box2.set_DataSource(this.m_StreetsBS);
     box2.set_DisplayMember("Name");
     box2.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     box2.set_FormattingEnabled(true);
     box2.set_Location(new System.Drawing.Point(0x148, 0x38));
     box2.set_Name("comboBox2");
     box2.set_Size(new System.Drawing.Size(0xf4, 0x15));
     box2.set_TabIndex(6);
     this.m_StreetsBS.set_DataSource(typeof(LocalAddress));
     this.m_StreetsBS.add_CurrentChanged(new System.EventHandler(this.m_StreetsBS_CurrentChanged));
     box3.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     box3.set_DataSource(this.m_HousesBS);
     box3.set_DisplayMember("Name");
     box3.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     box3.set_FormattingEnabled(true);
     box3.set_Location(new System.Drawing.Point(0x266, 0x38));
     box3.set_Name("comboBox3");
     box3.set_Size(new System.Drawing.Size(0x48, 0x15));
     box3.set_TabIndex(7);
     this.m_HousesBS.set_DataSource(typeof(LocalAddress));
     box4.set_DataSource(this.m_SettlementsBS);
     box4.set_DisplayMember("Name");
     box4.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     box4.set_FormattingEnabled(true);
     box4.set_Location(new System.Drawing.Point(0x55, 0x38));
     box4.set_Name("comboBox4");
     box4.set_Size(new System.Drawing.Size(0xc0, 0x15));
     box4.set_TabIndex(8);
     this.m_SettlementsBS.set_DataSource(typeof(LocalAddress));
     this.m_SettlementsBS.add_CurrentChanged(new System.EventHandler(this.m_SettlementsBS_CurrentChanged));
     this.m_Grid.set_AllowUserToAddRows(false);
     this.m_Grid.set_AllowUserToDeleteRows(false);
     this.m_Grid.set_AllowUserToOrderColumns(true);
     this.m_Grid.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.m_Grid.set_AutoGenerateColumns(false);
     this.m_Grid.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.m_Grid.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.m_Grid.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.m_Grid.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.includeDataGridViewCheckBoxColumn, this.flatNumberDataGridViewTextBoxColumn, this.apartmentNumberDataGridViewTextBoxColumn, this.abonentDataGridViewTextBoxColumn, this.ownershipTypeDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.monthCountDataGridViewTextBoxColumn, this.chargeSummDataGridViewTextBoxColumn });
     this.m_Grid.set_DataSource(this.m_GridBS);
     this.m_Grid.set_Location(new System.Drawing.Point(12, 0xa4));
     this.m_Grid.set_Name("m_Grid");
     this.m_Grid.set_RowHeadersVisible(false);
     this.m_Grid.set_Size(new System.Drawing.Size(0x2fe, 0x185));
     this.m_Grid.set_TabIndex(10);
     this.m_Grid.add_CellValidating(new System.Windows.Forms.DataGridViewCellValidatingEventHandler(this.m_Grid_CellValidating));
     this.m_Grid.add_CellPainting(new System.Windows.Forms.DataGridViewCellPaintingEventHandler(this.m_Grid_CellPainting));
     this.includeDataGridViewCheckBoxColumn.set_AutoSizeMode(System.Windows.Forms.DataGridViewAutoSizeColumnMode.None);
     this.includeDataGridViewCheckBoxColumn.set_DataPropertyName("Include");
     this.includeDataGridViewCheckBoxColumn.set_HeaderText("");
     this.includeDataGridViewCheckBoxColumn.set_Name("includeDataGridViewCheckBoxColumn");
     this.includeDataGridViewCheckBoxColumn.set_Width(0x20);
     this.flatNumberDataGridViewTextBoxColumn.set_DataPropertyName("FlatNumber");
     this.flatNumberDataGridViewTextBoxColumn.set_HeaderText("Квартира");
     this.flatNumberDataGridViewTextBoxColumn.set_Name("flatNumberDataGridViewTextBoxColumn");
     this.flatNumberDataGridViewTextBoxColumn.set_Width(80);
     this.apartmentNumberDataGridViewTextBoxColumn.set_DataPropertyName("ApartmentNumber");
     this.apartmentNumberDataGridViewTextBoxColumn.set_HeaderText("Ид жилья");
     this.apartmentNumberDataGridViewTextBoxColumn.set_Name("apartmentNumberDataGridViewTextBoxColumn");
     this.apartmentNumberDataGridViewTextBoxColumn.set_Width(0x4b);
     this.abonentDataGridViewTextBoxColumn.set_DataPropertyName("Abonent");
     this.abonentDataGridViewTextBoxColumn.set_HeaderText("Абонент");
     this.abonentDataGridViewTextBoxColumn.set_Name("abonentDataGridViewTextBoxColumn");
     this.abonentDataGridViewTextBoxColumn.set_Width(0x4a);
     this.ownershipTypeDataGridViewTextBoxColumn.set_DataPropertyName("OwnershipType");
     this.ownershipTypeDataGridViewTextBoxColumn.set_HeaderText("Тип собственности");
     this.ownershipTypeDataGridViewTextBoxColumn.set_Name("ownershipTypeDataGridViewTextBoxColumn");
     this.ownershipTypeDataGridViewTextBoxColumn.set_Width(0x77);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("С даты");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_Width(0x3e);
     this.monthCountDataGridViewTextBoxColumn.set_DataPropertyName("MonthCount");
     this.monthCountDataGridViewTextBoxColumn.set_HeaderText("Месяцев");
     this.monthCountDataGridViewTextBoxColumn.set_Name("monthCountDataGridViewTextBoxColumn");
     this.monthCountDataGridViewTextBoxColumn.set_Width(0x4d);
     this.chargeSummDataGridViewTextBoxColumn.set_DataPropertyName("ChargeSumm");
     this.chargeSummDataGridViewTextBoxColumn.set_HeaderText("Сумма начислений");
     this.chargeSummDataGridViewTextBoxColumn.set_Name("chargeSummDataGridViewTextBoxColumn");
     this.chargeSummDataGridViewTextBoxColumn.set_Width(0x75);
     this.m_GridBS.set_DataSource(typeof(FixedSummServiceView));
     this.m_SaveCalcButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.m_SaveCalcButton.set_Location(new System.Drawing.Point(0x2a7, 0x22f));
     this.m_SaveCalcButton.set_Name("m_SaveCalcButton");
     this.m_SaveCalcButton.set_Size(new System.Drawing.Size(0x63, 0x17));
     this.m_SaveCalcButton.set_TabIndex(15);
     this.m_SaveCalcButton.set_Text("Выполнить");
     this.m_SaveCalcButton.set_UseVisualStyleBackColor(true);
     this.m_SaveCalcButton.add_Click(new System.EventHandler(this.m_SaveCalcButton_Click));
     this.m_PreprocessMonths.set_Location(new System.Drawing.Point(0x13c, 0x2c));
     int[] numArray = new int[4];
     numArray[0] = 0x3e7;
     this.m_PreprocessMonths.set_Maximum(new decimal(numArray));
     int[] numArray2 = new int[4];
     numArray2[0] = 1;
     this.m_PreprocessMonths.set_Minimum(new decimal(numArray2));
     this.m_PreprocessMonths.set_Name("m_PreprocessMonths");
     this.m_PreprocessMonths.set_Size(new System.Drawing.Size(0x2b, 20));
     this.m_PreprocessMonths.set_TabIndex(13);
     int[] numArray3 = new int[4];
     numArray3[0] = 12;
     this.m_PreprocessMonths.set_Value(new decimal(numArray3));
     this.m_PreprocessButton.set_Image(Resources.PROCESS);
     this.m_PreprocessButton.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_PreprocessButton.set_Location(new System.Drawing.Point(0x1a6, 0x27));
     this.m_PreprocessButton.set_Name("m_PreprocessButton");
     this.m_PreprocessButton.set_Size(new System.Drawing.Size(0x69, 0x1a));
     this.m_PreprocessButton.set_TabIndex(14);
     this.m_PreprocessButton.set_Text("Подготовить");
     this.m_PreprocessButton.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_PreprocessButton.set_UseVisualStyleBackColor(true);
     this.m_PreprocessButton.add_Click(new System.EventHandler(this.m_PreprocessButton_Click));
     this.m_SearchButton.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Top);
     this.m_SearchButton.set_Image(Resources.SEARCH);
     this.m_SearchButton.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_SearchButton.set_Location(new System.Drawing.Point(0x2b4, 0x34));
     this.m_SearchButton.set_Name("m_SearchButton");
     this.m_SearchButton.set_Size(new System.Drawing.Size(0x56, 0x1c));
     this.m_SearchButton.set_TabIndex(14);
     this.m_SearchButton.set_Text("Поиск");
     this.m_SearchButton.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_SearchButton.set_UseVisualStyleBackColor(true);
     this.m_SearchButton.add_Click(new System.EventHandler(this.m_SearchButton_Click));
     this.groupBox1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox1.Controls.Add(this.chbxNotChargeMunicipal);
     this.groupBox1.Controls.Add(label6);
     this.groupBox1.Controls.Add(this.chbxValidateNegativeSumm);
     this.groupBox1.Controls.Add(this.m_ExcludeAllButton);
     this.groupBox1.Controls.Add(this.m_PreprocessDate);
     this.groupBox1.Controls.Add(this.m_IncludeAllButton);
     this.groupBox1.Controls.Add(label7);
     this.groupBox1.Controls.Add(this.m_PreprocessButton);
     this.groupBox1.Controls.Add(label8);
     this.groupBox1.Controls.Add(this.m_PreprocessMonths);
     this.groupBox1.set_Location(new System.Drawing.Point(12, 0x56));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Size(new System.Drawing.Size(0x2fe, 0x48));
     this.groupBox1.set_TabIndex(0x10);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Работа с результатом поиска");
     this.chbxNotChargeMunicipal.set_AutoSize(true);
     this.chbxNotChargeMunicipal.set_Checked(true);
     this.chbxNotChargeMunicipal.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chbxNotChargeMunicipal.set_Location(new System.Drawing.Point(0xfb, 0x13));
     this.chbxNotChargeMunicipal.set_Name("chbxNotChargeMunicipal");
     this.chbxNotChargeMunicipal.set_Size(new System.Drawing.Size(0xdd, 0x11));
     this.chbxNotChargeMunicipal.set_TabIndex(0x12);
     this.chbxNotChargeMunicipal.set_Text("Не начислять муниципальному жилью");
     this.chbxNotChargeMunicipal.set_UseVisualStyleBackColor(true);
     this.chbxNotChargeMunicipal.add_CheckedChanged(new System.EventHandler(this.chbxNotChargeMunicipal_CheckedChanged));
     this.chbxValidateNegativeSumm.set_AutoSize(true);
     this.chbxValidateNegativeSumm.set_Checked(true);
     this.chbxValidateNegativeSumm.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.chbxValidateNegativeSumm.set_Location(new System.Drawing.Point(0x1de, 0x15));
     this.chbxValidateNegativeSumm.set_Name("chbxValidateNegativeSumm");
     this.chbxValidateNegativeSumm.set_Size(new System.Drawing.Size(0xf2, 0x11));
     this.chbxValidateNegativeSumm.set_TabIndex(0x10);
     this.chbxValidateNegativeSumm.set_Text("Ограничение ввода отрицательной суммы");
     this.chbxValidateNegativeSumm.set_UseVisualStyleBackColor(true);
     this.m_ExcludeAllButton.set_FlatStyle(System.Windows.Forms.FlatStyle.Popup);
     this.m_ExcludeAllButton.set_Image(Resources.CANCEL);
     this.m_ExcludeAllButton.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_ExcludeAllButton.set_Location(new System.Drawing.Point(0x72, 15));
     this.m_ExcludeAllButton.set_Name("m_ExcludeAllButton");
     this.m_ExcludeAllButton.set_Size(new System.Drawing.Size(0x83, 0x17));
     this.m_ExcludeAllButton.set_TabIndex(14);
     this.m_ExcludeAllButton.set_Text("Убрать выделение");
     this.m_ExcludeAllButton.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_ExcludeAllButton.set_UseVisualStyleBackColor(true);
     this.m_ExcludeAllButton.add_Click(new System.EventHandler(this.m_ExcludeAllButton_Click));
     this.m_PreprocessDate.AttachToPeriod = false;
     this.m_PreprocessDate.AttachToPeriodEnd = false;
     this.m_PreprocessDate.set_Location(new System.Drawing.Point(0x72, 0x2c));
     this.m_PreprocessDate.set_Mask("00/00/0000");
     this.m_PreprocessDate.set_Name("m_PreprocessDate");
     this.m_PreprocessDate.set_Size(new System.Drawing.Size(100, 20));
     this.m_PreprocessDate.set_TabIndex(11);
     this.m_IncludeAllButton.set_FlatStyle(System.Windows.Forms.FlatStyle.Popup);
     this.m_IncludeAllButton.set_Image(Resources.ENABLED);
     this.m_IncludeAllButton.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.m_IncludeAllButton.set_Location(new System.Drawing.Point(8, 13));
     this.m_IncludeAllButton.set_Name("m_IncludeAllButton");
     this.m_IncludeAllButton.set_Size(new System.Drawing.Size(100, 0x19));
     this.m_IncludeAllButton.set_TabIndex(14);
     this.m_IncludeAllButton.set_Text("Выбрать все");
     this.m_IncludeAllButton.set_TextAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.m_IncludeAllButton.set_UseVisualStyleBackColor(true);
     this.m_IncludeAllButton.add_Click(new System.EventHandler(this.m_IncludeAllButton_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("FlatNumber");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Квартира");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_Width(80);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("ApartmentNumber");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Ид жилья");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_Width(0x4b);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("Abonent");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Абонент");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_Width(0x4a);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("OwnershipType");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Тип собственности");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_Width(0x77);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("From");
     this.dataGridViewTextBoxColumn5.set_HeaderText("С даты");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(0x3e);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("MonthCount");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Месяцев");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_Width(0x4d);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("ChargeSumm");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Сумма начислений");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_Width(0x75);
     this.selectOrganization1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.selectOrganization1.IsCashlessTransferrer = false;
     this.selectOrganization1.IsHouseHolder = false;
     this.selectOrganization1.IsPaymentAgent = false;
     this.selectOrganization1.IsResourceProvider = false;
     this.selectOrganization1.IsServiceProvider = false;
     this.selectOrganization1.set_Location(new System.Drawing.Point(0x55, 3));
     this.selectOrganization1.set_Name("selectOrganization1");
     this.selectOrganization1.set_Size(new System.Drawing.Size(0x2b5, 20));
     this.selectOrganization1.set_TabIndex(0);
     this.selectOrganization1.OnOrganizationSelected += new OrganizationHandler(this.selectOrganization1_OnOrganizationSelected);
     this.m_FindWorker.add_DoWork(new DoWorkEventHandler(this.m_FindWorker_DoWork));
     this.m_FindWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_FindWorker_RunWorkerCompleted));
     this.m_ExecWorker.add_DoWork(new DoWorkEventHandler(this.m_ExecWorker_DoWork));
     this.m_ExecWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.m_ExecWorker_RunWorkerCompleted));
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(790, 0x24d));
     base.Controls.Add(this.groupBox1);
     base.Controls.Add(this.m_SaveCalcButton);
     base.Controls.Add(this.m_SearchButton);
     base.Controls.Add(this.m_Grid);
     base.Controls.Add(label5);
     base.Controls.Add(label4);
     base.Controls.Add(label3);
     base.Controls.Add(box4);
     base.Controls.Add(box3);
     base.Controls.Add(box2);
     base.Controls.Add(box);
     base.Controls.Add(label2);
     base.Controls.Add(label);
     base.Controls.Add(this.selectOrganization1);
     base.set_MinimizeBox(false);
     this.set_MinimumSize(new System.Drawing.Size(0x24f, 0x156));
     base.set_Name("AddFixedSummServicesForm");
     base.set_ShowIcon(false);
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("Разовое начисление по адресам");
     base.add_Load(new System.EventHandler(this.AddFixedSummServicesForm_Load));
     this.m_ServicesBS.EndInit();
     this.m_StreetsBS.EndInit();
     this.m_HousesBS.EndInit();
     this.m_SettlementsBS.EndInit();
     this.m_Grid.EndInit();
     this.m_GridBS.EndInit();
     this.m_PreprocessMonths.EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     base.ResumeLayout(false);
     base.PerformLayout();
 }
コード例 #13
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.gbOwner = new System.Windows.Forms.GroupBox();
     this.selectTypeOwnerFasetName = new SelectFasetData();
     this.label10 = new System.Windows.Forms.Label();
     this.label8 = new System.Windows.Forms.Label();
     this.nmDenom = new System.Windows.Forms.NumericUpDown();
     this.m_ApartmentOwnerBS = new System.Windows.Forms.BindingSource(this.components);
     this.nmNum = new System.Windows.Forms.NumericUpDown();
     this.tbPrintName = new System.Windows.Forms.TextBox();
     this.dbToDate = new DateBox();
     this.label1 = new System.Windows.Forms.Label();
     this.m_OwnerSelection = new SelectOwner();
     this.label9 = new System.Windows.Forms.Label();
     this.dbFromDate = new DateBox();
     this.label7 = new System.Windows.Forms.Label();
     this.label6 = new System.Windows.Forms.Label();
     this.label5 = new System.Windows.Forms.Label();
     this.gbDoc = new System.Windows.Forms.GroupBox();
     this.tbDoc = new System.Windows.Forms.TextBox();
     this.label4 = new System.Windows.Forms.Label();
     this.label3 = new System.Windows.Forms.Label();
     this.dbDateDoc = new DateBox();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.tbSaleContract = new System.Windows.Forms.TextBox();
     this.label11 = new System.Windows.Forms.Label();
     this.label12 = new System.Windows.Forms.Label();
     this.dbSaleContractDate = new DateBox();
     System.Windows.Forms.Label label = new System.Windows.Forms.Label();
     this.gbOwner.SuspendLayout();
     this.nmDenom.BeginInit();
     this.m_ApartmentOwnerBS.BeginInit();
     this.nmNum.BeginInit();
     this.gbDoc.SuspendLayout();
     this.groupBox1.SuspendLayout();
     base.SuspendLayout();
     label.set_AutoSize(true);
     label.set_Location(new System.Drawing.Point(9, 0x6f));
     label.set_Margin(new System.Windows.Forms.Padding(0));
     label.set_Name("label2");
     label.set_Size(new System.Drawing.Size(0x5d, 13));
     label.set_TabIndex(20);
     label.set_Text("Отображать как:");
     this.gbOwner.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbOwner.Controls.Add(this.selectTypeOwnerFasetName);
     this.gbOwner.Controls.Add(this.label10);
     this.gbOwner.Controls.Add(this.label8);
     this.gbOwner.Controls.Add(this.nmDenom);
     this.gbOwner.Controls.Add(this.nmNum);
     this.gbOwner.Controls.Add(label);
     this.gbOwner.Controls.Add(this.tbPrintName);
     this.gbOwner.Controls.Add(this.dbToDate);
     this.gbOwner.Controls.Add(this.label1);
     this.gbOwner.Controls.Add(this.m_OwnerSelection);
     this.gbOwner.Controls.Add(this.label9);
     this.gbOwner.Controls.Add(this.dbFromDate);
     this.gbOwner.Controls.Add(this.label7);
     this.gbOwner.Controls.Add(this.label6);
     this.gbOwner.Controls.Add(this.label5);
     this.gbOwner.set_Location(new System.Drawing.Point(2, 2));
     this.gbOwner.set_Margin(new System.Windows.Forms.Padding(2));
     this.gbOwner.set_Name("gbOwner");
     this.gbOwner.set_Padding(new System.Windows.Forms.Padding(2));
     this.gbOwner.set_Size(new System.Drawing.Size(0x20f, 0xf2));
     this.gbOwner.set_TabIndex(5);
     this.gbOwner.set_TabStop(false);
     this.gbOwner.set_Text("Владелец");
     this.selectTypeOwnerFasetName.set_FormattingEnabled(true);
     this.selectTypeOwnerFasetName.set_Location(new System.Drawing.Point(0x95, 0xcf));
     this.selectTypeOwnerFasetName.set_Name("selectTypeOwnerFasetName");
     this.selectTypeOwnerFasetName.set_Size(new System.Drawing.Size(0x16b, 0x15));
     this.selectTypeOwnerFasetName.set_Sorted(true);
     this.selectTypeOwnerFasetName.set_TabIndex(0x18);
     this.label10.set_AutoSize(true);
     this.label10.set_Location(new System.Drawing.Point(8, 0xd0));
     this.label10.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label10.set_Name("label10");
     this.label10.set_Size(new System.Drawing.Size(0x4d, 13));
     this.label10.set_TabIndex(0x17);
     this.label10.set_Text("Тип владения");
     this.label8.set_AutoSize(true);
     this.label8.set_Location(new System.Drawing.Point(8, 0xdd));
     this.label8.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label8.set_Name("label8");
     this.label8.set_Size(new System.Drawing.Size(0x5e, 13));
     this.label8.set_TabIndex(0x15);
     this.label8.set_Text("собственностью:");
     this.nmDenom.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwnerBS, "Denom", true));
     this.nmDenom.set_Location(new System.Drawing.Point(0xf8, 130));
     int[] numArray = new int[4];
     numArray[0] = 0x3e8;
     this.nmDenom.set_Maximum(new decimal(numArray));
     int[] numArray2 = new int[4];
     numArray2[0] = 1;
     this.nmDenom.set_Minimum(new decimal(numArray2));
     this.nmDenom.set_Name("nmDenom");
     this.nmDenom.set_Size(new System.Drawing.Size(0x4d, 20));
     this.nmDenom.set_TabIndex(4);
     int[] numArray3 = new int[4];
     numArray3[0] = 1;
     this.nmDenom.set_Value(new decimal(numArray3));
     this.m_ApartmentOwnerBS.set_DataSource(typeof(ApartmentOwner));
     this.nmNum.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwnerBS, "Num", true));
     this.nmNum.set_Location(new System.Drawing.Point(0x95, 130));
     int[] numArray4 = new int[4];
     numArray4[0] = 0x3e8;
     this.nmNum.set_Maximum(new decimal(numArray4));
     this.nmNum.set_Name("nmNum");
     this.nmNum.set_Size(new System.Drawing.Size(0x4d, 20));
     this.nmNum.set_TabIndex(3);
     int[] numArray5 = new int[4];
     numArray5[0] = 1;
     this.nmNum.set_Value(new decimal(numArray5));
     this.tbPrintName.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbPrintName.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_ApartmentOwnerBS, "PrintName", true));
     this.tbPrintName.set_Location(new System.Drawing.Point(0x95, 0x68));
     this.tbPrintName.set_Name("tbPrintName");
     this.tbPrintName.set_Size(new System.Drawing.Size(0x16b, 20));
     this.tbPrintName.set_TabIndex(2);
     this.dbToDate.AttachToPeriod = false;
     this.dbToDate.AttachToPeriodEnd = false;
     this.dbToDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwnerBS, "ToDate", true));
     this.dbToDate.set_Location(new System.Drawing.Point(0x95, 0xb6));
     this.dbToDate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbToDate.set_Mask("00/00/0000");
     this.dbToDate.set_Name("dbToDate");
     this.dbToDate.set_Size(new System.Drawing.Size(90, 20));
     this.dbToDate.set_TabIndex(6);
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(9, 0xb9));
     this.label1.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x8e, 13));
     this.label1.set_TabIndex(0x10);
     this.label1.set_Text("Дата окончания действия:");
     this.m_OwnerSelection.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.m_OwnerSelection.set_Location(new System.Drawing.Point(12, 20));
     this.m_OwnerSelection.set_Margin(new System.Windows.Forms.Padding(4));
     this.m_OwnerSelection.set_Name("m_OwnerSelection");
     this.m_OwnerSelection.set_Size(new System.Drawing.Size(0x1f6, 0x53));
     this.m_OwnerSelection.set_TabIndex(1);
     this.m_OwnerSelection.OnOwnerSelected += new OwnerHandler(this.m_OwnerSelection_OnOwnerSelected);
     this.label9.set_AutoSize(true);
     this.label9.set_Location(new System.Drawing.Point(0xe7, 0x87));
     this.label9.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label9.set_Name("label9");
     this.label9.set_Size(new System.Drawing.Size(12, 13));
     this.label9.set_TabIndex(15);
     this.label9.set_Text("/");
     this.dbFromDate.AttachToPeriod = false;
     this.dbFromDate.AttachToPeriodEnd = false;
     this.dbFromDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwnerBS, "FromDate", true));
     this.dbFromDate.set_Location(new System.Drawing.Point(0x95, 0x9d));
     this.dbFromDate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbFromDate.set_Mask("00/00/0000");
     this.dbFromDate.set_Name("dbFromDate");
     this.dbFromDate.set_Size(new System.Drawing.Size(90, 20));
     this.dbFromDate.set_TabIndex(5);
     this.label7.set_AutoSize(true);
     this.label7.set_Location(new System.Drawing.Point(9, 0x87));
     this.label7.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label7.set_Name("label7");
     this.label7.set_Size(new System.Drawing.Size(0x74, 13));
     this.label7.set_TabIndex(9);
     this.label7.set_Text("Доля собственности:");
     this.label6.set_AutoSize(true);
     this.label6.set_Location(new System.Drawing.Point(9, 160));
     this.label6.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label6.set_Name("label6");
     this.label6.set_Size(new System.Drawing.Size(0x7c, 13));
     this.label6.set_TabIndex(7);
     this.label6.set_Text("Дата начала действия:");
     this.label5.set_AutoSize(true);
     this.label5.set_Location(new System.Drawing.Point(4, 0x4a));
     this.label5.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label5.set_Name("label5");
     this.label5.set_Size(new System.Drawing.Size(0, 13));
     this.label5.set_TabIndex(6);
     this.gbDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.gbDoc.Controls.Add(this.tbDoc);
     this.gbDoc.Controls.Add(this.label4);
     this.gbDoc.Controls.Add(this.label3);
     this.gbDoc.Controls.Add(this.dbDateDoc);
     this.gbDoc.set_Location(new System.Drawing.Point(2, 0xf8));
     this.gbDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.gbDoc.set_Name("gbDoc");
     this.gbDoc.set_Padding(new System.Windows.Forms.Padding(2));
     this.gbDoc.set_Size(new System.Drawing.Size(0x20f, 0x44));
     this.gbDoc.set_TabIndex(6);
     this.gbDoc.set_TabStop(false);
     this.gbDoc.set_Text("Документ");
     this.tbDoc.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbDoc.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_ApartmentOwnerBS, "Doc", true));
     this.tbDoc.set_Location(new System.Drawing.Point(0x95, 0x11));
     this.tbDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.tbDoc.set_Name("tbDoc");
     this.tbDoc.set_Size(new System.Drawing.Size(0x16b, 20));
     this.tbDoc.set_TabIndex(1);
     this.label4.set_AutoSize(true);
     this.label4.set_Location(new System.Drawing.Point(7, 20));
     this.label4.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label4.set_Name("label4");
     this.label4.set_Size(new System.Drawing.Size(0x56, 13));
     this.label4.set_TabIndex(2);
     this.label4.set_Text("Наименование:");
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(6, 0x2c));
     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(0x24, 13));
     this.label3.set_TabIndex(1);
     this.label3.set_Text("Дата:");
     this.dbDateDoc.AttachToPeriod = false;
     this.dbDateDoc.AttachToPeriodEnd = false;
     this.dbDateDoc.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwnerBS, "DateDoc", true));
     this.dbDateDoc.set_Location(new System.Drawing.Point(0x95, 0x2c));
     this.dbDateDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbDateDoc.set_Mask("00/00/0000");
     this.dbDateDoc.set_Name("dbDateDoc");
     this.dbDateDoc.set_Size(new System.Drawing.Size(90, 20));
     this.dbDateDoc.set_TabIndex(2);
     this.groupBox1.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.groupBox1.Controls.Add(this.tbSaleContract);
     this.groupBox1.Controls.Add(this.label11);
     this.groupBox1.Controls.Add(this.label12);
     this.groupBox1.Controls.Add(this.dbSaleContractDate);
     this.groupBox1.set_Location(new System.Drawing.Point(2, 320));
     this.groupBox1.set_Margin(new System.Windows.Forms.Padding(2));
     this.groupBox1.set_Name("groupBox1");
     this.groupBox1.set_Padding(new System.Windows.Forms.Padding(2));
     this.groupBox1.set_Size(new System.Drawing.Size(0x20f, 0x44));
     this.groupBox1.set_TabIndex(7);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Договор купли-продажи");
     this.tbSaleContract.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Top);
     this.tbSaleContract.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.m_ApartmentOwnerBS, "SaleContract", true));
     this.tbSaleContract.set_Location(new System.Drawing.Point(0x95, 0x11));
     this.tbSaleContract.set_Margin(new System.Windows.Forms.Padding(2));
     this.tbSaleContract.set_Name("tbSaleContract");
     this.tbSaleContract.set_Size(new System.Drawing.Size(0x16a, 20));
     this.tbSaleContract.set_TabIndex(1);
     this.label11.set_AutoSize(true);
     this.label11.set_Location(new System.Drawing.Point(9, 20));
     this.label11.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label11.set_Name("label11");
     this.label11.set_Size(new System.Drawing.Size(0x56, 13));
     this.label11.set_TabIndex(2);
     this.label11.set_Text("Наименование:");
     this.label12.set_AutoSize(true);
     this.label12.set_Location(new System.Drawing.Point(9, 0x2c));
     this.label12.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.label12.set_Name("label12");
     this.label12.set_Size(new System.Drawing.Size(0x24, 13));
     this.label12.set_TabIndex(1);
     this.label12.set_Text("Дата:");
     this.dbSaleContractDate.AttachToPeriod = false;
     this.dbSaleContractDate.AttachToPeriodEnd = false;
     this.dbSaleContractDate.DataBindings.Add(new System.Windows.Forms.Binding("Value", this.m_ApartmentOwnerBS, "SaleContractDate", true));
     this.dbSaleContractDate.set_Location(new System.Drawing.Point(0x95, 0x2c));
     this.dbSaleContractDate.set_Margin(new System.Windows.Forms.Padding(2));
     this.dbSaleContractDate.set_Mask("00/00/0000");
     this.dbSaleContractDate.set_Name("dbSaleContractDate");
     this.dbSaleContractDate.set_Size(new System.Drawing.Size(90, 20));
     this.dbSaleContractDate.set_TabIndex(2);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.Controls.Add(this.groupBox1);
     base.Controls.Add(this.gbDoc);
     base.Controls.Add(this.gbOwner);
     base.set_Name("ApartmentInfoMimOwnerView");
     base.set_Size(new System.Drawing.Size(0x213, 0x1da));
     this.gbOwner.ResumeLayout(false);
     this.gbOwner.PerformLayout();
     this.nmDenom.EndInit();
     this.m_ApartmentOwnerBS.EndInit();
     this.nmNum.EndInit();
     this.gbDoc.ResumeLayout(false);
     this.gbDoc.PerformLayout();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     base.ResumeLayout(false);
 }