private void InitializePersonBlock() { pb = new PersonBlock { Location = new Point(10, 10), TabIndex = 0 }; Controls.Add(pb); }
private void InitializePersonBlock() { CloseOnEnter = false; pb = new PersonBlock { Location = new Point(2, 4), TabIndex = 0 }; pb_CountChangedEnabled = true; pb.CountChanged += pb_CountChanged; Controls.Add(pb); }
/// <summary> /// Required method for Designer support - do not modify the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(PropertiesDBDocDialog)); this.buttonEdit = new System.Windows.Forms.Button(); this.buttonOK = new System.Windows.Forms.Button(); this.buttonCancel = new System.Windows.Forms.Button(); this.label1 = new System.Windows.Forms.Label(); this.number = new System.Windows.Forms.TextBox(); this.groupBoxDocument = new System.Windows.Forms.GroupBox(); this.textBoxName = new System.Windows.Forms.TextBox(); this.checkBoxNoNumber = new System.Windows.Forms.CheckBox(); this.docTypeBlock = new Kesco.Lib.Win.Document.Blocks.DocTypeBlock(); this.dateBlock = new Kesco.Lib.Win.Document.Blocks.DateBlock(); this.label2 = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.checkBoxName = new System.Windows.Forms.CheckBox(); this.description = new System.Windows.Forms.TextBox(); this.groupBoxPersons = new System.Windows.Forms.GroupBox(); this.personBlock = new Kesco.Lib.Win.Document.Blocks.PersonBlock(); this.groupBox1 = new System.Windows.Forms.GroupBox(); this.buttonLook = new System.Windows.Forms.Button(); this.label5 = new System.Windows.Forms.Label(); this.lblEditor = new System.Windows.Forms.Label(); this.lblEdited = new System.Windows.Forms.Label(); this.checkBoxProtected = new System.Windows.Forms.CheckBox(); this.groupBox2 = new System.Windows.Forms.GroupBox(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.newWindowDocumentButton = new Kesco.Lib.Win.Document.Controls.NewWindowDocumentButton(this.components); this.lblDocAurtor = new System.Windows.Forms.Label(); this.lblDocCreateDate = new System.Windows.Forms.Label(); this.groupBoxDocument.SuspendLayout(); this.groupBoxPersons.SuspendLayout(); this.groupBox1.SuspendLayout(); this.groupBox2.SuspendLayout(); this.SuspendLayout(); // // buttonEdit // resources.ApplyResources(this.buttonEdit, "buttonEdit"); this.buttonEdit.Name = "buttonEdit"; this.buttonEdit.Click += new System.EventHandler(this.buttonEdit_Click); // // buttonOK // resources.ApplyResources(this.buttonOK, "buttonOK"); this.buttonOK.Name = "buttonOK"; this.buttonOK.Click += new System.EventHandler(this.buttonOK_Click); // // buttonCancel // resources.ApplyResources(this.buttonCancel, "buttonCancel"); this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.buttonCancel.Name = "buttonCancel"; this.buttonCancel.Click += new System.EventHandler(this.buttonCancel_Click); // // label1 // resources.ApplyResources(this.label1, "label1"); this.label1.Name = "label1"; // // number // resources.ApplyResources(this.number, "number"); this.number.Name = "number"; // // groupBoxDocument // this.groupBoxDocument.Controls.Add(this.textBoxName); this.groupBoxDocument.Controls.Add(this.checkBoxNoNumber); this.groupBoxDocument.Controls.Add(this.docTypeBlock); this.groupBoxDocument.Controls.Add(this.dateBlock); this.groupBoxDocument.Controls.Add(this.number); this.groupBoxDocument.Controls.Add(this.label1); this.groupBoxDocument.Controls.Add(this.label2); this.groupBoxDocument.Controls.Add(this.label3); this.groupBoxDocument.Controls.Add(this.checkBoxName); resources.ApplyResources(this.groupBoxDocument, "groupBoxDocument"); this.groupBoxDocument.Name = "groupBoxDocument"; this.groupBoxDocument.TabStop = false; // // textBoxName // resources.ApplyResources(this.textBoxName, "textBoxName"); this.textBoxName.Name = "textBoxName"; this.toolTip1.SetToolTip(this.textBoxName, resources.GetString("textBoxName.ToolTip")); // // checkBoxNoNumber // resources.ApplyResources(this.checkBoxNoNumber, "checkBoxNoNumber"); this.checkBoxNoNumber.Name = "checkBoxNoNumber"; this.checkBoxNoNumber.UseVisualStyleBackColor = true; this.checkBoxNoNumber.CheckedChanged += new System.EventHandler(this.checkBox1_CheckedChanged); // // docTypeBlock // this.docTypeBlock.ID = 0; resources.ApplyResources(this.docTypeBlock, "docTypeBlock"); this.docTypeBlock.Name = "docTypeBlock"; this.docTypeBlock.Selected += new Kesco.Lib.Win.Document.Blocks.BlockEventHandler(this.docTypeBlock_Selected); this.docTypeBlock.DocTypeTextChanged += new System.EventHandler(this.docTypeBlock_DocTypeTextChanged); // // dateBlock // resources.ApplyResources(this.dateBlock, "dateBlock"); this.dateBlock.Name = "dateBlock"; this.dateBlock.Leave += new System.EventHandler(this.dateBlock_Leave); // // label2 // resources.ApplyResources(this.label2, "label2"); this.label2.Name = "label2"; // // label3 // resources.ApplyResources(this.label3, "label3"); this.label3.Name = "label3"; // // checkBoxName // resources.ApplyResources(this.checkBoxName, "checkBoxName"); this.checkBoxName.Name = "checkBoxName"; this.toolTip1.SetToolTip(this.checkBoxName, resources.GetString("checkBoxName.ToolTip")); this.checkBoxName.UseVisualStyleBackColor = true; this.checkBoxName.CheckedChanged += new System.EventHandler(this.checkBoxName_CheckedChanged); // // description // resources.ApplyResources(this.description, "description"); this.description.Name = "description"; // // groupBoxPersons // this.groupBoxPersons.Controls.Add(this.personBlock); resources.ApplyResources(this.groupBoxPersons, "groupBoxPersons"); this.groupBoxPersons.Name = "groupBoxPersons"; this.groupBoxPersons.TabStop = false; // // personBlock // this.personBlock.Able = true; resources.ApplyResources(this.personBlock, "personBlock"); this.personBlock.Name = "personBlock"; // // groupBox1 // this.groupBox1.Controls.Add(this.buttonLook); this.groupBox1.Controls.Add(this.label5); resources.ApplyResources(this.groupBox1, "groupBox1"); this.groupBox1.Name = "groupBox1"; this.groupBox1.TabStop = false; // // buttonLook // resources.ApplyResources(this.buttonLook, "buttonLook"); this.buttonLook.Name = "buttonLook"; this.buttonLook.Click += new System.EventHandler(this.buttonLook_Click); // // label5 // resources.ApplyResources(this.label5, "label5"); this.label5.Name = "label5"; // // lblEditor // resources.ApplyResources(this.lblEditor, "lblEditor"); this.lblEditor.Name = "lblEditor"; // // lblEdited // resources.ApplyResources(this.lblEdited, "lblEdited"); this.lblEdited.Name = "lblEdited"; // // checkBoxProtected // resources.ApplyResources(this.checkBoxProtected, "checkBoxProtected"); this.checkBoxProtected.Name = "checkBoxProtected"; // // groupBox2 // this.groupBox2.Controls.Add(this.description); resources.ApplyResources(this.groupBox2, "groupBox2"); this.groupBox2.Name = "groupBox2"; this.groupBox2.TabStop = false; // // newWindowDocumentButton // resources.ApplyResources(this.newWindowDocumentButton, "newWindowDocumentButton"); this.newWindowDocumentButton.Name = "newWindowDocumentButton"; this.newWindowDocumentButton.TabStop = false; this.newWindowDocumentButton.UseMnemonic = false; this.newWindowDocumentButton.UseVisualStyleBackColor = true; // // lblDocAurtor // resources.ApplyResources(this.lblDocAurtor, "lblDocAurtor"); this.lblDocAurtor.Name = "lblDocAurtor"; // // lblDocCreateDate // resources.ApplyResources(this.lblDocCreateDate, "lblDocCreateDate"); this.lblDocCreateDate.Name = "lblDocCreateDate"; // // PropertiesDBDocDialog // resources.ApplyResources(this, "$this"); this.CancelButton = this.buttonCancel; this.Controls.Add(this.lblDocAurtor); this.Controls.Add(this.lblDocCreateDate); this.Controls.Add(this.newWindowDocumentButton); this.Controls.Add(this.groupBox2); this.Controls.Add(this.checkBoxProtected); this.Controls.Add(this.lblEditor); this.Controls.Add(this.groupBox1); this.Controls.Add(this.groupBoxPersons); this.Controls.Add(this.groupBoxDocument); this.Controls.Add(this.buttonEdit); this.Controls.Add(this.buttonOK); this.Controls.Add(this.buttonCancel); this.Controls.Add(this.lblEdited); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.KeyPreview = true; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "PropertiesDBDocDialog"; this.Load += new System.EventHandler(this.DocProperties_Load); this.KeyUp += new System.Windows.Forms.KeyEventHandler(this.PropertiesDBDocDialog_KeyUp); this.groupBoxDocument.ResumeLayout(false); this.groupBoxDocument.PerformLayout(); this.groupBoxPersons.ResumeLayout(false); this.groupBox1.ResumeLayout(false); this.groupBox2.ResumeLayout(false); this.groupBox2.PerformLayout(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify the contents of this method with the code editor. /// </summary> private void InitializeComponent() { var resources = new System.ComponentModel.ComponentResourceManager(typeof(PersonListNew)); this.pb = new PersonBlock(); this.rbOR = new System.Windows.Forms.RadioButton(); this.rbAND = new System.Windows.Forms.RadioButton(); this.gbOrganizations = new System.Windows.Forms.GroupBox(); this.chBoxPhysicalPersons = new System.Windows.Forms.CheckBox(); this.chBoxOrganization = new System.Windows.Forms.CheckBox(); this.chBoxOrganizationsEnable = new System.Windows.Forms.CheckBox(); this.chBoxBank = new System.Windows.Forms.CheckBox(); this.gbPersons = new System.Windows.Forms.GroupBox(); this.chBoxPersonsCheck = new System.Windows.Forms.CheckBox(); this.chBoxPersonsUncheck = new System.Windows.Forms.CheckBox(); this.chBoxPersonsEnable = new System.Windows.Forms.CheckBox(); this.gbOrganizationForm = new System.Windows.Forms.GroupBox(); this.cbOrganizationalForm = new System.Windows.Forms.ComboBox(); this.chBoxOrganizationalFormEnable = new System.Windows.Forms.CheckBox(); this.gbEmploees = new System.Windows.Forms.GroupBox(); this.lbSelectedEmploees = new System.Windows.Forms.ListBox(); this.bnSelectEmployee = new System.Windows.Forms.Button(); this.chBoxEmployees = new System.Windows.Forms.CheckBox(); this.gbTypes = new System.Windows.Forms.GroupBox(); this.lbTypes = new System.Windows.Forms.ListBox(); this.bnSelectTypes = new System.Windows.Forms.Button(); this.chBoxSubtypes = new System.Windows.Forms.CheckBox(); this.chBoxTypesEnable = new System.Windows.Forms.CheckBox(); this.gBCountryRegistration = new System.Windows.Forms.GroupBox(); this.chBoxCountryRegistrationEnable = new System.Windows.Forms.CheckBox(); this.tbCountry = new System.Windows.Forms.TextBox(); this.bnSelectCountry = new System.Windows.Forms.Button(); this.gbProject = new System.Windows.Forms.GroupBox(); this.chBoxIncludSubProject = new System.Windows.Forms.CheckBox(); this.chBoxAnyBusinessProject = new System.Windows.Forms.CheckBox(); this.bnSelectBusinessProject = new System.Windows.Forms.Button(); this.tbBusinessProject = new System.Windows.Forms.TextBox(); this.chBoxBusinessProjectEnable = new System.Windows.Forms.CheckBox(); this.gbOrganizations.SuspendLayout(); this.gbPersons.SuspendLayout(); this.gbOrganizationForm.SuspendLayout(); this.gbEmploees.SuspendLayout(); this.gbTypes.SuspendLayout(); this.gBCountryRegistration.SuspendLayout(); this.gbProject.SuspendLayout(); this.SuspendLayout(); // // pb // this.pb.Able = true; resources.ApplyResources(this.pb, "pb"); this.pb.Name = "pb"; // // rbOR // this.rbOR.Checked = true; resources.ApplyResources(this.rbOR, "rbOR"); this.rbOR.Name = "rbOR"; this.rbOR.TabStop = true; // // rbAND // resources.ApplyResources(this.rbAND, "rbAND"); this.rbAND.Name = "rbAND"; // // gbOrganizations // this.gbOrganizations.Controls.Add(this.chBoxPhysicalPersons); this.gbOrganizations.Controls.Add(this.chBoxOrganization); this.gbOrganizations.Controls.Add(this.chBoxOrganizationsEnable); this.gbOrganizations.Controls.Add(this.chBoxBank); resources.ApplyResources(this.gbOrganizations, "gbOrganizations"); this.gbOrganizations.Name = "gbOrganizations"; this.gbOrganizations.TabStop = false; // // chBoxPhysicalPersons // resources.ApplyResources(this.chBoxPhysicalPersons, "chBoxPhysicalPersons"); this.chBoxPhysicalPersons.Name = "chBoxPhysicalPersons"; // // chBoxOrganization // resources.ApplyResources(this.chBoxOrganization, "chBoxOrganization"); this.chBoxOrganization.Name = "chBoxOrganization"; // // chBoxOrganizationsEnable // resources.ApplyResources(this.chBoxOrganizationsEnable, "chBoxOrganizationsEnable"); this.chBoxOrganizationsEnable.Name = "chBoxOrganizationsEnable"; this.chBoxOrganizationsEnable.CheckedChanged += new System.EventHandler(this.chBoxEnable_CheckedChanged); // // chBoxBank // resources.ApplyResources(this.chBoxBank, "chBoxBank"); this.chBoxBank.Name = "chBoxBank"; // // gbPersons // this.gbPersons.Controls.Add(this.chBoxPersonsCheck); this.gbPersons.Controls.Add(this.chBoxPersonsUncheck); this.gbPersons.Controls.Add(this.chBoxPersonsEnable); resources.ApplyResources(this.gbPersons, "gbPersons"); this.gbPersons.Name = "gbPersons"; this.gbPersons.TabStop = false; // // chBoxPersonsCheck // resources.ApplyResources(this.chBoxPersonsCheck, "chBoxPersonsCheck"); this.chBoxPersonsCheck.Name = "chBoxPersonsCheck"; // // chBoxPersonsUncheck // resources.ApplyResources(this.chBoxPersonsUncheck, "chBoxPersonsUncheck"); this.chBoxPersonsUncheck.Name = "chBoxPersonsUncheck"; // // chBoxPersonsEnable // resources.ApplyResources(this.chBoxPersonsEnable, "chBoxPersonsEnable"); this.chBoxPersonsEnable.Name = "chBoxPersonsEnable"; this.chBoxPersonsEnable.CheckedChanged += new System.EventHandler(this.chBoxEnable_CheckedChanged); // // gbOrganizationForm // this.gbOrganizationForm.Controls.Add(this.cbOrganizationalForm); this.gbOrganizationForm.Controls.Add(this.chBoxOrganizationalFormEnable); resources.ApplyResources(this.gbOrganizationForm, "gbOrganizationForm"); this.gbOrganizationForm.Name = "gbOrganizationForm"; this.gbOrganizationForm.TabStop = false; // // cbOrganizationalForm // resources.ApplyResources(this.cbOrganizationalForm, "cbOrganizationalForm"); this.cbOrganizationalForm.Name = "cbOrganizationalForm"; // // chBoxOrganizationalFormEnable // resources.ApplyResources(this.chBoxOrganizationalFormEnable, "chBoxOrganizationalFormEnable"); this.chBoxOrganizationalFormEnable.Name = "chBoxOrganizationalFormEnable"; this.chBoxOrganizationalFormEnable.CheckedChanged += new System.EventHandler(this.chBoxEnable_CheckedChanged); // // gbEmploees // this.gbEmploees.Controls.Add(this.lbSelectedEmploees); this.gbEmploees.Controls.Add(this.bnSelectEmployee); this.gbEmploees.Controls.Add(this.chBoxEmployees); resources.ApplyResources(this.gbEmploees, "gbEmploees"); this.gbEmploees.Name = "gbEmploees"; this.gbEmploees.TabStop = false; // // lbSelectedEmploees // resources.ApplyResources(this.lbSelectedEmploees, "lbSelectedEmploees"); this.lbSelectedEmploees.Name = "lbSelectedEmploees"; // // bnSelectEmployee // resources.ApplyResources(this.bnSelectEmployee, "bnSelectEmployee"); this.bnSelectEmployee.Name = "bnSelectEmployee"; this.bnSelectEmployee.Click += new System.EventHandler(this.bnSelectEmployee_Click); // // chBoxEmployees // resources.ApplyResources(this.chBoxEmployees, "chBoxEmployees"); this.chBoxEmployees.Name = "chBoxEmployees"; this.chBoxEmployees.CheckedChanged += new System.EventHandler(this.chBoxEnable_CheckedChanged); // // gbTypes // this.gbTypes.Controls.Add(this.lbTypes); this.gbTypes.Controls.Add(this.bnSelectTypes); this.gbTypes.Controls.Add(this.chBoxSubtypes); this.gbTypes.Controls.Add(this.chBoxTypesEnable); resources.ApplyResources(this.gbTypes, "gbTypes"); this.gbTypes.Name = "gbTypes"; this.gbTypes.TabStop = false; // // lbTypes // resources.ApplyResources(this.lbTypes, "lbTypes"); this.lbTypes.Name = "lbTypes"; // // bnSelectTypes // resources.ApplyResources(this.bnSelectTypes, "bnSelectTypes"); this.bnSelectTypes.Name = "bnSelectTypes"; this.bnSelectTypes.Click += new System.EventHandler(this.bnSelectTypes_Click); // // chBoxSubtypes // resources.ApplyResources(this.chBoxSubtypes, "chBoxSubtypes"); this.chBoxSubtypes.Name = "chBoxSubtypes"; // // chBoxTypesEnable // resources.ApplyResources(this.chBoxTypesEnable, "chBoxTypesEnable"); this.chBoxTypesEnable.Name = "chBoxTypesEnable"; this.chBoxTypesEnable.CheckedChanged += new System.EventHandler(this.chBoxEnable_CheckedChanged); // // gBCountryRegistration // this.gBCountryRegistration.Controls.Add(this.chBoxCountryRegistrationEnable); this.gBCountryRegistration.Controls.Add(this.tbCountry); this.gBCountryRegistration.Controls.Add(this.bnSelectCountry); resources.ApplyResources(this.gBCountryRegistration, "gBCountryRegistration"); this.gBCountryRegistration.Name = "gBCountryRegistration"; this.gBCountryRegistration.TabStop = false; // // chBoxCountryRegistrationEnable // resources.ApplyResources(this.chBoxCountryRegistrationEnable, "chBoxCountryRegistrationEnable"); this.chBoxCountryRegistrationEnable.Name = "chBoxCountryRegistrationEnable"; this.chBoxCountryRegistrationEnable.CheckedChanged += new System.EventHandler(this.chBoxEnable_CheckedChanged); // // tbCountry // resources.ApplyResources(this.tbCountry, "tbCountry"); this.tbCountry.Name = "tbCountry"; // // bnSelectCountry // resources.ApplyResources(this.bnSelectCountry, "bnSelectCountry"); this.bnSelectCountry.Name = "bnSelectCountry"; this.bnSelectCountry.Click += new System.EventHandler(this.bnSelectCountry_Click); // // gbProject // this.gbProject.Controls.Add(this.chBoxIncludSubProject); this.gbProject.Controls.Add(this.chBoxAnyBusinessProject); this.gbProject.Controls.Add(this.bnSelectBusinessProject); this.gbProject.Controls.Add(this.tbBusinessProject); this.gbProject.Controls.Add(this.chBoxBusinessProjectEnable); resources.ApplyResources(this.gbProject, "gbProject"); this.gbProject.Name = "gbProject"; this.gbProject.TabStop = false; // // chBoxIncludSubProject // resources.ApplyResources(this.chBoxIncludSubProject, "chBoxIncludSubProject"); this.chBoxIncludSubProject.Name = "chBoxIncludSubProject"; // // chBoxAnyBusinessProject // resources.ApplyResources(this.chBoxAnyBusinessProject, "chBoxAnyBusinessProject"); this.chBoxAnyBusinessProject.Name = "chBoxAnyBusinessProject"; this.chBoxAnyBusinessProject.CheckedChanged += new System.EventHandler(this.chBoxAnyBusinessProject_CheckedChanged); // // bnSelectBusinessProject // resources.ApplyResources(this.bnSelectBusinessProject, "bnSelectBusinessProject"); this.bnSelectBusinessProject.Name = "bnSelectBusinessProject"; this.bnSelectBusinessProject.Click += new System.EventHandler(this.bnSelectBusinessProject_Click); // // tbBusinessProject // resources.ApplyResources(this.tbBusinessProject, "tbBusinessProject"); this.tbBusinessProject.Name = "tbBusinessProject"; this.tbBusinessProject.TextChanged += new System.EventHandler(this.tbBusinessProject_TextChanged); // // chBoxBusinessProjectEnable // resources.ApplyResources(this.chBoxBusinessProjectEnable, "chBoxBusinessProjectEnable"); this.chBoxBusinessProjectEnable.Name = "chBoxBusinessProjectEnable"; this.chBoxBusinessProjectEnable.CheckedChanged += new System.EventHandler(this.chBoxEnable_CheckedChanged); // // PersonListNew // resources.ApplyResources(this, "$this"); this.Controls.Add(this.gbProject); this.Controls.Add(this.gBCountryRegistration); this.Controls.Add(this.gbTypes); this.Controls.Add(this.gbEmploees); this.Controls.Add(this.gbOrganizationForm); this.Controls.Add(this.gbPersons); this.Controls.Add(this.gbOrganizations); this.Controls.Add(this.rbAND); this.Controls.Add(this.rbOR); this.Controls.Add(this.pb); this.Name = "PersonListNew"; this.MouseUp += new System.Windows.Forms.MouseEventHandler(this.PersonListNew_MouseUp); this.Controls.SetChildIndex(this.pb, 0); this.Controls.SetChildIndex(this.rbOR, 0); this.Controls.SetChildIndex(this.rbAND, 0); this.Controls.SetChildIndex(this.gbOrganizations, 0); this.Controls.SetChildIndex(this.gbPersons, 0); this.Controls.SetChildIndex(this.gbOrganizationForm, 0); this.Controls.SetChildIndex(this.gbEmploees, 0); this.Controls.SetChildIndex(this.gbTypes, 0); this.Controls.SetChildIndex(this.gBCountryRegistration, 0); this.Controls.SetChildIndex(this.gbProject, 0); this.gbOrganizations.ResumeLayout(false); this.gbPersons.ResumeLayout(false); this.gbOrganizationForm.ResumeLayout(false); this.gbEmploees.ResumeLayout(false); this.gbTypes.ResumeLayout(false); this.gBCountryRegistration.ResumeLayout(false); this.gBCountryRegistration.PerformLayout(); this.gbProject.ResumeLayout(false); this.gbProject.PerformLayout(); this.ResumeLayout(false); }