/// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BankAccountForm));
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule6 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            TruckSystem.Utils.Validations.ValidatorCPFCNPJ validatorCPFCNPJ2 = new TruckSystem.Utils.Validations.ValidatorCPFCNPJ();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule4 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.btnCancel = new WCButtons.Black.ButtonCancelBlack();
            this.btnSave = new WCButtons.Black.ButtonSaveBlack();
            this.panelControl2 = new DevExpress.XtraEditors.PanelControl();
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
            this.rgTypeAccount = new DevExpress.XtraEditors.RadioGroup();
            this.bdgBankAccount = new System.Windows.Forms.BindingSource(this.components);
            this.rgTypeHolder = new DevExpress.XtraEditors.RadioGroup();
            this.tfId = new DevExpress.XtraEditors.TextEdit();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.tfDocument = new DevExpress.XtraEditors.TextEdit();
            this.lbDocument = new DevExpress.XtraEditors.LabelControl();
            this.tfAccount = new DevExpress.XtraEditors.TextEdit();
            this.tfHolder = new DevExpress.XtraEditors.TextEdit();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
            this.tfAgency = new DevExpress.XtraEditors.TextEdit();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
            this.cbBanks = new DevExpress.XtraEditors.SearchLookUpEdit();
            this.bdgBanks = new System.Windows.Forms.BindingSource(this.components);
            this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colid = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colcode = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colcnpj = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colname = new DevExpress.XtraGrid.Columns.GridColumn();
            this.validator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit();
            this.panelControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
            this.groupControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.rgTypeAccount.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgBankAccount)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgTypeHolder.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDocument.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAccount.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfHolder.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAgency.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
            this.groupControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.cbBanks.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgBanks)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit();
            this.SuspendLayout();
            // 
            // panelControl1
            // 
            this.panelControl1.Controls.Add(this.btnCancel);
            this.panelControl1.Controls.Add(this.btnSave);
            this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panelControl1.Location = new System.Drawing.Point(0, 174);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(600, 44);
            this.panelControl1.TabIndex = 0;
            // 
            // btnCancel
            // 
            this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199)))));
            this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnCancel.Font = new System.Drawing.Font("Segoe UI Light", 12F);
            this.btnCancel.ForeColor = System.Drawing.Color.White;
            this.btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
            this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnCancel.Location = new System.Drawing.Point(487, 6);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(110, 33);
            this.btnCancel.TabIndex = 1;
            this.btnCancel.Text = "Cancelar";
            this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnCancel.UseVisualStyleBackColor = false;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // btnSave
            // 
            this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199)))));
            this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnSave.Font = new System.Drawing.Font("Segoe UI Light", 12F);
            this.btnSave.ForeColor = System.Drawing.Color.White;
            this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
            this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnSave.Location = new System.Drawing.Point(371, 7);
            this.btnSave.Name = "btnSave";
            this.btnSave.Size = new System.Drawing.Size(110, 33);
            this.btnSave.TabIndex = 0;
            this.btnSave.Text = "Salvar";
            this.btnSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnSave.UseVisualStyleBackColor = false;
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // panelControl2
            // 
            this.panelControl2.Controls.Add(this.groupControl2);
            this.panelControl2.Controls.Add(this.groupControl1);
            this.panelControl2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.panelControl2.Location = new System.Drawing.Point(0, 0);
            this.panelControl2.Name = "panelControl2";
            this.panelControl2.Size = new System.Drawing.Size(600, 174);
            this.panelControl2.TabIndex = 1;
            // 
            // groupControl2
            // 
            this.groupControl2.Controls.Add(this.rgTypeAccount);
            this.groupControl2.Controls.Add(this.rgTypeHolder);
            this.groupControl2.Controls.Add(this.tfId);
            this.groupControl2.Controls.Add(this.labelControl1);
            this.groupControl2.Controls.Add(this.tfDocument);
            this.groupControl2.Controls.Add(this.lbDocument);
            this.groupControl2.Controls.Add(this.tfAccount);
            this.groupControl2.Controls.Add(this.tfHolder);
            this.groupControl2.Controls.Add(this.labelControl5);
            this.groupControl2.Controls.Add(this.labelControl8);
            this.groupControl2.Controls.Add(this.labelControl6);
            this.groupControl2.Controls.Add(this.tfAgency);
            this.groupControl2.Controls.Add(this.labelControl4);
            this.groupControl2.Location = new System.Drawing.Point(0, 62);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new System.Drawing.Size(604, 108);
            this.groupControl2.TabIndex = 1;
            this.groupControl2.Text = "Conta Bancária";
            // 
            // rgTypeAccount
            // 
            this.rgTypeAccount.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgBankAccount, "type", true));
            this.rgTypeAccount.Location = new System.Drawing.Point(326, 23);
            this.rgTypeAccount.Name = "rgTypeAccount";
            this.rgTypeAccount.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.rgTypeAccount.Properties.Appearance.Options.UseBackColor = true;
            this.rgTypeAccount.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.rgTypeAccount.Properties.Columns = 2;
            this.rgTypeAccount.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
            new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "Corrente"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "Poupança")});
            this.rgTypeAccount.Size = new System.Drawing.Size(156, 23);
            this.rgTypeAccount.TabIndex = 5;
            conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual;
            conditionValidationRule6.ErrorText = "Informe o tipo de Conta";
            conditionValidationRule6.Value1 = 0;
            this.validator.SetValidationRule(this.rgTypeAccount, conditionValidationRule6);
            // 
            // bdgBankAccount
            // 
            this.bdgBankAccount.DataSource = typeof(TruckSystem.bank_account);
            // 
            // rgTypeHolder
            // 
            this.rgTypeHolder.Location = new System.Drawing.Point(58, 78);
            this.rgTypeHolder.Name = "rgTypeHolder";
            this.rgTypeHolder.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.rgTypeHolder.Properties.Appearance.Options.UseBackColor = true;
            this.rgTypeHolder.Properties.Columns = 2;
            this.rgTypeHolder.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
            new DevExpress.XtraEditors.Controls.RadioGroupItem("cnpj", "CNPJ"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem("cpf", "CPF")});
            this.rgTypeHolder.Size = new System.Drawing.Size(107, 25);
            this.rgTypeHolder.TabIndex = 3;
            this.rgTypeHolder.SelectedIndexChanged += new System.EventHandler(this.rgType_SelectedIndexChanged);
            // 
            // tfId
            // 
            this.tfId.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgBankAccount, "id", true));
            this.tfId.Location = new System.Drawing.Point(537, 24);
            this.tfId.Name = "tfId";
            this.tfId.Properties.ReadOnly = true;
            this.tfId.Size = new System.Drawing.Size(60, 20);
            this.tfId.TabIndex = 1;
            this.tfId.TabStop = false;
            // 
            // labelControl1
            // 
            this.labelControl1.Location = new System.Drawing.Point(504, 27);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(27, 13);
            this.labelControl1.TabIndex = 0;
            this.labelControl1.Text = "Cod.:";
            // 
            // tfDocument
            // 
            this.tfDocument.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgBankAccount, "document", true));
            this.tfDocument.Location = new System.Drawing.Point(221, 81);
            this.tfDocument.Name = "tfDocument";
            this.tfDocument.Properties.Mask.EditMask = "00.000.000/0000-00";
            this.tfDocument.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Simple;
            this.tfDocument.Size = new System.Drawing.Size(376, 20);
            this.tfDocument.TabIndex = 4;
            validatorCPFCNPJ2.ErrorText = "O CNPJ/CPF é inválido";
            this.validator.SetValidationRule(this.tfDocument, validatorCPFCNPJ2);
            // 
            // lbDocument
            // 
            this.lbDocument.Location = new System.Drawing.Point(186, 84);
            this.lbDocument.Name = "lbDocument";
            this.lbDocument.Size = new System.Drawing.Size(29, 13);
            this.lbDocument.TabIndex = 3;
            this.lbDocument.Text = "CNPJ:";
            // 
            // tfAccount
            // 
            this.tfAccount.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgBankAccount, "account", true));
            this.tfAccount.Location = new System.Drawing.Point(186, 24);
            this.tfAccount.Name = "tfAccount";
            this.tfAccount.Size = new System.Drawing.Size(133, 20);
            this.tfAccount.TabIndex = 1;
            conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule1.ErrorText = "Informe a Conta Bancária";
            this.validator.SetValidationRule(this.tfAccount, conditionValidationRule1);
            // 
            // tfHolder
            // 
            this.tfHolder.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgBankAccount, "holder", true));
            this.tfHolder.Location = new System.Drawing.Point(58, 50);
            this.tfHolder.Name = "tfHolder";
            this.tfHolder.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfHolder.Size = new System.Drawing.Size(539, 20);
            this.tfHolder.TabIndex = 2;
            conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule2.ErrorText = "Informe o Titular";
            this.validator.SetValidationRule(this.tfHolder, conditionValidationRule2);
            // 
            // labelControl5
            // 
            this.labelControl5.Location = new System.Drawing.Point(146, 27);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(33, 13);
            this.labelControl5.TabIndex = 3;
            this.labelControl5.Text = "Conta:";
            // 
            // labelControl8
            // 
            this.labelControl8.Location = new System.Drawing.Point(10, 84);
            this.labelControl8.Name = "labelControl8";
            this.labelControl8.Size = new System.Drawing.Size(24, 13);
            this.labelControl8.TabIndex = 3;
            this.labelControl8.Text = "Tipo:";
            // 
            // labelControl6
            // 
            this.labelControl6.Location = new System.Drawing.Point(10, 53);
            this.labelControl6.Name = "labelControl6";
            this.labelControl6.Size = new System.Drawing.Size(34, 13);
            this.labelControl6.TabIndex = 3;
            this.labelControl6.Text = "Titular:";
            // 
            // tfAgency
            // 
            this.tfAgency.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgBankAccount, "agency", true));
            this.tfAgency.Location = new System.Drawing.Point(58, 24);
            this.tfAgency.Name = "tfAgency";
            this.tfAgency.Size = new System.Drawing.Size(70, 20);
            this.tfAgency.TabIndex = 0;
            conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule3.ErrorText = "Informe a Agência";
            this.validator.SetValidationRule(this.tfAgency, conditionValidationRule3);
            // 
            // labelControl4
            // 
            this.labelControl4.Location = new System.Drawing.Point(10, 27);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(42, 13);
            this.labelControl4.TabIndex = 3;
            this.labelControl4.Text = "Agencia:";
            // 
            // groupControl1
            // 
            this.groupControl1.Controls.Add(this.cbBanks);
            this.groupControl1.Location = new System.Drawing.Point(0, 0);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new System.Drawing.Size(604, 56);
            this.groupControl1.TabIndex = 0;
            this.groupControl1.Text = "Banco";
            // 
            // cbBanks
            // 
            this.cbBanks.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgBankAccount, "bank_id", true));
            this.cbBanks.Location = new System.Drawing.Point(12, 27);
            this.cbBanks.Name = "cbBanks";
            this.cbBanks.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbBanks.Properties.DataSource = this.bdgBanks;
            this.cbBanks.Properties.DisplayMember = "name";
            this.cbBanks.Properties.NullText = "";
            this.cbBanks.Properties.ValueMember = "id";
            this.cbBanks.Properties.View = this.searchLookUpEdit1View;
            this.cbBanks.Size = new System.Drawing.Size(580, 20);
            this.cbBanks.TabIndex = 0;
            conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater;
            conditionValidationRule4.ErrorText = "Informe o Banco";
            conditionValidationRule4.Value1 = ((long)(0));
            this.validator.SetValidationRule(this.cbBanks, conditionValidationRule4);
            // 
            // bdgBanks
            // 
            this.bdgBanks.DataSource = typeof(TruckSystem.banks);
            // 
            // searchLookUpEdit1View
            // 
            this.searchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colid,
            this.colcode,
            this.colcnpj,
            this.colname});
            this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
            this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
            // 
            // colid
            // 
            this.colid.Caption = "Cod.";
            this.colid.FieldName = "id";
            this.colid.Name = "colid";
            this.colid.OptionsColumn.AllowEdit = false;
            this.colid.Visible = true;
            this.colid.VisibleIndex = 0;
            this.colid.Width = 42;
            // 
            // colcode
            // 
            this.colcode.Caption = "Cod Banco";
            this.colcode.FieldName = "code";
            this.colcode.Name = "colcode";
            this.colcode.OptionsColumn.AllowEdit = false;
            this.colcode.Visible = true;
            this.colcode.VisibleIndex = 1;
            this.colcode.Width = 130;
            // 
            // colcnpj
            // 
            this.colcnpj.Caption = "CNPJ";
            this.colcnpj.FieldName = "cnpj";
            this.colcnpj.Name = "colcnpj";
            this.colcnpj.OptionsColumn.AllowEdit = false;
            this.colcnpj.Visible = true;
            this.colcnpj.VisibleIndex = 3;
            this.colcnpj.Width = 208;
            // 
            // colname
            // 
            this.colname.Caption = "Nome";
            this.colname.FieldName = "name";
            this.colname.Name = "colname";
            this.colname.OptionsColumn.AllowEdit = false;
            this.colname.Visible = true;
            this.colname.VisibleIndex = 2;
            this.colname.Width = 316;
            // 
            // BankAccountForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(600, 218);
            this.ControlBox = false;
            this.Controls.Add(this.panelControl2);
            this.Controls.Add(this.panelControl1);
            this.FormBorderEffect = DevExpress.XtraEditors.FormBorderEffect.None;
            this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
            this.Name = "BankAccountForm";
            this.ShowIcon = false;
            this.ShowInTaskbar = false;
            this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
            this.Text = "Conta Bancária";
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit();
            this.panelControl2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
            this.groupControl2.ResumeLayout(false);
            this.groupControl2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.rgTypeAccount.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgBankAccount)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgTypeHolder.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDocument.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAccount.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfHolder.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAgency.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
            this.groupControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.cbBanks.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgBanks)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit();
            this.ResumeLayout(false);

        }
Esempio n. 2
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            this.components = new System.ComponentModel.Container();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule4 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule5 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule6 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule7 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule8 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule9 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule10 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule11 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule12 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            TruckSystem.Utils.Validations.ValidatorCPFCNPJ validatorCPFCNPJ1 = new TruckSystem.Utils.Validations.ValidatorCPFCNPJ();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule13 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule14 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule15 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DriverForm));
            this.validator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
            this.cbCity = new DevExpress.XtraEditors.SearchLookUpEdit();
            this.bdgAddress = new System.Windows.Forms.BindingSource(this.components);
            this.bdgCity = new System.Windows.Forms.BindingSource(this.components);
            this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colcod_ibge = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colstate_id = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colpopulation = new DevExpress.XtraGrid.Columns.GridColumn();
            this.coldemographic = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colgentilic = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colarea = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colzip_code = new DevExpress.XtraGrid.Columns.GridColumn();
            this.cbStateAddress = new DevExpress.XtraEditors.SearchLookUpEdit();
            this.bdgState = new System.Windows.Forms.BindingSource(this.components);
            this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView();
            this.colid = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colname = new DevExpress.XtraGrid.Columns.GridColumn();
            this.colsymbol = new DevExpress.XtraGrid.Columns.GridColumn();
            this.tfCep = new DevExpress.XtraEditors.TextEdit();
            this.tfDistrict = new DevExpress.XtraEditors.TextEdit();
            this.tfAddress = new DevExpress.XtraEditors.TextEdit();
            this.tfExpirated = new DevExpress.XtraEditors.DateEdit();
            this.bdgDriver = new System.Windows.Forms.BindingSource(this.components);
            this.cbCategory = new DevExpress.XtraEditors.ComboBoxEdit();
            this.tfNumberCnh = new DevExpress.XtraEditors.TextEdit();
            this.tfPhoneMobile = new DevExpress.XtraEditors.TextEdit();
            this.tfAdmittedAt = new DevExpress.XtraEditors.DateEdit();
            this.rgGenrer = new DevExpress.XtraEditors.RadioGroup();
            this.tfBirthday = new DevExpress.XtraEditors.DateEdit();
            this.tfCpf = new DevExpress.XtraEditors.TextEdit();
            this.tfComission = new DevExpress.XtraEditors.TextEdit();
            this.tfFullName = new DevExpress.XtraEditors.TextEdit();
            this.tfNumberRegister = new DevExpress.XtraEditors.TextEdit();
            this.pnGeneral = new DevExpress.XtraEditors.PanelControl();
            this.pnAddress = new DevExpress.XtraEditors.GroupControl();
            this.btnSearchCEP = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl13 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl14 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl12 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl11 = new DevExpress.XtraEditors.LabelControl();
            this.tfComplement = new DevExpress.XtraEditors.TextEdit();
            this.labelControl10 = new DevExpress.XtraEditors.LabelControl();
            this.tfNumber = new DevExpress.XtraEditors.TextEdit();
            this.labelControl9 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl15 = new DevExpress.XtraEditors.LabelControl();
            this.groupControl2 = new DevExpress.XtraEditors.GroupControl();
            this.btnFileCNH = new DevExpress.XtraEditors.SimpleButton();
            this.labelControl20 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl19 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl22 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl18 = new DevExpress.XtraEditors.LabelControl();
            this.groupControl1 = new DevExpress.XtraEditors.GroupControl();
            this.tfMotherName = new DevExpress.XtraEditors.TextEdit();
            this.tfNaturalness = new DevExpress.XtraEditors.TextEdit();
            this.tfPhoneFixed = new DevExpress.XtraEditors.TextEdit();
            this.tfDismissedAt = new DevExpress.XtraEditors.DateEdit();
            this.labelControl6 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl3 = new DevExpress.XtraEditors.LabelControl();
            this.lbBirthday = new DevExpress.XtraEditors.LabelControl();
            this.labelControl8 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl17 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl5 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl16 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl7 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl21 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl23 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl4 = new DevExpress.XtraEditors.LabelControl();
            this.labelControl2 = new DevExpress.XtraEditors.LabelControl();
            this.tfId = new DevExpress.XtraEditors.TextEdit();
            this.labelControl1 = new DevExpress.XtraEditors.LabelControl();
            this.panelControl1 = new DevExpress.XtraEditors.PanelControl();
            this.btnNew = new WCButtons.Black.ButtonAddBlack();
            this.btnFiles = new WCButtons.Black.ButtonFolderBlack();
            this.btnSave = new WCButtons.Black.ButtonSaveBlack();
            this.btnCancel = new WCButtons.Black.ButtonCancelBlack();
            this.validatorSearchCEP = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components);
            ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbCity.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgAddress)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgCity)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbStateAddress.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgState)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfCep.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDistrict.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAddress.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfExpirated.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfExpirated.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgDriver)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbCategory.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNumberCnh.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfPhoneMobile.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAdmittedAt.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAdmittedAt.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgGenrer.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfBirthday.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfBirthday.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfCpf.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfComission.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfFullName.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNumberRegister.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pnGeneral)).BeginInit();
            this.pnGeneral.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.pnAddress)).BeginInit();
            this.pnAddress.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tfComplement.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNumber.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit();
            this.groupControl2.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit();
            this.groupControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tfMotherName.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNaturalness.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfPhoneFixed.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDismissedAt.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDismissedAt.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
            this.panelControl1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.validatorSearchCEP)).BeginInit();
            this.SuspendLayout();
            // 
            // cbCity
            // 
            this.cbCity.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgAddress, "city_id", true));
            this.cbCity.Location = new System.Drawing.Point(474, 78);
            this.cbCity.Name = "cbCity";
            this.cbCity.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbCity.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.cbCity.Properties.DataSource = this.bdgCity;
            this.cbCity.Properties.DisplayMember = "name";
            this.cbCity.Properties.NullText = "";
            this.cbCity.Properties.ValueMember = "id";
            this.cbCity.Properties.View = this.gridView1;
            this.cbCity.Size = new System.Drawing.Size(423, 20);
            this.cbCity.TabIndex = 7;
            conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater;
            conditionValidationRule1.ErrorText = "Informe a Cidade";
            conditionValidationRule1.Value1 = ((long)(0));
            this.validator.SetValidationRule(this.cbCity, conditionValidationRule1);
            this.cbCity.EditValueChanged += new System.EventHandler(this.cbCity_EditValueChanged);
            // 
            // bdgAddress
            // 
            this.bdgAddress.DataSource = typeof(TruckSystem.address);
            // 
            // bdgCity
            // 
            this.bdgCity.DataSource = typeof(TruckSystem.city);
            // 
            // gridView1
            // 
            this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.gridColumn1,
            this.gridColumn2,
            this.colcod_ibge,
            this.colstate_id,
            this.colpopulation,
            this.coldemographic,
            this.colgentilic,
            this.colarea,
            this.colzip_code});
            this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.gridView1.Name = "gridView1";
            this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.gridView1.OptionsView.ShowGroupPanel = false;
            // 
            // gridColumn1
            // 
            this.gridColumn1.Caption = "Cod.";
            this.gridColumn1.FieldName = "id";
            this.gridColumn1.Name = "gridColumn1";
            this.gridColumn1.OptionsColumn.AllowEdit = false;
            this.gridColumn1.Visible = true;
            this.gridColumn1.VisibleIndex = 0;
            this.gridColumn1.Width = 176;
            // 
            // gridColumn2
            // 
            this.gridColumn2.Caption = "Name";
            this.gridColumn2.FieldName = "name";
            this.gridColumn2.Name = "gridColumn2";
            this.gridColumn2.OptionsColumn.AllowEdit = false;
            this.gridColumn2.Visible = true;
            this.gridColumn2.VisibleIndex = 1;
            this.gridColumn2.Width = 476;
            // 
            // colcod_ibge
            // 
            this.colcod_ibge.FieldName = "cod_ibge";
            this.colcod_ibge.Name = "colcod_ibge";
            this.colcod_ibge.OptionsColumn.AllowEdit = false;
            // 
            // colstate_id
            // 
            this.colstate_id.FieldName = "state_id";
            this.colstate_id.Name = "colstate_id";
            this.colstate_id.OptionsColumn.AllowEdit = false;
            // 
            // colpopulation
            // 
            this.colpopulation.FieldName = "population";
            this.colpopulation.Name = "colpopulation";
            this.colpopulation.OptionsColumn.AllowEdit = false;
            // 
            // coldemographic
            // 
            this.coldemographic.FieldName = "demographic";
            this.coldemographic.Name = "coldemographic";
            this.coldemographic.OptionsColumn.AllowEdit = false;
            // 
            // colgentilic
            // 
            this.colgentilic.FieldName = "gentilic";
            this.colgentilic.Name = "colgentilic";
            this.colgentilic.OptionsColumn.AllowEdit = false;
            // 
            // colarea
            // 
            this.colarea.FieldName = "area";
            this.colarea.Name = "colarea";
            this.colarea.OptionsColumn.AllowEdit = false;
            // 
            // colzip_code
            // 
            this.colzip_code.Caption = "CEP";
            this.colzip_code.FieldName = "zip_code";
            this.colzip_code.Name = "colzip_code";
            this.colzip_code.OptionsColumn.AllowEdit = false;
            this.colzip_code.Visible = true;
            this.colzip_code.VisibleIndex = 2;
            this.colzip_code.Width = 426;
            // 
            // cbStateAddress
            // 
            this.cbStateAddress.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgAddress, "state_id", true));
            this.cbStateAddress.Location = new System.Drawing.Point(331, 78);
            this.cbStateAddress.Name = "cbStateAddress";
            this.cbStateAddress.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbStateAddress.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.cbStateAddress.Properties.DataSource = this.bdgState;
            this.cbStateAddress.Properties.DisplayMember = "symbol";
            this.cbStateAddress.Properties.NullText = "";
            this.cbStateAddress.Properties.ValueMember = "id";
            this.cbStateAddress.Properties.View = this.searchLookUpEdit1View;
            this.cbStateAddress.Size = new System.Drawing.Size(94, 20);
            this.cbStateAddress.TabIndex = 6;
            conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater;
            conditionValidationRule2.ErrorText = "Informe o Estado";
            conditionValidationRule2.Value1 = ((long)(0));
            this.validator.SetValidationRule(this.cbStateAddress, conditionValidationRule2);
            this.cbStateAddress.EditValueChanged += new System.EventHandler(this.cbStateAddress_EditValueChanged);
            // 
            // bdgState
            // 
            this.bdgState.DataSource = typeof(TruckSystem.state);
            // 
            // searchLookUpEdit1View
            // 
            this.searchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.colid,
            this.colname,
            this.colsymbol});
            this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus;
            this.searchLookUpEdit1View.Name = "searchLookUpEdit1View";
            this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false;
            this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false;
            // 
            // colid
            // 
            this.colid.Caption = "Cod.";
            this.colid.FieldName = "id";
            this.colid.Name = "colid";
            this.colid.OptionsColumn.AllowEdit = false;
            this.colid.Visible = true;
            this.colid.VisibleIndex = 0;
            this.colid.Width = 115;
            // 
            // colname
            // 
            this.colname.Caption = "Nome";
            this.colname.FieldName = "name";
            this.colname.Name = "colname";
            this.colname.OptionsColumn.AllowEdit = false;
            this.colname.Visible = true;
            this.colname.VisibleIndex = 1;
            this.colname.Width = 480;
            // 
            // colsymbol
            // 
            this.colsymbol.Caption = "Sigla";
            this.colsymbol.FieldName = "symbol";
            this.colsymbol.Name = "colsymbol";
            this.colsymbol.OptionsColumn.AllowEdit = false;
            this.colsymbol.Visible = true;
            this.colsymbol.VisibleIndex = 2;
            this.colsymbol.Width = 483;
            // 
            // tfCep
            // 
            this.tfCep.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgAddress, "cep", true));
            this.tfCep.Location = new System.Drawing.Point(60, 25);
            this.tfCep.Name = "tfCep";
            this.tfCep.Properties.Mask.EditMask = "00000-000";
            this.tfCep.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Simple;
            this.tfCep.Size = new System.Drawing.Size(114, 20);
            this.tfCep.TabIndex = 0;
            conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule3.ErrorText = "Informe o CEP";
            this.validator.SetValidationRule(this.tfCep, conditionValidationRule3);
            this.tfCep.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tfCep_KeyDown);
            // 
            // tfDistrict
            // 
            this.tfDistrict.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgAddress, "district", true));
            this.tfDistrict.Location = new System.Drawing.Point(60, 78);
            this.tfDistrict.Name = "tfDistrict";
            this.tfDistrict.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfDistrict.Size = new System.Drawing.Size(242, 20);
            this.tfDistrict.TabIndex = 5;
            conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule4.ErrorText = "Informe o Bairro";
            this.validator.SetValidationRule(this.tfDistrict, conditionValidationRule4);
            // 
            // tfAddress
            // 
            this.tfAddress.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgAddress, "name", true));
            this.tfAddress.Location = new System.Drawing.Point(60, 52);
            this.tfAddress.Name = "tfAddress";
            this.tfAddress.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfAddress.Size = new System.Drawing.Size(296, 20);
            this.tfAddress.TabIndex = 2;
            conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule5.ErrorText = "Informe o Endereço";
            this.validator.SetValidationRule(this.tfAddress, conditionValidationRule5);
            // 
            // tfExpirated
            // 
            this.tfExpirated.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "expiration_cnh", true));
            this.tfExpirated.EditValue = null;
            this.tfExpirated.Location = new System.Drawing.Point(635, 26);
            this.tfExpirated.Name = "tfExpirated";
            this.tfExpirated.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfExpirated.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfExpirated.Size = new System.Drawing.Size(100, 20);
            this.tfExpirated.TabIndex = 3;
            conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule6.ErrorText = "Informe a Data de Validade da CNH";
            this.validator.SetValidationRule(this.tfExpirated, conditionValidationRule6);
            // 
            // bdgDriver
            // 
            this.bdgDriver.DataSource = typeof(TruckSystem.driver);
            // 
            // cbCategory
            // 
            this.cbCategory.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "category_cnh", true));
            this.cbCategory.Location = new System.Drawing.Point(476, 26);
            this.cbCategory.Name = "cbCategory";
            this.cbCategory.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.cbCategory.Properties.DropDownRows = 11;
            this.cbCategory.Properties.Items.AddRange(new object[] {
            "A",
            "B",
            "C",
            "D",
            "E",
            "AB",
            "AC",
            "AD",
            "AE"});
            this.cbCategory.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.cbCategory.Size = new System.Drawing.Size(65, 20);
            this.cbCategory.TabIndex = 2;
            conditionValidationRule7.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule7.ErrorText = "Informe a Categoria da CNH";
            this.validator.SetValidationRule(this.cbCategory, conditionValidationRule7);
            // 
            // tfNumberCnh
            // 
            this.tfNumberCnh.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "number_cnh", true));
            this.tfNumberCnh.EditValue = "";
            this.tfNumberCnh.Location = new System.Drawing.Point(76, 26);
            this.tfNumberCnh.Name = "tfNumberCnh";
            this.tfNumberCnh.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfNumberCnh.Size = new System.Drawing.Size(105, 20);
            this.tfNumberCnh.TabIndex = 0;
            conditionValidationRule8.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule8.ErrorText = "Informe o Numero da CNH";
            this.validator.SetValidationRule(this.tfNumberCnh, conditionValidationRule8);
            // 
            // tfPhoneMobile
            // 
            this.tfPhoneMobile.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "phone_mobile", true));
            this.tfPhoneMobile.Location = new System.Drawing.Point(345, 129);
            this.tfPhoneMobile.Name = "tfPhoneMobile";
            this.tfPhoneMobile.Properties.Mask.EditMask = "\\(([1][1-9]|[2][1-2]|[2][4]|[2][7-8]|[9][1-9]|[8][1-9]|[3][1-8]|[7][1]|[7][3-5]|[" +
    "7][7]|[7][9]|[6][1-9])\\)(\\d{5}-\\d{4})|\\((\\d{2})\\)(\\d{4}-\\d{4})";
            this.tfPhoneMobile.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx;
            this.tfPhoneMobile.Size = new System.Drawing.Size(189, 20);
            this.tfPhoneMobile.TabIndex = 10;
            conditionValidationRule9.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule9.ErrorText = "Informe o Celular";
            this.validator.SetValidationRule(this.tfPhoneMobile, conditionValidationRule9);
            // 
            // tfAdmittedAt
            // 
            this.tfAdmittedAt.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "admitted_at", true));
            this.tfAdmittedAt.EditValue = null;
            this.tfAdmittedAt.Location = new System.Drawing.Point(111, 103);
            this.tfAdmittedAt.Name = "tfAdmittedAt";
            this.tfAdmittedAt.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfAdmittedAt.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfAdmittedAt.Size = new System.Drawing.Size(160, 20);
            this.tfAdmittedAt.TabIndex = 6;
            conditionValidationRule10.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule10.ErrorText = "Informe a Data de Admissão";
            this.validator.SetValidationRule(this.tfAdmittedAt, conditionValidationRule10);
            // 
            // rgGenrer
            // 
            this.rgGenrer.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "genre", true));
            this.rgGenrer.Location = new System.Drawing.Point(335, 49);
            this.rgGenrer.Name = "rgGenrer";
            this.rgGenrer.Properties.Appearance.BackColor = System.Drawing.Color.Transparent;
            this.rgGenrer.Properties.Appearance.Options.UseBackColor = true;
            this.rgGenrer.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
            this.rgGenrer.Properties.Columns = 2;
            this.rgGenrer.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
            new DevExpress.XtraEditors.Controls.RadioGroupItem(0, "Maculino"),
            new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "Feminino")});
            this.rgGenrer.Size = new System.Drawing.Size(140, 22);
            this.rgGenrer.TabIndex = 3;
            conditionValidationRule11.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater;
            conditionValidationRule11.ErrorText = "Informe o Gênero";
            conditionValidationRule11.Value1 = -1;
            this.validator.SetValidationRule(this.rgGenrer, conditionValidationRule11);
            // 
            // tfBirthday
            // 
            this.tfBirthday.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "birthday", true));
            this.tfBirthday.EditValue = null;
            this.tfBirthday.Location = new System.Drawing.Point(111, 50);
            this.tfBirthday.Name = "tfBirthday";
            this.tfBirthday.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfBirthday.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfBirthday.Properties.Mask.EditMask = "dd/MM/yyyy";
            this.tfBirthday.Size = new System.Drawing.Size(100, 20);
            this.tfBirthday.TabIndex = 2;
            conditionValidationRule12.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule12.ErrorText = "Informe a Data de Nascimento";
            this.validator.SetValidationRule(this.tfBirthday, conditionValidationRule12);
            this.tfBirthday.EditValueChanged += new System.EventHandler(this.tfBirthday_EditValueChanged);
            // 
            // tfCpf
            // 
            this.tfCpf.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "cpf", true));
            this.tfCpf.Location = new System.Drawing.Point(576, 24);
            this.tfCpf.Name = "tfCpf";
            this.tfCpf.Properties.Mask.EditMask = "000.000.000-00";
            this.tfCpf.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Simple;
            this.tfCpf.Size = new System.Drawing.Size(234, 20);
            this.tfCpf.TabIndex = 1;
            validatorCPFCNPJ1.ErrorText = "O CPF esta incorreto.";
            this.validator.SetValidationRule(this.tfCpf, validatorCPFCNPJ1);
            // 
            // tfComission
            // 
            this.tfComission.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "comission", true));
            this.tfComission.Location = new System.Drawing.Point(595, 104);
            this.tfComission.Name = "tfComission";
            this.tfComission.Properties.Mask.EditMask = "c2";
            this.tfComission.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric;
            this.tfComission.Properties.Mask.UseMaskAsDisplayFormat = true;
            this.tfComission.Size = new System.Drawing.Size(72, 20);
            this.tfComission.TabIndex = 8;
            conditionValidationRule13.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater;
            conditionValidationRule13.ErrorText = "Informe a Comissão";
            conditionValidationRule13.Value1 = new decimal(new int[] {
            0,
            0,
            0,
            0});
            this.validator.SetValidationRule(this.tfComission, conditionValidationRule13);
            // 
            // tfFullName
            // 
            this.tfFullName.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "full_name", true));
            this.tfFullName.Location = new System.Drawing.Point(111, 24);
            this.tfFullName.Name = "tfFullName";
            this.tfFullName.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfFullName.Size = new System.Drawing.Size(423, 20);
            this.tfFullName.TabIndex = 0;
            conditionValidationRule14.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule14.ErrorText = "Informe o Nome Completo";
            this.validator.SetValidationRule(this.tfFullName, conditionValidationRule14);
            // 
            // tfNumberRegister
            // 
            this.tfNumberRegister.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "register_cnh", true));
            this.tfNumberRegister.Location = new System.Drawing.Point(238, 26);
            this.tfNumberRegister.Name = "tfNumberRegister";
            this.tfNumberRegister.Size = new System.Drawing.Size(173, 20);
            this.tfNumberRegister.TabIndex = 1;
            conditionValidationRule15.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank;
            conditionValidationRule15.ErrorText = "Informe o Numero de Registro da CNH";
            this.validator.SetValidationRule(this.tfNumberRegister, conditionValidationRule15);
            // 
            // pnGeneral
            // 
            this.pnGeneral.Controls.Add(this.pnAddress);
            this.pnGeneral.Controls.Add(this.groupControl2);
            this.pnGeneral.Controls.Add(this.groupControl1);
            this.pnGeneral.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pnGeneral.Location = new System.Drawing.Point(0, 0);
            this.pnGeneral.Name = "pnGeneral";
            this.pnGeneral.Size = new System.Drawing.Size(908, 320);
            this.pnGeneral.TabIndex = 0;
            // 
            // pnAddress
            // 
            this.pnAddress.Controls.Add(this.btnSearchCEP);
            this.pnAddress.Controls.Add(this.cbCity);
            this.pnAddress.Controls.Add(this.cbStateAddress);
            this.pnAddress.Controls.Add(this.labelControl13);
            this.pnAddress.Controls.Add(this.tfCep);
            this.pnAddress.Controls.Add(this.tfDistrict);
            this.pnAddress.Controls.Add(this.labelControl14);
            this.pnAddress.Controls.Add(this.labelControl12);
            this.pnAddress.Controls.Add(this.labelControl11);
            this.pnAddress.Controls.Add(this.tfComplement);
            this.pnAddress.Controls.Add(this.labelControl10);
            this.pnAddress.Controls.Add(this.tfNumber);
            this.pnAddress.Controls.Add(this.labelControl9);
            this.pnAddress.Controls.Add(this.tfAddress);
            this.pnAddress.Controls.Add(this.labelControl15);
            this.pnAddress.Dock = System.Windows.Forms.DockStyle.Fill;
            this.pnAddress.Location = new System.Drawing.Point(2, 212);
            this.pnAddress.Name = "pnAddress";
            this.pnAddress.Size = new System.Drawing.Size(904, 106);
            this.pnAddress.TabIndex = 2;
            this.pnAddress.Text = "Endereço";
            // 
            // btnSearchCEP
            // 
            this.btnSearchCEP.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.btnSearchCEP.Location = new System.Drawing.Point(180, 23);
            this.btnSearchCEP.Name = "btnSearchCEP";
            this.btnSearchCEP.Size = new System.Drawing.Size(143, 23);
            this.btnSearchCEP.TabIndex = 1;
            this.btnSearchCEP.Text = "Buscar endereço por CEP";
            this.btnSearchCEP.Click += new System.EventHandler(this.btnSearchCEP_Click);
            // 
            // labelControl13
            // 
            this.labelControl13.Location = new System.Drawing.Point(431, 81);
            this.labelControl13.Name = "labelControl13";
            this.labelControl13.Size = new System.Drawing.Size(37, 13);
            this.labelControl13.TabIndex = 0;
            this.labelControl13.Text = "Cidade:";
            // 
            // labelControl14
            // 
            this.labelControl14.Location = new System.Drawing.Point(6, 28);
            this.labelControl14.Name = "labelControl14";
            this.labelControl14.Size = new System.Drawing.Size(23, 13);
            this.labelControl14.TabIndex = 0;
            this.labelControl14.Text = "CEP:";
            // 
            // labelControl12
            // 
            this.labelControl12.Location = new System.Drawing.Point(308, 81);
            this.labelControl12.Name = "labelControl12";
            this.labelControl12.Size = new System.Drawing.Size(17, 13);
            this.labelControl12.TabIndex = 0;
            this.labelControl12.Text = "UF:";
            // 
            // labelControl11
            // 
            this.labelControl11.Location = new System.Drawing.Point(6, 81);
            this.labelControl11.Name = "labelControl11";
            this.labelControl11.Size = new System.Drawing.Size(32, 13);
            this.labelControl11.TabIndex = 0;
            this.labelControl11.Text = "Bairro:";
            // 
            // tfComplement
            // 
            this.tfComplement.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgAddress, "complement", true));
            this.tfComplement.Location = new System.Drawing.Point(594, 52);
            this.tfComplement.Name = "tfComplement";
            this.tfComplement.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfComplement.Size = new System.Drawing.Size(303, 20);
            this.tfComplement.TabIndex = 4;
            // 
            // labelControl10
            // 
            this.labelControl10.Location = new System.Drawing.Point(519, 55);
            this.labelControl10.Name = "labelControl10";
            this.labelControl10.Size = new System.Drawing.Size(69, 13);
            this.labelControl10.TabIndex = 0;
            this.labelControl10.Text = "Complemento:";
            // 
            // tfNumber
            // 
            this.tfNumber.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgAddress, "number", true));
            this.tfNumber.Location = new System.Drawing.Point(416, 52);
            this.tfNumber.Name = "tfNumber";
            this.tfNumber.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfNumber.Size = new System.Drawing.Size(94, 20);
            this.tfNumber.TabIndex = 3;
            // 
            // labelControl9
            // 
            this.labelControl9.Location = new System.Drawing.Point(369, 55);
            this.labelControl9.Name = "labelControl9";
            this.labelControl9.Size = new System.Drawing.Size(41, 13);
            this.labelControl9.TabIndex = 0;
            this.labelControl9.Text = "Numero:";
            // 
            // labelControl15
            // 
            this.labelControl15.Location = new System.Drawing.Point(6, 55);
            this.labelControl15.Name = "labelControl15";
            this.labelControl15.Size = new System.Drawing.Size(49, 13);
            this.labelControl15.TabIndex = 0;
            this.labelControl15.Text = "Endereço:";
            // 
            // groupControl2
            // 
            this.groupControl2.Controls.Add(this.btnFileCNH);
            this.groupControl2.Controls.Add(this.tfNumberRegister);
            this.groupControl2.Controls.Add(this.tfExpirated);
            this.groupControl2.Controls.Add(this.cbCategory);
            this.groupControl2.Controls.Add(this.labelControl20);
            this.groupControl2.Controls.Add(this.tfNumberCnh);
            this.groupControl2.Controls.Add(this.labelControl19);
            this.groupControl2.Controls.Add(this.labelControl22);
            this.groupControl2.Controls.Add(this.labelControl18);
            this.groupControl2.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupControl2.Location = new System.Drawing.Point(2, 158);
            this.groupControl2.Name = "groupControl2";
            this.groupControl2.Size = new System.Drawing.Size(904, 54);
            this.groupControl2.TabIndex = 1;
            this.groupControl2.Text = "CNH - Carteira Nacional de Habilitação";
            // 
            // btnFileCNH
            // 
            this.btnFileCNH.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat;
            this.btnFileCNH.Location = new System.Drawing.Point(783, 24);
            this.btnFileCNH.Name = "btnFileCNH";
            this.btnFileCNH.Size = new System.Drawing.Size(75, 23);
            this.btnFileCNH.TabIndex = 4;
            this.btnFileCNH.Text = "Arquivo";
            this.btnFileCNH.Click += new System.EventHandler(this.btnFileCNH_Click);
            // 
            // labelControl20
            // 
            this.labelControl20.Location = new System.Drawing.Point(547, 29);
            this.labelControl20.Name = "labelControl20";
            this.labelControl20.Size = new System.Drawing.Size(85, 13);
            this.labelControl20.TabIndex = 3;
            this.labelControl20.Text = "Data de Validade:";
            // 
            // labelControl19
            // 
            this.labelControl19.Location = new System.Drawing.Point(419, 29);
            this.labelControl19.Name = "labelControl19";
            this.labelControl19.Size = new System.Drawing.Size(51, 13);
            this.labelControl19.TabIndex = 3;
            this.labelControl19.Text = "Categoria:";
            // 
            // labelControl22
            // 
            this.labelControl22.Location = new System.Drawing.Point(188, 29);
            this.labelControl22.Name = "labelControl22";
            this.labelControl22.Size = new System.Drawing.Size(44, 13);
            this.labelControl22.TabIndex = 3;
            this.labelControl22.Text = "Registro:";
            // 
            // labelControl18
            // 
            this.labelControl18.Location = new System.Drawing.Point(5, 29);
            this.labelControl18.Name = "labelControl18";
            this.labelControl18.Size = new System.Drawing.Size(65, 13);
            this.labelControl18.TabIndex = 3;
            this.labelControl18.Text = "Numero CNH:";
            // 
            // groupControl1
            // 
            this.groupControl1.Controls.Add(this.tfMotherName);
            this.groupControl1.Controls.Add(this.tfNaturalness);
            this.groupControl1.Controls.Add(this.tfPhoneMobile);
            this.groupControl1.Controls.Add(this.tfPhoneFixed);
            this.groupControl1.Controls.Add(this.tfDismissedAt);
            this.groupControl1.Controls.Add(this.tfAdmittedAt);
            this.groupControl1.Controls.Add(this.rgGenrer);
            this.groupControl1.Controls.Add(this.labelControl6);
            this.groupControl1.Controls.Add(this.tfBirthday);
            this.groupControl1.Controls.Add(this.labelControl3);
            this.groupControl1.Controls.Add(this.lbBirthday);
            this.groupControl1.Controls.Add(this.labelControl8);
            this.groupControl1.Controls.Add(this.labelControl17);
            this.groupControl1.Controls.Add(this.labelControl5);
            this.groupControl1.Controls.Add(this.labelControl16);
            this.groupControl1.Controls.Add(this.labelControl7);
            this.groupControl1.Controls.Add(this.labelControl21);
            this.groupControl1.Controls.Add(this.labelControl23);
            this.groupControl1.Controls.Add(this.labelControl4);
            this.groupControl1.Controls.Add(this.labelControl2);
            this.groupControl1.Controls.Add(this.tfCpf);
            this.groupControl1.Controls.Add(this.tfComission);
            this.groupControl1.Controls.Add(this.tfFullName);
            this.groupControl1.Controls.Add(this.tfId);
            this.groupControl1.Controls.Add(this.labelControl1);
            this.groupControl1.Dock = System.Windows.Forms.DockStyle.Top;
            this.groupControl1.Location = new System.Drawing.Point(2, 2);
            this.groupControl1.Name = "groupControl1";
            this.groupControl1.Size = new System.Drawing.Size(904, 156);
            this.groupControl1.TabIndex = 0;
            this.groupControl1.Text = "Informações Gerais";
            // 
            // tfMotherName
            // 
            this.tfMotherName.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "mother_name", true));
            this.tfMotherName.Location = new System.Drawing.Point(111, 76);
            this.tfMotherName.Name = "tfMotherName";
            this.tfMotherName.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfMotherName.Size = new System.Drawing.Size(423, 20);
            this.tfMotherName.TabIndex = 5;
            // 
            // tfNaturalness
            // 
            this.tfNaturalness.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "naturalness", true));
            this.tfNaturalness.Location = new System.Drawing.Point(576, 50);
            this.tfNaturalness.Name = "tfNaturalness";
            this.tfNaturalness.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper;
            this.tfNaturalness.Size = new System.Drawing.Size(234, 20);
            this.tfNaturalness.TabIndex = 4;
            // 
            // tfPhoneFixed
            // 
            this.tfPhoneFixed.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "phone_fixed", true));
            this.tfPhoneFixed.Location = new System.Drawing.Point(111, 129);
            this.tfPhoneFixed.Name = "tfPhoneFixed";
            this.tfPhoneFixed.Properties.Mask.EditMask = "(00) 0000-0000";
            this.tfPhoneFixed.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Simple;
            this.tfPhoneFixed.Size = new System.Drawing.Size(160, 20);
            this.tfPhoneFixed.TabIndex = 9;
            // 
            // tfDismissedAt
            // 
            this.tfDismissedAt.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "dismissed_at", true));
            this.tfDismissedAt.EditValue = null;
            this.tfDismissedAt.Location = new System.Drawing.Point(345, 104);
            this.tfDismissedAt.Name = "tfDismissedAt";
            this.tfDismissedAt.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfDismissedAt.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.tfDismissedAt.Size = new System.Drawing.Size(189, 20);
            this.tfDismissedAt.TabIndex = 7;
            // 
            // labelControl6
            // 
            this.labelControl6.Location = new System.Drawing.Point(292, 53);
            this.labelControl6.Name = "labelControl6";
            this.labelControl6.Size = new System.Drawing.Size(39, 13);
            this.labelControl6.TabIndex = 5;
            this.labelControl6.Text = "Gênero:";
            // 
            // labelControl3
            // 
            this.labelControl3.Location = new System.Drawing.Point(540, 27);
            this.labelControl3.Name = "labelControl3";
            this.labelControl3.Size = new System.Drawing.Size(23, 13);
            this.labelControl3.TabIndex = 3;
            this.labelControl3.Text = "CPF:";
            // 
            // lbBirthday
            // 
            this.lbBirthday.Location = new System.Drawing.Point(217, 53);
            this.lbBirthday.Name = "lbBirthday";
            this.lbBirthday.Size = new System.Drawing.Size(48, 13);
            this.lbBirthday.TabIndex = 3;
            this.lbBirthday.Text = "lbBirthday";
            // 
            // labelControl8
            // 
            this.labelControl8.Location = new System.Drawing.Point(279, 107);
            this.labelControl8.Name = "labelControl8";
            this.labelControl8.Size = new System.Drawing.Size(62, 13);
            this.labelControl8.TabIndex = 3;
            this.labelControl8.Text = "Demitido em:";
            // 
            // labelControl17
            // 
            this.labelControl17.Location = new System.Drawing.Point(304, 132);
            this.labelControl17.Name = "labelControl17";
            this.labelControl17.Size = new System.Drawing.Size(37, 13);
            this.labelControl17.TabIndex = 3;
            this.labelControl17.Text = "Celular:";
            // 
            // labelControl5
            // 
            this.labelControl5.Location = new System.Drawing.Point(540, 107);
            this.labelControl5.Name = "labelControl5";
            this.labelControl5.Size = new System.Drawing.Size(49, 13);
            this.labelControl5.TabIndex = 3;
            this.labelControl5.Text = "Comissão:";
            // 
            // labelControl16
            // 
            this.labelControl16.Location = new System.Drawing.Point(5, 132);
            this.labelControl16.Name = "labelControl16";
            this.labelControl16.Size = new System.Drawing.Size(46, 13);
            this.labelControl16.TabIndex = 3;
            this.labelControl16.Text = "Telefone:";
            // 
            // labelControl7
            // 
            this.labelControl7.Location = new System.Drawing.Point(5, 106);
            this.labelControl7.Name = "labelControl7";
            this.labelControl7.Size = new System.Drawing.Size(62, 13);
            this.labelControl7.TabIndex = 3;
            this.labelControl7.Text = "Admitido em:";
            // 
            // labelControl21
            // 
            this.labelControl21.Location = new System.Drawing.Point(505, 53);
            this.labelControl21.Name = "labelControl21";
            this.labelControl21.Size = new System.Drawing.Size(65, 13);
            this.labelControl21.TabIndex = 3;
            this.labelControl21.Text = "Naturalidade:";
            // 
            // labelControl23
            // 
            this.labelControl23.Location = new System.Drawing.Point(5, 79);
            this.labelControl23.Name = "labelControl23";
            this.labelControl23.Size = new System.Drawing.Size(69, 13);
            this.labelControl23.TabIndex = 3;
            this.labelControl23.Text = "Nome da Mãe:";
            // 
            // labelControl4
            // 
            this.labelControl4.Location = new System.Drawing.Point(5, 53);
            this.labelControl4.Name = "labelControl4";
            this.labelControl4.Size = new System.Drawing.Size(100, 13);
            this.labelControl4.TabIndex = 3;
            this.labelControl4.Text = "Data de Nascimento:";
            // 
            // labelControl2
            // 
            this.labelControl2.Location = new System.Drawing.Point(5, 27);
            this.labelControl2.Name = "labelControl2";
            this.labelControl2.Size = new System.Drawing.Size(79, 13);
            this.labelControl2.TabIndex = 3;
            this.labelControl2.Text = "Nome Completo:";
            // 
            // tfId
            // 
            this.tfId.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgDriver, "id", true));
            this.tfId.Location = new System.Drawing.Point(849, 24);
            this.tfId.Name = "tfId";
            this.tfId.Properties.ReadOnly = true;
            this.tfId.Size = new System.Drawing.Size(48, 20);
            this.tfId.TabIndex = 1;
            this.tfId.TabStop = false;
            // 
            // labelControl1
            // 
            this.labelControl1.Location = new System.Drawing.Point(817, 27);
            this.labelControl1.Name = "labelControl1";
            this.labelControl1.Size = new System.Drawing.Size(27, 13);
            this.labelControl1.TabIndex = 0;
            this.labelControl1.Text = "Cod.:";
            // 
            // panelControl1
            // 
            this.panelControl1.Controls.Add(this.btnNew);
            this.panelControl1.Controls.Add(this.btnFiles);
            this.panelControl1.Controls.Add(this.btnSave);
            this.panelControl1.Controls.Add(this.btnCancel);
            this.panelControl1.Dock = System.Windows.Forms.DockStyle.Bottom;
            this.panelControl1.Location = new System.Drawing.Point(0, 320);
            this.panelControl1.Name = "panelControl1";
            this.panelControl1.Size = new System.Drawing.Size(908, 44);
            this.panelControl1.TabIndex = 0;
            // 
            // btnNew
            // 
            this.btnNew.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199)))));
            this.btnNew.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnNew.Font = new System.Drawing.Font("Segoe UI Light", 12F);
            this.btnNew.ForeColor = System.Drawing.Color.White;
            this.btnNew.Image = ((System.Drawing.Image)(resources.GetObject("btnNew.Image")));
            this.btnNew.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnNew.Location = new System.Drawing.Point(8, 6);
            this.btnNew.Name = "btnNew";
            this.btnNew.Size = new System.Drawing.Size(110, 33);
            this.btnNew.TabIndex = 2;
            this.btnNew.Text = "Novo";
            this.btnNew.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnNew.UseVisualStyleBackColor = false;
            this.btnNew.Click += new System.EventHandler(this.btnNew_Click);
            // 
            // btnFiles
            // 
            this.btnFiles.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199)))));
            this.btnFiles.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnFiles.Font = new System.Drawing.Font("Segoe UI Light", 12F);
            this.btnFiles.ForeColor = System.Drawing.Color.White;
            this.btnFiles.Image = ((System.Drawing.Image)(resources.GetObject("btnFiles.Image")));
            this.btnFiles.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnFiles.Location = new System.Drawing.Point(124, 6);
            this.btnFiles.Name = "btnFiles";
            this.btnFiles.Size = new System.Drawing.Size(109, 33);
            this.btnFiles.TabIndex = 3;
            this.btnFiles.Text = "Arquivos";
            this.btnFiles.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnFiles.UseVisualStyleBackColor = false;
            this.btnFiles.Visible = false;
            this.btnFiles.Click += new System.EventHandler(this.btnFiles_Click);
            // 
            // btnSave
            // 
            this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnSave.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199)))));
            this.btnSave.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnSave.Font = new System.Drawing.Font("Segoe UI Light", 12F);
            this.btnSave.ForeColor = System.Drawing.Color.White;
            this.btnSave.Image = ((System.Drawing.Image)(resources.GetObject("btnSave.Image")));
            this.btnSave.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnSave.Location = new System.Drawing.Point(677, 6);
            this.btnSave.Name = "btnSave";
            this.btnSave.Size = new System.Drawing.Size(110, 33);
            this.btnSave.TabIndex = 0;
            this.btnSave.Text = "Salvar";
            this.btnSave.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnSave.UseVisualStyleBackColor = false;
            this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
            // 
            // btnCancel
            // 
            this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCancel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199)))));
            this.btnCancel.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
            this.btnCancel.Font = new System.Drawing.Font("Segoe UI Light", 12F);
            this.btnCancel.ForeColor = System.Drawing.Color.White;
            this.btnCancel.Image = ((System.Drawing.Image)(resources.GetObject("btnCancel.Image")));
            this.btnCancel.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
            this.btnCancel.Location = new System.Drawing.Point(793, 6);
            this.btnCancel.Name = "btnCancel";
            this.btnCancel.Size = new System.Drawing.Size(110, 33);
            this.btnCancel.TabIndex = 1;
            this.btnCancel.Text = "Cancelar";
            this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
            this.btnCancel.UseVisualStyleBackColor = false;
            this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
            // 
            // DriverForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.pnGeneral);
            this.Controls.Add(this.panelControl1);
            this.Name = "DriverForm";
            this.Size = new System.Drawing.Size(908, 364);
            ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbCity.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgAddress)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgCity)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbStateAddress.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgState)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfCep.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDistrict.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAddress.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfExpirated.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfExpirated.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.bdgDriver)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.cbCategory.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNumberCnh.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfPhoneMobile.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAdmittedAt.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfAdmittedAt.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.rgGenrer.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfBirthday.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfBirthday.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfCpf.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfComission.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfFullName.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNumberRegister.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pnGeneral)).EndInit();
            this.pnGeneral.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.pnAddress)).EndInit();
            this.pnAddress.ResumeLayout(false);
            this.pnAddress.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tfComplement.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNumber.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit();
            this.groupControl2.ResumeLayout(false);
            this.groupControl2.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit();
            this.groupControl1.ResumeLayout(false);
            this.groupControl1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.tfMotherName.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfNaturalness.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfPhoneFixed.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDismissedAt.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfDismissedAt.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
            this.panelControl1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.validatorSearchCEP)).EndInit();
            this.ResumeLayout(false);

        }