Exemple #1
0
 private void InitializeComponent()
 {
     this.apartmentView = new ApartmentView();
     base.SuspendLayout();
     this.apartmentView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentView.set_Location(new System.Drawing.Point(0, 0));
     this.apartmentView.set_Name("apartmentView");
     this.apartmentView.set_Size(new System.Drawing.Size(590, 0x27c));
     this.apartmentView.set_TabIndex(0);
     this.apartmentView.set_Visible(false);
     this.apartmentView.add_Load(new System.EventHandler(this.apartmentView_Load));
     base.set_AutoScaleDimensions(new System.Drawing.SizeF(6f, 13f));
     base.set_AutoScaleMode(System.Windows.Forms.AutoScaleMode.Font);
     base.set_ClientSize(new System.Drawing.Size(590, 0x27c));
     base.Controls.Add(this.apartmentView);
     base.set_FormBorderStyle(System.Windows.Forms.FormBorderStyle.FixedDialog);
     base.set_MaximizeBox(false);
     base.set_Name("ApartmentForm");
     base.set_ShowIcon(false);
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterParent);
     this.set_Text("Паспорт жилого помещения");
     base.ResumeLayout(false);
 }
 private void InitializeComponent()
 {
     this.components = new Container();
     ComponentResourceManager manager = new ComponentResourceManager(typeof(AccountantMainForm));
     LocalAddress address = new LocalAddress();
     this.menuProgram = new System.Windows.Forms.ToolStripMenuItem();
     this.menuExit = new System.Windows.Forms.ToolStripMenuItem();
     this.splitter = new System.Windows.Forms.Splitter();
     this.panel = new System.Windows.Forms.Panel();
     this.menuStrip = new System.Windows.Forms.MenuStrip();
     this.адресныйПланToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.выверкаДанныхToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.историяПоискаToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.слияниеРазделениеПаспорToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.оПрограммеToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.настройкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.загрузкаРеестраToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.внешниеОбработкиToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.notifyTimer = new System.Windows.Forms.Timer(this.components);
     this.notifyIcon = new System.Windows.Forms.NotifyIcon(this.components);
     this.m_DopInfoTab = new System.Windows.Forms.TabPage();
     this.notifyWorker = new BackgroundWorker();
     this.mainSplitContainer = new System.Windows.Forms.SplitContainer();
     this.m_ApartmentSearch = new ApartmentSearchControl();
     this.apartmentView = new ApartmentView();
     this.m_ApartmentNumberAddressPanel = new System.Windows.Forms.Panel();
     this.сменаПользователяToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
     this.menuStrip.SuspendLayout();
     this.mainSplitContainer.Panel1.SuspendLayout();
     this.mainSplitContainer.Panel2.SuspendLayout();
     this.mainSplitContainer.SuspendLayout();
     base.SuspendLayout();
     this.menuProgram.DropDownItems.AddRange(new System.Windows.Forms.ToolStripItem[] { this.menuExit });
     this.menuProgram.set_Name("menuProgram");
     this.menuProgram.set_Size(new System.Drawing.Size(0x49, 20));
     this.menuProgram.set_Text("Программа");
     this.menuExit.set_Name("menuExit");
     this.menuExit.set_Size(new System.Drawing.Size(0x76, 0x16));
     this.menuExit.set_Text("Выход");
     this.splitter.set_Location(new System.Drawing.Point(0x127, 0x18));
     this.splitter.set_Name("splitter");
     this.splitter.set_Size(new System.Drawing.Size(3, 0x289));
     this.splitter.set_TabIndex(2);
     this.splitter.set_TabStop(false);
     this.panel.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.panel.set_Location(new System.Drawing.Point(0x12a, 0x18));
     this.panel.set_Name("panel");
     this.panel.set_Size(new System.Drawing.Size(0x252, 0x289));
     this.panel.set_TabIndex(3);
     this.menuStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { this.адресныйПланToolStripMenuItem, this.выверкаДанныхToolStripMenuItem, this.историяПоискаToolStripMenuItem, this.слияниеРазделениеПаспорToolStripMenuItem, this.оПрограммеToolStripMenuItem, this.настройкиToolStripMenuItem, this.загрузкаРеестраToolStripMenuItem, this.внешниеОбработкиToolStripMenuItem, this.сменаПользователяToolStripMenuItem });
     this.menuStrip.set_Location(new System.Drawing.Point(0, 0));
     this.menuStrip.set_Name("menuStrip");
     this.menuStrip.set_Size(new System.Drawing.Size(0x4bf, 0x18));
     this.menuStrip.set_TabIndex(0);
     this.menuStrip.set_Text("menuAccountant");
     this.адресныйПланToolStripMenuItem.set_Name("адресныйПланToolStripMenuItem");
     this.адресныйПланToolStripMenuItem.set_Size(new System.Drawing.Size(0x61, 20));
     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(0x3e, 20));
     this.выверкаДанныхToolStripMenuItem.set_Text("Запросы");
     this.выверкаДанныхToolStripMenuItem.add_Click(new System.EventHandler(this.выверкаДанныхToolStripMenuItem1_Click));
     this.историяПоискаToolStripMenuItem.set_Name("историяПоискаToolStripMenuItem");
     this.историяПоискаToolStripMenuItem.set_Size(new System.Drawing.Size(0x63, 20));
     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(0xd9, 20));
     this.слияниеРазделениеПаспорToolStripMenuItem.set_Text("Слияние/разделение паспортов жилья");
     this.слияниеРазделениеПаспорToolStripMenuItem.add_Click(new System.EventHandler(this.слияниеРазделениеПаспорToolStripMenuItem_Click));
     this.оПрограммеToolStripMenuItem.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.оПрограммеToolStripMenuItem.set_Name("оПрограммеToolStripMenuItem");
     this.оПрограммеToolStripMenuItem.set_Size(new System.Drawing.Size(70, 20));
     this.оПрограммеToolStripMenuItem.set_Text("О системе");
     this.оПрограммеToolStripMenuItem.add_Click(new System.EventHandler(this.оСистемеToolStripMenuItem_Click));
     this.настройкиToolStripMenuItem.set_Alignment(System.Windows.Forms.ToolStripItemAlignment.Right);
     this.настройкиToolStripMenuItem.set_Name("настройкиToolStripMenuItem");
     this.настройкиToolStripMenuItem.set_Size(new System.Drawing.Size(0x49, 20));
     this.настройкиToolStripMenuItem.set_Text("Настройки");
     this.настройкиToolStripMenuItem.add_Click(new System.EventHandler(this.настройкиToolStripMenuItem_Click));
     this.загрузкаРеестраToolStripMenuItem.set_Name("загрузкаРеестраToolStripMenuItem");
     this.загрузкаРеестраToolStripMenuItem.set_Size(new System.Drawing.Size(0x73, 20));
     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(120, 20));
     this.внешниеОбработкиToolStripMenuItem.set_Text("Внешние обработки");
     this.внешниеОбработкиToolStripMenuItem.add_Click(new System.EventHandler(this.внешниеОбработкиToolStripMenuItem_Click));
     this.notifyTimer.set_Enabled(Settings.Default.VerifyServiceEnabled);
     this.notifyTimer.set_Interval(0x1d4c0);
     this.notifyTimer.add_Tick(new System.EventHandler(this.notifyTimer_Tick));
     this.notifyIcon.set_BalloonTipIcon(System.Windows.Forms.ToolTipIcon.Info);
     this.notifyIcon.set_BalloonTipTitle("Сообщение");
     this.notifyIcon.set_Icon((System.Drawing.Icon) manager.GetObject("notifyIcon.Icon"));
     this.notifyIcon.set_Visible(Settings.Default.VerifyServiceEnabled);
     this.m_DopInfoTab.set_Location(new System.Drawing.Point(0, 0));
     this.m_DopInfoTab.set_Name("m_DopInfoTab");
     this.m_DopInfoTab.set_Size(new System.Drawing.Size(200, 100));
     this.m_DopInfoTab.set_TabIndex(0);
     this.notifyWorker.add_DoWork(new DoWorkEventHandler(this.notifyWorker_DoWork));
     this.notifyWorker.add_RunWorkerCompleted(new RunWorkerCompletedEventHandler(this.notifyWorker_RunWorkerCompleted));
     this.mainSplitContainer.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.mainSplitContainer.set_ForeColor(System.Drawing.SystemColors.ControlText);
     this.mainSplitContainer.set_Location(new System.Drawing.Point(0, 0x18));
     this.mainSplitContainer.set_Name("mainSplitContainer");
     this.mainSplitContainer.Panel1.Controls.Add(this.m_ApartmentSearch);
     this.mainSplitContainer.set_Panel1MinSize(220);
     this.mainSplitContainer.Panel2.Controls.Add(this.apartmentView);
     this.mainSplitContainer.Panel2.Controls.Add(this.m_ApartmentNumberAddressPanel);
     this.mainSplitContainer.set_Size(new System.Drawing.Size(0x4bf, 0x2a4));
     this.mainSplitContainer.set_SplitterDistance(0x131);
     this.mainSplitContainer.set_SplitterWidth(6);
     this.mainSplitContainer.set_TabIndex(2);
     this.mainSplitContainer.add_SplitterMoved(new System.Windows.Forms.SplitterEventHandler(this.mainSplitContainer_SplitterMoved));
     this.m_ApartmentSearch.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.m_ApartmentSearch.set_Location(new System.Drawing.Point(0, 0));
     this.m_ApartmentSearch.set_Margin(new System.Windows.Forms.Padding(3, 4, 3, 4));
     this.m_ApartmentSearch.set_Name("m_ApartmentSearch");
     address.Code = "";
     address.Id = 0L;
     address.IsDeleted = false;
     address.IsDirty = true;
     address.Level = AddressLevel.None;
     address.Name = "<не выбрано>";
     address.ObjectWithIdType = null;
     address.Parent = address;
     address.ParentId = 0L;
     address.Socr = "";
     this.m_ApartmentSearch.SelectedAddress = address;
     this.m_ApartmentSearch.set_Size(new System.Drawing.Size(0x131, 0x2a4));
     this.m_ApartmentSearch.set_TabIndex(1);
     this.apartmentView.set_Dock(System.Windows.Forms.DockStyle.Fill);
     this.apartmentView.set_Location(new System.Drawing.Point(0, 0));
     this.apartmentView.set_Name("apartmentView");
     this.apartmentView.set_Size(new System.Drawing.Size(0x388, 0x2a4));
     this.apartmentView.set_TabIndex(2);
     this.apartmentView.set_Visible(false);
     this.m_ApartmentNumberAddressPanel.set_AutoSize(true);
     this.m_ApartmentNumberAddressPanel.set_Dock(System.Windows.Forms.DockStyle.Top);
     this.m_ApartmentNumberAddressPanel.set_Location(new System.Drawing.Point(0, 0));
     this.m_ApartmentNumberAddressPanel.set_Margin(new System.Windows.Forms.Padding(3, 2, 3, 2));
     this.m_ApartmentNumberAddressPanel.set_Name("m_ApartmentNumberAddressPanel");
     this.m_ApartmentNumberAddressPanel.set_Size(new System.Drawing.Size(0x388, 0));
     this.m_ApartmentNumberAddressPanel.set_TabIndex(1);
     this.m_ApartmentNumberAddressPanel.set_Visible(false);
     this.сменаПользователяToolStripMenuItem.set_Name("сменаПользователяToolStripMenuItem");
     this.сменаПользователяToolStripMenuItem.set_Size(new System.Drawing.Size(0x7c, 20));
     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(0x4bf, 700));
     base.Controls.Add(this.mainSplitContainer);
     base.Controls.Add(this.menuStrip);
     this.set_DoubleBuffered(true);
     base.set_MainMenuStrip(this.menuStrip);
     base.set_Name("AccountantMainForm");
     base.set_StartPosition(System.Windows.Forms.FormStartPosition.CenterScreen);
     this.set_Text("АРМ \"Бухгалтер\"");
     base.set_WindowState(System.Windows.Forms.FormWindowState.Maximized);
     base.add_FormClosed(new System.Windows.Forms.FormClosedEventHandler(this.AccountantMainForm_FormClosed));
     base.add_Load(new System.EventHandler(this.AccountantMainForm_Load));
     this.menuStrip.ResumeLayout(false);
     this.menuStrip.PerformLayout();
     this.mainSplitContainer.Panel1.ResumeLayout(false);
     this.mainSplitContainer.Panel2.ResumeLayout(false);
     this.mainSplitContainer.Panel2.PerformLayout();
     this.mainSplitContainer.ResumeLayout(false);
     base.ResumeLayout(false);
     base.PerformLayout();
 }