예제 #1
0
 public void AddTree(AreaAddressesTree areaAddressesTreeSource)
 {
     System.Collections.Generic.List<System.Windows.Forms.TreeNode> selectedNodes = areaAddressesTreeSource.SelectedNodes;
     areaAddressesTreeSource.Remove();
     foreach (System.Windows.Forms.TreeNode node in selectedNodes)
     {
         AddressesNode node2 = (AddressesNode) node;
         node2.NullDelete();
         if (node2.Nodes.get_Count() == 0)
         {
             this.RemoveNode(node2);
             this.AddNode(new AddressesNode((LocalAddress) node2.get_Tag()));
         }
         else
         {
             ObjectList<LocalAddress> addresses = new ObjectList<LocalAddress>();
             this.GetLeaves(addresses, node2);
             if (addresses.get_Count() != 0)
             {
                 foreach (LocalAddress address in addresses)
                 {
                     AddressesNode nodeByAddress = this.GetNodeByAddress(address);
                     if (nodeByAddress != null)
                     {
                         this.RemoveNode(nodeByAddress);
                     }
                     this.AddNode(new AddressesNode(address));
                 }
             }
         }
     }
     base.Sort();
     this.OnPaintRoots();
     areaAddressesTreeSource.OnPaintRoots();
     if (selectedNodes.get_Count() != 0)
     {
         System.Collections.Generic.List<System.Windows.Forms.TreeNode> list3 = new System.Collections.Generic.List<System.Windows.Forms.TreeNode>();
         foreach (System.Windows.Forms.TreeNode node4 in selectedNodes)
         {
             AddressesNode node5 = this.GetNode(this, (AddressesNode) node4);
             if (node5 != null)
             {
                 list3.Add(node5);
                 if (node5.Parent != null)
                 {
                     node5.Parent.EnsureVisible();
                     node5.Parent.Expand();
                 }
             }
         }
         base.SelectedNodes = list3;
         if (this.OnChangeSelectAddresses != null)
         {
             this.OnChangeSelectAddresses();
         }
     }
 }
예제 #2
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.bsAreas = new System.Windows.Forms.BindingSource(this.components);
     this.bwArea = new BackgroundWorker();
     this.bsAreaGroups = new System.Windows.Forms.BindingSource(this.components);
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.areaAddressesTreeSource = new AreaAddressesTree();
     this.tsExclude = new System.Windows.Forms.ToolStrip();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.tsbRight = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.areaAddressesTreeDest = new AreaAddressesTree();
     this.tsInclude = new System.Windows.Forms.ToolStrip();
     this.tsbLeft = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripLabel2 = new System.Windows.Forms.ToolStripLabel();
     this.tsSearch = new System.Windows.Forms.ToolStrip();
     this.tsbSelect = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsbSearch = new System.Windows.Forms.ToolStripButton();
     this.panelButton = new System.Windows.Forms.Panel();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnOk = new System.Windows.Forms.Button();
     this.addressesSelectControl1 = new AddressesSelectControl();
     this.bsAreas.BeginInit();
     this.bsAreaGroups.BeginInit();
     this.groupBox2.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.tsExclude.SuspendLayout();
     this.tsInclude.SuspendLayout();
     this.tsSearch.SuspendLayout();
     this.panelButton.SuspendLayout();
     base.SuspendLayout();
     this.bsAreas.set_DataSource(typeof(Area));
     this.bsAreas.set_Sort("Name");
     this.bsAreas.add_CurrentChanged(new System.EventHandler(this.bsAreas_CurrentChanged));
     this.bwArea.add_DoWork(new DoWorkEventHandler(this.bwArea_DoWork));
     this.bwArea.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.bwArea_RunWorkerCompleted));
     this.bsAreaGroups.set_DataSource(typeof(AreaGroup));
     this.bsAreaGroups.set_Sort("Name");
     this.groupBox2.Controls.Add(this.splitContainer1);
     this.groupBox2.Controls.Add(this.tsSearch);
     this.groupBox2.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 0xc0));
     this.groupBox2.set_Margin(new System.Windows.Forms.Padding(3, 0, 3, 3));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Padding(new System.Windows.Forms.Padding(3, 0, 3, 3));
     this.groupBox2.set_Size(new System.Drawing.Size(0x2ac, 0x139));
     this.groupBox2.set_TabIndex(0x57);
     this.groupBox2.set_TabStop(false);
     this.splitContainer1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer1.set_Location(new System.Drawing.Point(3, 0x26));
     this.splitContainer1.set_Name("splitContainer1");
     this.splitContainer1.Panel1.Controls.Add(this.areaAddressesTreeSource);
     this.splitContainer1.Panel1.Controls.Add(this.tsExclude);
     this.splitContainer1.Panel2.Controls.Add(this.areaAddressesTreeDest);
     this.splitContainer1.Panel2.Controls.Add(this.tsInclude);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x2a6, 0x110));
     this.splitContainer1.set_SplitterDistance(0x14f);
     this.splitContainer1.set_SplitterWidth(5);
     this.splitContainer1.set_TabIndex(0x4c);
     this.areaAddressesTreeSource.set_AllowDrop(true);
     this.areaAddressesTreeSource.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.areaAddressesTreeSource.set_Location(new System.Drawing.Point(0, 0x19));
     this.areaAddressesTreeSource.set_Margin(new System.Windows.Forms.Padding(2));
     this.areaAddressesTreeSource.set_Name("areaAddressesTreeSource");
     this.areaAddressesTreeSource.set_Size(new System.Drawing.Size(0x14f, 0xf7));
     this.areaAddressesTreeSource.set_TabIndex(20);
     this.areaAddressesTreeSource.TreeSource = null;
     this.areaAddressesTreeSource.add_ItemDrag(new System.Windows.Forms.ItemDragEventHandler(this.areaAddressesTreeSource_ItemDrag));
     this.areaAddressesTreeSource.add_DragDrop(new System.Windows.Forms.DragEventHandler(this.areaAddressesTreeSource_DragDrop));
     this.areaAddressesTreeSource.add_DragEnter(new System.Windows.Forms.DragEventHandler(this.areaAddressesTreeSource_DragEnter));
     this.tsExclude.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsExclude.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.toolStripLabel1, this.tsbRight, this.toolStripSeparator2 });
     this.tsExclude.set_Location(new System.Drawing.Point(0, 0));
     this.tsExclude.set_Name("tsExclude");
     this.tsExclude.set_Size(new System.Drawing.Size(0x14f, 0x19));
     this.tsExclude.set_TabIndex(0x15);
     this.tsExclude.set_Text("toolStrip1");
     this.toolStripLabel1.set_Name("toolStripLabel1");
     this.toolStripLabel1.set_Size(new System.Drawing.Size(0x60, 0x16));
     this.toolStripLabel1.set_Text("Адресный план:");
     this.tsbRight.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.tsbRight.set_AutoSize(false);
     this.tsbRight.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbRight.set_Image(Resources.RIGHT);
     this.tsbRight.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbRight.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbRight.set_Name("tsbRight");
     this.tsbRight.set_Size(new System.Drawing.Size(0x2e, 0x16));
     this.tsbRight.set_Text("toolStripButton1");
     this.tsbRight.add_Click(new System.EventHandler(this.btnRight_Click));
     this.toolStripSeparator2.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripSeparator2.set_Name("toolStripSeparator2");
     this.toolStripSeparator2.set_Size(new System.Drawing.Size(6, 0x19));
     this.areaAddressesTreeDest.set_AllowDrop(true);
     this.areaAddressesTreeDest.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.areaAddressesTreeDest.set_Location(new System.Drawing.Point(0, 0x19));
     this.areaAddressesTreeDest.set_Margin(new System.Windows.Forms.Padding(2));
     this.areaAddressesTreeDest.set_Name("areaAddressesTreeDest");
     this.areaAddressesTreeDest.set_Size(new System.Drawing.Size(0x152, 0xf7));
     this.areaAddressesTreeDest.set_TabIndex(30);
     this.areaAddressesTreeDest.TreeSource = null;
     this.areaAddressesTreeDest.add_ItemDrag(new System.Windows.Forms.ItemDragEventHandler(this.areaAddressesTreeDest_ItemDrag));
     this.areaAddressesTreeDest.add_DragDrop(new System.Windows.Forms.DragEventHandler(this.areaAddressesTreeDest_DragDrop));
     this.areaAddressesTreeDest.add_DragEnter(new System.Windows.Forms.DragEventHandler(this.areaAddressesTreeDest_DragEnter));
     this.tsInclude.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsInclude.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbLeft, this.toolStripSeparator3, this.toolStripLabel2 });
     this.tsInclude.set_Location(new System.Drawing.Point(0, 0));
     this.tsInclude.set_Name("tsInclude");
     this.tsInclude.set_Size(new System.Drawing.Size(0x152, 0x19));
     this.tsInclude.set_TabIndex(0x1f);
     this.tsbLeft.set_AutoSize(false);
     this.tsbLeft.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbLeft.set_Image(Resources.LEFT);
     this.tsbLeft.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbLeft.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbLeft.set_Name("tsbLeft");
     this.tsbLeft.set_Size(new System.Drawing.Size(0x2e, 0x16));
     this.tsbLeft.set_Text("toolStripButton2");
     this.tsbLeft.add_Click(new System.EventHandler(this.btnLeft_Click));
     this.toolStripSeparator3.set_Name("toolStripSeparator3");
     this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x19));
     this.toolStripLabel2.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripLabel2.set_Name("toolStripLabel2");
     this.toolStripLabel2.set_Size(new System.Drawing.Size(0x73, 0x16));
     this.toolStripLabel2.set_Text("Выбранные адреса:");
     this.tsSearch.set_GripMargin(new System.Windows.Forms.Padding(2, 0, 2, 2));
     this.tsSearch.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsSearch.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbSelect, this.toolStripSeparator1, this.tsbSearch });
     this.tsSearch.set_Location(new System.Drawing.Point(3, 13));
     this.tsSearch.set_Name("tsSearch");
     this.tsSearch.set_Size(new System.Drawing.Size(0x2a6, 0x19));
     this.tsSearch.set_Stretch(true);
     this.tsSearch.set_TabIndex(0x16);
     this.tsbSelect.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.tsbSelect.set_Image(Resources.DOWN);
     this.tsbSelect.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbSelect.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbSelect.set_Name("tsbSelect");
     this.tsbSelect.set_Size(new System.Drawing.Size(0x8d, 0x16));
     this.tsbSelect.set_Text("Параметры отбора");
     this.tsbSelect.add_Click(new System.EventHandler(this.tsbSelect_Click));
     this.toolStripSeparator1.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsbSearch.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.tsbSearch.set_Image(Resources.SEARCH);
     this.tsbSearch.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbSearch.set_Name("tsbSearch");
     this.tsbSearch.set_Size(new System.Drawing.Size(70, 0x16));
     this.tsbSearch.set_Text("Поиск");
     this.tsbSearch.set_Visible(false);
     this.tsbSearch.add_Click(new System.EventHandler(this.tsbSearch_Click));
     this.panelButton.Controls.Add(this.btnCancel);
     this.panelButton.Controls.Add(this.btnOk);
     this.panelButton.set_Dock(System.Windows.Forms.DockStyle.Bottom);
     this.panelButton.set_Location(new System.Drawing.Point(0, 0x1f9));
     this.panelButton.set_Name("panelButton");
     this.panelButton.set_Size(new System.Drawing.Size(0x2ac, 0x20));
     this.panelButton.set_TabIndex(0x57);
     this.btnCancel.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnCancel.set_DialogResult(System.Windows.Forms.DialogResult.Cancel);
     this.btnCancel.set_Location(new System.Drawing.Point(0x265, 4));
     this.btnCancel.set_Name("btnCancel");
     this.btnCancel.set_Size(new System.Drawing.Size(0x44, 0x18));
     this.btnCancel.set_TabIndex(70);
     this.btnCancel.set_Text("Отмена");
     this.btnCancel.set_UseVisualStyleBackColor(true);
     this.btnCancel.add_Click(new System.EventHandler(this.btnCancel_Click));
     this.btnOk.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Bottom);
     this.btnOk.set_Location(new System.Drawing.Point(540, 4));
     this.btnOk.set_Name("btnOk");
     this.btnOk.set_Size(new System.Drawing.Size(0x44, 0x18));
     this.btnOk.set_TabIndex(60);
     this.btnOk.set_Text("Принять");
     this.btnOk.set_UseVisualStyleBackColor(true);
     this.btnOk.add_Click(new System.EventHandler(this.btnOk_Click));
     this.addressesSelectControl1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.addressesSelectControl1.set_Location(new System.Drawing.Point(0, 0));
     this.addressesSelectControl1.set_Name("addressesSelectControl1");
     this.addressesSelectControl1.set_Size(new System.Drawing.Size(0x2ac, 0xc0));
     this.addressesSelectControl1.set_TabIndex(0x53);
     this.addressesSelectControl1.set_Visible(false);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_AutoSizeMode(System.Windows.Forms.AutoSizeMode.GrowAndShrink);
     base.set_ClientSize(new System.Drawing.Size(0x2ac, 0x219));
     base.Controls.Add(this.groupBox2);
     base.Controls.Add(this.panelButton);
     base.Controls.Add(this.addressesSelectControl1);
     base.set_MaximizeBox(false);
     base.set_MinimizeBox(false);
     this.set_MinimumSize(new System.Drawing.Size(500, 500));
     base.set_Name("AreaAddressesForm");
     base.set_ShowInTaskbar(false);
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("Адресный план");
     base.add_Load(new System.EventHandler(this.AreaAddressesForm_Load));
     this.bsAreas.EndInit();
     this.bsAreaGroups.EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     this.splitContainer1.ResumeLayout(false);
     this.tsExclude.ResumeLayout(false);
     this.tsExclude.PerformLayout();
     this.tsInclude.ResumeLayout(false);
     this.tsInclude.PerformLayout();
     this.tsSearch.ResumeLayout(false);
     this.tsSearch.PerformLayout();
     this.panelButton.ResumeLayout(false);
     base.ResumeLayout(false);
 }
예제 #3
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PaymentNoticesMainForm));
     this.tcPaymentNotices = new System.Windows.Forms.TabControl();
     this.tpFormPrint = new System.Windows.Forms.TabPage();
     this.paymentNoticeView1 = new PaymentNoticeView();
     this.tpAddInfo = new System.Windows.Forms.TabPage();
     this.dgvNoticeAddr = new System.Windows.Forms.DataGridView();
     this.addressNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.informationTextDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsNoticeInfoAdr = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip2 = new System.Windows.Forms.ToolStrip();
     this.btnAdd = new System.Windows.Forms.ToolStripButton();
     this.btnChange = new System.Windows.Forms.ToolStripButton();
     this.btnDel = new System.Windows.Forms.ToolStripButton();
     this.btnCurrentPosition = new System.Windows.Forms.ToolStripButton();
     this.btnAllPosition = new System.Windows.Forms.ToolStripButton();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.bsNoticeTemplates = new System.Windows.Forms.BindingSource(this.components);
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.tabControlOrgs = new System.Windows.Forms.TabControl();
     this.tpOrganizations = new System.Windows.Forms.TabPage();
     this.selectHouseHolders = new SelectOrganizations();
     this.tpAreaGroups = new System.Windows.Forms.TabPage();
     this.areaGroupsTree = new AreaGroupsTree();
     this.areaAddressesTree = new AreaAddressesTree();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbtnLoadAll = new System.Windows.Forms.ToolStripButton();
     this.tsbtnLoadByHolders = new System.Windows.Forms.ToolStripButton();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.saveLogFileDialog = new System.Windows.Forms.SaveFileDialog();
     this.tcPaymentNotices.SuspendLayout();
     this.tpFormPrint.SuspendLayout();
     this.tpAddInfo.SuspendLayout();
     this.dgvNoticeAddr.BeginInit();
     this.bsNoticeInfoAdr.BeginInit();
     this.toolStrip2.SuspendLayout();
     this.bsNoticeTemplates.BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.tabControlOrgs.SuspendLayout();
     this.tpOrganizations.SuspendLayout();
     this.tpAreaGroups.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.tcPaymentNotices.Controls.Add(this.tpFormPrint);
     this.tcPaymentNotices.Controls.Add(this.tpAddInfo);
     this.tcPaymentNotices.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tcPaymentNotices.set_Location(new System.Drawing.Point(0, 0));
     this.tcPaymentNotices.set_Name("tcPaymentNotices");
     this.tcPaymentNotices.set_SelectedIndex(0);
     this.tcPaymentNotices.set_Size(new System.Drawing.Size(0x29b, 0x2b6));
     this.tcPaymentNotices.set_TabIndex(0);
     this.tcPaymentNotices.add_SelectedIndexChanged(new System.EventHandler(this.tcPaymentNotices_SelectedIndexChanged));
     this.tpFormPrint.Controls.Add(this.paymentNoticeView1);
     this.tpFormPrint.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpFormPrint.set_Name("tpFormPrint");
     this.tpFormPrint.set_Size(new System.Drawing.Size(0x293, 0x29c));
     this.tpFormPrint.set_TabIndex(0);
     this.tpFormPrint.set_Text("Формирование/печать");
     this.tpFormPrint.set_UseVisualStyleBackColor(true);
     this.paymentNoticeView1.set_AutoSize(true);
     this.paymentNoticeView1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.paymentNoticeView1.set_Location(new System.Drawing.Point(0, 0));
     this.paymentNoticeView1.set_Margin(new System.Windows.Forms.Padding(1));
     this.paymentNoticeView1.set_MaximumSize(new System.Drawing.Size(0x3e8, 0));
     this.paymentNoticeView1.set_MinimumSize(new System.Drawing.Size(600, 640));
     this.paymentNoticeView1.set_Name("paymentNoticeView1");
     this.paymentNoticeView1.set_Size(new System.Drawing.Size(0x293, 0x29c));
     this.paymentNoticeView1.set_TabIndex(0x16);
     this.tpAddInfo.Controls.Add(this.dgvNoticeAddr);
     this.tpAddInfo.Controls.Add(this.toolStrip2);
     this.tpAddInfo.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpAddInfo.set_Name("tpAddInfo");
     this.tpAddInfo.set_Size(new System.Drawing.Size(0x293, 0x29c));
     this.tpAddInfo.set_TabIndex(2);
     this.tpAddInfo.set_Text("Доп. инфомрация");
     this.tpAddInfo.set_UseVisualStyleBackColor(true);
     this.dgvNoticeAddr.set_AllowUserToAddRows(false);
     this.dgvNoticeAddr.set_AllowUserToResizeRows(false);
     this.dgvNoticeAddr.set_AutoGenerateColumns(false);
     this.dgvNoticeAddr.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvNoticeAddr.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvNoticeAddr.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.addressNameDataGridViewTextBoxColumn1, this.informationTextDataGridViewTextBoxColumn });
     this.dgvNoticeAddr.set_DataSource(this.bsNoticeInfoAdr);
     this.dgvNoticeAddr.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvNoticeAddr.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvNoticeAddr.set_Name("dgvNoticeAddr");
     this.dgvNoticeAddr.set_ReadOnly(true);
     this.dgvNoticeAddr.set_RowHeadersVisible(false);
     this.dgvNoticeAddr.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvNoticeAddr.set_Size(new System.Drawing.Size(0x293, 0x283));
     this.dgvNoticeAddr.set_TabIndex(1);
     this.dgvNoticeAddr.add_CellContentDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentDoubleClick));
     this.addressNameDataGridViewTextBoxColumn1.set_DataPropertyName("AddressName");
     this.addressNameDataGridViewTextBoxColumn1.set_HeaderText("Адрес");
     this.addressNameDataGridViewTextBoxColumn1.set_Name("addressNameDataGridViewTextBoxColumn1");
     this.addressNameDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.addressNameDataGridViewTextBoxColumn1.set_Width(0x3f);
     this.informationTextDataGridViewTextBoxColumn.set_DataPropertyName("InformationText");
     this.informationTextDataGridViewTextBoxColumn.set_HeaderText("Сообщение");
     this.informationTextDataGridViewTextBoxColumn.set_Name("informationTextDataGridViewTextBoxColumn");
     this.informationTextDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.informationTextDataGridViewTextBoxColumn.set_Width(90);
     this.bsNoticeInfoAdr.set_DataSource(typeof(NoticeNoticeInformationAddress));
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnAdd, this.btnChange, this.btnDel, this.btnCurrentPosition, this.btnAllPosition, this.toolStripLabel1 });
     this.toolStrip2.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip2.set_Name("toolStrip2");
     this.toolStrip2.set_Size(new System.Drawing.Size(0x293, 0x19));
     this.toolStrip2.set_TabIndex(0);
     this.toolStrip2.set_Text("toolStrip2");
     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((System.Drawing.Image) manager.GetObject("btnChange.Image"));
     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.btnDel.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnDel.set_Image(Resources.DELETE);
     this.btnDel.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnDel.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnDel.set_Name("btnDel");
     this.btnDel.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnDel.set_Text("Удалить");
     this.btnDel.add_Click(new System.EventHandler(this.btnDel_Click));
     this.btnCurrentPosition.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.btnCurrentPosition.set_Checked(true);
     this.btnCurrentPosition.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.btnCurrentPosition.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.btnCurrentPosition.set_Image((System.Drawing.Image) manager.GetObject("btnCurrentPosition.Image"));
     this.btnCurrentPosition.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnCurrentPosition.set_Name("btnCurrentPosition");
     this.btnCurrentPosition.set_RightToLeftAutoMirrorImage(true);
     this.btnCurrentPosition.set_Size(new System.Drawing.Size(0x6f, 0x16));
     this.btnCurrentPosition.set_Text("Выбранный адрес");
     this.btnCurrentPosition.add_Click(new System.EventHandler(this.btnCurrentPosition_Click));
     this.btnAllPosition.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.btnAllPosition.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.btnAllPosition.set_Image((System.Drawing.Image) manager.GetObject("btnAllPosition.Image"));
     this.btnAllPosition.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnAllPosition.set_Name("btnAllPosition");
     this.btnAllPosition.set_RightToLeftAutoMirrorImage(true);
     this.btnAllPosition.set_Size(new System.Drawing.Size(0x95, 0x16));
     this.btnAllPosition.set_Text("Все подчиненные адреса");
     this.btnAllPosition.add_Click(new System.EventHandler(this.btnAllPosition_Click));
     this.toolStripLabel1.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripLabel1.set_Name("toolStripLabel1");
     this.toolStripLabel1.set_RightToLeftAutoMirrorImage(true);
     this.toolStripLabel1.set_Size(new System.Drawing.Size(0x30, 0x16));
     this.toolStripLabel1.set_Text("Режим:");
     this.bsNoticeTemplates.set_DataSource(typeof(NoticeNoticeTemplate));
     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.Panel1.Controls.Add(this.splitContainer2);
     this.splitContainer1.Panel2.Controls.Add(this.tcPaymentNotices);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x3f3, 0x2b6));
     this.splitContainer1.set_SplitterDistance(340);
     this.splitContainer1.set_TabIndex(1);
     this.splitContainer2.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer2.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer2.set_Margin(new System.Windows.Forms.Padding(2));
     this.splitContainer2.set_Name("splitContainer2");
     this.splitContainer2.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer2.Panel1.Controls.Add(this.tabControlOrgs);
     this.splitContainer2.Panel2.Controls.Add(this.areaAddressesTree);
     this.splitContainer2.Panel2.Controls.Add(this.toolStrip1);
     this.splitContainer2.set_Size(new System.Drawing.Size(340, 0x2b6));
     this.splitContainer2.set_SplitterDistance(0x109);
     this.splitContainer2.set_SplitterWidth(3);
     this.splitContainer2.set_TabIndex(7);
     this.tabControlOrgs.Controls.Add(this.tpOrganizations);
     this.tabControlOrgs.Controls.Add(this.tpAreaGroups);
     this.tabControlOrgs.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tabControlOrgs.set_Location(new System.Drawing.Point(0, 0));
     this.tabControlOrgs.set_Name("tabControlOrgs");
     this.tabControlOrgs.set_SelectedIndex(0);
     this.tabControlOrgs.set_Size(new System.Drawing.Size(340, 0x109));
     this.tabControlOrgs.set_TabIndex(1);
     this.tabControlOrgs.add_SelectedIndexChanged(new System.EventHandler(this.tabControlOrgs_SelectedIndexChanged));
     this.tpOrganizations.Controls.Add(this.selectHouseHolders);
     this.tpOrganizations.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpOrganizations.set_Name("tpOrganizations");
     this.tpOrganizations.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpOrganizations.set_Size(new System.Drawing.Size(0x14c, 0xef));
     this.tpOrganizations.set_TabIndex(0);
     this.tpOrganizations.set_Text("Управляющая компания");
     this.tpOrganizations.set_UseVisualStyleBackColor(true);
     this.selectHouseHolders.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.selectHouseHolders.IsByUser = false;
     this.selectHouseHolders.set_Location(new System.Drawing.Point(3, 3));
     this.selectHouseHolders.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectHouseHolders.set_Name("selectHouseHolders");
     this.selectHouseHolders.SelectedOrganizations = null;
     this.selectHouseHolders.SetFilter = null;
     this.selectHouseHolders.set_Size(new System.Drawing.Size(0x146, 0xe9));
     this.selectHouseHolders.set_TabIndex(0);
     this.tpAreaGroups.Controls.Add(this.areaGroupsTree);
     this.tpAreaGroups.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpAreaGroups.set_Name("tpAreaGroups");
     this.tpAreaGroups.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpAreaGroups.set_Size(new System.Drawing.Size(0x14c, 0xef));
     this.tpAreaGroups.set_TabIndex(1);
     this.tpAreaGroups.set_Text("Адресные группы");
     this.tpAreaGroups.set_UseVisualStyleBackColor(true);
     this.areaGroupsTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.areaGroupsTree.set_Location(new System.Drawing.Point(3, 3));
     this.areaGroupsTree.set_Name("areaGroupsTree");
     this.areaGroupsTree.set_Size(new System.Drawing.Size(0x146, 0xe9));
     this.areaGroupsTree.set_TabIndex(0);
     this.areaAddressesTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.areaAddressesTree.set_Location(new System.Drawing.Point(0, 0x19));
     this.areaAddressesTree.set_Margin(new System.Windows.Forms.Padding(2));
     this.areaAddressesTree.set_Name("areaAddressesTree");
     this.areaAddressesTree.set_Size(new System.Drawing.Size(340, 0x191));
     this.areaAddressesTree.set_TabIndex(0);
     this.areaAddressesTree.TreeSource = null;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbtnLoadAll, this.tsbtnLoadByHolders });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(340, 0x19));
     this.toolStrip1.set_TabIndex(1);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsbtnLoadAll.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbtnLoadAll.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnLoadAll.set_Name("tsbtnLoadAll");
     this.tsbtnLoadAll.set_Size(new System.Drawing.Size(70, 0x16));
     this.tsbtnLoadAll.set_Text("Все адреса");
     this.tsbtnLoadAll.add_Click(new System.EventHandler(this.tsbtnLoadAll_Click));
     this.tsbtnLoadByHolders.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbtnLoadByHolders.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnLoadByHolders.set_Name("tsbtnLoadByHolders");
     this.tsbtnLoadByHolders.set_Size(new System.Drawing.Size(190, 0x16));
     this.tsbtnLoadByHolders.set_Text("Адреса выбранных организаций");
     this.tsbtnLoadByHolders.set_ToolTipText("Адреса выбранных организаций");
     this.tsbtnLoadByHolders.add_Click(new System.EventHandler(this.tsbtnLoadByHolders_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("AccountNumber");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Лиц. счет");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn1.set_Width(0x4a);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("AddressName");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x3f);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("OwnerName");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Абонент");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x4a);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("Charge");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Начислено");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x57);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("TotalDebt");
     this.dataGridViewTextBoxColumn5.set_HeaderText("К оплате");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(0x47);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Period");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Период");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(70);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("AdditionalInfo");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Доп. информация");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(0x71);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("AddressName");
     this.dataGridViewTextBoxColumn8.set_HeaderText("AddressName");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(0x62);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("AccountNumber");
     this.dataGridViewTextBoxColumn9.set_HeaderText("AccountNumber");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(0x6d);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("OwnerName");
     this.dataGridViewTextBoxColumn10.set_HeaderText("OwnerName");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_Width(0x5b);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("Barcode");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Barcode");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_Width(0x48);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("AdditionalInfo");
     this.dataGridViewTextBoxColumn12.set_HeaderText("AdditionalInfo");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_Width(0x60);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("OrgName");
     this.dataGridViewTextBoxColumn13.set_HeaderText("OrgName");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_Width(0x4d);
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("ToPay");
     this.dataGridViewTextBoxColumn14.set_HeaderText("ToPay");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn14.set_Width(0x3f);
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn15.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn15.set_Width(0x76);
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn16.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn16.set_Width(0x29);
     this.saveLogFileDialog.set_FileName("notice_generator.txt");
     this.saveLogFileDialog.set_Filter("txt files (*.txt)|*.txt|All files (*.*)|*.*");
     this.saveLogFileDialog.set_RestoreDirectory(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(0x3f3, 0x2b6));
     base.Controls.Add(this.splitContainer1);
     this.set_DoubleBuffered(true);
     base.set_Name("PaymentNoticesMainForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("АРМ Печать извещений");
     base.set_WindowState(System.Windows.Forms.FormWindowState.Maximized);
     base.add_Activated(new System.EventHandler(this.PaymentNoticesMainForm_Activated));
     base.add_FormClosing(new System.Windows.Forms.FormClosingEventHandler(this.PaymentNoticesMainForm_FormClosing));
     base.add_Load(new System.EventHandler(this.PaymentNoticesMainForm_Load));
     this.tcPaymentNotices.ResumeLayout(false);
     this.tpFormPrint.ResumeLayout(false);
     this.tpFormPrint.PerformLayout();
     this.tpAddInfo.ResumeLayout(false);
     this.tpAddInfo.PerformLayout();
     this.dgvNoticeAddr.EndInit();
     this.bsNoticeInfoAdr.EndInit();
     this.toolStrip2.ResumeLayout(false);
     this.toolStrip2.PerformLayout();
     this.bsNoticeTemplates.EndInit();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     this.splitContainer2.ResumeLayout(false);
     this.tabControlOrgs.ResumeLayout(false);
     this.tpOrganizations.ResumeLayout(false);
     this.tpAreaGroups.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     base.ResumeLayout(false);
 }
예제 #4
0
 private void InitializeComponent()
 {
     this.components = new Container();
     this.gbGroups = new System.Windows.Forms.GroupBox();
     this.tsGroup = new System.Windows.Forms.ToolStrip();
     this.btnAddGroup = new System.Windows.Forms.ToolStripButton();
     this.btnEditGroup = new System.Windows.Forms.ToolStripButton();
     this.btnDelGroup = new System.Windows.Forms.ToolStripButton();
     this.lblGroupCounter = new System.Windows.Forms.ToolStripLabel();
     this.listGroups = new System.Windows.Forms.ListBox();
     this.bsGroups = new System.Windows.Forms.BindingSource(this.components);
     this.gbAreas = new System.Windows.Forms.GroupBox();
     this.tsArea = new System.Windows.Forms.ToolStrip();
     this.btnAddArea = new System.Windows.Forms.ToolStripButton();
     this.btnEditArea = new System.Windows.Forms.ToolStripButton();
     this.btnDelArea = new System.Windows.Forms.ToolStripButton();
     this.lblAreaCounter = new System.Windows.Forms.ToolStripLabel();
     this.listAreas = new System.Windows.Forms.ListBox();
     this.bsAreas = new System.Windows.Forms.BindingSource(this.components);
     this.gbAdresses = new System.Windows.Forms.GroupBox();
     this.tsAddress = new System.Windows.Forms.ToolStrip();
     this.btnEditAddress = new System.Windows.Forms.ToolStripButton();
     this.btnSearchAddresses = new System.Windows.Forms.ToolStripButton();
     this.btnWaiting = new System.Windows.Forms.ToolStripButton();
     this.treeAddresses = new AreaAddressesTree();
     this.bwLoadAddresses = new BackgroundWorker();
     this.backgroundWorker1 = new BackgroundWorker();
     this.cmsMenuGroups = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.копироватьГруппуToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.вставитьГруппуToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.cmsMenuSets = new System.Windows.Forms.ContextMenuStrip(this.components);
     this.копироватьНаборToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.вставитьНаборToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.вставитьГруппуНаборовToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.gbGroups.SuspendLayout();
     this.tsGroup.SuspendLayout();
     this.bsGroups.BeginInit();
     this.gbAreas.SuspendLayout();
     this.tsArea.SuspendLayout();
     this.bsAreas.BeginInit();
     this.gbAdresses.SuspendLayout();
     this.tsAddress.SuspendLayout();
     this.cmsMenuGroups.SuspendLayout();
     this.cmsMenuSets.SuspendLayout();
     base.SuspendLayout();
     this.gbGroups.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.gbGroups.Controls.Add(this.tsGroup);
     this.gbGroups.Controls.Add(this.listGroups);
     this.gbGroups.set_Location(new System.Drawing.Point(12, 12));
     this.gbGroups.set_Name("gbGroups");
     this.gbGroups.set_Size(new System.Drawing.Size(210, 340));
     this.gbGroups.set_TabIndex(1);
     this.gbGroups.set_TabStop(false);
     this.gbGroups.set_Text("Группы наборов:");
     this.tsGroup.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsGroup.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnAddGroup, this.btnEditGroup, this.btnDelGroup, this.lblGroupCounter });
     this.tsGroup.set_Location(new System.Drawing.Point(3, 0x10));
     this.tsGroup.set_Name("tsGroup");
     this.tsGroup.set_Size(new System.Drawing.Size(0xcc, 0x19));
     this.tsGroup.set_TabIndex(8);
     this.btnAddGroup.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnAddGroup.set_Image(Resources.ADD);
     this.btnAddGroup.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnAddGroup.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnAddGroup.set_Name("btnAddGroup");
     this.btnAddGroup.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.btnAddGroup.set_Text("Добавить");
     this.btnAddGroup.add_Click(new System.EventHandler(this.btnAddGroup_Click));
     this.btnEditGroup.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnEditGroup.set_Image(Resources.CHANGE);
     this.btnEditGroup.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnEditGroup.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnEditGroup.set_Name("btnEditGroup");
     this.btnEditGroup.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnEditGroup.set_Text("Изменить");
     this.btnEditGroup.add_Click(new System.EventHandler(this.btnEditGroup_Click));
     this.btnDelGroup.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnDelGroup.set_Image(Resources.DELETE);
     this.btnDelGroup.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnDelGroup.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnDelGroup.set_Name("btnDelGroup");
     this.btnDelGroup.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnDelGroup.set_Text("Удалить");
     this.btnDelGroup.add_Click(new System.EventHandler(this.btnDelGroup_Click));
     this.lblGroupCounter.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.lblGroupCounter.set_Font(new System.Drawing.Font("Segoe UI", 8f));
     this.lblGroupCounter.set_Name("lblGroupCounter");
     this.lblGroupCounter.set_Size(new System.Drawing.Size(0x47, 0x16));
     this.lblGroupCounter.set_Text("Всего групп");
     this.listGroups.set_AllowDrop(true);
     this.listGroups.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.listGroups.set_DataSource(this.bsGroups);
     this.listGroups.set_DisplayMember("Name");
     this.listGroups.set_FormattingEnabled(true);
     this.listGroups.set_Location(new System.Drawing.Point(6, 0x2d));
     this.listGroups.set_Name("listGroups");
     this.listGroups.set_Size(new System.Drawing.Size(0xc6, 290));
     this.listGroups.set_TabIndex(1);
     this.listGroups.set_ValueMember("Id");
     this.listGroups.add_SelectedIndexChanged(new System.EventHandler(this.listGroups_SelectedIndexChanged));
     this.listGroups.add_DragDrop(new System.Windows.Forms.DragEventHandler(this.listGroups_DragDrop));
     this.listGroups.add_DragEnter(new System.Windows.Forms.DragEventHandler(this.listGroups_DragEnter));
     this.listGroups.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.listGroups_KeyDown));
     this.listGroups.add_MouseDown(new System.Windows.Forms.MouseEventHandler(this.listGroups_MouseDown));
     this.bsGroups.set_DataSource(typeof(AreaGroup));
     this.gbAreas.set_Anchor(System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.gbAreas.Controls.Add(this.tsArea);
     this.gbAreas.Controls.Add(this.listAreas);
     this.gbAreas.set_Location(new System.Drawing.Point(0xe4, 12));
     this.gbAreas.set_Name("gbAreas");
     this.gbAreas.set_Size(new System.Drawing.Size(210, 340));
     this.gbAreas.set_TabIndex(2);
     this.gbAreas.set_TabStop(false);
     this.gbAreas.set_Text("Наборы адресов в группе:");
     this.tsArea.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsArea.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnAddArea, this.btnEditArea, this.btnDelArea, this.lblAreaCounter });
     this.tsArea.set_Location(new System.Drawing.Point(3, 0x10));
     this.tsArea.set_Name("tsArea");
     this.tsArea.set_Size(new System.Drawing.Size(0xcc, 0x19));
     this.tsArea.set_TabIndex(9);
     this.btnAddArea.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnAddArea.set_Image(Resources.ADD);
     this.btnAddArea.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnAddArea.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnAddArea.set_Name("btnAddArea");
     this.btnAddArea.set_Size(new System.Drawing.Size(0x18, 0x16));
     this.btnAddArea.set_Text("Добавить");
     this.btnAddArea.add_Click(new System.EventHandler(this.btnAddArea_Click));
     this.btnEditArea.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnEditArea.set_Image(Resources.CHANGE);
     this.btnEditArea.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnEditArea.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnEditArea.set_Name("btnEditArea");
     this.btnEditArea.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnEditArea.set_Text("Изменить");
     this.btnEditArea.add_Click(new System.EventHandler(this.btnEditArea_Click));
     this.btnDelArea.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnDelArea.set_Image(Resources.DELETE);
     this.btnDelArea.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnDelArea.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnDelArea.set_Name("btnDelArea");
     this.btnDelArea.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnDelArea.set_Text("Удалить");
     this.btnDelArea.add_Click(new System.EventHandler(this.btnDelArea_Click));
     this.lblAreaCounter.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.lblAreaCounter.set_Font(new System.Drawing.Font("Segoe UI", 8f));
     this.lblAreaCounter.set_Name("lblAreaCounter");
     this.lblAreaCounter.set_Size(new System.Drawing.Size(0x57, 0x16));
     this.lblAreaCounter.set_Text("Всего наборов");
     this.listAreas.set_AllowDrop(true);
     this.listAreas.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.listAreas.set_DataSource(this.bsAreas);
     this.listAreas.set_DisplayMember("Name");
     this.listAreas.set_FormattingEnabled(true);
     this.listAreas.set_HorizontalScrollbar(true);
     this.listAreas.set_Location(new System.Drawing.Point(6, 0x2c));
     this.listAreas.set_Name("listAreas");
     this.listAreas.set_SelectionMode(System.Windows.Forms.SelectionMode.MultiExtended);
     this.listAreas.set_Size(new System.Drawing.Size(0xc6, 290));
     this.listAreas.set_TabIndex(1);
     this.listAreas.set_ValueMember("Id");
     this.listAreas.add_SelectedIndexChanged(new System.EventHandler(this.listAreas_SelectedIndexChanged));
     this.listAreas.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.listAreas_KeyDown));
     this.listAreas.add_MouseDown(new System.Windows.Forms.MouseEventHandler(this.listAreas_MouseDown));
     this.bsAreas.set_DataSource(typeof(Area));
     this.gbAdresses.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.gbAdresses.Controls.Add(this.tsAddress);
     this.gbAdresses.Controls.Add(this.treeAddresses);
     this.gbAdresses.set_Location(new System.Drawing.Point(0x1bc, 12));
     this.gbAdresses.set_Name("gbAdresses");
     this.gbAdresses.set_Size(new System.Drawing.Size(0xe5, 340));
     this.gbAdresses.set_TabIndex(3);
     this.gbAdresses.set_TabStop(false);
     this.gbAdresses.set_Text("Адреса в наборе:");
     this.tsAddress.set_GripStyle(System.Windows.Forms.ToolStripGripStyle.Hidden);
     this.tsAddress.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnEditAddress, this.btnSearchAddresses, this.btnWaiting });
     this.tsAddress.set_Location(new System.Drawing.Point(3, 0x10));
     this.tsAddress.set_Name("tsAddress");
     this.tsAddress.set_Size(new System.Drawing.Size(0xdf, 0x19));
     this.tsAddress.set_TabIndex(9);
     this.btnEditAddress.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnEditAddress.set_Image(Resources.CHANGE);
     this.btnEditAddress.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnEditAddress.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnEditAddress.set_Name("btnEditAddress");
     this.btnEditAddress.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnEditAddress.set_Text("Изменить");
     this.btnEditAddress.add_Click(new System.EventHandler(this.btnEditAddress_Click));
     this.btnSearchAddresses.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnSearchAddresses.set_Image(Resources.SEARCH);
     this.btnSearchAddresses.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnSearchAddresses.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnSearchAddresses.set_Name("btnSearchAddresses");
     this.btnSearchAddresses.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnSearchAddresses.set_Text("Обновить");
     this.btnSearchAddresses.add_Click(new System.EventHandler(this.btnSearchAddresses_Click));
     this.btnWaiting.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnWaiting.set_Image(Resources.LOADING);
     this.btnWaiting.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnWaiting.set_Name("btnWaiting");
     this.btnWaiting.set_Size(new System.Drawing.Size(0x17, 0x16));
     this.btnWaiting.set_Text("toolStripButton1");
     this.btnWaiting.set_Visible(false);
     this.treeAddresses.set_Anchor(System.Windows.Forms.AnchorStyles.Right | System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Top);
     this.treeAddresses.set_Location(new System.Drawing.Point(6, 0x2c));
     this.treeAddresses.set_Name("treeAddresses");
     this.treeAddresses.set_Size(new System.Drawing.Size(0xd9, 290));
     this.treeAddresses.set_TabIndex(0);
     this.treeAddresses.TreeSource = null;
     this.bwLoadAddresses.add_DoWork(new DoWorkEventHandler(this.bwLoadAddresses_DoWork));
     this.bwLoadAddresses.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.bwLoadAddresses_RunWorkerCompleted));
     this.cmsMenuGroups.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.копироватьГруппуToolStripMenuItem, this.вставитьГруппуToolStripMenuItem });
     this.cmsMenuGroups.set_Name("cmsMenuGroups");
     this.cmsMenuGroups.set_Size(new System.Drawing.Size(0xb5, 0x30));
     this.копироватьГруппуToolStripMenuItem.set_Name("копироватьГруппуToolStripMenuItem");
     this.копироватьГруппуToolStripMenuItem.set_Size(new System.Drawing.Size(180, 0x16));
     this.копироватьГруппуToolStripMenuItem.set_Text("Копировать группу");
     this.копироватьГруппуToolStripMenuItem.add_Click(new System.EventHandler(this.копироватьГруппуToolStripMenuItem_Click));
     this.вставитьГруппуToolStripMenuItem.set_Enabled(false);
     this.вставитьГруппуToolStripMenuItem.set_Name("вставитьГруппуToolStripMenuItem");
     this.вставитьГруппуToolStripMenuItem.set_Size(new System.Drawing.Size(180, 0x16));
     this.вставитьГруппуToolStripMenuItem.set_Text("Вставить группу");
     this.вставитьГруппуToolStripMenuItem.add_Click(new System.EventHandler(this.вставитьГруппуToolStripMenuItem_Click));
     this.cmsMenuSets.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.копироватьНаборToolStripMenuItem, this.вставитьНаборToolStripMenuItem, this.вставитьГруппуНаборовToolStripMenuItem });
     this.cmsMenuSets.set_Name("cmsMenuSets");
     this.cmsMenuSets.set_Size(new System.Drawing.Size(0xd6, 0x5c));
     this.копироватьНаборToolStripMenuItem.set_Name("копироватьНаборToolStripMenuItem");
     this.копироватьНаборToolStripMenuItem.set_Size(new System.Drawing.Size(0xd5, 0x16));
     this.копироватьНаборToolStripMenuItem.set_Text("Копировать набор");
     this.копироватьНаборToolStripMenuItem.add_Click(new System.EventHandler(this.копироватьНаборToolStripMenuItem_Click));
     this.вставитьНаборToolStripMenuItem.set_Enabled(false);
     this.вставитьНаборToolStripMenuItem.set_Name("вставитьНаборToolStripMenuItem");
     this.вставитьНаборToolStripMenuItem.set_Size(new System.Drawing.Size(0xd5, 0x16));
     this.вставитьНаборToolStripMenuItem.set_Text("Вставить набор");
     this.вставитьНаборToolStripMenuItem.add_Click(new System.EventHandler(this.вставитьНаборToolStripMenuItem_Click));
     this.вставитьГруппуНаборовToolStripMenuItem.set_Enabled(false);
     this.вставитьГруппуНаборовToolStripMenuItem.set_Name("вставитьГруппуНаборовToolStripMenuItem");
     this.вставитьГруппуНаборовToolStripMenuItem.set_Size(new System.Drawing.Size(0xd5, 0x16));
     this.вставитьГруппуНаборовToolStripMenuItem.set_Text("Вставить группу наборов");
     this.вставитьГруппуНаборовToolStripMenuItem.add_Click(new System.EventHandler(this.вставитьГруппуНаборовToolStripMenuItem_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(0x2ac, 0x16c));
     base.Controls.Add(this.gbAdresses);
     base.Controls.Add(this.gbAreas);
     base.Controls.Add(this.gbGroups);
     this.set_MinimumSize(new System.Drawing.Size(650, 200));
     base.set_Name("AddressAreaGroupForm");
     this.set_Text("Группы адресов");
     base.add_Load(new System.EventHandler(this.AddressAreaGroupForm_Load));
     this.gbGroups.ResumeLayout(false);
     this.gbGroups.PerformLayout();
     this.tsGroup.ResumeLayout(false);
     this.tsGroup.PerformLayout();
     this.bsGroups.EndInit();
     this.gbAreas.ResumeLayout(false);
     this.gbAreas.PerformLayout();
     this.tsArea.ResumeLayout(false);
     this.tsArea.PerformLayout();
     this.bsAreas.EndInit();
     this.gbAdresses.ResumeLayout(false);
     this.gbAdresses.PerformLayout();
     this.tsAddress.ResumeLayout(false);
     this.tsAddress.PerformLayout();
     this.cmsMenuGroups.ResumeLayout(false);
     this.cmsMenuSets.ResumeLayout(false);
     base.ResumeLayout(false);
 }
예제 #5
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(CalcPeriodsForm));
     this.dgvCalcPeriods = new System.Windows.Forms.DataGridView();
     this.monthNameAndYearDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.fromDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.toDateDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.daysDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsCalcPeriods = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsBtnSearch = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator3 = new System.Windows.Forms.ToolStripSeparator();
     this.tsBtnFilterHide = new System.Windows.Forms.ToolStripButton();
     this.tsBtnErase = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.tsLblCurrentPeriod = new System.Windows.Forms.ToolStripLabel();
     this.tsddBtnAdd = new System.Windows.Forms.ToolStripDropDownButton();
     this.добавитьСледующийПериодToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.добавитьНесколькоПериодовToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsBtnDelete = new System.Windows.Forms.ToolStripButton();
     this.tsBtnDeleteOldPeriods = new System.Windows.Forms.ToolStripButton();
     this.gbFilter = new System.Windows.Forms.GroupBox();
     this.cbAllMonths = new System.Windows.Forms.CheckBox();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.label1 = new System.Windows.Forms.Label();
     this.clbMonths = new System.Windows.Forms.CheckedListBox();
     this.cbYears = new System.Windows.Forms.ComboBox();
     this.dateInterval = new DatePeriod();
     this.panel1 = new System.Windows.Forms.Panel();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.gbRestrictions = new System.Windows.Forms.GroupBox();
     this.areaAddresses = new AreaAddressesTree();
     this.toolStrip2 = new System.Windows.Forms.ToolStrip();
     this.tsbAddRestriction = new System.Windows.Forms.ToolStripButton();
     this.tsbDeleteRestriction = new System.Windows.Forms.ToolStripButton();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dgvCalcPeriods.BeginInit();
     this.bsCalcPeriods.BeginInit();
     this.toolStrip1.SuspendLayout();
     this.gbFilter.SuspendLayout();
     this.panel1.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.gbRestrictions.SuspendLayout();
     this.toolStrip2.SuspendLayout();
     base.SuspendLayout();
     this.dgvCalcPeriods.set_AllowUserToAddRows(false);
     this.dgvCalcPeriods.set_AllowUserToDeleteRows(false);
     this.dgvCalcPeriods.set_AllowUserToResizeRows(false);
     this.dgvCalcPeriods.set_AutoGenerateColumns(false);
     this.dgvCalcPeriods.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill);
     this.dgvCalcPeriods.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvCalcPeriods.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvCalcPeriods.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.monthNameAndYearDataGridViewTextBoxColumn, this.fromDateDataGridViewTextBoxColumn, this.toDateDataGridViewTextBoxColumn, this.daysDataGridViewTextBoxColumn, this.Id });
     this.dgvCalcPeriods.set_DataSource(this.bsCalcPeriods);
     this.dgvCalcPeriods.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvCalcPeriods.set_Location(new System.Drawing.Point(0, 0x9d));
     this.dgvCalcPeriods.set_Name("dgvCalcPeriods");
     this.dgvCalcPeriods.set_ReadOnly(true);
     this.dgvCalcPeriods.set_RowHeadersVisible(false);
     this.dgvCalcPeriods.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvCalcPeriods.set_Size(new System.Drawing.Size(0x1f7, 0xf5));
     this.dgvCalcPeriods.set_TabIndex(40);
     this.dgvCalcPeriods.add_SelectionChanged(new System.EventHandler(this.dgvCalcPeriods_SelectionChanged));
     this.monthNameAndYearDataGridViewTextBoxColumn.set_DataPropertyName("MonthNameAndYear");
     this.monthNameAndYearDataGridViewTextBoxColumn.set_HeaderText("Период");
     this.monthNameAndYearDataGridViewTextBoxColumn.set_Name("monthNameAndYearDataGridViewTextBoxColumn");
     this.monthNameAndYearDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.fromDateDataGridViewTextBoxColumn.set_DataPropertyName("FromDate");
     this.fromDateDataGridViewTextBoxColumn.set_HeaderText("Дата начала");
     this.fromDateDataGridViewTextBoxColumn.set_Name("fromDateDataGridViewTextBoxColumn");
     this.fromDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.toDateDataGridViewTextBoxColumn.set_DataPropertyName("ToDate");
     this.toDateDataGridViewTextBoxColumn.set_HeaderText("Дата конца");
     this.toDateDataGridViewTextBoxColumn.set_Name("toDateDataGridViewTextBoxColumn");
     this.toDateDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.daysDataGridViewTextBoxColumn.set_DataPropertyName("Days");
     this.daysDataGridViewTextBoxColumn.set_HeaderText("Дни");
     this.daysDataGridViewTextBoxColumn.set_Name("daysDataGridViewTextBoxColumn");
     this.daysDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.Id.set_DataPropertyName("Id");
     this.Id.set_HeaderText("Id");
     this.Id.set_Name("Id");
     this.Id.set_ReadOnly(true);
     this.Id.set_Visible(false);
     this.bsCalcPeriods.set_DataSource(typeof(CalcPeriod));
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsBtnSearch, this.toolStripSeparator3, this.tsBtnFilterHide, this.tsBtnErase, this.toolStripSeparator2, this.toolStripLabel1, this.tsLblCurrentPeriod, this.tsddBtnAdd, this.toolStripSeparator1, this.tsBtnDelete, this.tsBtnDeleteOldPeriods });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0x84));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x1f7, 0x19));
     this.toolStrip1.set_TabIndex(0x52);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsBtnSearch.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsBtnSearch.set_Image(Resources.SEARCH);
     this.tsBtnSearch.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnSearch.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnSearch.set_Name("tsBtnSearch");
     this.tsBtnSearch.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsBtnSearch.set_Text("Найти");
     this.tsBtnSearch.add_Click(new System.EventHandler(this.tsBtnSearch_Click));
     this.toolStripSeparator3.set_Name("toolStripSeparator3");
     this.toolStripSeparator3.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsBtnFilterHide.set_Checked(true);
     this.tsBtnFilterHide.set_CheckOnClick(true);
     this.tsBtnFilterHide.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.tsBtnFilterHide.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsBtnFilterHide.set_Image(Resources.FILTER);
     this.tsBtnFilterHide.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnFilterHide.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnFilterHide.set_Name("tsBtnFilterHide");
     this.tsBtnFilterHide.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsBtnFilterHide.set_Text("Скрыть/отобразить настройки фильтра");
     this.tsBtnFilterHide.add_Click(new System.EventHandler(this.tsBtnFilterHide_Click));
     this.tsBtnErase.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsBtnErase.set_Image(Resources.ERASE);
     this.tsBtnErase.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnErase.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnErase.set_Name("tsBtnErase");
     this.tsBtnErase.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsBtnErase.set_Text("Очистить поля фильтра");
     this.tsBtnErase.add_Click(new System.EventHandler(this.tsBtnErase_Click));
     this.toolStripSeparator2.set_Name("toolStripSeparator2");
     this.toolStripSeparator2.set_Size(new System.Drawing.Size(6, 0x19));
     this.toolStripLabel1.set_Font(new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.toolStripLabel1.set_Name("toolStripLabel1");
     this.toolStripLabel1.set_Size(new System.Drawing.Size(110, 0x16));
     this.toolStripLabel1.set_Text("Текущий период:");
     this.tsLblCurrentPeriod.set_Name("tsLblCurrentPeriod");
     this.tsLblCurrentPeriod.set_Size(new System.Drawing.Size(0x4a, 0x16));
     this.tsLblCurrentPeriod.set_Text("неопределён");
     this.tsddBtnAdd.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsddBtnAdd.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.добавитьСледующийПериодToolStripMenuItem, this.добавитьНесколькоПериодовToolStripMenuItem });
     this.tsddBtnAdd.set_Image(Resources.ADD);
     this.tsddBtnAdd.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsddBtnAdd.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsddBtnAdd.set_Name("tsddBtnAdd");
     this.tsddBtnAdd.set_Size(new System.Drawing.Size(0x21, 0x16));
     this.tsddBtnAdd.set_Text("Добавление периодов");
     this.добавитьСледующийПериодToolStripMenuItem.set_Name("добавитьСледующийПериодToolStripMenuItem");
     this.добавитьСледующийПериодToolStripMenuItem.set_Size(new System.Drawing.Size(0xff, 0x16));
     this.добавитьСледующийПериодToolStripMenuItem.set_Text("Добавить следующий период");
     this.добавитьСледующийПериодToolStripMenuItem.add_Click(new System.EventHandler(this.добавитьСледующийПериодToolStripMenuItem_Click));
     this.добавитьНесколькоПериодовToolStripMenuItem.set_Name("добавитьНесколькоПериодовToolStripMenuItem");
     this.добавитьНесколькоПериодовToolStripMenuItem.set_Size(new System.Drawing.Size(0xff, 0x16));
     this.добавитьНесколькоПериодовToolStripMenuItem.set_Text("Добавить несколько периодов...");
     this.добавитьНесколькоПериодовToolStripMenuItem.add_Click(new System.EventHandler(this.добавитьНесколькоПериодовToolStripMenuItem_Click));
     this.toolStripSeparator1.set_Name("toolStripSeparator1");
     this.toolStripSeparator1.set_Size(new System.Drawing.Size(6, 0x19));
     this.tsBtnDelete.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsBtnDelete.set_Image(Resources.DELETE);
     this.tsBtnDelete.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsBtnDelete.set_Name("tsBtnDelete");
     this.tsBtnDelete.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsBtnDelete.set_Text("Удалить выбранное");
     this.tsBtnDelete.add_Click(new System.EventHandler(this.tsBtnDelete_Click));
     this.tsBtnDeleteOldPeriods.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsBtnDeleteOldPeriods.set_Image((System.Drawing.Image) manager.GetObject("tsBtnDeleteOldPeriods.Image"));
     this.tsBtnDeleteOldPeriods.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsBtnDeleteOldPeriods.set_Name("tsBtnDeleteOldPeriods");
     this.tsBtnDeleteOldPeriods.set_Size(new System.Drawing.Size(0x87, 0x16));
     this.tsBtnDeleteOldPeriods.set_Text("Удалить старше 3-х лет");
     this.tsBtnDeleteOldPeriods.add_Click(new System.EventHandler(this.tsBtnDeleteOldPeriods_Click));
     this.gbFilter.Controls.Add(this.cbAllMonths);
     this.gbFilter.Controls.Add(this.label3);
     this.gbFilter.Controls.Add(this.label2);
     this.gbFilter.Controls.Add(this.label1);
     this.gbFilter.Controls.Add(this.clbMonths);
     this.gbFilter.Controls.Add(this.cbYears);
     this.gbFilter.Controls.Add(this.dateInterval);
     this.gbFilter.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.gbFilter.set_Font(new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0xcc));
     this.gbFilter.set_Location(new System.Drawing.Point(0, 0));
     this.gbFilter.set_Name("gbFilter");
     this.gbFilter.set_Size(new System.Drawing.Size(0x1f7, 0x84));
     this.gbFilter.set_TabIndex(0x51);
     this.gbFilter.set_TabStop(false);
     this.gbFilter.set_Text("Фильтр");
     this.cbAllMonths.set_AutoSize(true);
     this.cbAllMonths.set_Location(new System.Drawing.Point(0x3e, 0x2d));
     this.cbAllMonths.set_Name("cbAllMonths");
     this.cbAllMonths.set_Size(new System.Drawing.Size(0x2d, 0x13));
     this.cbAllMonths.set_TabIndex(30);
     this.cbAllMonths.set_Text("Все");
     this.cbAllMonths.set_UseVisualStyleBackColor(true);
     this.cbAllMonths.add_CheckedChanged(new System.EventHandler(this.cbAllMonths_CheckedChanged));
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(6, 0x2e));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x37, 15));
     this.label3.set_TabIndex(5);
     this.label3.set_Text("Месяцы:");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(0x12e, 0x18));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x1d, 15));
     this.label2.set_TabIndex(4);
     this.label2.set_Text("Год:");
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(6, 0x18));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(60, 15));
     this.label1.set_TabIndex(3);
     this.label1.set_Text("Диапазон");
     this.clbMonths.set_BackColor(System.Drawing.SystemColors.Control);
     this.clbMonths.set_Font(new System.Drawing.Font("Segoe UI", 9f, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, 0));
     this.clbMonths.set_FormattingEnabled(true);
     this.clbMonths.Items.AddRange((object[]) new object[] { "Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь" });
     this.clbMonths.set_Location(new System.Drawing.Point(3, 0x40));
     this.clbMonths.set_MultiColumn(true);
     this.clbMonths.set_Name("clbMonths");
     this.clbMonths.set_Size(new System.Drawing.Size(0x1ec, 0x3a));
     this.clbMonths.set_TabIndex(0x23);
     this.clbMonths.add_ItemCheck(new System.Windows.Forms.ItemCheckEventHandler(this.clbMonths_ItemCheck));
     this.cbYears.set_FormattingEnabled(true);
     this.cbYears.set_Location(new System.Drawing.Point(0x151, 0x15));
     this.cbYears.set_MaxDropDownItems(12);
     this.cbYears.set_Name("cbYears");
     this.cbYears.set_Size(new System.Drawing.Size(0x79, 0x17));
     this.cbYears.set_TabIndex(20);
     this.dateInterval.AttachToPeriod = true;
     this.dateInterval.DateBeginReadonly = false;
     this.dateInterval.DateEndReadonly = false;
     this.dateInterval.set_Location(new System.Drawing.Point(0x3e, 20));
     this.dateInterval.set_Margin(new System.Windows.Forms.Padding(4));
     this.dateInterval.set_Name("dateInterval");
     this.dateInterval.set_Size(new System.Drawing.Size(0xe9, 0x17));
     this.dateInterval.set_TabIndex(10);
     this.panel1.Controls.Add(this.dgvCalcPeriods);
     this.panel1.Controls.Add(this.toolStrip1);
     this.panel1.Controls.Add(this.gbFilter);
     this.panel1.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel1.set_Location(new System.Drawing.Point(0, 0));
     this.panel1.set_Name("panel1");
     this.panel1.set_Size(new System.Drawing.Size(0x1f7, 0x192));
     this.panel1.set_TabIndex(0x53);
     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.Panel1.Controls.Add(this.panel1);
     this.splitContainer1.Panel2.Controls.Add(this.gbRestrictions);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x2e1, 0x192));
     this.splitContainer1.set_SplitterDistance(0x1f7);
     this.splitContainer1.set_TabIndex(0x54);
     this.gbRestrictions.Controls.Add(this.areaAddresses);
     this.gbRestrictions.Controls.Add(this.toolStrip2);
     this.gbRestrictions.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.gbRestrictions.set_Location(new System.Drawing.Point(0, 0));
     this.gbRestrictions.set_Name("gbRestrictions");
     this.gbRestrictions.set_Size(new System.Drawing.Size(230, 0x192));
     this.gbRestrictions.set_TabIndex(0x54);
     this.gbRestrictions.set_TabStop(false);
     this.gbRestrictions.set_Text("Ограничения");
     this.areaAddresses.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.areaAddresses.set_Location(new System.Drawing.Point(3, 0x29));
     this.areaAddresses.set_Name("areaAddresses");
     this.areaAddresses.set_Size(new System.Drawing.Size(0xe0, 0x166));
     this.areaAddresses.set_TabIndex(0x55);
     this.areaAddresses.TreeSource = null;
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbAddRestriction, this.tsbDeleteRestriction });
     this.toolStrip2.set_Location(new System.Drawing.Point(3, 0x10));
     this.toolStrip2.set_Name("toolStrip2");
     this.toolStrip2.set_Size(new System.Drawing.Size(0xe0, 0x19));
     this.toolStrip2.set_TabIndex(0x53);
     this.toolStrip2.set_Text("toolStrip2");
     this.tsbAddRestriction.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbAddRestriction.set_Image(Resources.CHANGE);
     this.tsbAddRestriction.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbAddRestriction.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbAddRestriction.set_Name("tsbAddRestriction");
     this.tsbAddRestriction.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbAddRestriction.set_Text("Изменить");
     this.tsbAddRestriction.add_Click(new System.EventHandler(this.tsbAddRestriction_Click));
     this.tsbDeleteRestriction.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.tsbDeleteRestriction.set_Image(Resources.DELETE);
     this.tsbDeleteRestriction.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.tsbDeleteRestriction.set_Name("tsbDeleteRestriction");
     this.tsbDeleteRestriction.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.tsbDeleteRestriction.set_Text("Удалить все ограничения для периода");
     this.tsbDeleteRestriction.add_Click(new System.EventHandler(this.tsbDeleteRestriction_Click));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("MonthNameAndYear");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Период");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Visible(false);
     this.dataGridViewTextBoxColumn1.set_Width(0x7a);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("FromDate");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Дата начала");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x7a);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("ToDate");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Дата конца");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x79);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("Days");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Дни");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x7a);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn5.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn5.set_Visible(false);
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(0x2e1, 0x192));
     base.Controls.Add(this.splitContainer1);
     this.set_MinimumSize(new System.Drawing.Size(0x1fa, 300));
     base.set_Name("CalcPeriodsForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("Периоды");
     base.add_Load(new System.EventHandler(this.CalcPeriodsForm_Load));
     this.dgvCalcPeriods.EndInit();
     this.bsCalcPeriods.EndInit();
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     this.gbFilter.ResumeLayout(false);
     this.gbFilter.PerformLayout();
     this.panel1.ResumeLayout(false);
     this.panel1.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.gbRestrictions.ResumeLayout(false);
     this.gbRestrictions.PerformLayout();
     this.toolStrip2.ResumeLayout(false);
     this.toolStrip2.PerformLayout();
     base.ResumeLayout(false);
 }
예제 #6
0
 private void OnPaintChilds(AreaAddressesTree.AddressesNode addressesNode)
 {
     foreach (System.Windows.Forms.TreeNode node in addressesNode.Nodes)
     {
         node.set_ForeColor(AreaAddressesTree.DefaultColor);
         this.OnPaintChilds((AreaAddressesTree.AddressesNode) node);
     }
 }
예제 #7
0
 private bool IsExists(AreaAddressesTree tree, AddressesNode node)
 {
     System.Windows.Forms.TreeNode[] treeNodes = this.GetTreeNodes(tree, node);
     if (treeNodes == null)
     {
         return false;
     }
     if (treeNodes.Length == 0)
     {
         return false;
     }
     return true;
 }
예제 #8
0
 private System.Windows.Forms.TreeNode[] GetTreeNodes(AreaAddressesTree tree, AddressesNode node)
 {
     return tree.Nodes.Find(node.get_Name(), true);
 }
예제 #9
0
 private AddressesNode GetNode(AreaAddressesTree tree, AddressesNode node)
 {
     System.Windows.Forms.TreeNode[] treeNodes = this.GetTreeNodes(tree, node);
     if ((treeNodes != null) && (treeNodes.Length != 0))
     {
         return (AddressesNode) treeNodes[0];
     }
     return null;
 }
예제 #10
0
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(PaymentNoticesMainFormOld));
     this.tcPaymentNotices = new System.Windows.Forms.TabControl();
     this.tpFormPrint = new System.Windows.Forms.TabPage();
     this.dgvNotices = new System.Windows.Forms.DataGridView();
     this.toPayDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.periodDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.accountNumberDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.addressNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.ownerNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.houseHolderNameDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsNotices = new System.Windows.Forms.BindingSource(this.components);
     this.panel2 = new System.Windows.Forms.Panel();
     this.groupBox4 = new System.Windows.Forms.GroupBox();
     this.gbExportHouseNotices = new System.Windows.Forms.GroupBox();
     this.nudPageCount = new System.Windows.Forms.NumericUpDown();
     this.lbPageCount = new System.Windows.Forms.Label();
     this.nudHousesPerDoc = new System.Windows.Forms.NumericUpDown();
     this.lbHousesPerDoc = new System.Windows.Forms.Label();
     this.rbExportHouseNotices = new System.Windows.Forms.RadioButton();
     this.rbExportAccountNotices = new System.Windows.Forms.RadioButton();
     this.progressBarExportPdf = new System.Windows.Forms.ProgressBar();
     this.lbExportFolder = new System.Windows.Forms.Label();
     this.btnChooseExportDirectory = new System.Windows.Forms.Button();
     this.tbExportDirectory = new System.Windows.Forms.TextBox();
     this.btExportPdf = new System.Windows.Forms.Button();
     this.groupBox2 = new System.Windows.Forms.GroupBox();
     this.chbxIsDesignTemplate = new System.Windows.Forms.CheckBox();
     this.cbNoticeInformation = new System.Windows.Forms.CheckBox();
     this.cbHideClosedAccounts = new System.Windows.Forms.CheckBox();
     this.cbPrint = new System.Windows.Forms.ComboBox();
     this.bsNoticeTemplates = new System.Windows.Forms.BindingSource(this.components);
     this.btPrint = new System.Windows.Forms.Button();
     this.groupBox1 = new System.Windows.Forms.GroupBox();
     this.groupBoxPayment = new CheckGroupBox();
     this.numSummToPayMax = new System.Windows.Forms.NumericUpDown();
     this.numSummToPayMin = new System.Windows.Forms.NumericUpDown();
     this.label3 = new System.Windows.Forms.Label();
     this.label2 = new System.Windows.Forms.Label();
     this.rbFindHHServices = new System.Windows.Forms.RadioButton();
     this.rbFindAllServices = new System.Windows.Forms.RadioButton();
     this.lNoticesKode = new System.Windows.Forms.Label();
     this.btView = new System.Windows.Forms.Button();
     this.datePeriodShow = new DatePeriodSelector();
     this.tbBarcode = new System.Windows.Forms.TextBox();
     this.lPeriod = new System.Windows.Forms.Label();
     this.groupBox3 = new System.Windows.Forms.GroupBox();
     this.cbAllLS = new System.Windows.Forms.CheckBox();
     this.cbNotExistDebt = new System.Windows.Forms.CheckBox();
     this.rbFindHHServices2 = new System.Windows.Forms.RadioButton();
     this.rbFindAllServices2 = new System.Windows.Forms.RadioButton();
     this.statusStrip1 = new System.Windows.Forms.StatusStrip();
     this.imageLabel = new System.Windows.Forms.ToolStripStatusLabel();
     this.textLabel = new System.Windows.Forms.ToolStripStatusLabel();
     this.btGenerate = new System.Windows.Forms.Button();
     this.label1 = new System.Windows.Forms.Label();
     this.datePeriodGenerate = new DatePeriodSelector();
     this.tpAddInfo = new System.Windows.Forms.TabPage();
     this.dgvNoticeAddr = new System.Windows.Forms.DataGridView();
     this.addressNameDataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.informationTextDataGridViewTextBoxColumn = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.bsNoticeInfoAdr = new System.Windows.Forms.BindingSource(this.components);
     this.toolStrip2 = new System.Windows.Forms.ToolStrip();
     this.btnAdd = new System.Windows.Forms.ToolStripButton();
     this.btnChange = new System.Windows.Forms.ToolStripButton();
     this.btnDel = new System.Windows.Forms.ToolStripButton();
     this.btnCurrentPosition = new System.Windows.Forms.ToolStripButton();
     this.btnAllPosition = new System.Windows.Forms.ToolStripButton();
     this.toolStripLabel1 = new System.Windows.Forms.ToolStripLabel();
     this.splitContainer1 = new System.Windows.Forms.SplitContainer();
     this.splitContainer2 = new System.Windows.Forms.SplitContainer();
     this.tabControlOrgs = new System.Windows.Forms.TabControl();
     this.tpOrganizations = new System.Windows.Forms.TabPage();
     this.selectHouseHolders = new SelectOrganizations();
     this.tpAreaGroups = new System.Windows.Forms.TabPage();
     this.areaGroupsTree = new AreaGroupsTree();
     this.areaAddressesTree = new AreaAddressesTree();
     this.toolStrip1 = new System.Windows.Forms.ToolStrip();
     this.tsbtnLoadAll = new System.Windows.Forms.ToolStripButton();
     this.tsbtnLoadByHolders = new System.Windows.Forms.ToolStripButton();
     this.workerNotices = new BackgroundWorker();
     this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
     this.workerExportPdf = new BackgroundWorker();
     this.tcPaymentNotices.SuspendLayout();
     this.tpFormPrint.SuspendLayout();
     this.dgvNotices.BeginInit();
     this.bsNotices.BeginInit();
     this.panel2.SuspendLayout();
     this.groupBox4.SuspendLayout();
     this.gbExportHouseNotices.SuspendLayout();
     this.nudPageCount.BeginInit();
     this.nudHousesPerDoc.BeginInit();
     this.groupBox2.SuspendLayout();
     this.bsNoticeTemplates.BeginInit();
     this.groupBox1.SuspendLayout();
     this.groupBoxPayment.SuspendLayout();
     this.numSummToPayMax.BeginInit();
     this.numSummToPayMin.BeginInit();
     this.groupBox3.SuspendLayout();
     this.statusStrip1.SuspendLayout();
     this.tpAddInfo.SuspendLayout();
     this.dgvNoticeAddr.BeginInit();
     this.bsNoticeInfoAdr.BeginInit();
     this.toolStrip2.SuspendLayout();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.splitContainer2.Panel1.SuspendLayout();
     this.splitContainer2.Panel2.SuspendLayout();
     this.splitContainer2.SuspendLayout();
     this.tabControlOrgs.SuspendLayout();
     this.tpOrganizations.SuspendLayout();
     this.tpAreaGroups.SuspendLayout();
     this.toolStrip1.SuspendLayout();
     base.SuspendLayout();
     this.tcPaymentNotices.Controls.Add(this.tpFormPrint);
     this.tcPaymentNotices.Controls.Add(this.tpAddInfo);
     this.tcPaymentNotices.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tcPaymentNotices.set_Location(new System.Drawing.Point(0, 0));
     this.tcPaymentNotices.set_Name("tcPaymentNotices");
     this.tcPaymentNotices.set_SelectedIndex(0);
     this.tcPaymentNotices.set_Size(new System.Drawing.Size(0x274, 0x237));
     this.tcPaymentNotices.set_TabIndex(0);
     this.tcPaymentNotices.add_SelectedIndexChanged(new System.EventHandler(this.tcPaymentNotices_SelectedIndexChanged));
     this.tpFormPrint.Controls.Add(this.dgvNotices);
     this.tpFormPrint.Controls.Add(this.panel2);
     this.tpFormPrint.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpFormPrint.set_Name("tpFormPrint");
     this.tpFormPrint.set_Size(new System.Drawing.Size(620, 0x21d));
     this.tpFormPrint.set_TabIndex(0);
     this.tpFormPrint.set_Text("Формирование/печать");
     this.tpFormPrint.set_UseVisualStyleBackColor(true);
     this.dgvNotices.set_AllowUserToAddRows(false);
     this.dgvNotices.set_AllowUserToDeleteRows(false);
     this.dgvNotices.set_AutoGenerateColumns(false);
     this.dgvNotices.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvNotices.set_AutoSizeRowsMode(System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells);
     this.dgvNotices.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvNotices.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.toPayDataGridViewTextBoxColumn, this.periodDataGridViewTextBoxColumn, this.accountNumberDataGridViewTextBoxColumn, this.addressNameDataGridViewTextBoxColumn, this.ownerNameDataGridViewTextBoxColumn, this.houseHolderNameDataGridViewTextBoxColumn });
     this.dgvNotices.set_DataSource(this.bsNotices);
     this.dgvNotices.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvNotices.set_Location(new System.Drawing.Point(0, 0x131));
     this.dgvNotices.set_Margin(new System.Windows.Forms.Padding(2));
     this.dgvNotices.set_Name("dgvNotices");
     this.dgvNotices.set_RowHeadersVisible(false);
     this.dgvNotices.set_RowHeadersWidth(20);
     this.dgvNotices.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvNotices.set_Size(new System.Drawing.Size(620, 0xec));
     this.dgvNotices.set_TabIndex(0x10);
     this.toPayDataGridViewTextBoxColumn.set_DataPropertyName("ToPay");
     this.toPayDataGridViewTextBoxColumn.set_HeaderText("К оплате");
     this.toPayDataGridViewTextBoxColumn.set_Name("toPayDataGridViewTextBoxColumn");
     this.toPayDataGridViewTextBoxColumn.set_Width(0x47);
     this.periodDataGridViewTextBoxColumn.set_DataPropertyName("Period");
     this.periodDataGridViewTextBoxColumn.set_HeaderText("Период");
     this.periodDataGridViewTextBoxColumn.set_Name("periodDataGridViewTextBoxColumn");
     this.periodDataGridViewTextBoxColumn.set_Width(70);
     this.accountNumberDataGridViewTextBoxColumn.set_DataPropertyName("AccountNumber");
     this.accountNumberDataGridViewTextBoxColumn.set_HeaderText("Лиц. счет");
     this.accountNumberDataGridViewTextBoxColumn.set_Name("accountNumberDataGridViewTextBoxColumn");
     this.accountNumberDataGridViewTextBoxColumn.set_Width(0x4a);
     this.addressNameDataGridViewTextBoxColumn.set_DataPropertyName("AddressName");
     this.addressNameDataGridViewTextBoxColumn.set_HeaderText("Адрес");
     this.addressNameDataGridViewTextBoxColumn.set_Name("addressNameDataGridViewTextBoxColumn");
     this.addressNameDataGridViewTextBoxColumn.set_Width(0x3f);
     this.ownerNameDataGridViewTextBoxColumn.set_DataPropertyName("OwnerName");
     this.ownerNameDataGridViewTextBoxColumn.set_HeaderText("Абонент");
     this.ownerNameDataGridViewTextBoxColumn.set_Name("ownerNameDataGridViewTextBoxColumn");
     this.ownerNameDataGridViewTextBoxColumn.set_Width(0x4a);
     this.houseHolderNameDataGridViewTextBoxColumn.set_DataPropertyName("HouseHolderName");
     this.houseHolderNameDataGridViewTextBoxColumn.set_HeaderText("Управляющая компания");
     this.houseHolderNameDataGridViewTextBoxColumn.set_Name("houseHolderNameDataGridViewTextBoxColumn");
     this.houseHolderNameDataGridViewTextBoxColumn.set_Width(0x90);
     this.bsNotices.set_DataSource(typeof(NoticeNotice));
     this.bsNotices.set_Sort("AddressName");
     this.panel2.Controls.Add(this.groupBox4);
     this.panel2.Controls.Add(this.groupBox2);
     this.panel2.Controls.Add(this.groupBox1);
     this.panel2.Controls.Add(this.groupBox3);
     this.panel2.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.panel2.set_Location(new System.Drawing.Point(0, 0));
     this.panel2.set_Margin(new System.Windows.Forms.Padding(2));
     this.panel2.set_Name("panel2");
     this.panel2.set_Size(new System.Drawing.Size(620, 0x131));
     this.panel2.set_TabIndex(15);
     this.groupBox4.Controls.Add(this.gbExportHouseNotices);
     this.groupBox4.Controls.Add(this.rbExportHouseNotices);
     this.groupBox4.Controls.Add(this.rbExportAccountNotices);
     this.groupBox4.Controls.Add(this.progressBarExportPdf);
     this.groupBox4.Controls.Add(this.lbExportFolder);
     this.groupBox4.Controls.Add(this.btnChooseExportDirectory);
     this.groupBox4.Controls.Add(this.tbExportDirectory);
     this.groupBox4.Controls.Add(this.btExportPdf);
     this.groupBox4.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.groupBox4.set_Location(new System.Drawing.Point(0, 0xd5));
     this.groupBox4.set_Name("groupBox4");
     this.groupBox4.set_Size(new System.Drawing.Size(620, 0x5c));
     this.groupBox4.set_TabIndex(14);
     this.groupBox4.set_TabStop(false);
     this.groupBox4.set_Text("Выгрузка в PDF");
     this.gbExportHouseNotices.Controls.Add(this.nudPageCount);
     this.gbExportHouseNotices.Controls.Add(this.lbPageCount);
     this.gbExportHouseNotices.Controls.Add(this.nudHousesPerDoc);
     this.gbExportHouseNotices.Controls.Add(this.lbHousesPerDoc);
     this.gbExportHouseNotices.set_Location(new System.Drawing.Point(0x127, 11));
     this.gbExportHouseNotices.set_Name("gbExportHouseNotices");
     this.gbExportHouseNotices.set_Size(new System.Drawing.Size(0xbb, 0x47));
     this.gbExportHouseNotices.set_TabIndex(0x12);
     this.gbExportHouseNotices.set_TabStop(false);
     this.gbExportHouseNotices.set_Text("Доп. параметры");
     this.nudPageCount.set_Location(new System.Drawing.Point(0x73, 0x2b));
     this.nudPageCount.set_Margin(new System.Windows.Forms.Padding(4));
     int[] numArray = new int[4];
     numArray[0] = 0xf423f;
     this.nudPageCount.set_Maximum(new decimal(numArray));
     int[] numArray2 = new int[4];
     numArray2[0] = 1;
     this.nudPageCount.set_Minimum(new decimal(numArray2));
     this.nudPageCount.set_Name("nudPageCount");
     this.nudPageCount.set_Size(new System.Drawing.Size(0x3a, 20));
     this.nudPageCount.set_TabIndex(8);
     int[] numArray3 = new int[4];
     numArray3[0] = 500;
     this.nudPageCount.set_Value(new decimal(numArray3));
     this.lbPageCount.set_AutoSize(true);
     this.lbPageCount.set_Location(new System.Drawing.Point(6, 0x2d));
     this.lbPageCount.set_Margin(new System.Windows.Forms.Padding(2));
     this.lbPageCount.set_Name("lbPageCount");
     this.lbPageCount.set_Size(new System.Drawing.Size(0x55, 13));
     this.lbPageCount.set_TabIndex(7);
     this.lbPageCount.set_Text("Кол-во страниц");
     this.nudHousesPerDoc.set_Location(new System.Drawing.Point(0x73, 15));
     this.nudHousesPerDoc.set_Margin(new System.Windows.Forms.Padding(4));
     int[] numArray4 = new int[4];
     numArray4[0] = 0x270f;
     this.nudHousesPerDoc.set_Maximum(new decimal(numArray4));
     int[] numArray5 = new int[4];
     numArray5[0] = 1;
     this.nudHousesPerDoc.set_Minimum(new decimal(numArray5));
     this.nudHousesPerDoc.set_Name("nudHousesPerDoc");
     this.nudHousesPerDoc.set_Size(new System.Drawing.Size(0x3a, 20));
     this.nudHousesPerDoc.set_TabIndex(1);
     int[] numArray6 = new int[4];
     numArray6[0] = 1;
     this.nudHousesPerDoc.set_Value(new decimal(numArray6));
     this.lbHousesPerDoc.set_AutoSize(true);
     this.lbHousesPerDoc.set_Location(new System.Drawing.Point(6, 0x12));
     this.lbHousesPerDoc.set_Margin(new System.Windows.Forms.Padding(2));
     this.lbHousesPerDoc.set_Name("lbHousesPerDoc");
     this.lbHousesPerDoc.set_Size(new System.Drawing.Size(0x66, 13));
     this.lbHousesPerDoc.set_TabIndex(0);
     this.lbHousesPerDoc.set_Text("Мин. кол-во домов");
     this.rbExportHouseNotices.set_AutoSize(true);
     this.rbExportHouseNotices.set_Checked(true);
     this.rbExportHouseNotices.set_Location(new System.Drawing.Point(9, 0x1a));
     this.rbExportHouseNotices.set_Name("rbExportHouseNotices");
     this.rbExportHouseNotices.set_Size(new System.Drawing.Size(0x4c, 0x11));
     this.rbExportHouseNotices.set_TabIndex(0x10);
     this.rbExportHouseNotices.set_TabStop(true);
     this.rbExportHouseNotices.set_Text("По домам");
     this.rbExportHouseNotices.set_UseVisualStyleBackColor(true);
     this.rbExportAccountNotices.set_AutoSize(true);
     this.rbExportAccountNotices.set_Location(new System.Drawing.Point(0x7d, 0x1a));
     this.rbExportAccountNotices.set_Name("rbExportAccountNotices");
     this.rbExportAccountNotices.set_Size(new System.Drawing.Size(0x7f, 0x11));
     this.rbExportAccountNotices.set_TabIndex(0x11);
     this.rbExportAccountNotices.set_Text("По лицевым счетам");
     this.rbExportAccountNotices.set_UseVisualStyleBackColor(true);
     this.rbExportAccountNotices.add_CheckedChanged(new System.EventHandler(this.rbExportAccountNotices_CheckedChanged));
     this.progressBarExportPdf.set_Location(new System.Drawing.Point(0x1e8, 0x10));
     this.progressBarExportPdf.set_Name("progressBarExportPdf");
     this.progressBarExportPdf.set_Size(new System.Drawing.Size(0x5f, 20));
     this.progressBarExportPdf.set_Step(1);
     this.progressBarExportPdf.set_Style(System.Windows.Forms.ProgressBarStyle.Continuous);
     this.progressBarExportPdf.set_TabIndex(15);
     this.progressBarExportPdf.set_Visible(false);
     this.lbExportFolder.set_AutoSize(true);
     this.lbExportFolder.set_Location(new System.Drawing.Point(6, 0x3b));
     this.lbExportFolder.set_Margin(new System.Windows.Forms.Padding(2));
     this.lbExportFolder.set_Name("lbExportFolder");
     this.lbExportFolder.set_Size(new System.Drawing.Size(0x30, 13));
     this.lbExportFolder.set_TabIndex(14);
     this.lbExportFolder.set_Text("Каталог");
     this.btnChooseExportDirectory.set_Location(new System.Drawing.Point(0x102, 0x37));
     this.btnChooseExportDirectory.set_Name("btnChooseExportDirectory");
     this.btnChooseExportDirectory.set_Size(new System.Drawing.Size(0x1f, 0x17));
     this.btnChooseExportDirectory.set_TabIndex(13);
     this.btnChooseExportDirectory.set_Text("...");
     this.btnChooseExportDirectory.set_TextAlign(System.Drawing.ContentAlignment.TopCenter);
     this.btnChooseExportDirectory.set_UseVisualStyleBackColor(true);
     this.btnChooseExportDirectory.add_Click(new System.EventHandler(this.btnChooseExportDirectory_Click));
     this.tbExportDirectory.set_Location(new System.Drawing.Point(0x3b, 0x38));
     this.tbExportDirectory.set_Name("tbExportDirectory");
     this.tbExportDirectory.set_ReadOnly(true);
     this.tbExportDirectory.set_Size(new System.Drawing.Size(0xc1, 20));
     this.tbExportDirectory.set_TabIndex(12);
     this.btExportPdf.set_Location(new System.Drawing.Point(0x1e7, 0x29));
     this.btExportPdf.set_Margin(new System.Windows.Forms.Padding(2));
     this.btExportPdf.set_Name("btExportPdf");
     this.btExportPdf.set_Size(new System.Drawing.Size(0x61, 40));
     this.btExportPdf.set_TabIndex(6);
     this.btExportPdf.set_Text("Выгрузить");
     this.btExportPdf.set_UseVisualStyleBackColor(true);
     this.btExportPdf.add_Click(new System.EventHandler(this.btExportPdf_Click));
     this.groupBox2.Controls.Add(this.chbxIsDesignTemplate);
     this.groupBox2.Controls.Add(this.cbNoticeInformation);
     this.groupBox2.Controls.Add(this.cbHideClosedAccounts);
     this.groupBox2.Controls.Add(this.cbPrint);
     this.groupBox2.Controls.Add(this.btPrint);
     this.groupBox2.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox2.set_Location(new System.Drawing.Point(0, 0x9a));
     this.groupBox2.set_Margin(new System.Windows.Forms.Padding(2));
     this.groupBox2.set_Name("groupBox2");
     this.groupBox2.set_Padding(new System.Windows.Forms.Padding(2));
     this.groupBox2.set_Size(new System.Drawing.Size(620, 0x3b));
     this.groupBox2.set_TabIndex(12);
     this.groupBox2.set_TabStop(false);
     this.groupBox2.set_Text("Печать");
     this.chbxIsDesignTemplate.set_AutoSize(true);
     this.chbxIsDesignTemplate.set_Location(new System.Drawing.Point(0x16a, 0x24));
     this.chbxIsDesignTemplate.set_Name("chbxIsDesignTemplate");
     this.chbxIsDesignTemplate.set_Size(new System.Drawing.Size(0x79, 0x11));
     this.chbxIsDesignTemplate.set_TabIndex(13);
     this.chbxIsDesignTemplate.set_Text("Открыть дизайнер");
     this.chbxIsDesignTemplate.set_UseVisualStyleBackColor(true);
     this.cbNoticeInformation.set_AutoSize(true);
     this.cbNoticeInformation.set_Location(new System.Drawing.Point(0x100, 0x10));
     this.cbNoticeInformation.set_Name("cbNoticeInformation");
     this.cbNoticeInformation.set_Size(new System.Drawing.Size(0xe4, 0x11));
     this.cbNoticeInformation.set_TabIndex(12);
     this.cbNoticeInformation.set_Text("Включить в справку  печать сообщений");
     this.cbNoticeInformation.set_UseVisualStyleBackColor(true);
     this.cbHideClosedAccounts.set_AutoSize(true);
     this.cbHideClosedAccounts.set_Location(new System.Drawing.Point(0x100, 0x24));
     this.cbHideClosedAccounts.set_Name("cbHideClosedAccounts");
     this.cbHideClosedAccounts.set_Size(new System.Drawing.Size(0x62, 0x11));
     this.cbHideClosedAccounts.set_TabIndex(11);
     this.cbHideClosedAccounts.set_Text("Без закрытых");
     this.cbHideClosedAccounts.set_UseVisualStyleBackColor(true);
     this.cbPrint.set_DataSource(this.bsNoticeTemplates);
     this.cbPrint.set_DisplayMember("Name");
     this.cbPrint.set_DropDownStyle(System.Windows.Forms.ComboBoxStyle.DropDownList);
     this.cbPrint.set_FormattingEnabled(true);
     this.cbPrint.set_Location(new System.Drawing.Point(4, 0x11));
     this.cbPrint.set_Margin(new System.Windows.Forms.Padding(2));
     this.cbPrint.set_Name("cbPrint");
     this.cbPrint.set_Size(new System.Drawing.Size(0xea, 0x15));
     this.cbPrint.set_TabIndex(10);
     this.cbPrint.set_ValueMember("Id");
     this.bsNoticeTemplates.set_DataSource(typeof(NoticeNoticeTemplate));
     this.btPrint.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btPrint.set_Location(new System.Drawing.Point(0x1e9, 12));
     this.btPrint.set_Margin(new System.Windows.Forms.Padding(2));
     this.btPrint.set_Name("btPrint");
     this.btPrint.set_Size(new System.Drawing.Size(0x61, 0x2b));
     this.btPrint.set_TabIndex(5);
     this.btPrint.set_Text("&Показать");
     this.btPrint.set_UseVisualStyleBackColor(true);
     this.btPrint.add_Click(new System.EventHandler(this.btPrint_Click));
     this.groupBox1.Controls.Add(this.groupBoxPayment);
     this.groupBox1.Controls.Add(this.rbFindHHServices);
     this.groupBox1.Controls.Add(this.rbFindAllServices);
     this.groupBox1.Controls.Add(this.lNoticesKode);
     this.groupBox1.Controls.Add(this.btView);
     this.groupBox1.Controls.Add(this.datePeriodShow);
     this.groupBox1.Controls.Add(this.tbBarcode);
     this.groupBox1.Controls.Add(this.lPeriod);
     this.groupBox1.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox1.set_Location(new System.Drawing.Point(0, 0x4d));
     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(620, 0x4d));
     this.groupBox1.set_TabIndex(11);
     this.groupBox1.set_TabStop(false);
     this.groupBox1.set_Text("Поиск");
     this.groupBoxPayment.CheckBoxText = "Сумма к оплате";
     this.groupBoxPayment.Checked = false;
     this.groupBoxPayment.Controls.Add(this.numSummToPayMax);
     this.groupBoxPayment.Controls.Add(this.numSummToPayMin);
     this.groupBoxPayment.Controls.Add(this.label3);
     this.groupBoxPayment.Controls.Add(this.label2);
     this.groupBoxPayment.set_Location(new System.Drawing.Point(0x127, 11));
     this.groupBoxPayment.set_Name("groupBoxPayment");
     this.groupBoxPayment.set_Size(new System.Drawing.Size(0xbd, 0x3d));
     this.groupBoxPayment.set_TabIndex(0x81);
     this.groupBoxPayment.set_TabStop(false);
     this.groupBoxPayment.CheckedChanged += new System.EventHandler(this.groupBoxPayment_CheckedChanged);
     this.numSummToPayMax.set_DecimalPlaces(2);
     this.numSummToPayMax.set_Enabled(false);
     this.numSummToPayMax.set_Location(new System.Drawing.Point(0x38, 0x26));
     int[] numArray7 = new int[4];
     numArray7[0] = 0x989680;
     this.numSummToPayMax.set_Maximum(new decimal(numArray7));
     int[] numArray8 = new int[4];
     numArray8[0] = 0xf4240;
     numArray8[3] = -2147483648;
     this.numSummToPayMax.set_Minimum(new decimal(numArray8));
     this.numSummToPayMax.set_Name("numSummToPayMax");
     this.numSummToPayMax.set_Size(new System.Drawing.Size(0x7e, 20));
     this.numSummToPayMax.set_TabIndex(0x12);
     int[] numArray9 = new int[4];
     numArray9[0] = 0xf4240;
     this.numSummToPayMax.set_Value(new decimal(numArray9));
     this.numSummToPayMin.set_DecimalPlaces(2);
     this.numSummToPayMin.set_Enabled(false);
     this.numSummToPayMin.set_Location(new System.Drawing.Point(0x38, 15));
     int[] numArray10 = new int[4];
     numArray10[0] = 0xf4240;
     this.numSummToPayMin.set_Maximum(new decimal(numArray10));
     int[] numArray11 = new int[4];
     numArray11[0] = 0xf4240;
     numArray11[3] = -2147483648;
     this.numSummToPayMin.set_Minimum(new decimal(numArray11));
     this.numSummToPayMin.set_Name("numSummToPayMin");
     this.numSummToPayMin.set_Size(new System.Drawing.Size(0x7e, 20));
     this.numSummToPayMin.set_TabIndex(0x10);
     this.label3.set_AutoSize(true);
     this.label3.set_Location(new System.Drawing.Point(6, 0x29));
     this.label3.set_Name("label3");
     this.label3.set_Size(new System.Drawing.Size(0x2f, 13));
     this.label3.set_TabIndex(0x13);
     this.label3.set_Text("меньше");
     this.label2.set_AutoSize(true);
     this.label2.set_Location(new System.Drawing.Point(6, 0x12));
     this.label2.set_Name("label2");
     this.label2.set_Size(new System.Drawing.Size(0x2d, 13));
     this.label2.set_TabIndex(0x11);
     this.label2.set_Text("больше");
     this.rbFindHHServices.set_AutoSize(true);
     this.rbFindHHServices.set_Location(new System.Drawing.Point(0xcb, 50));
     this.rbFindHHServices.set_Name("rbFindHHServices");
     this.rbFindHHServices.set_Size(new System.Drawing.Size(0x4f, 0x11));
     this.rbFindHHServices.set_TabIndex(15);
     this.rbFindHHServices.set_Text("Услуги УК");
     this.rbFindHHServices.set_UseVisualStyleBackColor(true);
     this.rbFindHHServices.add_CheckedChanged(new System.EventHandler(this.rbFindAllServices_CheckedChanged));
     this.rbFindAllServices.set_AutoSize(true);
     this.rbFindAllServices.set_Checked(true);
     this.rbFindAllServices.set_Location(new System.Drawing.Point(0xca, 20));
     this.rbFindAllServices.set_Name("rbFindAllServices");
     this.rbFindAllServices.set_Size(new System.Drawing.Size(80, 0x11));
     this.rbFindAllServices.set_TabIndex(15);
     this.rbFindAllServices.set_TabStop(true);
     this.rbFindAllServices.set_Text("Все услуги");
     this.rbFindAllServices.set_UseVisualStyleBackColor(true);
     this.rbFindAllServices.add_CheckedChanged(new System.EventHandler(this.rbFindAllServices_CheckedChanged));
     this.lNoticesKode.set_AutoSize(true);
     this.lNoticesKode.set_Location(new System.Drawing.Point(4, 0x35));
     this.lNoticesKode.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.lNoticesKode.set_Name("lNoticesKode");
     this.lNoticesKode.set_Size(new System.Drawing.Size(0x2c, 13));
     this.lNoticesKode.set_TabIndex(9);
     this.lNoticesKode.set_Text("Код кв.");
     this.btView.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btView.set_Location(new System.Drawing.Point(0x1e9, 11));
     this.btView.set_Margin(new System.Windows.Forms.Padding(2));
     this.btView.set_Name("btView");
     this.btView.set_Size(new System.Drawing.Size(0x61, 0x3d));
     this.btView.set_TabIndex(4);
     this.btView.set_Text("Поиск");
     this.btView.set_UseVisualStyleBackColor(true);
     this.btView.add_Click(new System.EventHandler(this.btView_Click));
     this.datePeriodShow.set_Location(new System.Drawing.Point(0x37, 20));
     this.datePeriodShow.set_Margin(new System.Windows.Forms.Padding(4));
     this.datePeriodShow.set_Name("datePeriodShow");
     this.datePeriodShow.set_Size(new System.Drawing.Size(0x85, 0x15));
     this.datePeriodShow.set_TabIndex(13);
     this.tbBarcode.set_Location(new System.Drawing.Point(0x36, 0x31));
     this.tbBarcode.set_Margin(new System.Windows.Forms.Padding(2));
     this.tbBarcode.set_Name("tbBarcode");
     this.tbBarcode.set_Size(new System.Drawing.Size(0x85, 20));
     this.tbBarcode.set_TabIndex(8);
     this.tbBarcode.add_KeyDown(new System.Windows.Forms.KeyEventHandler(this.textBox1_KeyDown));
     this.lPeriod.set_AutoSize(true);
     this.lPeriod.set_Location(new System.Drawing.Point(4, 0x17));
     this.lPeriod.set_Margin(new System.Windows.Forms.Padding(2, 0, 2, 0));
     this.lPeriod.set_Name("lPeriod");
     this.lPeriod.set_Size(new System.Drawing.Size(0x2d, 13));
     this.lPeriod.set_TabIndex(7);
     this.lPeriod.set_Text("Период");
     this.groupBox3.Controls.Add(this.cbAllLS);
     this.groupBox3.Controls.Add(this.cbNotExistDebt);
     this.groupBox3.Controls.Add(this.rbFindHHServices2);
     this.groupBox3.Controls.Add(this.rbFindAllServices2);
     this.groupBox3.Controls.Add(this.statusStrip1);
     this.groupBox3.Controls.Add(this.btGenerate);
     this.groupBox3.Controls.Add(this.label1);
     this.groupBox3.Controls.Add(this.datePeriodGenerate);
     this.groupBox3.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.groupBox3.set_Location(new System.Drawing.Point(0, 0));
     this.groupBox3.set_Name("groupBox3");
     this.groupBox3.set_Size(new System.Drawing.Size(620, 0x4d));
     this.groupBox3.set_TabIndex(13);
     this.groupBox3.set_TabStop(false);
     this.groupBox3.set_Text("Формирование");
     this.cbAllLS.set_AutoSize(true);
     this.cbAllLS.set_Checked(true);
     this.cbAllLS.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.cbAllLS.set_Location(new System.Drawing.Point(0x12e, 13));
     this.cbAllLS.set_Name("cbAllLS");
     this.cbAllLS.set_Size(new System.Drawing.Size(0x5c, 0x11));
     this.cbAllLS.set_TabIndex(0x13);
     this.cbAllLS.set_Text("Все лицевые");
     this.cbAllLS.set_UseVisualStyleBackColor(true);
     this.cbAllLS.add_CheckedChanged(new System.EventHandler(this.cbAllLS_CheckedChanged));
     this.cbNotExistDebt.set_AutoSize(true);
     this.cbNotExistDebt.set_Checked(true);
     this.cbNotExistDebt.set_CheckState(System.Windows.Forms.CheckState.Indeterminate);
     this.cbNotExistDebt.set_Enabled(false);
     this.cbNotExistDebt.set_Location(new System.Drawing.Point(0x12e, 0x1f));
     this.cbNotExistDebt.set_Name("cbNotExistDebt");
     this.cbNotExistDebt.set_Size(new System.Drawing.Size(0xaf, 0x11));
     this.cbNotExistDebt.set_TabIndex(0x12);
     this.cbNotExistDebt.set_Text("Без долга на начало периода");
     this.cbNotExistDebt.set_UseVisualStyleBackColor(true);
     this.rbFindHHServices2.set_AutoSize(true);
     this.rbFindHHServices2.set_Location(new System.Drawing.Point(0xce, 0x20));
     this.rbFindHHServices2.set_Name("rbFindHHServices2");
     this.rbFindHHServices2.set_Size(new System.Drawing.Size(0x4f, 0x11));
     this.rbFindHHServices2.set_TabIndex(0x11);
     this.rbFindHHServices2.set_Text("Услуги УК");
     this.rbFindHHServices2.set_UseVisualStyleBackColor(true);
     this.rbFindHHServices2.add_CheckedChanged(new System.EventHandler(this.rbFindAllServices_CheckedChanged));
     this.rbFindAllServices2.set_AutoSize(true);
     this.rbFindAllServices2.set_Checked(true);
     this.rbFindAllServices2.set_Location(new System.Drawing.Point(0xcd, 13));
     this.rbFindAllServices2.set_Name("rbFindAllServices2");
     this.rbFindAllServices2.set_Size(new System.Drawing.Size(80, 0x11));
     this.rbFindAllServices2.set_TabIndex(0x10);
     this.rbFindAllServices2.set_TabStop(true);
     this.rbFindAllServices2.set_Text("Все услуги");
     this.rbFindAllServices2.set_UseVisualStyleBackColor(true);
     this.rbFindAllServices2.add_CheckedChanged(new System.EventHandler(this.rbFindAllServices_CheckedChanged));
     this.statusStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.imageLabel, this.textLabel });
     this.statusStrip1.set_Location(new System.Drawing.Point(3, 0x34));
     this.statusStrip1.set_Name("statusStrip1");
     this.statusStrip1.set_Size(new System.Drawing.Size(0x266, 0x16));
     this.statusStrip1.set_SizingGrip(false);
     this.statusStrip1.set_TabIndex(9);
     this.statusStrip1.set_Text("statusStrip1");
     this.imageLabel.set_AutoSize(false);
     this.imageLabel.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.imageLabel.set_Image(Resources.WAITING);
     this.imageLabel.set_ImageAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.imageLabel.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.imageLabel.set_Name("imageLabel");
     this.imageLabel.set_Size(new System.Drawing.Size(0x11, 0x11));
     this.imageLabel.set_TextAlign(System.Drawing.ContentAlignment.MiddleLeft);
     this.imageLabel.set_Visible(false);
     this.textLabel.set_Name("textLabel");
     this.textLabel.set_Size(new System.Drawing.Size(0x131, 0x11));
     this.textLabel.set_Text("Выберите период и нажмите кнопку \"Сформировать\"");
     this.btGenerate.set_ImageAlign(System.Drawing.ContentAlignment.MiddleRight);
     this.btGenerate.set_Location(new System.Drawing.Point(0x1e9, 8));
     this.btGenerate.set_Name("btGenerate");
     this.btGenerate.set_Size(new System.Drawing.Size(0x61, 0x29));
     this.btGenerate.set_TabIndex(8);
     this.btGenerate.set_Text("&Сформировать");
     this.btGenerate.set_UseVisualStyleBackColor(true);
     this.btGenerate.add_Click(new System.EventHandler(this.btGenerate_Click));
     this.label1.set_AutoSize(true);
     this.label1.set_Location(new System.Drawing.Point(6, 0x1f));
     this.label1.set_Name("label1");
     this.label1.set_Size(new System.Drawing.Size(0x2d, 13));
     this.label1.set_TabIndex(7);
     this.label1.set_Text("Период");
     this.datePeriodGenerate.set_Location(new System.Drawing.Point(0x39, 0x18));
     this.datePeriodGenerate.set_Name("datePeriodGenerate");
     this.datePeriodGenerate.set_Size(new System.Drawing.Size(0x85, 0x15));
     this.datePeriodGenerate.set_TabIndex(6);
     this.tpAddInfo.Controls.Add(this.dgvNoticeAddr);
     this.tpAddInfo.Controls.Add(this.toolStrip2);
     this.tpAddInfo.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpAddInfo.set_Name("tpAddInfo");
     this.tpAddInfo.set_Size(new System.Drawing.Size(620, 0x21d));
     this.tpAddInfo.set_TabIndex(2);
     this.tpAddInfo.set_Text("Доп. инфомрация");
     this.tpAddInfo.set_UseVisualStyleBackColor(true);
     this.dgvNoticeAddr.set_AllowUserToAddRows(false);
     this.dgvNoticeAddr.set_AllowUserToResizeRows(false);
     this.dgvNoticeAddr.set_AutoGenerateColumns(false);
     this.dgvNoticeAddr.set_AutoSizeColumnsMode(System.Windows.Forms.DataGridViewAutoSizeColumnsMode.AllCells);
     this.dgvNoticeAddr.set_ColumnHeadersHeightSizeMode(System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize);
     this.dgvNoticeAddr.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.addressNameDataGridViewTextBoxColumn1, this.informationTextDataGridViewTextBoxColumn });
     this.dgvNoticeAddr.set_DataSource(this.bsNoticeInfoAdr);
     this.dgvNoticeAddr.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.dgvNoticeAddr.set_Location(new System.Drawing.Point(0, 0x19));
     this.dgvNoticeAddr.set_Name("dgvNoticeAddr");
     this.dgvNoticeAddr.set_ReadOnly(true);
     this.dgvNoticeAddr.set_RowHeadersVisible(false);
     this.dgvNoticeAddr.set_SelectionMode(System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect);
     this.dgvNoticeAddr.set_Size(new System.Drawing.Size(620, 0x204));
     this.dgvNoticeAddr.set_TabIndex(1);
     this.dgvNoticeAddr.add_CellContentDoubleClick(new System.Windows.Forms.DataGridViewCellEventHandler(this.dataGridView1_CellContentDoubleClick));
     this.addressNameDataGridViewTextBoxColumn1.set_DataPropertyName("AddressName");
     this.addressNameDataGridViewTextBoxColumn1.set_HeaderText("Адрес");
     this.addressNameDataGridViewTextBoxColumn1.set_Name("addressNameDataGridViewTextBoxColumn1");
     this.addressNameDataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.addressNameDataGridViewTextBoxColumn1.set_Width(0x3f);
     this.informationTextDataGridViewTextBoxColumn.set_DataPropertyName("InformationText");
     this.informationTextDataGridViewTextBoxColumn.set_HeaderText("Сообщение");
     this.informationTextDataGridViewTextBoxColumn.set_Name("informationTextDataGridViewTextBoxColumn");
     this.informationTextDataGridViewTextBoxColumn.set_ReadOnly(true);
     this.informationTextDataGridViewTextBoxColumn.set_Width(90);
     this.bsNoticeInfoAdr.set_DataSource(typeof(NoticeNoticeInformationAddress));
     this.bsNoticeInfoAdr.add_CurrentChanged(new System.EventHandler(this.bsNoticeInfoAdr_CurrentChanged));
     this.toolStrip2.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.btnAdd, this.btnChange, this.btnDel, this.btnCurrentPosition, this.btnAllPosition, this.toolStripLabel1 });
     this.toolStrip2.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip2.set_Name("toolStrip2");
     this.toolStrip2.set_Size(new System.Drawing.Size(620, 0x19));
     this.toolStrip2.set_TabIndex(0);
     this.toolStrip2.set_Text("toolStrip2");
     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.btnDel.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Image);
     this.btnDel.set_Image(Resources.DELETE);
     this.btnDel.set_ImageScaling(System.Windows.Forms.ToolStripItemImageScaling.None);
     this.btnDel.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnDel.set_Name("btnDel");
     this.btnDel.set_Size(new System.Drawing.Size(0x1c, 0x16));
     this.btnDel.set_Text("Удалить");
     this.btnDel.add_Click(new System.EventHandler(this.btnDel_Click));
     this.btnCurrentPosition.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.btnCurrentPosition.set_Checked(true);
     this.btnCurrentPosition.set_CheckState(System.Windows.Forms.CheckState.Checked);
     this.btnCurrentPosition.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.btnCurrentPosition.set_Image((System.Drawing.Image) manager.GetObject("btnCurrentPosition.Image"));
     this.btnCurrentPosition.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnCurrentPosition.set_Name("btnCurrentPosition");
     this.btnCurrentPosition.set_RightToLeftAutoMirrorImage(true);
     this.btnCurrentPosition.set_Size(new System.Drawing.Size(0x6f, 0x16));
     this.btnCurrentPosition.set_Text("Выбранный адрес");
     this.btnCurrentPosition.add_Click(new System.EventHandler(this.btnCurrentPosition_Click));
     this.btnAllPosition.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.btnAllPosition.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.btnAllPosition.set_Image((System.Drawing.Image) manager.GetObject("btnAllPosition.Image"));
     this.btnAllPosition.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.btnAllPosition.set_Name("btnAllPosition");
     this.btnAllPosition.set_RightToLeftAutoMirrorImage(true);
     this.btnAllPosition.set_Size(new System.Drawing.Size(0x95, 0x16));
     this.btnAllPosition.set_Text("Все подчиненные адреса");
     this.btnAllPosition.add_Click(new System.EventHandler(this.btnAllPosition_Click));
     this.toolStripLabel1.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.toolStripLabel1.set_Name("toolStripLabel1");
     this.toolStripLabel1.set_RightToLeftAutoMirrorImage(true);
     this.toolStripLabel1.set_Size(new System.Drawing.Size(0x30, 0x16));
     this.toolStripLabel1.set_Text("Режим:");
     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.Panel1.Controls.Add(this.splitContainer2);
     this.splitContainer1.Panel2.Controls.Add(this.tcPaymentNotices);
     this.splitContainer1.set_Size(new System.Drawing.Size(0x3bc, 0x237));
     this.splitContainer1.set_SplitterDistance(0x144);
     this.splitContainer1.set_TabIndex(1);
     this.splitContainer2.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.splitContainer2.set_Location(new System.Drawing.Point(0, 0));
     this.splitContainer2.set_Margin(new System.Windows.Forms.Padding(2));
     this.splitContainer2.set_Name("splitContainer2");
     this.splitContainer2.set_Orientation(System.Windows.Forms.Orientation.Horizontal);
     this.splitContainer2.Panel1.Controls.Add(this.tabControlOrgs);
     this.splitContainer2.Panel2.Controls.Add(this.areaAddressesTree);
     this.splitContainer2.Panel2.Controls.Add(this.toolStrip1);
     this.splitContainer2.set_Size(new System.Drawing.Size(0x144, 0x237));
     this.splitContainer2.set_SplitterDistance(0xda);
     this.splitContainer2.set_SplitterWidth(3);
     this.splitContainer2.set_TabIndex(7);
     this.tabControlOrgs.Controls.Add(this.tpOrganizations);
     this.tabControlOrgs.Controls.Add(this.tpAreaGroups);
     this.tabControlOrgs.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.tabControlOrgs.set_Location(new System.Drawing.Point(0, 0));
     this.tabControlOrgs.set_Name("tabControlOrgs");
     this.tabControlOrgs.set_SelectedIndex(0);
     this.tabControlOrgs.set_Size(new System.Drawing.Size(0x144, 0xda));
     this.tabControlOrgs.set_TabIndex(1);
     this.tabControlOrgs.add_SelectedIndexChanged(new System.EventHandler(this.tabControlOrgs_SelectedIndexChanged));
     this.tpOrganizations.Controls.Add(this.selectHouseHolders);
     this.tpOrganizations.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpOrganizations.set_Name("tpOrganizations");
     this.tpOrganizations.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpOrganizations.set_Size(new System.Drawing.Size(0x13c, 0xc0));
     this.tpOrganizations.set_TabIndex(0);
     this.tpOrganizations.set_Text("Управляющая компания");
     this.tpOrganizations.set_UseVisualStyleBackColor(true);
     this.selectHouseHolders.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.selectHouseHolders.IsByUser = false;
     this.selectHouseHolders.set_Location(new System.Drawing.Point(3, 3));
     this.selectHouseHolders.set_Margin(new System.Windows.Forms.Padding(2));
     this.selectHouseHolders.set_Name("selectHouseHolders");
     this.selectHouseHolders.SelectedOrganizations = null;
     this.selectHouseHolders.SetFilter = null;
     this.selectHouseHolders.set_Size(new System.Drawing.Size(310, 0xba));
     this.selectHouseHolders.set_TabIndex(0);
     this.tpAreaGroups.Controls.Add(this.areaGroupsTree);
     this.tpAreaGroups.set_Location(new System.Drawing.Point(4, 0x16));
     this.tpAreaGroups.set_Name("tpAreaGroups");
     this.tpAreaGroups.set_Padding(new System.Windows.Forms.Padding(3));
     this.tpAreaGroups.set_Size(new System.Drawing.Size(0x13c, 0xc0));
     this.tpAreaGroups.set_TabIndex(1);
     this.tpAreaGroups.set_Text("Адресные группы");
     this.tpAreaGroups.set_UseVisualStyleBackColor(true);
     this.areaGroupsTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.areaGroupsTree.set_Location(new System.Drawing.Point(3, 3));
     this.areaGroupsTree.set_Name("areaGroupsTree");
     this.areaGroupsTree.set_Size(new System.Drawing.Size(310, 0xba));
     this.areaGroupsTree.set_TabIndex(0);
     this.areaAddressesTree.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.areaAddressesTree.set_Location(new System.Drawing.Point(0, 0x19));
     this.areaAddressesTree.set_Margin(new System.Windows.Forms.Padding(2));
     this.areaAddressesTree.set_Name("areaAddressesTree");
     this.areaAddressesTree.set_Size(new System.Drawing.Size(0x144, 0x141));
     this.areaAddressesTree.set_TabIndex(0);
     this.areaAddressesTree.TreeSource = null;
     this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.tsbtnLoadAll, this.tsbtnLoadByHolders });
     this.toolStrip1.set_Location(new System.Drawing.Point(0, 0));
     this.toolStrip1.set_Name("toolStrip1");
     this.toolStrip1.set_Size(new System.Drawing.Size(0x144, 0x19));
     this.toolStrip1.set_TabIndex(1);
     this.toolStrip1.set_Text("toolStrip1");
     this.tsbtnLoadAll.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbtnLoadAll.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnLoadAll.set_Name("tsbtnLoadAll");
     this.tsbtnLoadAll.set_Size(new System.Drawing.Size(70, 0x16));
     this.tsbtnLoadAll.set_Text("Все адреса");
     this.tsbtnLoadAll.add_Click(new System.EventHandler(this.tsbtnLoadAll_Click));
     this.tsbtnLoadByHolders.set_DisplayStyle(System.Windows.Forms.ToolStripItemDisplayStyle.Text);
     this.tsbtnLoadByHolders.set_ImageTransparentColor(System.Drawing.Color.Magenta);
     this.tsbtnLoadByHolders.set_Name("tsbtnLoadByHolders");
     this.tsbtnLoadByHolders.set_Size(new System.Drawing.Size(190, 0x16));
     this.tsbtnLoadByHolders.set_Text("Адреса выбранных организаций");
     this.tsbtnLoadByHolders.set_ToolTipText("Адреса выбранных организаций");
     this.tsbtnLoadByHolders.add_Click(new System.EventHandler(this.tsbtnLoadByHolders_Click));
     this.workerNotices.add_DoWork(new DoWorkEventHandler(this.workerNotices_DoWork));
     this.workerNotices.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.worker_RunWorkerCompleted));
     this.dataGridViewTextBoxColumn1.set_DataPropertyName("AccountNumber");
     this.dataGridViewTextBoxColumn1.set_HeaderText("Лиц. счет");
     this.dataGridViewTextBoxColumn1.set_Name("dataGridViewTextBoxColumn1");
     this.dataGridViewTextBoxColumn1.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn1.set_Resizable(System.Windows.Forms.DataGridViewTriState.True);
     this.dataGridViewTextBoxColumn1.set_Width(0x4a);
     this.dataGridViewTextBoxColumn2.set_DataPropertyName("AddressName");
     this.dataGridViewTextBoxColumn2.set_HeaderText("Адрес");
     this.dataGridViewTextBoxColumn2.set_Name("dataGridViewTextBoxColumn2");
     this.dataGridViewTextBoxColumn2.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn2.set_Width(0x3f);
     this.dataGridViewTextBoxColumn3.set_DataPropertyName("OwnerName");
     this.dataGridViewTextBoxColumn3.set_HeaderText("Абонент");
     this.dataGridViewTextBoxColumn3.set_Name("dataGridViewTextBoxColumn3");
     this.dataGridViewTextBoxColumn3.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn3.set_Width(0x4a);
     this.dataGridViewTextBoxColumn4.set_DataPropertyName("Charge");
     this.dataGridViewTextBoxColumn4.set_HeaderText("Начислено");
     this.dataGridViewTextBoxColumn4.set_Name("dataGridViewTextBoxColumn4");
     this.dataGridViewTextBoxColumn4.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn4.set_Width(0x57);
     this.dataGridViewTextBoxColumn5.set_DataPropertyName("TotalDebt");
     this.dataGridViewTextBoxColumn5.set_HeaderText("К оплате");
     this.dataGridViewTextBoxColumn5.set_Name("dataGridViewTextBoxColumn5");
     this.dataGridViewTextBoxColumn5.set_Width(0x47);
     this.dataGridViewTextBoxColumn6.set_DataPropertyName("Period");
     this.dataGridViewTextBoxColumn6.set_HeaderText("Период");
     this.dataGridViewTextBoxColumn6.set_Name("dataGridViewTextBoxColumn6");
     this.dataGridViewTextBoxColumn6.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn6.set_Width(70);
     this.dataGridViewTextBoxColumn7.set_DataPropertyName("AdditionalInfo");
     this.dataGridViewTextBoxColumn7.set_HeaderText("Доп. информация");
     this.dataGridViewTextBoxColumn7.set_Name("dataGridViewTextBoxColumn7");
     this.dataGridViewTextBoxColumn7.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn7.set_Width(0x71);
     this.dataGridViewTextBoxColumn8.set_DataPropertyName("AddressName");
     this.dataGridViewTextBoxColumn8.set_HeaderText("AddressName");
     this.dataGridViewTextBoxColumn8.set_Name("dataGridViewTextBoxColumn8");
     this.dataGridViewTextBoxColumn8.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn8.set_Width(0x62);
     this.dataGridViewTextBoxColumn9.set_DataPropertyName("AccountNumber");
     this.dataGridViewTextBoxColumn9.set_HeaderText("AccountNumber");
     this.dataGridViewTextBoxColumn9.set_Name("dataGridViewTextBoxColumn9");
     this.dataGridViewTextBoxColumn9.set_ReadOnly(true);
     this.dataGridViewTextBoxColumn9.set_Width(0x6d);
     this.dataGridViewTextBoxColumn10.set_DataPropertyName("OwnerName");
     this.dataGridViewTextBoxColumn10.set_HeaderText("OwnerName");
     this.dataGridViewTextBoxColumn10.set_Name("dataGridViewTextBoxColumn10");
     this.dataGridViewTextBoxColumn10.set_Width(0x5b);
     this.dataGridViewTextBoxColumn11.set_DataPropertyName("Barcode");
     this.dataGridViewTextBoxColumn11.set_HeaderText("Barcode");
     this.dataGridViewTextBoxColumn11.set_Name("dataGridViewTextBoxColumn11");
     this.dataGridViewTextBoxColumn11.set_Width(0x48);
     this.dataGridViewTextBoxColumn12.set_DataPropertyName("AdditionalInfo");
     this.dataGridViewTextBoxColumn12.set_HeaderText("AdditionalInfo");
     this.dataGridViewTextBoxColumn12.set_Name("dataGridViewTextBoxColumn12");
     this.dataGridViewTextBoxColumn12.set_Width(0x60);
     this.dataGridViewTextBoxColumn13.set_DataPropertyName("OrgName");
     this.dataGridViewTextBoxColumn13.set_HeaderText("OrgName");
     this.dataGridViewTextBoxColumn13.set_Name("dataGridViewTextBoxColumn13");
     this.dataGridViewTextBoxColumn13.set_Width(0x4d);
     this.dataGridViewTextBoxColumn14.set_DataPropertyName("ToPay");
     this.dataGridViewTextBoxColumn14.set_HeaderText("ToPay");
     this.dataGridViewTextBoxColumn14.set_Name("dataGridViewTextBoxColumn14");
     this.dataGridViewTextBoxColumn14.set_Width(0x3f);
     this.dataGridViewTextBoxColumn15.set_DataPropertyName("ObjectWithIdType");
     this.dataGridViewTextBoxColumn15.set_HeaderText("ObjectWithIdType");
     this.dataGridViewTextBoxColumn15.set_Name("dataGridViewTextBoxColumn15");
     this.dataGridViewTextBoxColumn15.set_Width(0x76);
     this.dataGridViewTextBoxColumn16.set_DataPropertyName("Id");
     this.dataGridViewTextBoxColumn16.set_HeaderText("Id");
     this.dataGridViewTextBoxColumn16.set_Name("dataGridViewTextBoxColumn16");
     this.dataGridViewTextBoxColumn16.set_Width(0x29);
     this.workerExportPdf.set_WorkerReportsProgress(true);
     this.workerExportPdf.set_WorkerSupportsCancellation(true);
     this.workerExportPdf.add_DoWork(new DoWorkEventHandler(this.workerExportPdf_DoWork));
     this.workerExportPdf.add_ProgressChanged(new ProgressChangedEventHandler(this.workerExportPdf_ProgressChanged));
     this.workerExportPdf.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.workerExportPdf_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(0x3bc, 0x237));
     base.Controls.Add(this.splitContainer1);
     this.set_DoubleBuffered(true);
     base.set_Name("PaymentNoticesMainFormOld");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("АРМ Печать извещений");
     base.set_WindowState(System.Windows.Forms.FormWindowState.Maximized);
     base.add_Activated(new System.EventHandler(this.PaymentNoticesMainFormOld_Activated));
     base.add_Load(new System.EventHandler(this.PaymentNoticesMainFormOld_Load));
     this.tcPaymentNotices.ResumeLayout(false);
     this.tpFormPrint.ResumeLayout(false);
     this.dgvNotices.EndInit();
     this.bsNotices.EndInit();
     this.panel2.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     this.groupBox4.PerformLayout();
     this.gbExportHouseNotices.ResumeLayout(false);
     this.gbExportHouseNotices.PerformLayout();
     this.nudPageCount.EndInit();
     this.nudHousesPerDoc.EndInit();
     this.groupBox2.ResumeLayout(false);
     this.groupBox2.PerformLayout();
     this.bsNoticeTemplates.EndInit();
     this.groupBox1.ResumeLayout(false);
     this.groupBox1.PerformLayout();
     this.groupBoxPayment.ResumeLayout(false);
     this.groupBoxPayment.PerformLayout();
     this.numSummToPayMax.EndInit();
     this.numSummToPayMin.EndInit();
     this.groupBox3.ResumeLayout(false);
     this.groupBox3.PerformLayout();
     this.statusStrip1.ResumeLayout(false);
     this.statusStrip1.PerformLayout();
     this.tpAddInfo.ResumeLayout(false);
     this.tpAddInfo.PerformLayout();
     this.dgvNoticeAddr.EndInit();
     this.bsNoticeInfoAdr.EndInit();
     this.toolStrip2.ResumeLayout(false);
     this.toolStrip2.PerformLayout();
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.ResumeLayout(false);
     this.splitContainer2.Panel1.ResumeLayout(false);
     this.splitContainer2.Panel2.ResumeLayout(false);
     this.splitContainer2.Panel2.PerformLayout();
     this.splitContainer2.ResumeLayout(false);
     this.tabControlOrgs.ResumeLayout(false);
     this.tpOrganizations.ResumeLayout(false);
     this.tpAreaGroups.ResumeLayout(false);
     this.toolStrip1.ResumeLayout(false);
     this.toolStrip1.PerformLayout();
     base.ResumeLayout(false);
 }