From 9c6e1685291a968a7c8488ee79b580f476748302 Mon Sep 17 00:00:00 2001 From: Jeanosis Date: Mon, 2 Mar 2015 18:13:19 +0200 Subject: [PATCH 01/14] Forms connected --- src/DevWorkMainProject/Candidates.cs | 31 --------- .../DevWorkMainProject.csproj | 1 - .../Forms/MainForm.Designer.cs | 63 ++++++++++--------- src/DevWorkMainProject/Forms/MainForm.cs | 32 ++++++++-- src/Domain/Entities/Candidate.cs | 13 ++++ 5 files changed, 74 insertions(+), 66 deletions(-) delete mode 100644 src/DevWorkMainProject/Candidates.cs diff --git a/src/DevWorkMainProject/Candidates.cs b/src/DevWorkMainProject/Candidates.cs deleted file mode 100644 index db3dedc..0000000 --- a/src/DevWorkMainProject/Candidates.cs +++ /dev/null @@ -1,31 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Domain; - -namespace DevWorkMainProject -{ - public class Candidates - { - public static List GetData() - { - Contact newContact = null; - List Result = new List(); - - for (int i = 0; i < 10; i++) - { - newContact = new Contact(); - newContact.Date = new DateTime(1994, 01, 15 + i); - newContact.Comment = String.Format("This is comment #{0}", i); - newContact.Type = ContactType.Meet; - - Result.Add(new Candidate(String.Format("Vasya_{0}", i), String.Format("Vasilievich_{0}", i), - String.Format("Pupkin_{0}", i), GenderType.Male, newContact)); - } - - return Result; - } - } -} diff --git a/src/DevWorkMainProject/DevWorkMainProject.csproj b/src/DevWorkMainProject/DevWorkMainProject.csproj index 9c783c6..4c4410a 100644 --- a/src/DevWorkMainProject/DevWorkMainProject.csproj +++ b/src/DevWorkMainProject/DevWorkMainProject.csproj @@ -53,7 +53,6 @@ - Form diff --git a/src/DevWorkMainProject/Forms/MainForm.Designer.cs b/src/DevWorkMainProject/Forms/MainForm.Designer.cs index 5ff440a..acd62de 100644 --- a/src/DevWorkMainProject/Forms/MainForm.Designer.cs +++ b/src/DevWorkMainProject/Forms/MainForm.Designer.cs @@ -33,9 +33,12 @@ private void InitializeComponent() this.mainGridControl = new DevExpress.XtraGrid.GridControl(); this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); this.mainGridView = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.coID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colFirstName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMiddleName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colLastName = new DevExpress.XtraGrid.Columns.GridColumn(); + this.coLastContactDate = new DevExpress.XtraGrid.Columns.GridColumn(); + this.coLastContactComment = new DevExpress.XtraGrid.Columns.GridColumn(); this.editButton = new DevExpress.XtraEditors.SimpleButton(); this.addButton = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); @@ -43,9 +46,6 @@ private void InitializeComponent() this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.buttonsEmptySpaceItem = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - this.coCounter = new DevExpress.XtraGrid.Columns.GridColumn(); - this.coLastContactDate = new DevExpress.XtraGrid.Columns.GridColumn(); - this.coLastContactComment = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.mainGridControl)).BeginInit(); @@ -100,7 +100,7 @@ private void InitializeComponent() // mainGridView // this.mainGridView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { - this.coCounter, + this.coID, this.colFirstName, this.colMiddleName, this.colLastName, @@ -108,27 +108,51 @@ private void InitializeComponent() this.coLastContactComment}); this.mainGridView.GridControl = this.mainGridControl; this.mainGridView.Name = "mainGridView"; + this.mainGridView.OptionsView.ShowGroupPanel = false; + // + // coID + // + this.coID.Caption = "ID"; + this.coID.Name = "coID"; + this.coID.Visible = true; + this.coID.VisibleIndex = 0; // // colFirstName // this.colFirstName.FieldName = "FirstName"; this.colFirstName.Name = "colFirstName"; this.colFirstName.Visible = true; - this.colFirstName.VisibleIndex = 0; + this.colFirstName.VisibleIndex = 1; // // colMiddleName // this.colMiddleName.FieldName = "MiddleName"; this.colMiddleName.Name = "colMiddleName"; this.colMiddleName.Visible = true; - this.colMiddleName.VisibleIndex = 1; + this.colMiddleName.VisibleIndex = 2; // // colLastName // this.colLastName.FieldName = "LastName"; this.colLastName.Name = "colLastName"; this.colLastName.Visible = true; - this.colLastName.VisibleIndex = 2; + this.colLastName.VisibleIndex = 3; + // + // coLastContactDate + // + this.coLastContactDate.Caption = "Last contact date"; + this.coLastContactDate.FieldName = "LastContact.Date"; + this.coLastContactDate.Name = "coLastContactDate"; + this.coLastContactDate.Visible = true; + this.coLastContactDate.VisibleIndex = 4; + // + // coLastContactComment + // + this.coLastContactComment.Caption = "Comment"; + this.coLastContactComment.FieldName = "LastContact.Comment"; + this.coLastContactComment.Name = "coLastContactComment"; + this.coLastContactComment.Visible = true; + this.coLastContactComment.VisibleIndex = 5; // // editButton // @@ -138,6 +162,7 @@ private void InitializeComponent() this.editButton.StyleController = this.layoutControl1; this.editButton.TabIndex = 5; this.editButton.Text = "Edit"; + this.editButton.Click += new System.EventHandler(this.editButton_Click); // // addButton // @@ -147,6 +172,7 @@ private void InitializeComponent() this.addButton.StyleController = this.layoutControl1; this.addButton.TabIndex = 4; this.addButton.Text = "Add"; + this.addButton.Click += new System.EventHandler(this.addButton_Click); // // layoutControlGroup1 // @@ -197,27 +223,6 @@ private void InitializeComponent() this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextVisible = false; // - // coCounter - // - this.coCounter.Caption = "gridColumn1"; - this.coCounter.Name = "coCounter"; - this.coCounter.Visible = true; - this.coCounter.VisibleIndex = 3; - // - // coLastContactDate - // - this.coLastContactDate.Caption = "gridColumn2"; - this.coLastContactDate.Name = "coLastContactDate"; - this.coLastContactDate.Visible = true; - this.coLastContactDate.VisibleIndex = 4; - // - // coLastContactComment - // - this.coLastContactComment.Caption = "gridColumn3"; - this.coLastContactComment.Name = "coLastContactComment"; - this.coLastContactComment.Visible = true; - this.coLastContactComment.VisibleIndex = 5; - // // MainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); @@ -258,7 +263,7 @@ private void InitializeComponent() private DevExpress.XtraGrid.Columns.GridColumn colFirstName; private DevExpress.XtraGrid.Columns.GridColumn colMiddleName; private DevExpress.XtraGrid.Columns.GridColumn colLastName; - private DevExpress.XtraGrid.Columns.GridColumn coCounter; + private DevExpress.XtraGrid.Columns.GridColumn coID; private DevExpress.XtraGrid.Columns.GridColumn coLastContactDate; private DevExpress.XtraGrid.Columns.GridColumn coLastContactComment; } diff --git a/src/DevWorkMainProject/Forms/MainForm.cs b/src/DevWorkMainProject/Forms/MainForm.cs index 36cf3a2..3964306 100644 --- a/src/DevWorkMainProject/Forms/MainForm.cs +++ b/src/DevWorkMainProject/Forms/MainForm.cs @@ -18,11 +18,6 @@ public MainForm() InitializeComponent(); } - private void MainForm_Load(object sender, EventArgs e) - { - mainGridControl.DataSource = CreateData(); - } - private List CreateData() { Contact newContact = null; @@ -41,5 +36,32 @@ private List CreateData() return Result; } + + private void MainForm_Load(object sender, EventArgs e) + { + mainGridControl.DataSource = CreateData(); + mainGridView.OptionsView.ShowIndicator = false; + this.AddOwnedForm(new CandidateForm()); + } + + private void addButton_Click(object sender, EventArgs e) + { + if (this.OwnedForms.Length > 1) + return; + + this.AddOwnedForm(new CandidateForm()); + OwnedForms[0].Show(); + //this.Enabled = false; + } + + private void editButton_Click(object sender, EventArgs e) + { + if (this.OwnedForms.Length > 1) + return; + + this.AddOwnedForm(new CandidateForm()); + OwnedForms[0].Show(); + //this.Enabled = false; + } } } diff --git a/src/Domain/Entities/Candidate.cs b/src/Domain/Entities/Candidate.cs index e4200e4..26b2abb 100644 --- a/src/Domain/Entities/Candidate.cs +++ b/src/Domain/Entities/Candidate.cs @@ -164,8 +164,21 @@ public string LastName else lastName = value; } } + //temp--------------------- + public Contact LastContact + { + get + { + Contact Result = new Contact(); + Result.Date = new DateTime(1994, 01, 22); + Result.Comment = String.Format("This is comment."); + Result.Type = ContactType.Meet; + return Result; + } + } + //--------------------------- public DateTime BirthdayDate { get From ac8bee18dcbc903e985d1621eb512d00071ea71f Mon Sep 17 00:00:00 2001 From: Gorban Nastya Date: Mon, 2 Mar 2015 18:25:49 +0200 Subject: [PATCH 02/14] some changes for test ORM --- src/Domain/Entities/Candidate.cs | 18 +++++++++++++++++- src/Domain/Entities/Contact.cs | 1 + src/Domain/Entities/SocialNetworkProfile.cs | 1 + src/Domain/packages.config | 6 ++++++ 4 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/Domain/packages.config diff --git a/src/Domain/Entities/Candidate.cs b/src/Domain/Entities/Candidate.cs index 67ad4f9..4a452e0 100644 --- a/src/Domain/Entities/Candidate.cs +++ b/src/Domain/Entities/Candidate.cs @@ -34,6 +34,8 @@ public Candidate() SocialNetworksList = new List(); } + + public virtual int Id { get; private set; } public virtual string FirstName { get @@ -196,6 +198,20 @@ public virtual List SocialNetworksList else socialNetworksList = value; } } + public virtual void AddPhoneNumber(PhoneNumber phone) + { + PhonesList.Add(phone); + } + + public virtual void AddContact(Contact contact) + { + ContacsList.Add(contact); + } + + public virtual void AddSocialNetwork(SocialNetworkProfile socialNetwork) + { + SocialNetworksList.Add(socialNetwork); + } //List has to be sorted by dates public virtual Contact getLastContact() @@ -203,4 +219,4 @@ public virtual Contact getLastContact() return ContacsList[ContacsList.Count - 1]; } } - } +} diff --git a/src/Domain/Entities/Contact.cs b/src/Domain/Entities/Contact.cs index c6fe37f..8cdf7da 100644 --- a/src/Domain/Entities/Contact.cs +++ b/src/Domain/Entities/Contact.cs @@ -12,6 +12,7 @@ public class Contact private ContactType type; private DateTime date; private string comment; + public virtual int Id { get; private set; } public ContactType Type { get { return type; } diff --git a/src/Domain/Entities/SocialNetworkProfile.cs b/src/Domain/Entities/SocialNetworkProfile.cs index 6adb961..55f0306 100644 --- a/src/Domain/Entities/SocialNetworkProfile.cs +++ b/src/Domain/Entities/SocialNetworkProfile.cs @@ -11,6 +11,7 @@ public class SocialNetworkProfile { private SocialNetworkType type; private string link; + public virtual int Id { get; private set; } public SocialNetworkType Type { get { return type; } diff --git a/src/Domain/packages.config b/src/Domain/packages.config new file mode 100644 index 0000000..ddd4dc2 --- /dev/null +++ b/src/Domain/packages.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file From b2b19ab6f6cb3fd4c16bcbac795b96a8c2a4e9bb Mon Sep 17 00:00:00 2001 From: Gorban Nastya Date: Mon, 2 Mar 2015 18:32:06 +0200 Subject: [PATCH 03/14] changes in other classes for test ORM --- src/Domain/Domain.csproj | 12 ++++++++++++ src/Domain/Entities/Candidate.cs | 10 +++++----- src/Domain/Entities/Contact.cs | 4 ++++ src/Domain/Entities/SocialNetworkProfile.cs | 7 +++++-- 4 files changed, 26 insertions(+), 7 deletions(-) diff --git a/src/Domain/Domain.csproj b/src/Domain/Domain.csproj index 890fea5..a92f759 100644 --- a/src/Domain/Domain.csproj +++ b/src/Domain/Domain.csproj @@ -30,6 +30,15 @@ 4 + + ..\packages\FluentNHibernate.2.0.1.0\lib\net40\FluentNHibernate.dll + + + ..\packages\Iesi.Collections.4.0.0.4000\lib\net40\Iesi.Collections.dll + + + ..\packages\NHibernate.4.0.0.4000\lib\net40\NHibernate.dll + @@ -51,6 +60,9 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file From 080df10dd8b2a011ec39f27ae438342ee2694370 Mon Sep 17 00:00:00 2001 From: IgorVskpsn Date: Tue, 3 Mar 2015 12:04:36 +0200 Subject: [PATCH 11/14] Commit --- .../DevWorkMainProject.csproj | 3 + .../Forms/CandidateForm.Designer.cs | 1450 +++++++++-------- src/DevWorkMainProject/Forms/CandidateForm.cs | 5 + 3 files changed, 752 insertions(+), 706 deletions(-) diff --git a/src/DevWorkMainProject/DevWorkMainProject.csproj b/src/DevWorkMainProject/DevWorkMainProject.csproj index 4c4410a..41faf3d 100644 --- a/src/DevWorkMainProject/DevWorkMainProject.csproj +++ b/src/DevWorkMainProject/DevWorkMainProject.csproj @@ -67,6 +67,9 @@ + + CandidateForm.cs + MainForm.cs diff --git a/src/DevWorkMainProject/Forms/CandidateForm.Designer.cs b/src/DevWorkMainProject/Forms/CandidateForm.Designer.cs index 48c89c3..972fd91 100644 --- a/src/DevWorkMainProject/Forms/CandidateForm.Designer.cs +++ b/src/DevWorkMainProject/Forms/CandidateForm.Designer.cs @@ -28,736 +28,774 @@ protected override void Dispose(bool disposing) /// private void InitializeComponent() { - this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); - this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); - this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); - this.simpleButton2 = new DevExpress.XtraEditors.SimpleButton(); - this.simpleButton1 = new DevExpress.XtraEditors.SimpleButton(); - this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); - this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); - this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); - this.textEdit6 = new DevExpress.XtraEditors.TextEdit(); - this.textEdit5 = new DevExpress.XtraEditors.TextEdit(); - this.textEdit4 = new DevExpress.XtraEditors.TextEdit(); - this.gridControl3 = new DevExpress.XtraGrid.GridControl(); - this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.gridControl2 = new DevExpress.XtraGrid.GridControl(); - this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.gridControl1 = new DevExpress.XtraGrid.GridControl(); - this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); - this.dateEdit1 = new DevExpress.XtraEditors.DateEdit(); - this.checkEdit1 = new DevExpress.XtraEditors.CheckEdit(); - this.comboBoxEdit1 = new DevExpress.XtraEditors.ComboBoxEdit(); - this.textEdit3 = new DevExpress.XtraEditors.TextEdit(); - this.textEdit2 = new DevExpress.XtraEditors.TextEdit(); - this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); - this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); - this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); - this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); - this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); - this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); - this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); - this.layoutControl1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit6.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit5.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); + this.rootLayout = new DevExpress.XtraLayout.LayoutControl(); + this.contactInformationLabel = new DevExpress.XtraEditors.LabelControl(); + this.generalInforLabel = new DevExpress.XtraEditors.LabelControl(); + this.cancelButton = new DevExpress.XtraEditors.SimpleButton(); + this.saveButton = new DevExpress.XtraEditors.SimpleButton(); + this.socialNetworksLabel = new DevExpress.XtraEditors.LabelControl(); + this.phonesLabel = new DevExpress.XtraEditors.LabelControl(); + this.commentsLabel = new DevExpress.XtraEditors.LabelControl(); + this.urlTextEdit = new DevExpress.XtraEditors.TextEdit(); + this.emailTextEdit = new DevExpress.XtraEditors.TextEdit(); + this.skypeTextEdit = new DevExpress.XtraEditors.TextEdit(); + this.socialNetworksGrid = new DevExpress.XtraGrid.GridControl(); + this.socialNetworksGridView = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.commentsGrid = new DevExpress.XtraGrid.GridControl(); + this.commentsGridView = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.phonesGrid = new DevExpress.XtraGrid.GridControl(); + this.phonesGridView = new DevExpress.XtraGrid.Views.Grid.GridView(); + this.dobDateEdit = new DevExpress.XtraEditors.DateEdit(); + this.relocationCheckEdit = new DevExpress.XtraEditors.CheckEdit(); + this.englishLevelComboBox = new DevExpress.XtraEditors.ComboBoxEdit(); + this.lastNameTextEdit = new DevExpress.XtraEditors.TextEdit(); + this.middleNameTextEdit = new DevExpress.XtraEditors.TextEdit(); + this.firstNameTextEdit = new DevExpress.XtraEditors.TextEdit(); + this.candidatePhoto = new DevExpress.XtraEditors.PictureEdit(); + this.rootLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); + this.commentsLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); + this.contactsGridLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.contactsLabelLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.contactsLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); + this.skypeTextEditLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.emailTextEditLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.urlTextEditLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.phonesLabelLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.phonesGridLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.socialNetworksLabelLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.socialNetworksGridLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.contactInformationLabelLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.generalInfoLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); + this.relocationCheckEditLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.photoLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.firstNameLayout = new DevExpress.XtraLayout.LayoutControlItem(); + this.middleNameLayout = new DevExpress.XtraLayout.LayoutControlItem(); + this.lastNameLayout = new DevExpress.XtraLayout.LayoutControlItem(); + this.englishLevelLayout = new DevExpress.XtraLayout.LayoutControlItem(); + this.dobLayout = new DevExpress.XtraLayout.LayoutControlItem(); + this.spaceBetweenNameAndDob = new DevExpress.XtraLayout.EmptySpaceItem(); + this.spaceAtGeneralInfoBottom = new DevExpress.XtraLayout.EmptySpaceItem(); + this.generalInfoLabelLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.spaceBetweenEnglishAndGender = new DevExpress.XtraLayout.EmptySpaceItem(); + this.saveButtonLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.cancelButtonLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + this.spaceAtFormBottom = new DevExpress.XtraLayout.EmptySpaceItem(); + this.genderComboBox = new DevExpress.XtraEditors.ComboBoxEdit(); + this.genderLayoutControlItem = new DevExpress.XtraLayout.LayoutControlItem(); + ((System.ComponentModel.ISupportInitialize)(this.rootLayout)).BeginInit(); + this.rootLayout.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.urlTextEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.emailTextEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.skypeTextEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksGrid)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.commentsGrid)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.commentsGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesGrid)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesGridView)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dobDateEdit.Properties.CalendarTimeProperties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dobDateEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.relocationCheckEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.englishLevelComboBox.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastNameTextEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.middleNameTextEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.firstNameTextEdit.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.candidatePhoto.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.rootLayoutGroup)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.commentsLayoutGroup)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactsGridLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactsLabelLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactsLayoutGroup)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.skypeTextEditLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.emailTextEditLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.urlTextEditLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesLabelLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesGridLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksLabelLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksGridLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactInformationLabelLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.generalInfoLayoutGroup)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.relocationCheckEditLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.photoLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.firstNameLayout)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.middleNameLayout)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastNameLayout)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.englishLevelLayout)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dobLayout)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceBetweenNameAndDob)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceAtGeneralInfoBottom)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.generalInfoLabelLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceBetweenEnglishAndGender)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.saveButtonLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.cancelButtonLayoutControlItem)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceAtFormBottom)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.genderComboBox.Properties)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.genderLayoutControlItem)).BeginInit(); this.SuspendLayout(); // - // layoutControl1 - // - this.layoutControl1.Controls.Add(this.labelControl5); - this.layoutControl1.Controls.Add(this.labelControl4); - this.layoutControl1.Controls.Add(this.simpleButton2); - this.layoutControl1.Controls.Add(this.simpleButton1); - this.layoutControl1.Controls.Add(this.labelControl3); - this.layoutControl1.Controls.Add(this.labelControl2); - this.layoutControl1.Controls.Add(this.labelControl1); - this.layoutControl1.Controls.Add(this.textEdit6); - this.layoutControl1.Controls.Add(this.textEdit5); - this.layoutControl1.Controls.Add(this.textEdit4); - this.layoutControl1.Controls.Add(this.gridControl3); - this.layoutControl1.Controls.Add(this.gridControl2); - this.layoutControl1.Controls.Add(this.gridControl1); - this.layoutControl1.Controls.Add(this.dateEdit1); - this.layoutControl1.Controls.Add(this.checkEdit1); - this.layoutControl1.Controls.Add(this.comboBoxEdit1); - this.layoutControl1.Controls.Add(this.textEdit3); - this.layoutControl1.Controls.Add(this.textEdit2); - this.layoutControl1.Controls.Add(this.textEdit1); - this.layoutControl1.Controls.Add(this.pictureEdit1); - this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.layoutControl1.Location = new System.Drawing.Point(0, 0); - this.layoutControl1.Name = "layoutControl1"; - this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(537, 161, 516, 370); - this.layoutControl1.OptionsPrint.AppearanceGroupCaption.BackColor = System.Drawing.Color.LightGray; - this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Font = new System.Drawing.Font("Tahoma", 10.25F); - this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Options.UseBackColor = true; - this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Options.UseFont = true; - this.layoutControl1.OptionsPrint.AppearanceGroupCaption.Options.UseTextOptions = true; - this.layoutControl1.OptionsPrint.AppearanceGroupCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; - this.layoutControl1.OptionsPrint.AppearanceGroupCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; - this.layoutControl1.OptionsPrint.AppearanceItemCaption.Options.UseTextOptions = true; - this.layoutControl1.OptionsPrint.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; - this.layoutControl1.OptionsPrint.AppearanceItemCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; - this.layoutControl1.Root = this.layoutControlGroup1; - this.layoutControl1.Size = new System.Drawing.Size(806, 481); - this.layoutControl1.TabIndex = 0; - this.layoutControl1.Text = "layoutControl1"; - // - // labelControl5 - // - this.labelControl5.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; - this.labelControl5.Location = new System.Drawing.Point(505, 5); - this.labelControl5.Margin = new System.Windows.Forms.Padding(0); - this.labelControl5.Name = "labelControl5"; - this.labelControl5.Size = new System.Drawing.Size(296, 13); - this.labelControl5.StyleController = this.layoutControl1; - this.labelControl5.TabIndex = 23; - this.labelControl5.Text = "labelControl5"; - // - // labelControl4 - // - this.labelControl4.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; - this.labelControl4.Location = new System.Drawing.Point(156, 5); - this.labelControl4.Margin = new System.Windows.Forms.Padding(0); - this.labelControl4.Name = "labelControl4"; - this.labelControl4.Size = new System.Drawing.Size(339, 13); - this.labelControl4.StyleController = this.layoutControl1; - this.labelControl4.TabIndex = 22; - this.labelControl4.Text = "labelControl4"; - // - // simpleButton2 - // - this.simpleButton2.Location = new System.Drawing.Point(724, 457); - this.simpleButton2.Name = "simpleButton2"; - this.simpleButton2.Size = new System.Drawing.Size(80, 22); - this.simpleButton2.StyleController = this.layoutControl1; - this.simpleButton2.TabIndex = 21; - this.simpleButton2.Text = "simpleButton2"; - // - // simpleButton1 - // - this.simpleButton1.Location = new System.Drawing.Point(640, 457); - this.simpleButton1.Name = "simpleButton1"; - this.simpleButton1.Size = new System.Drawing.Size(80, 22); - this.simpleButton1.StyleController = this.layoutControl1; - this.simpleButton1.TabIndex = 20; - this.simpleButton1.Text = "simpleButton1"; - // - // labelControl3 - // - this.labelControl3.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; - this.labelControl3.Location = new System.Drawing.Point(505, 253); - this.labelControl3.Margin = new System.Windows.Forms.Padding(0); - this.labelControl3.Name = "labelControl3"; - this.labelControl3.Size = new System.Drawing.Size(296, 13); - this.labelControl3.StyleController = this.layoutControl1; - this.labelControl3.TabIndex = 19; - this.labelControl3.Text = "labelControl3"; - // - // labelControl2 - // - this.labelControl2.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; - this.labelControl2.Location = new System.Drawing.Point(505, 94); - this.labelControl2.Margin = new System.Windows.Forms.Padding(0); - this.labelControl2.Name = "labelControl2"; - this.labelControl2.Size = new System.Drawing.Size(296, 13); - this.labelControl2.StyleController = this.layoutControl1; - this.labelControl2.TabIndex = 18; - this.labelControl2.Text = "labelControl2"; - // - // labelControl1 - // - this.labelControl1.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; - this.labelControl1.Location = new System.Drawing.Point(5, 223); - this.labelControl1.Margin = new System.Windows.Forms.Padding(0); - this.labelControl1.Name = "labelControl1"; - this.labelControl1.Size = new System.Drawing.Size(490, 13); - this.labelControl1.StyleController = this.layoutControl1; - this.labelControl1.TabIndex = 17; - this.labelControl1.Text = "labelControl1"; - // - // textEdit6 - // - this.textEdit6.Location = new System.Drawing.Point(607, 70); - this.textEdit6.Name = "textEdit6"; - this.textEdit6.Size = new System.Drawing.Size(194, 20); - this.textEdit6.StyleController = this.layoutControl1; - this.textEdit6.TabIndex = 16; - // - // textEdit5 - // - this.textEdit5.Location = new System.Drawing.Point(607, 46); - this.textEdit5.Name = "textEdit5"; - this.textEdit5.Size = new System.Drawing.Size(194, 20); - this.textEdit5.StyleController = this.layoutControl1; - this.textEdit5.TabIndex = 15; - // - // textEdit4 - // - this.textEdit4.Location = new System.Drawing.Point(607, 22); - this.textEdit4.Name = "textEdit4"; - this.textEdit4.Size = new System.Drawing.Size(194, 20); - this.textEdit4.StyleController = this.layoutControl1; - this.textEdit4.TabIndex = 14; - // - // gridControl3 - // - this.gridControl3.Location = new System.Drawing.Point(505, 270); - this.gridControl3.MainView = this.gridView3; - this.gridControl3.Name = "gridControl3"; - this.gridControl3.Size = new System.Drawing.Size(296, 180); - this.gridControl3.TabIndex = 13; - this.gridControl3.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gridView3}); - // - // gridView3 - // - this.gridView3.GridControl = this.gridControl3; - this.gridView3.Name = "gridView3"; - // - // gridControl2 - // - this.gridControl2.Location = new System.Drawing.Point(5, 240); - this.gridControl2.MainView = this.gridView2; - this.gridControl2.Name = "gridControl2"; - this.gridControl2.Size = new System.Drawing.Size(490, 210); - this.gridControl2.TabIndex = 12; - this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gridView2}); - // - // gridView2 - // - this.gridView2.GridControl = this.gridControl2; - this.gridView2.Name = "gridView2"; - // - // gridControl1 - // - this.gridControl1.Location = new System.Drawing.Point(505, 111); - this.gridControl1.MainView = this.gridView1; - this.gridControl1.Name = "gridControl1"; - this.gridControl1.Size = new System.Drawing.Size(296, 138); - this.gridControl1.TabIndex = 11; - this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { - this.gridView1}); - // - // gridView1 - // - this.gridView1.GridControl = this.gridControl1; - this.gridView1.Name = "gridView1"; - // - // dateEdit1 - // - this.dateEdit1.EditValue = null; - this.dateEdit1.Location = new System.Drawing.Point(258, 111); - this.dateEdit1.Name = "dateEdit1"; - this.dateEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + // rootLayout + // + this.rootLayout.Controls.Add(this.genderComboBox); + this.rootLayout.Controls.Add(this.contactInformationLabel); + this.rootLayout.Controls.Add(this.generalInforLabel); + this.rootLayout.Controls.Add(this.cancelButton); + this.rootLayout.Controls.Add(this.saveButton); + this.rootLayout.Controls.Add(this.socialNetworksLabel); + this.rootLayout.Controls.Add(this.phonesLabel); + this.rootLayout.Controls.Add(this.commentsLabel); + this.rootLayout.Controls.Add(this.urlTextEdit); + this.rootLayout.Controls.Add(this.emailTextEdit); + this.rootLayout.Controls.Add(this.skypeTextEdit); + this.rootLayout.Controls.Add(this.socialNetworksGrid); + this.rootLayout.Controls.Add(this.commentsGrid); + this.rootLayout.Controls.Add(this.phonesGrid); + this.rootLayout.Controls.Add(this.dobDateEdit); + this.rootLayout.Controls.Add(this.relocationCheckEdit); + this.rootLayout.Controls.Add(this.englishLevelComboBox); + this.rootLayout.Controls.Add(this.lastNameTextEdit); + this.rootLayout.Controls.Add(this.middleNameTextEdit); + this.rootLayout.Controls.Add(this.firstNameTextEdit); + this.rootLayout.Controls.Add(this.candidatePhoto); + this.rootLayout.Dock = System.Windows.Forms.DockStyle.Fill; + this.rootLayout.Location = new System.Drawing.Point(0, 0); + this.rootLayout.Name = "rootLayout"; + this.rootLayout.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(537, 161, 516, 370); + this.rootLayout.OptionsPrint.AppearanceGroupCaption.BackColor = System.Drawing.Color.LightGray; + this.rootLayout.OptionsPrint.AppearanceGroupCaption.Font = new System.Drawing.Font("Tahoma", 10.25F); + this.rootLayout.OptionsPrint.AppearanceGroupCaption.Options.UseBackColor = true; + this.rootLayout.OptionsPrint.AppearanceGroupCaption.Options.UseFont = true; + this.rootLayout.OptionsPrint.AppearanceGroupCaption.Options.UseTextOptions = true; + this.rootLayout.OptionsPrint.AppearanceGroupCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; + this.rootLayout.OptionsPrint.AppearanceGroupCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; + this.rootLayout.OptionsPrint.AppearanceItemCaption.Options.UseTextOptions = true; + this.rootLayout.OptionsPrint.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; + this.rootLayout.OptionsPrint.AppearanceItemCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; + this.rootLayout.Root = this.rootLayoutGroup; + this.rootLayout.Size = new System.Drawing.Size(806, 481); + this.rootLayout.TabIndex = 0; + this.rootLayout.Text = "layoutControl1"; + // + // contactInformationLabel + // + this.contactInformationLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; + this.contactInformationLabel.Location = new System.Drawing.Point(505, 5); + this.contactInformationLabel.Margin = new System.Windows.Forms.Padding(0); + this.contactInformationLabel.Name = "contactInformationLabel"; + this.contactInformationLabel.Size = new System.Drawing.Size(296, 13); + this.contactInformationLabel.StyleController = this.rootLayout; + this.contactInformationLabel.TabIndex = 23; + this.contactInformationLabel.Text = "Contact information:"; + // + // generalInforLabel + // + this.generalInforLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; + this.generalInforLabel.Location = new System.Drawing.Point(156, 5); + this.generalInforLabel.Margin = new System.Windows.Forms.Padding(0); + this.generalInforLabel.Name = "generalInforLabel"; + this.generalInforLabel.Size = new System.Drawing.Size(339, 13); + this.generalInforLabel.StyleController = this.rootLayout; + this.generalInforLabel.TabIndex = 22; + this.generalInforLabel.Text = "General information:"; + // + // cancelButton + // + this.cancelButton.Location = new System.Drawing.Point(739, 457); + this.cancelButton.Name = "cancelButton"; + this.cancelButton.Size = new System.Drawing.Size(65, 22); + this.cancelButton.StyleController = this.rootLayout; + this.cancelButton.TabIndex = 21; + this.cancelButton.Text = "Cancel"; + // + // saveButton + // + this.saveButton.Location = new System.Drawing.Point(670, 457); + this.saveButton.Name = "saveButton"; + this.saveButton.Size = new System.Drawing.Size(65, 22); + this.saveButton.StyleController = this.rootLayout; + this.saveButton.TabIndex = 20; + this.saveButton.Text = "Save"; + // + // socialNetworksLabel + // + this.socialNetworksLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; + this.socialNetworksLabel.Location = new System.Drawing.Point(505, 253); + this.socialNetworksLabel.Margin = new System.Windows.Forms.Padding(0); + this.socialNetworksLabel.Name = "socialNetworksLabel"; + this.socialNetworksLabel.Size = new System.Drawing.Size(296, 13); + this.socialNetworksLabel.StyleController = this.rootLayout; + this.socialNetworksLabel.TabIndex = 19; + this.socialNetworksLabel.Text = "Social networks:"; + // + // phonesLabel + // + this.phonesLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; + this.phonesLabel.Location = new System.Drawing.Point(505, 94); + this.phonesLabel.Margin = new System.Windows.Forms.Padding(0); + this.phonesLabel.Name = "phonesLabel"; + this.phonesLabel.Size = new System.Drawing.Size(296, 13); + this.phonesLabel.StyleController = this.rootLayout; + this.phonesLabel.TabIndex = 18; + this.phonesLabel.Text = "Phones:"; + // + // commentsLabel + // + this.commentsLabel.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None; + this.commentsLabel.Location = new System.Drawing.Point(5, 225); + this.commentsLabel.Margin = new System.Windows.Forms.Padding(0); + this.commentsLabel.Name = "commentsLabel"; + this.commentsLabel.Size = new System.Drawing.Size(490, 13); + this.commentsLabel.StyleController = this.rootLayout; + this.commentsLabel.TabIndex = 17; + this.commentsLabel.Text = "Contacts:"; + // + // urlTextEdit + // + this.urlTextEdit.Location = new System.Drawing.Point(571, 70); + this.urlTextEdit.Name = "urlTextEdit"; + this.urlTextEdit.Size = new System.Drawing.Size(230, 20); + this.urlTextEdit.StyleController = this.rootLayout; + this.urlTextEdit.TabIndex = 16; + // + // emailTextEdit + // + this.emailTextEdit.Location = new System.Drawing.Point(571, 46); + this.emailTextEdit.Name = "emailTextEdit"; + this.emailTextEdit.Size = new System.Drawing.Size(230, 20); + this.emailTextEdit.StyleController = this.rootLayout; + this.emailTextEdit.TabIndex = 15; + // + // skypeTextEdit + // + this.skypeTextEdit.Location = new System.Drawing.Point(571, 22); + this.skypeTextEdit.Name = "skypeTextEdit"; + this.skypeTextEdit.Size = new System.Drawing.Size(230, 20); + this.skypeTextEdit.StyleController = this.rootLayout; + this.skypeTextEdit.TabIndex = 14; + // + // socialNetworksGrid + // + this.socialNetworksGrid.Location = new System.Drawing.Point(505, 270); + this.socialNetworksGrid.MainView = this.socialNetworksGridView; + this.socialNetworksGrid.Name = "socialNetworksGrid"; + this.socialNetworksGrid.Size = new System.Drawing.Size(296, 180); + this.socialNetworksGrid.TabIndex = 13; + this.socialNetworksGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.socialNetworksGridView}); + // + // socialNetworksGridView + // + this.socialNetworksGridView.GridControl = this.socialNetworksGrid; + this.socialNetworksGridView.Name = "socialNetworksGridView"; + // + // commentsGrid + // + this.commentsGrid.Location = new System.Drawing.Point(5, 242); + this.commentsGrid.MainView = this.commentsGridView; + this.commentsGrid.Name = "commentsGrid"; + this.commentsGrid.Size = new System.Drawing.Size(490, 208); + this.commentsGrid.TabIndex = 12; + this.commentsGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.commentsGridView}); + // + // commentsGridView + // + this.commentsGridView.GridControl = this.commentsGrid; + this.commentsGridView.Name = "commentsGridView"; + // + // phonesGrid + // + this.phonesGrid.Location = new System.Drawing.Point(505, 111); + this.phonesGrid.MainView = this.phonesGridView; + this.phonesGrid.Name = "phonesGrid"; + this.phonesGrid.Size = new System.Drawing.Size(296, 138); + this.phonesGrid.TabIndex = 11; + this.phonesGrid.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { + this.phonesGridView}); + // + // phonesGridView + // + this.phonesGridView.GridControl = this.phonesGrid; + this.phonesGridView.Name = "phonesGridView"; + // + // dobDateEdit + // + this.dobDateEdit.EditValue = null; + this.dobDateEdit.Location = new System.Drawing.Point(222, 128); + this.dobDateEdit.Name = "dobDateEdit"; + this.dobDateEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.dateEdit1.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + this.dobDateEdit.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.dateEdit1.Size = new System.Drawing.Size(237, 20); - this.dateEdit1.StyleController = this.layoutControl1; - this.dateEdit1.TabIndex = 10; + this.dobDateEdit.Size = new System.Drawing.Size(273, 20); + this.dobDateEdit.StyleController = this.rootLayout; + this.dobDateEdit.TabIndex = 10; // - // checkEdit1 + // relocationCheckEdit // - this.checkEdit1.Location = new System.Drawing.Point(156, 176); - this.checkEdit1.Name = "checkEdit1"; - this.checkEdit1.Properties.Caption = "checkEdit1"; - this.checkEdit1.Size = new System.Drawing.Size(339, 19); - this.checkEdit1.StyleController = this.layoutControl1; - this.checkEdit1.TabIndex = 9; + this.relocationCheckEdit.Location = new System.Drawing.Point(156, 186); + this.relocationCheckEdit.Name = "relocationCheckEdit"; + this.relocationCheckEdit.Properties.Caption = "Relocation agreement"; + this.relocationCheckEdit.Size = new System.Drawing.Size(339, 19); + this.relocationCheckEdit.StyleController = this.rootLayout; + this.relocationCheckEdit.TabIndex = 9; // - // comboBoxEdit1 + // englishLevelComboBox // - this.comboBoxEdit1.Location = new System.Drawing.Point(258, 135); - this.comboBoxEdit1.Name = "comboBoxEdit1"; - this.comboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + this.englishLevelComboBox.Location = new System.Drawing.Point(222, 152); + this.englishLevelComboBox.Name = "englishLevelComboBox"; + this.englishLevelComboBox.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); - this.comboBoxEdit1.Size = new System.Drawing.Size(237, 20); - this.comboBoxEdit1.StyleController = this.layoutControl1; - this.comboBoxEdit1.TabIndex = 8; - // - // textEdit3 - // - this.textEdit3.Location = new System.Drawing.Point(258, 70); - this.textEdit3.Name = "textEdit3"; - this.textEdit3.Size = new System.Drawing.Size(237, 20); - this.textEdit3.StyleController = this.layoutControl1; - this.textEdit3.TabIndex = 7; - // - // textEdit2 - // - this.textEdit2.Location = new System.Drawing.Point(258, 46); - this.textEdit2.Name = "textEdit2"; - this.textEdit2.Size = new System.Drawing.Size(237, 20); - this.textEdit2.StyleController = this.layoutControl1; - this.textEdit2.TabIndex = 6; - // - // textEdit1 - // - this.textEdit1.Location = new System.Drawing.Point(258, 22); - this.textEdit1.Name = "textEdit1"; - this.textEdit1.Size = new System.Drawing.Size(237, 20); - this.textEdit1.StyleController = this.layoutControl1; - this.textEdit1.TabIndex = 5; - // - // pictureEdit1 - // - this.pictureEdit1.Location = new System.Drawing.Point(5, 5); - this.pictureEdit1.Name = "pictureEdit1"; - this.pictureEdit1.Size = new System.Drawing.Size(147, 190); - this.pictureEdit1.StyleController = this.layoutControl1; - this.pictureEdit1.TabIndex = 4; - // - // layoutControlGroup1 - // - this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; - this.layoutControlGroup1.GroupBordersVisible = false; - this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlGroup3, - this.layoutControlGroup4, - this.layoutControlGroup2, - this.layoutControlItem17, - this.layoutControlItem18, - this.emptySpaceItem3}); - this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); - this.layoutControlGroup1.Name = "Root"; - this.layoutControlGroup1.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - this.layoutControlGroup1.Size = new System.Drawing.Size(806, 481); - this.layoutControlGroup1.TextVisible = false; - // - // layoutControlGroup3 - // - this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem9, - this.layoutControlItem14}); - this.layoutControlGroup3.Location = new System.Drawing.Point(0, 218); - this.layoutControlGroup3.Name = "layoutControlGroup3"; - this.layoutControlGroup3.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - this.layoutControlGroup3.Size = new System.Drawing.Size(500, 237); - this.layoutControlGroup3.TextVisible = false; - // - // layoutControlItem9 - // - this.layoutControlItem9.Control = this.gridControl2; - this.layoutControlItem9.Location = new System.Drawing.Point(0, 17); - this.layoutControlItem9.Name = "layoutControlItem9"; - this.layoutControlItem9.Size = new System.Drawing.Size(494, 214); - this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem9.TextVisible = false; - // - // layoutControlItem14 - // - this.layoutControlItem14.Control = this.labelControl1; - this.layoutControlItem14.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem14.Name = "layoutControlItem14"; - this.layoutControlItem14.Size = new System.Drawing.Size(494, 17); - this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem14.TextVisible = false; - // - // layoutControlGroup4 - // - this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem11, - this.layoutControlItem12, - this.layoutControlItem13, - this.layoutControlItem15, - this.layoutControlItem8, - this.layoutControlItem16, - this.layoutControlItem10, - this.layoutControlItem20}); - this.layoutControlGroup4.Location = new System.Drawing.Point(500, 0); - this.layoutControlGroup4.Name = "layoutControlGroup4"; - this.layoutControlGroup4.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - this.layoutControlGroup4.Size = new System.Drawing.Size(306, 455); - this.layoutControlGroup4.TextVisible = false; - // - // layoutControlItem11 - // - this.layoutControlItem11.Control = this.textEdit4; - this.layoutControlItem11.Location = new System.Drawing.Point(0, 17); - this.layoutControlItem11.Name = "layoutControlItem11"; - this.layoutControlItem11.Size = new System.Drawing.Size(300, 24); - this.layoutControlItem11.TextSize = new System.Drawing.Size(99, 13); - // - // layoutControlItem12 - // - this.layoutControlItem12.Control = this.textEdit5; - this.layoutControlItem12.Location = new System.Drawing.Point(0, 41); - this.layoutControlItem12.Name = "layoutControlItem12"; - this.layoutControlItem12.Size = new System.Drawing.Size(300, 24); - this.layoutControlItem12.TextSize = new System.Drawing.Size(99, 13); - // - // layoutControlItem13 - // - this.layoutControlItem13.Control = this.textEdit6; - this.layoutControlItem13.Location = new System.Drawing.Point(0, 65); - this.layoutControlItem13.Name = "layoutControlItem13"; - this.layoutControlItem13.Size = new System.Drawing.Size(300, 24); - this.layoutControlItem13.TextSize = new System.Drawing.Size(99, 13); - // - // layoutControlItem15 - // - this.layoutControlItem15.Control = this.labelControl2; - this.layoutControlItem15.Location = new System.Drawing.Point(0, 89); - this.layoutControlItem15.Name = "layoutControlItem15"; - this.layoutControlItem15.Size = new System.Drawing.Size(300, 17); - this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem15.TextVisible = false; - // - // layoutControlItem8 - // - this.layoutControlItem8.Control = this.gridControl1; - this.layoutControlItem8.Location = new System.Drawing.Point(0, 106); - this.layoutControlItem8.Name = "layoutControlItem8"; - this.layoutControlItem8.Size = new System.Drawing.Size(300, 142); - this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem8.TextVisible = false; - // - // layoutControlItem16 - // - this.layoutControlItem16.Control = this.labelControl3; - this.layoutControlItem16.Location = new System.Drawing.Point(0, 248); - this.layoutControlItem16.Name = "layoutControlItem16"; - this.layoutControlItem16.Size = new System.Drawing.Size(300, 17); - this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem16.TextVisible = false; - // - // layoutControlItem10 - // - this.layoutControlItem10.Control = this.gridControl3; - this.layoutControlItem10.Location = new System.Drawing.Point(0, 265); - this.layoutControlItem10.Name = "layoutControlItem10"; - this.layoutControlItem10.Size = new System.Drawing.Size(300, 184); - this.layoutControlItem10.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem10.TextVisible = false; - // - // layoutControlItem20 - // - this.layoutControlItem20.Control = this.labelControl5; - this.layoutControlItem20.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem20.Name = "layoutControlItem20"; - this.layoutControlItem20.Size = new System.Drawing.Size(300, 17); - this.layoutControlItem20.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem20.TextVisible = false; - // - // layoutControlGroup2 - // - this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { - this.layoutControlItem6, - this.layoutControlItem1, - this.layoutControlItem2, - this.layoutControlItem3, - this.layoutControlItem4, - this.layoutControlItem5, - this.layoutControlItem7, - this.emptySpaceItem1, - this.emptySpaceItem2, - this.layoutControlItem19, - this.emptySpaceItem4}); - this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); - this.layoutControlGroup2.Name = "layoutControlGroup2"; - this.layoutControlGroup2.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); - this.layoutControlGroup2.Size = new System.Drawing.Size(500, 218); - this.layoutControlGroup2.TextVisible = false; - // - // layoutControlItem6 - // - this.layoutControlItem6.Control = this.checkEdit1; - this.layoutControlItem6.Location = new System.Drawing.Point(151, 171); - this.layoutControlItem6.Name = "layoutControlItem6"; - this.layoutControlItem6.Size = new System.Drawing.Size(343, 23); - this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem6.TextVisible = false; - // - // layoutControlItem1 - // - this.layoutControlItem1.Control = this.pictureEdit1; - this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); - this.layoutControlItem1.Name = "layoutControlItem1"; - this.layoutControlItem1.Size = new System.Drawing.Size(151, 194); - this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem1.TextVisible = false; - // - // layoutControlItem2 - // - this.layoutControlItem2.Control = this.textEdit1; - this.layoutControlItem2.Location = new System.Drawing.Point(151, 17); - this.layoutControlItem2.Name = "layoutControlItem2"; - this.layoutControlItem2.Size = new System.Drawing.Size(343, 24); - this.layoutControlItem2.TextSize = new System.Drawing.Size(99, 13); - // - // layoutControlItem3 - // - this.layoutControlItem3.Control = this.textEdit2; - this.layoutControlItem3.Location = new System.Drawing.Point(151, 41); - this.layoutControlItem3.Name = "layoutControlItem3"; - this.layoutControlItem3.Size = new System.Drawing.Size(343, 24); - this.layoutControlItem3.TextSize = new System.Drawing.Size(99, 13); - // - // layoutControlItem4 - // - this.layoutControlItem4.Control = this.textEdit3; - this.layoutControlItem4.Location = new System.Drawing.Point(151, 65); - this.layoutControlItem4.Name = "layoutControlItem4"; - this.layoutControlItem4.Size = new System.Drawing.Size(343, 24); - this.layoutControlItem4.TextSize = new System.Drawing.Size(99, 13); - // - // layoutControlItem5 - // - this.layoutControlItem5.Control = this.comboBoxEdit1; - this.layoutControlItem5.Location = new System.Drawing.Point(151, 130); - this.layoutControlItem5.Name = "layoutControlItem5"; - this.layoutControlItem5.Size = new System.Drawing.Size(343, 24); - this.layoutControlItem5.TextSize = new System.Drawing.Size(99, 13); - // - // layoutControlItem7 - // - this.layoutControlItem7.Control = this.dateEdit1; - this.layoutControlItem7.Location = new System.Drawing.Point(151, 106); - this.layoutControlItem7.Name = "layoutControlItem7"; - this.layoutControlItem7.Size = new System.Drawing.Size(343, 24); - this.layoutControlItem7.TextSize = new System.Drawing.Size(99, 13); - // - // emptySpaceItem1 - // - this.emptySpaceItem1.AllowHotTrack = false; - this.emptySpaceItem1.Location = new System.Drawing.Point(151, 89); - this.emptySpaceItem1.Name = "emptySpaceItem1"; - this.emptySpaceItem1.Size = new System.Drawing.Size(343, 17); - this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); - // - // emptySpaceItem2 - // - this.emptySpaceItem2.AllowHotTrack = false; - this.emptySpaceItem2.Location = new System.Drawing.Point(0, 194); - this.emptySpaceItem2.Name = "emptySpaceItem2"; - this.emptySpaceItem2.Size = new System.Drawing.Size(494, 18); - this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); - // - // layoutControlItem19 - // - this.layoutControlItem19.Control = this.labelControl4; - this.layoutControlItem19.Location = new System.Drawing.Point(151, 0); - this.layoutControlItem19.Name = "layoutControlItem19"; - this.layoutControlItem19.Size = new System.Drawing.Size(343, 17); - this.layoutControlItem19.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem19.TextVisible = false; - // - // emptySpaceItem4 - // - this.emptySpaceItem4.AllowHotTrack = false; - this.emptySpaceItem4.Location = new System.Drawing.Point(151, 154); - this.emptySpaceItem4.Name = "emptySpaceItem4"; - this.emptySpaceItem4.Size = new System.Drawing.Size(343, 17); - this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); - // - // layoutControlItem17 - // - this.layoutControlItem17.Control = this.simpleButton1; - this.layoutControlItem17.Location = new System.Drawing.Point(638, 455); - this.layoutControlItem17.Name = "layoutControlItem17"; - this.layoutControlItem17.Size = new System.Drawing.Size(84, 26); - this.layoutControlItem17.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem17.TextVisible = false; - // - // layoutControlItem18 - // - this.layoutControlItem18.Control = this.simpleButton2; - this.layoutControlItem18.Location = new System.Drawing.Point(722, 455); - this.layoutControlItem18.Name = "layoutControlItem18"; - this.layoutControlItem18.Size = new System.Drawing.Size(84, 26); - this.layoutControlItem18.TextSize = new System.Drawing.Size(0, 0); - this.layoutControlItem18.TextVisible = false; + this.englishLevelComboBox.Size = new System.Drawing.Size(273, 20); + this.englishLevelComboBox.StyleController = this.rootLayout; + this.englishLevelComboBox.TabIndex = 8; + // + // lastNameTextEdit + // + this.lastNameTextEdit.Location = new System.Drawing.Point(222, 70); + this.lastNameTextEdit.Name = "lastNameTextEdit"; + this.lastNameTextEdit.Size = new System.Drawing.Size(273, 20); + this.lastNameTextEdit.StyleController = this.rootLayout; + this.lastNameTextEdit.TabIndex = 7; + // + // middleNameTextEdit + // + this.middleNameTextEdit.Location = new System.Drawing.Point(222, 46); + this.middleNameTextEdit.Name = "middleNameTextEdit"; + this.middleNameTextEdit.Size = new System.Drawing.Size(273, 20); + this.middleNameTextEdit.StyleController = this.rootLayout; + this.middleNameTextEdit.TabIndex = 6; + // + // firstNameTextEdit + // + this.firstNameTextEdit.Location = new System.Drawing.Point(222, 22); + this.firstNameTextEdit.Name = "firstNameTextEdit"; + this.firstNameTextEdit.Size = new System.Drawing.Size(273, 20); + this.firstNameTextEdit.StyleController = this.rootLayout; + this.firstNameTextEdit.TabIndex = 5; + // + // candidatePhoto + // + this.candidatePhoto.Location = new System.Drawing.Point(5, 5); + this.candidatePhoto.Name = "candidatePhoto"; + this.candidatePhoto.Size = new System.Drawing.Size(147, 200); + this.candidatePhoto.StyleController = this.rootLayout; + this.candidatePhoto.TabIndex = 4; + // + // rootLayoutGroup + // + this.rootLayoutGroup.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; + this.rootLayoutGroup.GroupBordersVisible = false; + this.rootLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.commentsLayoutGroup, + this.contactsLayoutGroup, + this.generalInfoLayoutGroup, + this.saveButtonLayoutControlItem, + this.cancelButtonLayoutControlItem, + this.spaceAtFormBottom}); + this.rootLayoutGroup.Location = new System.Drawing.Point(0, 0); + this.rootLayoutGroup.Name = "rootLayoutGroup"; + this.rootLayoutGroup.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + this.rootLayoutGroup.Size = new System.Drawing.Size(806, 481); + this.rootLayoutGroup.TextVisible = false; + // + // commentsLayoutGroup + // + this.commentsLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.contactsGridLayoutControlItem, + this.contactsLabelLayoutControlItem}); + this.commentsLayoutGroup.Location = new System.Drawing.Point(0, 220); + this.commentsLayoutGroup.Name = "commentsLayoutGroup"; + this.commentsLayoutGroup.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + this.commentsLayoutGroup.Size = new System.Drawing.Size(500, 235); + this.commentsLayoutGroup.TextVisible = false; + // + // contactsGridLayoutControlItem + // + this.contactsGridLayoutControlItem.Control = this.commentsGrid; + this.contactsGridLayoutControlItem.Location = new System.Drawing.Point(0, 17); + this.contactsGridLayoutControlItem.Name = "contactsGridLayoutControlItem"; + this.contactsGridLayoutControlItem.Size = new System.Drawing.Size(494, 212); + this.contactsGridLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.contactsGridLayoutControlItem.TextVisible = false; + // + // contactsLabelLayoutControlItem + // + this.contactsLabelLayoutControlItem.Control = this.commentsLabel; + this.contactsLabelLayoutControlItem.Location = new System.Drawing.Point(0, 0); + this.contactsLabelLayoutControlItem.Name = "contactsLabelLayoutControlItem"; + this.contactsLabelLayoutControlItem.Size = new System.Drawing.Size(494, 17); + this.contactsLabelLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.contactsLabelLayoutControlItem.TextVisible = false; + // + // contactsLayoutGroup + // + this.contactsLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.skypeTextEditLayoutControlItem, + this.emailTextEditLayoutControlItem, + this.urlTextEditLayoutControlItem, + this.phonesLabelLayoutControlItem, + this.phonesGridLayoutControlItem, + this.socialNetworksLabelLayoutControlItem, + this.socialNetworksGridLayoutControlItem, + this.contactInformationLabelLayoutControlItem}); + this.contactsLayoutGroup.Location = new System.Drawing.Point(500, 0); + this.contactsLayoutGroup.Name = "contactsLayoutGroup"; + this.contactsLayoutGroup.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + this.contactsLayoutGroup.Size = new System.Drawing.Size(306, 455); + this.contactsLayoutGroup.TextVisible = false; + // + // skypeTextEditLayoutControlItem + // + this.skypeTextEditLayoutControlItem.Control = this.skypeTextEdit; + this.skypeTextEditLayoutControlItem.Location = new System.Drawing.Point(0, 17); + this.skypeTextEditLayoutControlItem.Name = "skypeTextEditLayoutControlItem"; + this.skypeTextEditLayoutControlItem.Size = new System.Drawing.Size(300, 24); + this.skypeTextEditLayoutControlItem.Text = "Skype:"; + this.skypeTextEditLayoutControlItem.TextSize = new System.Drawing.Size(63, 13); + // + // emailTextEditLayoutControlItem + // + this.emailTextEditLayoutControlItem.Control = this.emailTextEdit; + this.emailTextEditLayoutControlItem.Location = new System.Drawing.Point(0, 41); + this.emailTextEditLayoutControlItem.Name = "emailTextEditLayoutControlItem"; + this.emailTextEditLayoutControlItem.Size = new System.Drawing.Size(300, 24); + this.emailTextEditLayoutControlItem.Text = "Email:"; + this.emailTextEditLayoutControlItem.TextSize = new System.Drawing.Size(63, 13); + // + // urlTextEditLayoutControlItem + // + this.urlTextEditLayoutControlItem.Control = this.urlTextEdit; + this.urlTextEditLayoutControlItem.Location = new System.Drawing.Point(0, 65); + this.urlTextEditLayoutControlItem.Name = "urlTextEditLayoutControlItem"; + this.urlTextEditLayoutControlItem.Size = new System.Drawing.Size(300, 24); + this.urlTextEditLayoutControlItem.Text = "URL:"; + this.urlTextEditLayoutControlItem.TextSize = new System.Drawing.Size(63, 13); + // + // phonesLabelLayoutControlItem + // + this.phonesLabelLayoutControlItem.Control = this.phonesLabel; + this.phonesLabelLayoutControlItem.Location = new System.Drawing.Point(0, 89); + this.phonesLabelLayoutControlItem.Name = "phonesLabelLayoutControlItem"; + this.phonesLabelLayoutControlItem.Size = new System.Drawing.Size(300, 17); + this.phonesLabelLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.phonesLabelLayoutControlItem.TextVisible = false; + // + // phonesGridLayoutControlItem + // + this.phonesGridLayoutControlItem.Control = this.phonesGrid; + this.phonesGridLayoutControlItem.Location = new System.Drawing.Point(0, 106); + this.phonesGridLayoutControlItem.Name = "phonesGridLayoutControlItem"; + this.phonesGridLayoutControlItem.Size = new System.Drawing.Size(300, 142); + this.phonesGridLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.phonesGridLayoutControlItem.TextVisible = false; + // + // socialNetworksLabelLayoutControlItem + // + this.socialNetworksLabelLayoutControlItem.Control = this.socialNetworksLabel; + this.socialNetworksLabelLayoutControlItem.Location = new System.Drawing.Point(0, 248); + this.socialNetworksLabelLayoutControlItem.Name = "socialNetworksLabelLayoutControlItem"; + this.socialNetworksLabelLayoutControlItem.Size = new System.Drawing.Size(300, 17); + this.socialNetworksLabelLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.socialNetworksLabelLayoutControlItem.TextVisible = false; + // + // socialNetworksGridLayoutControlItem + // + this.socialNetworksGridLayoutControlItem.Control = this.socialNetworksGrid; + this.socialNetworksGridLayoutControlItem.Location = new System.Drawing.Point(0, 265); + this.socialNetworksGridLayoutControlItem.Name = "socialNetworksGridLayoutControlItem"; + this.socialNetworksGridLayoutControlItem.Size = new System.Drawing.Size(300, 184); + this.socialNetworksGridLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.socialNetworksGridLayoutControlItem.TextVisible = false; + // + // contactInformationLabelLayoutControlItem + // + this.contactInformationLabelLayoutControlItem.Control = this.contactInformationLabel; + this.contactInformationLabelLayoutControlItem.Location = new System.Drawing.Point(0, 0); + this.contactInformationLabelLayoutControlItem.Name = "contactInformationLabelLayoutControlItem"; + this.contactInformationLabelLayoutControlItem.Size = new System.Drawing.Size(300, 17); + this.contactInformationLabelLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.contactInformationLabelLayoutControlItem.TextVisible = false; + // + // generalInfoLayoutGroup + // + this.generalInfoLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { + this.relocationCheckEditLayoutControlItem, + this.photoLayoutControlItem, + this.firstNameLayout, + this.middleNameLayout, + this.lastNameLayout, + this.englishLevelLayout, + this.dobLayout, + this.spaceBetweenNameAndDob, + this.spaceAtGeneralInfoBottom, + this.generalInfoLabelLayoutControlItem, + this.spaceBetweenEnglishAndGender, + this.genderLayoutControlItem}); + this.generalInfoLayoutGroup.Location = new System.Drawing.Point(0, 0); + this.generalInfoLayoutGroup.Name = "generalInfoLayoutGroup"; + this.generalInfoLayoutGroup.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); + this.generalInfoLayoutGroup.Size = new System.Drawing.Size(500, 220); + this.generalInfoLayoutGroup.TextVisible = false; + // + // relocationCheckEditLayoutControlItem + // + this.relocationCheckEditLayoutControlItem.Control = this.relocationCheckEdit; + this.relocationCheckEditLayoutControlItem.Location = new System.Drawing.Point(151, 181); + this.relocationCheckEditLayoutControlItem.Name = "relocationCheckEditLayoutControlItem"; + this.relocationCheckEditLayoutControlItem.Size = new System.Drawing.Size(343, 23); + this.relocationCheckEditLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.relocationCheckEditLayoutControlItem.TextVisible = false; + // + // photoLayoutControlItem + // + this.photoLayoutControlItem.Control = this.candidatePhoto; + this.photoLayoutControlItem.Location = new System.Drawing.Point(0, 0); + this.photoLayoutControlItem.Name = "photoLayoutControlItem"; + this.photoLayoutControlItem.Size = new System.Drawing.Size(151, 204); + this.photoLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.photoLayoutControlItem.TextVisible = false; + // + // firstNameLayout + // + this.firstNameLayout.Control = this.firstNameTextEdit; + this.firstNameLayout.Location = new System.Drawing.Point(151, 17); + this.firstNameLayout.Name = "firstNameLayout"; + this.firstNameLayout.Size = new System.Drawing.Size(343, 24); + this.firstNameLayout.Text = "First name:"; + this.firstNameLayout.TextSize = new System.Drawing.Size(63, 13); + // + // middleNameLayout + // + this.middleNameLayout.Control = this.middleNameTextEdit; + this.middleNameLayout.Location = new System.Drawing.Point(151, 41); + this.middleNameLayout.Name = "middleNameLayout"; + this.middleNameLayout.Size = new System.Drawing.Size(343, 24); + this.middleNameLayout.Text = "Middle name:"; + this.middleNameLayout.TextSize = new System.Drawing.Size(63, 13); + // + // lastNameLayout + // + this.lastNameLayout.Control = this.lastNameTextEdit; + this.lastNameLayout.Location = new System.Drawing.Point(151, 65); + this.lastNameLayout.Name = "lastNameLayout"; + this.lastNameLayout.Size = new System.Drawing.Size(343, 24); + this.lastNameLayout.Text = "Last name:"; + this.lastNameLayout.TextSize = new System.Drawing.Size(63, 13); + // + // englishLevelLayout + // + this.englishLevelLayout.Control = this.englishLevelComboBox; + this.englishLevelLayout.Location = new System.Drawing.Point(151, 147); + this.englishLevelLayout.Name = "englishLevelLayout"; + this.englishLevelLayout.Size = new System.Drawing.Size(343, 24); + this.englishLevelLayout.Text = "English level:"; + this.englishLevelLayout.TextSize = new System.Drawing.Size(63, 13); + // + // dobLayout + // + this.dobLayout.Control = this.dobDateEdit; + this.dobLayout.Location = new System.Drawing.Point(151, 123); + this.dobLayout.Name = "dobLayout"; + this.dobLayout.Size = new System.Drawing.Size(343, 24); + this.dobLayout.Text = "Birth date:"; + this.dobLayout.TextSize = new System.Drawing.Size(63, 13); + // + // spaceBetweenNameAndDob + // + this.spaceBetweenNameAndDob.AllowHotTrack = false; + this.spaceBetweenNameAndDob.Location = new System.Drawing.Point(151, 113); + this.spaceBetweenNameAndDob.Name = "spaceBetweenNameAndDob"; + this.spaceBetweenNameAndDob.Size = new System.Drawing.Size(343, 10); + this.spaceBetweenNameAndDob.TextSize = new System.Drawing.Size(0, 0); + // + // spaceAtGeneralInfoBottom + // + this.spaceAtGeneralInfoBottom.AllowHotTrack = false; + this.spaceAtGeneralInfoBottom.Location = new System.Drawing.Point(0, 204); + this.spaceAtGeneralInfoBottom.Name = "spaceAtGeneralInfoBottom"; + this.spaceAtGeneralInfoBottom.Size = new System.Drawing.Size(494, 10); + this.spaceAtGeneralInfoBottom.TextSize = new System.Drawing.Size(0, 0); + // + // generalInfoLabelLayoutControlItem + // + this.generalInfoLabelLayoutControlItem.Control = this.generalInforLabel; + this.generalInfoLabelLayoutControlItem.Location = new System.Drawing.Point(151, 0); + this.generalInfoLabelLayoutControlItem.Name = "generalInfoLabelLayoutControlItem"; + this.generalInfoLabelLayoutControlItem.Size = new System.Drawing.Size(343, 17); + this.generalInfoLabelLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.generalInfoLabelLayoutControlItem.TextVisible = false; + // + // spaceBetweenEnglishAndGender + // + this.spaceBetweenEnglishAndGender.AllowHotTrack = false; + this.spaceBetweenEnglishAndGender.Location = new System.Drawing.Point(151, 171); + this.spaceBetweenEnglishAndGender.Name = "spaceBetweenEnglishAndGender"; + this.spaceBetweenEnglishAndGender.Size = new System.Drawing.Size(343, 10); + this.spaceBetweenEnglishAndGender.TextSize = new System.Drawing.Size(0, 0); + // + // saveButtonLayoutControlItem + // + this.saveButtonLayoutControlItem.Control = this.saveButton; + this.saveButtonLayoutControlItem.Location = new System.Drawing.Point(668, 455); + this.saveButtonLayoutControlItem.Name = "saveButtonLayoutControlItem"; + this.saveButtonLayoutControlItem.Size = new System.Drawing.Size(69, 26); + this.saveButtonLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.saveButtonLayoutControlItem.TextVisible = false; + // + // cancelButtonLayoutControlItem + // + this.cancelButtonLayoutControlItem.Control = this.cancelButton; + this.cancelButtonLayoutControlItem.Location = new System.Drawing.Point(737, 455); + this.cancelButtonLayoutControlItem.Name = "cancelButtonLayoutControlItem"; + this.cancelButtonLayoutControlItem.Size = new System.Drawing.Size(69, 26); + this.cancelButtonLayoutControlItem.TextSize = new System.Drawing.Size(0, 0); + this.cancelButtonLayoutControlItem.TextVisible = false; + // + // spaceAtFormBottom + // + this.spaceAtFormBottom.AllowHotTrack = false; + this.spaceAtFormBottom.Location = new System.Drawing.Point(0, 455); + this.spaceAtFormBottom.Name = "spaceAtFormBottom"; + this.spaceAtFormBottom.Size = new System.Drawing.Size(668, 26); + this.spaceAtFormBottom.TextSize = new System.Drawing.Size(0, 0); + // + // genderComboBox + // + this.genderComboBox.Location = new System.Drawing.Point(222, 94); + this.genderComboBox.Name = "genderComboBox"; + this.genderComboBox.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { + new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); + this.genderComboBox.Size = new System.Drawing.Size(273, 20); + this.genderComboBox.StyleController = this.rootLayout; + this.genderComboBox.TabIndex = 24; // - // emptySpaceItem3 + // genderLayoutControlItem // - this.emptySpaceItem3.AllowHotTrack = false; - this.emptySpaceItem3.Location = new System.Drawing.Point(0, 455); - this.emptySpaceItem3.Name = "emptySpaceItem3"; - this.emptySpaceItem3.Size = new System.Drawing.Size(638, 26); - this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); + this.genderLayoutControlItem.Control = this.genderComboBox; + this.genderLayoutControlItem.Location = new System.Drawing.Point(151, 89); + this.genderLayoutControlItem.Name = "genderLayoutControlItem"; + this.genderLayoutControlItem.Size = new System.Drawing.Size(343, 24); + this.genderLayoutControlItem.Text = "Gender:"; + this.genderLayoutControlItem.TextSize = new System.Drawing.Size(63, 13); // // CandidateForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(806, 481); - this.Controls.Add(this.layoutControl1); + this.Controls.Add(this.rootLayout); this.Name = "CandidateForm"; - this.Text = "Form1"; - ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); - this.layoutControl1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.textEdit6.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit5.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit4.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties.CalendarTimeProperties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dateEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.checkEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit3.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); + this.Text = "Cnadidate"; + this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.CandidateForm_FormClosed); + ((System.ComponentModel.ISupportInitialize)(this.rootLayout)).EndInit(); + this.rootLayout.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.urlTextEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.emailTextEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.skypeTextEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksGrid)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.commentsGrid)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.commentsGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesGrid)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesGridView)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dobDateEdit.Properties.CalendarTimeProperties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dobDateEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.relocationCheckEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.englishLevelComboBox.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastNameTextEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.middleNameTextEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.firstNameTextEdit.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.candidatePhoto.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.rootLayoutGroup)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.commentsLayoutGroup)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactsGridLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactsLabelLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactsLayoutGroup)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.skypeTextEditLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.emailTextEditLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.urlTextEditLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesLabelLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.phonesGridLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksLabelLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.socialNetworksGridLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.contactInformationLabelLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.generalInfoLayoutGroup)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.relocationCheckEditLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.photoLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.firstNameLayout)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.middleNameLayout)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.lastNameLayout)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.englishLevelLayout)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dobLayout)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceBetweenNameAndDob)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceAtGeneralInfoBottom)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.generalInfoLabelLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceBetweenEnglishAndGender)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.saveButtonLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.cancelButtonLayoutControlItem)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.spaceAtFormBottom)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.genderComboBox.Properties)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.genderLayoutControlItem)).EndInit(); this.ResumeLayout(false); } #endregion - private DevExpress.XtraLayout.LayoutControl layoutControl1; - private DevExpress.XtraEditors.TextEdit textEdit6; - private DevExpress.XtraEditors.TextEdit textEdit5; - private DevExpress.XtraEditors.TextEdit textEdit4; - private DevExpress.XtraGrid.GridControl gridControl3; - private DevExpress.XtraGrid.Views.Grid.GridView gridView3; - private DevExpress.XtraGrid.GridControl gridControl2; - private DevExpress.XtraGrid.Views.Grid.GridView gridView2; - private DevExpress.XtraGrid.GridControl gridControl1; - private DevExpress.XtraGrid.Views.Grid.GridView gridView1; - private DevExpress.XtraEditors.DateEdit dateEdit1; - private DevExpress.XtraEditors.CheckEdit checkEdit1; - private DevExpress.XtraEditors.ComboBoxEdit comboBoxEdit1; - private DevExpress.XtraEditors.TextEdit textEdit3; - private DevExpress.XtraEditors.TextEdit textEdit2; - private DevExpress.XtraEditors.TextEdit textEdit1; - private DevExpress.XtraEditors.PictureEdit pictureEdit1; - private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup1; - private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup3; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem9; - private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup4; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem11; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem10; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem12; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem8; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem13; - private DevExpress.XtraLayout.LayoutControlGroup layoutControlGroup2; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem6; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem5; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem7; - private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1; - private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem2; - private DevExpress.XtraEditors.LabelControl labelControl3; - private DevExpress.XtraEditors.LabelControl labelControl2; - private DevExpress.XtraEditors.LabelControl labelControl1; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem14; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem15; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem16; - private DevExpress.XtraEditors.LabelControl labelControl4; - private DevExpress.XtraEditors.SimpleButton simpleButton2; - private DevExpress.XtraEditors.SimpleButton simpleButton1; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem19; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem17; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem18; - private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem3; - private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem4; - private DevExpress.XtraEditors.LabelControl labelControl5; - private DevExpress.XtraLayout.LayoutControlItem layoutControlItem20; + private DevExpress.XtraLayout.LayoutControl rootLayout; + private DevExpress.XtraEditors.TextEdit urlTextEdit; + private DevExpress.XtraEditors.TextEdit emailTextEdit; + private DevExpress.XtraEditors.TextEdit skypeTextEdit; + private DevExpress.XtraGrid.GridControl socialNetworksGrid; + private DevExpress.XtraGrid.Views.Grid.GridView socialNetworksGridView; + private DevExpress.XtraGrid.GridControl commentsGrid; + private DevExpress.XtraGrid.Views.Grid.GridView commentsGridView; + private DevExpress.XtraGrid.GridControl phonesGrid; + private DevExpress.XtraGrid.Views.Grid.GridView phonesGridView; + private DevExpress.XtraEditors.DateEdit dobDateEdit; + private DevExpress.XtraEditors.CheckEdit relocationCheckEdit; + private DevExpress.XtraEditors.ComboBoxEdit englishLevelComboBox; + private DevExpress.XtraEditors.TextEdit lastNameTextEdit; + private DevExpress.XtraEditors.TextEdit middleNameTextEdit; + private DevExpress.XtraEditors.TextEdit firstNameTextEdit; + private DevExpress.XtraEditors.PictureEdit candidatePhoto; + private DevExpress.XtraLayout.LayoutControlGroup rootLayoutGroup; + private DevExpress.XtraLayout.LayoutControlGroup commentsLayoutGroup; + private DevExpress.XtraLayout.LayoutControlItem contactsGridLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlGroup contactsLayoutGroup; + private DevExpress.XtraLayout.LayoutControlItem skypeTextEditLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem socialNetworksGridLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem emailTextEditLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem phonesGridLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem urlTextEditLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlGroup generalInfoLayoutGroup; + private DevExpress.XtraLayout.LayoutControlItem relocationCheckEditLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem photoLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem firstNameLayout; + private DevExpress.XtraLayout.LayoutControlItem middleNameLayout; + private DevExpress.XtraLayout.LayoutControlItem lastNameLayout; + private DevExpress.XtraLayout.LayoutControlItem englishLevelLayout; + private DevExpress.XtraLayout.LayoutControlItem dobLayout; + private DevExpress.XtraLayout.EmptySpaceItem spaceBetweenNameAndDob; + private DevExpress.XtraLayout.EmptySpaceItem spaceAtGeneralInfoBottom; + private DevExpress.XtraEditors.LabelControl socialNetworksLabel; + private DevExpress.XtraEditors.LabelControl phonesLabel; + private DevExpress.XtraEditors.LabelControl commentsLabel; + private DevExpress.XtraLayout.LayoutControlItem contactsLabelLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem phonesLabelLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem socialNetworksLabelLayoutControlItem; + private DevExpress.XtraEditors.LabelControl generalInforLabel; + private DevExpress.XtraEditors.SimpleButton cancelButton; + private DevExpress.XtraEditors.SimpleButton saveButton; + private DevExpress.XtraLayout.LayoutControlItem generalInfoLabelLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem saveButtonLayoutControlItem; + private DevExpress.XtraLayout.LayoutControlItem cancelButtonLayoutControlItem; + private DevExpress.XtraLayout.EmptySpaceItem spaceAtFormBottom; + private DevExpress.XtraLayout.EmptySpaceItem spaceBetweenEnglishAndGender; + private DevExpress.XtraEditors.LabelControl contactInformationLabel; + private DevExpress.XtraLayout.LayoutControlItem contactInformationLabelLayoutControlItem; + private DevExpress.XtraEditors.ComboBoxEdit genderComboBox; + private DevExpress.XtraLayout.LayoutControlItem genderLayoutControlItem; } diff --git a/src/DevWorkMainProject/Forms/CandidateForm.cs b/src/DevWorkMainProject/Forms/CandidateForm.cs index 9173d6a..2b89e82 100644 --- a/src/DevWorkMainProject/Forms/CandidateForm.cs +++ b/src/DevWorkMainProject/Forms/CandidateForm.cs @@ -16,5 +16,10 @@ public CandidateForm() { InitializeComponent(); } + + private void CandidateForm_FormClosed(object sender, FormClosedEventArgs e) + { + this.Parent.Enabled = true; + } } } From a5766c738314f361fe931680ddc4eb6ed941dd14 Mon Sep 17 00:00:00 2001 From: Jeanosis Date: Tue, 3 Mar 2015 12:08:48 +0200 Subject: [PATCH 12/14] Domain fixed --- src/DevWorkMainProject/Forms/MainForm.cs | 10 ++++++++-- src/DevWorkMainProject/Program.cs | 2 +- src/Domain/Domain.csproj | 14 -------------- 3 files changed, 9 insertions(+), 17 deletions(-) diff --git a/src/DevWorkMainProject/Forms/MainForm.cs b/src/DevWorkMainProject/Forms/MainForm.cs index 4c43c2b..02e0c63 100644 --- a/src/DevWorkMainProject/Forms/MainForm.cs +++ b/src/DevWorkMainProject/Forms/MainForm.cs @@ -21,6 +21,7 @@ public MainForm() private List CreateData() { Contact newContact = null; + Candidate newCandidate = null; List Result = new List(); for (int i = 0; i < 10; i++) @@ -30,8 +31,13 @@ private List CreateData() newContact.Comment = String.Format("This is comment #{0}", i); newContact.Type = ContactType.Meet; - Result.Add(new Candidate(String.Format("Vasya_{0}", i), String.Format("Vasilievich_{0}", i), - String.Format("Pupkin_{0}", i), GenderType.Male, newContact)); + newCandidate = new Candidate(); + newCandidate.FirstName = String.Format("Vasya_{0}", i); + newCandidate.MiddleName = String.Format("Vasilievich_{0}", i); + newCandidate.LastName = String.Format("Pupkin_{0}", i); + newCandidate.ContactsList.Add(newContact); + + Result.Add(newCandidate); } return Result; diff --git a/src/DevWorkMainProject/Program.cs b/src/DevWorkMainProject/Program.cs index a6d1b0a..7e641ca 100644 --- a/src/DevWorkMainProject/Program.cs +++ b/src/DevWorkMainProject/Program.cs @@ -6,7 +6,7 @@ namespace DevWorkMainProject { - static class Program + public static class Program { /// /// The main entry point for the application. diff --git a/src/Domain/Domain.csproj b/src/Domain/Domain.csproj index 0759973..bb431c2 100644 --- a/src/Domain/Domain.csproj +++ b/src/Domain/Domain.csproj @@ -65,17 +65,12 @@ - - - - - @@ -110,15 +105,6 @@ - - - Always - - - Always - Database.mdf - -