private void chkNewTrackNumber_CheckedChanged(object sender, EventArgs e) { try { if (chkNewTrackNumber.Checked) { txtTrackNumber.EditValue = null; txtTrackNumber.Enabled = false; ValidationProvider.RemoveControlError(txtTrackNumber); } else { txtTrackNumber.Enabled = true; if (txtTrackNumber.EditValue != null) { txtTrackNumber.EditValue = null; } DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); conditionValidationRule.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule.ErrorText = "Select Tracking Number ..."; conditionValidationRule.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; ValidationProvider.SetValidationRule(txtTrackNumber, conditionValidationRule); } } catch (Exception ex) { if (CDS.Shared.Exception.UserInterfaceExceptionHandler.HandleException(ref ex)) { throw ex; } } }
/// <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(); this.memoEdit1 = new DevExpress.XtraEditors.MemoEdit(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // btnClose // this.btnClose.Location = new System.Drawing.Point(282, 5); this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnOK // this.btnOK.Location = new System.Drawing.Point(197, 6); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // pnlFill // this.pnlFill.Controls.Add(this.memoEdit1); // // memoEdit1 // this.memoEdit1.Dock = System.Windows.Forms.DockStyle.Fill; this.memoEdit1.Location = new System.Drawing.Point(2, 2); this.memoEdit1.Name = "memoEdit1"; this.memoEdit1.Size = new System.Drawing.Size(375, 185); this.memoEdit1.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "必填"; this.dxValidationProvider1.SetValidationRule(this.memoEdit1, conditionValidationRule1); // // InvRemark // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(379, 235); this.Name = "InvRemark"; this.Text = "作废原因"; ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); }
private void PopulateValidation() { try { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule ValidationRule = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); ValidationRule.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; //base.PopulateValidation(); foreach (Control item in this.LayoutControl.Controls) { if (item.DataBindings.Count != 0) { DB.VW_Validation validationItem = BL.ApplicationDataContext.Instance.ValidationRestrictions.Where(n => ((System.Windows.Forms.BindingSource)(item.DataBindings[0].DataSource)).DataSource.ToString().Split('.').Last().StartsWith(n.TableName) && n.ColumnName.StartsWith(item.DataBindings[0].BindingMemberInfo.BindingField)).FirstOrDefault(); if (validationItem == null) { continue; } //If there is a lenght restriction add validator if ((Int32)validationItem.LengthMax.Value != 0) { if (item is DevExpress.XtraEditors.TextEdit) { (item as DevExpress.XtraEditors.TextEdit).Properties.MaxLength = (Int32)validationItem.LengthMax.Value; } } //If there is a required field restriction add validator if (!validationItem.Nullable.Value) { if (validationItem.ColumnName.Contains("Id")) { //FK IDs not allowed to be Zero ValidationRule.ErrorText = "Value cannot be blank"; ValidationRule.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.NotEquals; ValidationRule.Value1 = 0; ValidationProvider.SetValidationRule(item, ValidationRule); } else { //FK IDs not allowed to be NULL ValidationRule.ErrorText = "Value cannot be blank"; ValidationRule.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; ValidationProvider.SetValidationRule(item, ValidationRule); } } } } } catch { } }
/// <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(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); this.btn_save = new DevExpress.XtraEditors.SimpleButton(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // textEdit1 // this.textEdit1.Location = new System.Drawing.Point(46, 10); this.textEdit1.Name = "textEdit1"; this.textEdit1.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textEdit1.Properties.Appearance.Options.UseFont = true; this.textEdit1.Size = new System.Drawing.Size(507, 30); this.textEdit1.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "不能为空"; this.dxValidationProvider1.SetValidationRule(this.textEdit1, conditionValidationRule1); // // btn_save // this.btn_save.Anchor = System.Windows.Forms.AnchorStyles.None; this.btn_save.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(104)))), ((int)(((byte)(18))))); this.btn_save.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btn_save.Appearance.ForeColor = System.Drawing.Color.White; this.btn_save.Appearance.Options.UseBackColor = true; this.btn_save.Appearance.Options.UseFont = true; this.btn_save.Appearance.Options.UseForeColor = true; this.btn_save.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.btn_save.Location = new System.Drawing.Point(573, 8); this.btn_save.Name = "btn_save"; this.btn_save.Size = new System.Drawing.Size(106, 32); this.btn_save.TabIndex = 31; this.btn_save.Text = "保存"; this.btn_save.Click += new System.EventHandler(this.btn_save_Click); // // EditPayWayNameForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(711, 52); this.Controls.Add(this.btn_save); this.Controls.Add(this.textEdit1); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "EditPayWayNameForm"; this.Text = "EditPayWayNameForm"; ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); this.textEdit2 = new DevExpress.XtraEditors.TextEdit(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // textEdit1 // this.dxValidationProvider1.SetIconAlignment(this.textEdit1, System.Windows.Forms.ErrorIconAlignment.MiddleRight); this.textEdit1.Location = new System.Drawing.Point(12, 13); this.textEdit1.Name = "textEdit1"; this.textEdit1.Size = new System.Drawing.Size(177, 20); this.textEdit1.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Error text"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.dxValidationProvider1.SetValidationRule(this.textEdit1, conditionValidationRule1); // // textEdit2 // this.textEdit2.Location = new System.Drawing.Point(12, 57); this.textEdit2.Name = "textEdit2"; this.textEdit2.Size = new System.Drawing.Size(177, 20); this.textEdit2.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.textEdit2, conditionValidationRule2); // // dxValidationProvider1 // this.dxValidationProvider1.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; this.dxValidationProvider1.ValidationFailed += new DevExpress.XtraEditors.DXErrorProvider.ValidationFailedEventHandler(this.validationProvider1_ValidationFailed); // // Form1 // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.ClientSize = new System.Drawing.Size(284, 262); this.Controls.Add(this.textEdit2); this.Controls.Add(this.textEdit1); this.Name = "Form1"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEdit2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); }
private void txtPassword_EnabledChanged(object sender, EventArgs e) { if (!txtPassword.Enabled) { dxValidationProvider.SetValidationRule(txtPassword, null); } else { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRuleNotBlank = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); conditionValidationRuleNotBlank.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRuleNotBlank.ErrorText = "Enter password ..."; conditionValidationRuleNotBlank.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; dxValidationProvider.SetValidationRule(txtPassword, conditionValidationRuleNotBlank); } }
protected override void OnStart() { base.OnStart(); long?defaultSiteId = BL.ApplicationDataContext.Instance.LoggedInUser.DefaultSiteId; ServerModeSourceCompany.QueryableSource = DataContext.ReadonlyContext.VW_Company.Where(n => n.TypeId == (int)CompanyType && n.SiteId == defaultSiteId); BindingSource.DataSource = BL.ORG.ORG_TRX_LostSale.New; PopulateValidation(); var validationQuantity = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); validationQuantity.ErrorText = "Enter value greater than Zero"; validationQuantity.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; validationQuantity.Value1 = 0; validationQuantity.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; ValidationProvider.SetValidationRule(txtQuantity, validationQuantity); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserRoleEditFm)); this.roleNameTBox = new DevExpress.XtraEditors.TextEdit(); this.cancelBtn = new DevExpress.XtraEditors.SimpleButton(); this.saveBtn = new DevExpress.XtraEditors.SimpleButton(); this.validateLbl = new DevExpress.XtraEditors.LabelControl(); this.userRoleValidationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.roleNameTBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.userRoleValidationProvider)).BeginInit(); this.SuspendLayout(); // // roleNameTBox // this.roleNameTBox.Location = new System.Drawing.Point(12, 25); this.roleNameTBox.Name = "roleNameTBox"; this.roleNameTBox.Size = new System.Drawing.Size(458, 20); this.roleNameTBox.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Поле Наименование группы обязательное для заполнения"; this.userRoleValidationProvider.SetValidationRule(this.roleNameTBox, conditionValidationRule1); this.roleNameTBox.TextChanged += new System.EventHandler(this.roleNameTBox_TextChanged); // // cancelBtn // this.cancelBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelBtn.Location = new System.Drawing.Point(395, 56); this.cancelBtn.Name = "cancelBtn"; this.cancelBtn.Size = new System.Drawing.Size(75, 23); this.cancelBtn.TabIndex = 6; this.cancelBtn.Text = "Отмена"; this.cancelBtn.Click += new System.EventHandler(this.cancelBtn_Click); // // saveBtn // this.saveBtn.DialogResult = System.Windows.Forms.DialogResult.OK; this.saveBtn.Location = new System.Drawing.Point(314, 56); this.saveBtn.Name = "saveBtn"; this.saveBtn.Size = new System.Drawing.Size(75, 23); this.saveBtn.TabIndex = 5; this.saveBtn.Text = "Сохранить"; this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click); // // validateLbl // this.validateLbl.Appearance.BackColor = System.Drawing.SystemColors.Info; this.validateLbl.Appearance.ForeColor = System.Drawing.Color.OrangeRed; this.validateLbl.Location = new System.Drawing.Point(16, 61); this.validateLbl.Name = "validateLbl"; this.validateLbl.Size = new System.Drawing.Size(263, 13); this.validateLbl.TabIndex = 33; this.validateLbl.Text = "*Для сохранения заполните все необходимые поля"; // // userRoleValidationProvider // this.userRoleValidationProvider.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; this.userRoleValidationProvider.ValidationFailed += new DevExpress.XtraEditors.DXErrorProvider.ValidationFailedEventHandler(this.userRoleValidationProvider_ValidationFailed); this.userRoleValidationProvider.ValidationSucceeded += new DevExpress.XtraEditors.DXErrorProvider.ValidationSucceededEventHandler(this.userRoleValidationProvider_ValidationSucceeded); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(16, 7); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(113, 13); this.labelControl1.TabIndex = 34; this.labelControl1.Text = "Наименование группы"; // // UserRoleEditFm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.ClientSize = new System.Drawing.Size(482, 91); this.Controls.Add(this.labelControl1); this.Controls.Add(this.validateLbl); this.Controls.Add(this.cancelBtn); this.Controls.Add(this.saveBtn); this.Controls.Add(this.roleNameTBox); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "UserRoleEditFm"; this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Группа"; ((System.ComponentModel.ISupportInitialize)(this.roleNameTBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.userRoleValidationProvider)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.plcSettingValidationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.slotTBox = new DevExpress.XtraEditors.TextEdit(); this.rackTBox = new DevExpress.XtraEditors.TextEdit(); this.ipTBox = new DevExpress.XtraEditors.TextEdit(); this.nameTBox = new DevExpress.XtraEditors.TextEdit(); this.validateLbl = new DevExpress.XtraEditors.LabelControl(); this.saveBtn = new DevExpress.XtraEditors.SimpleButton(); this.closeBtn = new DevExpress.XtraEditors.SimpleButton(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.cpuTypeEdit = new DevExpress.XtraEditors.LookUpEdit(); ((System.ComponentModel.ISupportInitialize)(this.plcSettingValidationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.slotTBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rackTBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ipTBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nameTBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cpuTypeEdit.Properties)).BeginInit(); this.SuspendLayout(); // // plcSettingValidationProvider // this.plcSettingValidationProvider.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; this.plcSettingValidationProvider.ValidationFailed += new DevExpress.XtraEditors.DXErrorProvider.ValidationFailedEventHandler(this.plcSettingValidationProvider_ValidationFailed); this.plcSettingValidationProvider.ValidationSucceeded += new DevExpress.XtraEditors.DXErrorProvider.ValidationSucceededEventHandler(this.plcSettingValidationProvider_ValidationSucceeded); // // slotTBox // this.slotTBox.Location = new System.Drawing.Point(130, 116); this.slotTBox.Name = "slotTBox"; this.slotTBox.Properties.Mask.EditMask = "n0"; this.slotTBox.Properties.Mask.IgnoreMaskBlank = false; this.slotTBox.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.slotTBox.Properties.Mask.ShowPlaceHolders = false; this.slotTBox.Size = new System.Drawing.Size(321, 20); this.slotTBox.TabIndex = 64; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual; conditionValidationRule1.ErrorText = "Введите свойство \"Slot\" устройства"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; conditionValidationRule1.Value1 = 0; this.plcSettingValidationProvider.SetValidationRule(this.slotTBox, conditionValidationRule1); this.slotTBox.TextChanged += new System.EventHandler(this.slotTBox_TextChanged); // // rackTBox // this.rackTBox.Location = new System.Drawing.Point(130, 90); this.rackTBox.Name = "rackTBox"; this.rackTBox.Properties.Mask.EditMask = "n0"; this.rackTBox.Properties.Mask.IgnoreMaskBlank = false; this.rackTBox.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.rackTBox.Properties.Mask.ShowPlaceHolders = false; this.rackTBox.Size = new System.Drawing.Size(321, 20); this.rackTBox.TabIndex = 63; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual; conditionValidationRule2.ErrorText = "Введите свойство \"Rack\" устройства"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; conditionValidationRule2.Value1 = 0; this.plcSettingValidationProvider.SetValidationRule(this.rackTBox, conditionValidationRule2); this.rackTBox.TextChanged += new System.EventHandler(this.rackTBox_TextChanged); // // ipTBox // this.ipTBox.Location = new System.Drawing.Point(130, 38); this.ipTBox.Name = "ipTBox"; this.ipTBox.Properties.Mask.EditMask = "([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\\.([0-9]|[1-9][0-9]|1[0-9][0-9" + "]|2[0-4][0-9]|25[0-5])){3}"; this.ipTBox.Properties.Mask.IgnoreMaskBlank = false; this.ipTBox.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.ipTBox.Properties.Mask.ShowPlaceHolders = false; this.ipTBox.Size = new System.Drawing.Size(321, 20); this.ipTBox.TabIndex = 61; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Введите IP адрес устройства"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.plcSettingValidationProvider.SetValidationRule(this.ipTBox, conditionValidationRule3); this.ipTBox.TextChanged += new System.EventHandler(this.ipTBox_TextChanged); // // nameTBox // this.nameTBox.Location = new System.Drawing.Point(130, 12); this.nameTBox.Name = "nameTBox"; this.nameTBox.Properties.Mask.IgnoreMaskBlank = false; this.nameTBox.Properties.Mask.ShowPlaceHolders = false; this.nameTBox.Size = new System.Drawing.Size(321, 20); this.nameTBox.TabIndex = 69; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Введите наименование устройства"; conditionValidationRule4.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.plcSettingValidationProvider.SetValidationRule(this.nameTBox, conditionValidationRule4); this.nameTBox.TextChanged += new System.EventHandler(this.nameTBox_TextChanged); // // validateLbl // this.validateLbl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); this.validateLbl.Appearance.BackColor = System.Drawing.SystemColors.Info; this.validateLbl.Appearance.ForeColor = System.Drawing.Color.OrangeRed; this.validateLbl.Location = new System.Drawing.Point(12, 231); this.validateLbl.Name = "validateLbl"; this.validateLbl.Size = new System.Drawing.Size(263, 13); this.validateLbl.TabIndex = 60; this.validateLbl.Text = "*Для сохранения заполните все необходимые поля"; // // saveBtn // this.saveBtn.Location = new System.Drawing.Point(295, 226); this.saveBtn.Name = "saveBtn"; this.saveBtn.Size = new System.Drawing.Size(75, 23); this.saveBtn.TabIndex = 56; this.saveBtn.Text = "Сохранить"; this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click); // // closeBtn // this.closeBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.closeBtn.Location = new System.Drawing.Point(376, 226); this.closeBtn.Name = "closeBtn"; this.closeBtn.Size = new System.Drawing.Size(75, 23); this.closeBtn.TabIndex = 57; this.closeBtn.Text = "Отмена"; this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(41, 67); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(86, 13); this.label12.TabIndex = 68; this.label12.Text = "Тип процессора"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(69, 119); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(58, 13); this.label11.TabIndex = 67; this.label11.Text = "Слот(Slot)"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(52, 93); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(75, 13); this.label8.TabIndex = 66; this.label8.Text = "Стойка(Rack)"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(8, 41); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(119, 13); this.label7.TabIndex = 65; this.label7.Text = "IP адрес контроллера"; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(47, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 13); this.label1.TabIndex = 70; this.label1.Text = "Наименование"; // // cpuTypeEdit // this.cpuTypeEdit.Location = new System.Drawing.Point(130, 64); this.cpuTypeEdit.Name = "cpuTypeEdit"; this.cpuTypeEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cpuTypeEdit.Properties.NullText = ""; this.cpuTypeEdit.Properties.PopupSizeable = false; this.cpuTypeEdit.Size = new System.Drawing.Size(321, 20); this.cpuTypeEdit.TabIndex = 62; this.cpuTypeEdit.EditValueChanged += new System.EventHandler(this.cpuCBox_EditValueChanged); // // SettingsPlcEditFm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.ClientSize = new System.Drawing.Size(463, 261); this.Controls.Add(this.nameTBox); this.Controls.Add(this.label1); this.Controls.Add(this.label12); this.Controls.Add(this.label11); this.Controls.Add(this.slotTBox); this.Controls.Add(this.label8); this.Controls.Add(this.rackTBox); this.Controls.Add(this.label7); this.Controls.Add(this.ipTBox); this.Controls.Add(this.validateLbl); this.Controls.Add(this.saveBtn); this.Controls.Add(this.closeBtn); this.Controls.Add(this.cpuTypeEdit); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SettingsPlcEditFm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Редактировать настройки"; ((System.ComponentModel.ISupportInitialize)(this.plcSettingValidationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.slotTBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rackTBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ipTBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nameTBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cpuTypeEdit.Properties)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TypeEditorForm)); this.gcTypeInfo = new DevExpress.XtraEditors.GroupControl(); this.txtDescription = new DevExpress.XtraEditors.MemoEdit(); this.lblDescription = new DevExpress.XtraEditors.LabelControl(); this.txtName = new DevExpress.XtraEditors.TextEdit(); this.lblName = new DevExpress.XtraEditors.LabelControl(); this.valName = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.valDescription = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.gcTypeInfo)).BeginInit(); this.gcTypeInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valDescription)).BeginInit(); this.SuspendLayout(); // // gcTypeInfo // this.gcTypeInfo.Controls.Add(this.txtDescription); this.gcTypeInfo.Controls.Add(this.lblDescription); this.gcTypeInfo.Controls.Add(this.txtName); this.gcTypeInfo.Controls.Add(this.lblName); this.gcTypeInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.gcTypeInfo.Location = new System.Drawing.Point(0, 0); this.gcTypeInfo.Name = "gcTypeInfo"; this.gcTypeInfo.Size = new System.Drawing.Size(481, 136); this.gcTypeInfo.TabIndex = 3; this.gcTypeInfo.Text = "Informasi Tipe"; // // txtDescription // this.txtDescription.Location = new System.Drawing.Point(128, 55); this.txtDescription.Name = "txtDescription"; this.txtDescription.Size = new System.Drawing.Size(237, 58); this.txtDescription.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Deskripsi harus diisi"; this.valDescription.SetValidationRule(this.txtDescription, conditionValidationRule1); // // lblDescription // this.lblDescription.Location = new System.Drawing.Point(12, 60); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(42, 13); this.lblDescription.TabIndex = 2; this.lblDescription.Text = "Deskripsi"; // // txtName // this.txtName.Location = new System.Drawing.Point(128, 29); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(187, 20); this.txtName.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Nama harus diisi"; this.valName.SetValidationRule(this.txtName, conditionValidationRule2); // // lblName // this.lblName.Location = new System.Drawing.Point(12, 30); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(27, 13); this.lblName.TabIndex = 0; this.lblName.Text = "Nama"; // // valName // this.valName.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // valDescription // this.valDescription.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // TypeEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(481, 185); this.Controls.Add(this.gcTypeInfo); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "TypeEditorForm"; this.Text = "Tipe Editor"; this.Controls.SetChildIndex(this.gcTypeInfo, 0); ((System.ComponentModel.ISupportInitialize)(this.gcTypeInfo)).EndInit(); this.gcTypeInfo.ResumeLayout(false); this.gcTypeInfo.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valDescription)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmDelivery)); 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.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.ucActionResultButton = new SaleManager.App.GUI.UserControls.ucActionResultButton(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.btnCustomerAdd = new DevExpress.XtraEditors.SimpleButton(); this.btnStaffAdd = new DevExpress.XtraEditors.SimpleButton(); this.gcDeliveryNoteDetails = new DevExpress.XtraGrid.GridControl(); this.gvDeliveryNoteDetails = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemLookUpEditProduce = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.txtComputedId = new DevExpress.XtraEditors.TextEdit(); this.bsDeliveryNote = new System.Windows.Forms.BindingSource(this.components); this.cbxStaff = new DevExpress.XtraEditors.LookUpEdit(); this.cbxStock = new DevExpress.XtraEditors.LookUpEdit(); this.cbxCustomer = new DevExpress.XtraEditors.LookUpEdit(); this.txtDate = new DevExpress.XtraEditors.DateEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.dxValidationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcDeliveryNoteDetails)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvDeliveryNoteDetails)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditProduce)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtComputedId.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bsDeliveryNote)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxStaff.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxStock.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxCustomer.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider)).BeginInit(); this.SuspendLayout(); // // groupControl1 // this.groupControl1.Controls.Add(this.ucActionResultButton); this.groupControl1.Dock = System.Windows.Forms.DockStyle.Bottom; this.groupControl1.Location = new System.Drawing.Point(0, 444); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(634, 95); this.groupControl1.TabIndex = 0; this.groupControl1.Text = "Action"; // // ucActionResultButton // this.ucActionResultButton.Location = new System.Drawing.Point(215, 35); this.ucActionResultButton.Name = "ucActionResultButton"; this.ucActionResultButton.Size = new System.Drawing.Size(195, 39); this.ucActionResultButton.TabIndex = 0; // // layoutControl1 // this.layoutControl1.Controls.Add(this.btnCustomerAdd); this.layoutControl1.Controls.Add(this.btnStaffAdd); this.layoutControl1.Controls.Add(this.gcDeliveryNoteDetails); this.layoutControl1.Controls.Add(this.txtComputedId); this.layoutControl1.Controls.Add(this.cbxStaff); this.layoutControl1.Controls.Add(this.cbxStock); this.layoutControl1.Controls.Add(this.cbxCustomer); this.layoutControl1.Controls.Add(this.txtDate); 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(414, 246, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(634, 444); this.layoutControl1.TabIndex = 1; this.layoutControl1.Text = "layoutControl1"; // // btnCustomerAdd // this.btnCustomerAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnCustomerAdd.Image"))); this.btnCustomerAdd.Location = new System.Drawing.Point(554, 116); this.btnCustomerAdd.Name = "btnCustomerAdd"; this.btnCustomerAdd.Size = new System.Drawing.Size(56, 22); this.btnCustomerAdd.StyleController = this.layoutControl1; this.btnCustomerAdd.TabIndex = 14; this.btnCustomerAdd.Text = "Thêm"; // // btnStaffAdd // this.btnStaffAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnStaffAdd.Image"))); this.btnStaffAdd.Location = new System.Drawing.Point(554, 66); this.btnStaffAdd.Name = "btnStaffAdd"; this.btnStaffAdd.Size = new System.Drawing.Size(56, 22); this.btnStaffAdd.StyleController = this.layoutControl1; this.btnStaffAdd.TabIndex = 13; this.btnStaffAdd.Text = "Thêm"; // // gcDeliveryNoteDetails // this.gcDeliveryNoteDetails.Location = new System.Drawing.Point(36, 196); this.gcDeliveryNoteDetails.MainView = this.gvDeliveryNoteDetails; this.gcDeliveryNoteDetails.Name = "gcDeliveryNoteDetails"; this.gcDeliveryNoteDetails.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemLookUpEditProduce }); this.gcDeliveryNoteDetails.Size = new System.Drawing.Size(562, 212); this.gcDeliveryNoteDetails.TabIndex = 9; this.gcDeliveryNoteDetails.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvDeliveryNoteDetails }); // // gvDeliveryNoteDetails // this.gvDeliveryNoteDetails.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3 }); this.gvDeliveryNoteDetails.GridControl = this.gcDeliveryNoteDetails; this.gvDeliveryNoteDetails.Name = "gvDeliveryNoteDetails"; // // gridColumn1 // this.gridColumn1.Caption = "Sản phẩm"; this.gridColumn1.ColumnEdit = this.repositoryItemLookUpEditProduce; this.gridColumn1.FieldName = "ProduceId"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // repositoryItemLookUpEditProduce // this.repositoryItemLookUpEditProduce.AutoHeight = false; this.repositoryItemLookUpEditProduce.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemLookUpEditProduce.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ComputedId", 100, "Mã sản phẩm"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", 200, "Tên sản phẩm"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Inventory", 100, "Tồn kho") }); this.repositoryItemLookUpEditProduce.Name = "repositoryItemLookUpEditProduce"; this.repositoryItemLookUpEditProduce.PopupFormMinSize = new System.Drawing.Size(400, 0); // // gridColumn2 // this.gridColumn2.Caption = "Số lượng"; this.gridColumn2.FieldName = "Quantity"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // gridColumn3 // this.gridColumn3.Caption = "Đơn giá xuất"; this.gridColumn3.DisplayFormat.FormatString = "{0:C0}"; this.gridColumn3.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Custom; this.gridColumn3.FieldName = "Price"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 2; // // txtComputedId // this.txtComputedId.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bsDeliveryNote, "ComputedId", true)); this.txtComputedId.Enabled = false; this.txtComputedId.Location = new System.Drawing.Point(108, 42); this.txtComputedId.Name = "txtComputedId"; this.txtComputedId.Size = new System.Drawing.Size(502, 20); this.txtComputedId.StyleController = this.layoutControl1; this.txtComputedId.TabIndex = 4; // // bsDeliveryNote // this.bsDeliveryNote.DataSource = typeof(SaleManager.Data.Models.DeliveryNote); // // cbxStaff // this.cbxStaff.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bsDeliveryNote, "StaffId", true)); this.cbxStaff.Location = new System.Drawing.Point(108, 66); this.cbxStaff.Name = "cbxStaff"; this.cbxStaff.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbxStaff.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ComputedId", 100, "Mã nhân viên"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Fullname", 100, "Tên nhân viên") }); this.cbxStaff.Properties.NullText = ""; this.cbxStaff.Size = new System.Drawing.Size(442, 20); this.cbxStaff.StyleController = this.layoutControl1; this.cbxStaff.TabIndex = 5; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule1.ErrorText = "Hãy chọn nhân viên xuất"; conditionValidationRule1.Value1 = "0"; this.dxValidationProvider.SetValidationRule(this.cbxStaff, conditionValidationRule1); // // cbxStock // this.cbxStock.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bsDeliveryNote, "StockId", true)); this.cbxStock.Location = new System.Drawing.Point(108, 92); this.cbxStock.Name = "cbxStock"; this.cbxStock.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbxStock.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ComputedId", 100, "Mã kho hàng"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", 100, "Tên kho hàng") }); this.cbxStock.Properties.NullText = ""; this.cbxStock.Size = new System.Drawing.Size(502, 20); this.cbxStock.StyleController = this.layoutControl1; this.cbxStock.TabIndex = 6; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule2.ErrorText = "Hãy chọn kho hàng xuất"; conditionValidationRule2.Value1 = "0"; this.dxValidationProvider.SetValidationRule(this.cbxStock, conditionValidationRule2); // // cbxCustomer // this.cbxCustomer.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bsDeliveryNote, "CustomerId", true)); this.cbxCustomer.Location = new System.Drawing.Point(108, 116); this.cbxCustomer.Name = "cbxCustomer"; this.cbxCustomer.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbxCustomer.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ComputedId", 100, "Mã khách hàng"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Fullname", 100, "Tên khách hàng") }); this.cbxCustomer.Properties.NullText = ""; this.cbxCustomer.Size = new System.Drawing.Size(442, 20); this.cbxCustomer.StyleController = this.layoutControl1; this.cbxCustomer.TabIndex = 7; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule3.ErrorText = "Hãy chọn khách hàng"; conditionValidationRule3.Value1 = "0"; this.dxValidationProvider.SetValidationRule(this.cbxCustomer, conditionValidationRule3); // // txtDate // this.txtDate.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bsDeliveryNote, "Date", true)); this.txtDate.EditValue = null; this.txtDate.Location = new System.Drawing.Point(108, 142); this.txtDate.Name = "txtDate"; this.txtDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.txtDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.txtDate.Properties.Mask.EditMask = ""; this.txtDate.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.None; this.txtDate.Size = new System.Drawing.Size(502, 20); this.txtDate.StyleController = this.layoutControl1; this.txtDate.TabIndex = 8; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Hãy chọn ngày tháng hóa đơn xuất"; this.dxValidationProvider.SetValidationRule(this.txtDate, conditionValidationRule4); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(634, 444); this.layoutControlGroup1.TextVisible = false; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "Thông tin hóa đơn xuất"; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem5, this.layoutControlItem4, this.layoutControlItem3, this.layoutControlItem2, this.layoutControlItem1, this.layoutControlGroup3, this.layoutControlItem7, this.layoutControlItem8 }); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(614, 424); this.layoutControlGroup2.Text = "Thông tin hóa đơn xuất"; // // layoutControlItem5 // this.layoutControlItem5.Control = this.txtDate; this.layoutControlItem5.CustomizationFormText = "Ngày tháng"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 100); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(590, 24); this.layoutControlItem5.Text = "Ngày tháng"; this.layoutControlItem5.TextSize = new System.Drawing.Size(81, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.cbxCustomer; this.layoutControlItem4.CustomizationFormText = "Khách hàng"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 74); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(530, 26); this.layoutControlItem4.Text = "Khách hàng"; this.layoutControlItem4.TextSize = new System.Drawing.Size(81, 13); // // layoutControlItem3 // this.layoutControlItem3.Control = this.cbxStock; this.layoutControlItem3.CustomizationFormText = "Kho hàng"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 50); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(590, 24); this.layoutControlItem3.Text = "Kho hàng"; this.layoutControlItem3.TextSize = new System.Drawing.Size(81, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.cbxStaff; this.layoutControlItem2.CustomizationFormText = "Nhân viên xuất"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(530, 26); this.layoutControlItem2.Text = "Nhân viên xuất"; this.layoutControlItem2.TextSize = new System.Drawing.Size(81, 13); // // layoutControlItem1 // this.layoutControlItem1.Control = this.txtComputedId; this.layoutControlItem1.CustomizationFormText = "Mã hóa đơn xuất"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(590, 24); this.layoutControlItem1.Text = "Mã hóa đơn xuất"; this.layoutControlItem1.TextSize = new System.Drawing.Size(81, 13); // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "Chi tiết sản phẩm xuất"; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem6 }); this.layoutControlGroup3.Location = new System.Drawing.Point(0, 124); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Size = new System.Drawing.Size(590, 258); this.layoutControlGroup3.Text = "Chi tiết sản phẩm xuất"; // // layoutControlItem6 // this.layoutControlItem6.Control = this.gcDeliveryNoteDetails; this.layoutControlItem6.CustomizationFormText = "layoutControlItem6"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(566, 216); this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem6.TextVisible = false; // // layoutControlItem7 // this.layoutControlItem7.Control = this.btnStaffAdd; this.layoutControlItem7.CustomizationFormText = "layoutControlItem7"; this.layoutControlItem7.Location = new System.Drawing.Point(530, 24); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(60, 26); this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem7.TextVisible = false; // // layoutControlItem8 // this.layoutControlItem8.Control = this.btnCustomerAdd; this.layoutControlItem8.CustomizationFormText = "layoutControlItem8"; this.layoutControlItem8.Location = new System.Drawing.Point(530, 74); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(60, 26); this.layoutControlItem8.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem8.TextVisible = false; // // frmDelivery // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(634, 539); this.Controls.Add(this.layoutControl1); this.Controls.Add(this.groupControl1); this.Name = "frmDelivery"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "frmDelivery"; ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcDeliveryNoteDetails)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvDeliveryNoteDetails)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemLookUpEditProduce)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtComputedId.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bsDeliveryNote)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxStaff.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxStock.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxCustomer.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); this.validationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.txtCode = new DevExpress.XtraEditors.TextEdit(); this.spinEditOrderID = new DevExpress.XtraEditors.SpinEdit(); this.txtControlType = new DevExpress.XtraEditors.TextEdit(); this.txtFunctionName = new DevExpress.XtraEditors.TextEdit(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.cheSave = new DevExpress.XtraEditors.CheckEdit(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.cheExport = new DevExpress.XtraEditors.CheckEdit(); this.cheImport = new DevExpress.XtraEditors.CheckEdit(); this.chePrint = new DevExpress.XtraEditors.CheckEdit(); this.cheDelete = new DevExpress.XtraEditors.CheckEdit(); this.cheUpdate = new DevExpress.XtraEditors.CheckEdit(); this.cheInsert = new DevExpress.XtraEditors.CheckEdit(); this.cheQuery = new DevExpress.XtraEditors.CheckEdit(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditOrderID.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtControlType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFunctionName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cheSave.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheExport.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheImport.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chePrint.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheDelete.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheUpdate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheInsert.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheQuery.Properties)).BeginInit(); this.SuspendLayout(); // // txtCode // this.txtCode.Location = new System.Drawing.Point(220, 9); this.txtCode.Name = "txtCode"; this.txtCode.Size = new System.Drawing.Size(128, 20); this.txtCode.TabIndex = 21; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "编码不能为空"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtCode, conditionValidationRule1); // // spinEditOrderID // this.spinEditOrderID.EditValue = new decimal(new int[] { 1, 0, 0, 0}); this.spinEditOrderID.Location = new System.Drawing.Point(220, 38); this.spinEditOrderID.Name = "spinEditOrderID"; this.spinEditOrderID.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.spinEditOrderID.Properties.IsFloatValue = false; this.spinEditOrderID.Properties.Mask.EditMask = "N00"; this.spinEditOrderID.Properties.MaxLength = 1; this.spinEditOrderID.Properties.MaxValue = new decimal(new int[] { 9999, 0, 0, 0}); this.spinEditOrderID.Size = new System.Drawing.Size(128, 20); this.spinEditOrderID.TabIndex = 23; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "排序不能为空"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.spinEditOrderID, conditionValidationRule2); // // txtControlType // this.txtControlType.Location = new System.Drawing.Point(42, 38); this.txtControlType.Name = "txtControlType"; this.txtControlType.Size = new System.Drawing.Size(132, 20); this.txtControlType.TabIndex = 22; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "路径不能为空"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtControlType, conditionValidationRule3); // // txtFunctionName // this.txtFunctionName.Location = new System.Drawing.Point(42, 9); this.txtFunctionName.Name = "txtFunctionName"; this.txtFunctionName.Size = new System.Drawing.Size(132, 20); this.txtFunctionName.TabIndex = 19; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "名称不能为空"; conditionValidationRule4.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtFunctionName, conditionValidationRule4); // // panelControl2 // this.panelControl2.Controls.Add(this.btnSave); this.panelControl2.Controls.Add(this.btnCancel); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelControl2.Location = new System.Drawing.Point(0, 122); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(366, 40); this.panelControl2.TabIndex = 34; // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Image = global::LDL.Client.Properties.Resources.Action_Save; this.btnSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnSave.Location = new System.Drawing.Point(87, 8); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(80, 25); this.btnSave.TabIndex = 14; this.btnSave.Text = "保存(&S)"; 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.Image = global::LDL.Client.Properties.Resources.Action_Cancel; this.btnCancel.Location = new System.Drawing.Point(173, 8); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(80, 25); this.btnCancel.TabIndex = 15; this.btnCancel.Text = "取消(&C)"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // cheSave // this.cheSave.Location = new System.Drawing.Point(11, 89); this.cheSave.Name = "cheSave"; this.cheSave.Properties.Caption = "保存功能"; this.cheSave.Size = new System.Drawing.Size(75, 19); this.cheSave.TabIndex = 29; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(190, 12); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(24, 14); this.labelControl4.TabIndex = 33; this.labelControl4.Text = "编码"; // // cheExport // this.cheExport.Location = new System.Drawing.Point(278, 89); this.cheExport.Name = "cheExport"; this.cheExport.Properties.Caption = "导出功能"; this.cheExport.Size = new System.Drawing.Size(71, 19); this.cheExport.TabIndex = 32; // // cheImport // this.cheImport.Location = new System.Drawing.Point(189, 89); this.cheImport.Name = "cheImport"; this.cheImport.Properties.Caption = "导入功能"; this.cheImport.Size = new System.Drawing.Size(75, 19); this.cheImport.TabIndex = 31; // // chePrint // this.chePrint.Location = new System.Drawing.Point(100, 89); this.chePrint.Name = "chePrint"; this.chePrint.Properties.Caption = "打印功能"; this.chePrint.Size = new System.Drawing.Size(75, 19); this.chePrint.TabIndex = 30; // // cheDelete // this.cheDelete.Location = new System.Drawing.Point(278, 64); this.cheDelete.Name = "cheDelete"; this.cheDelete.Properties.Caption = "删除功能"; this.cheDelete.Size = new System.Drawing.Size(71, 19); this.cheDelete.TabIndex = 28; // // cheUpdate // this.cheUpdate.Location = new System.Drawing.Point(189, 64); this.cheUpdate.Name = "cheUpdate"; this.cheUpdate.Properties.Caption = "修改功能"; this.cheUpdate.Size = new System.Drawing.Size(75, 19); this.cheUpdate.TabIndex = 27; // // cheInsert // this.cheInsert.Location = new System.Drawing.Point(100, 64); this.cheInsert.Name = "cheInsert"; this.cheInsert.Properties.Caption = "增加功能"; this.cheInsert.Size = new System.Drawing.Size(75, 19); this.cheInsert.TabIndex = 26; // // cheQuery // this.cheQuery.Location = new System.Drawing.Point(11, 64); this.cheQuery.Name = "cheQuery"; this.cheQuery.Properties.Caption = "查询功能"; this.cheQuery.Size = new System.Drawing.Size(75, 19); this.cheQuery.TabIndex = 25; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(190, 41); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(24, 14); this.labelControl3.TabIndex = 24; this.labelControl3.Text = "排序"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(12, 41); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(24, 14); this.labelControl2.TabIndex = 20; this.labelControl2.Text = "路径"; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(12, 12); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(24, 14); this.labelControl1.TabIndex = 18; this.labelControl1.Text = "名称"; // // FrmFunctionEdit // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(366, 162); this.Controls.Add(this.panelControl2); this.Controls.Add(this.cheSave); this.Controls.Add(this.txtCode); this.Controls.Add(this.labelControl4); this.Controls.Add(this.cheExport); this.Controls.Add(this.cheImport); this.Controls.Add(this.chePrint); this.Controls.Add(this.cheDelete); this.Controls.Add(this.cheUpdate); this.Controls.Add(this.cheInsert); this.Controls.Add(this.cheQuery); this.Controls.Add(this.spinEditOrderID); this.Controls.Add(this.labelControl3); this.Controls.Add(this.txtControlType); this.Controls.Add(this.labelControl2); this.Controls.Add(this.txtFunctionName); this.Controls.Add(this.labelControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmFunctionEdit"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "菜单编辑"; this.Load += new System.EventHandler(this.FrmFunctionEdit_Load); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditOrderID.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtControlType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFunctionName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.cheSave.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheExport.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheImport.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chePrint.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheDelete.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheUpdate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheInsert.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheQuery.Properties)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.gcCreditInfo = new DevExpress.XtraEditors.GroupControl(); this.deTransDate = new DevExpress.XtraEditors.DateEdit(); this.cbPaymentType = new DevExpress.XtraEditors.LookUpEdit(); this.lblPaymentType = new DevExpress.XtraEditors.LabelControl(); this.txtTotalPayment = new DevExpress.XtraEditors.TextEdit(); this.lblTotalPayment = new DevExpress.XtraEditors.LabelControl(); this.txtTotalNotPaid = new DevExpress.XtraEditors.TextEdit(); this.lblTotalNotPaid = new DevExpress.XtraEditors.LabelControl(); this.txtTotalPaid = new DevExpress.XtraEditors.TextEdit(); this.lblTotalPaid = new DevExpress.XtraEditors.LabelControl(); this.txtTotalTransaction = new DevExpress.XtraEditors.TextEdit(); this.lblTotalTransaction = new DevExpress.XtraEditors.LabelControl(); this.txtCustomer = new DevExpress.XtraEditors.TextEdit(); this.lblCustomer = new DevExpress.XtraEditors.LabelControl(); this.lblTransactionDate = new DevExpress.XtraEditors.LabelControl(); this.valTotalPayment = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.valPaymentMethod = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.bgwSave = new System.ComponentModel.BackgroundWorker(); ((System.ComponentModel.ISupportInitialize)(this.gcCreditInfo)).BeginInit(); this.gcCreditInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.deTransDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deTransDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbPaymentType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalPayment.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalNotPaid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalPaid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalTransaction.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCustomer.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valTotalPayment)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valPaymentMethod)).BeginInit(); this.SuspendLayout(); // // gcCreditInfo // this.gcCreditInfo.Controls.Add(this.deTransDate); this.gcCreditInfo.Controls.Add(this.cbPaymentType); this.gcCreditInfo.Controls.Add(this.lblPaymentType); this.gcCreditInfo.Controls.Add(this.txtTotalPayment); this.gcCreditInfo.Controls.Add(this.lblTotalPayment); this.gcCreditInfo.Controls.Add(this.txtTotalNotPaid); this.gcCreditInfo.Controls.Add(this.lblTotalNotPaid); this.gcCreditInfo.Controls.Add(this.txtTotalPaid); this.gcCreditInfo.Controls.Add(this.lblTotalPaid); this.gcCreditInfo.Controls.Add(this.txtTotalTransaction); this.gcCreditInfo.Controls.Add(this.lblTotalTransaction); this.gcCreditInfo.Controls.Add(this.txtCustomer); this.gcCreditInfo.Controls.Add(this.lblCustomer); this.gcCreditInfo.Controls.Add(this.lblTransactionDate); this.gcCreditInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.gcCreditInfo.Location = new System.Drawing.Point(0, 0); this.gcCreditInfo.Name = "gcCreditInfo"; this.gcCreditInfo.Size = new System.Drawing.Size(326, 243); this.gcCreditInfo.TabIndex = 1; this.gcCreditInfo.Text = "Informasi Pembayaran"; // // deTransDate // this.deTransDate.EditValue = null; this.deTransDate.Location = new System.Drawing.Point(149, 32); this.deTransDate.Name = "deTransDate"; this.deTransDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.deTransDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.deTransDate.Properties.DisplayFormat.FormatString = "dd-MM-yyyy"; this.deTransDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.deTransDate.Properties.HideSelection = false; this.deTransDate.Properties.Mask.EditMask = "dd-MM-yyyy"; this.deTransDate.Properties.ReadOnly = true; this.deTransDate.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.deTransDate.Size = new System.Drawing.Size(157, 20); this.deTransDate.TabIndex = 16; // // cbPaymentType // this.cbPaymentType.Location = new System.Drawing.Point(149, 211); this.cbPaymentType.Name = "cbPaymentType"; this.cbPaymentType.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.cbPaymentType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cbPaymentType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Nama") }); this.cbPaymentType.Properties.DisplayMember = "Name"; this.cbPaymentType.Properties.HideSelection = false; this.cbPaymentType.Properties.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned; this.cbPaymentType.Properties.NullText = ""; this.cbPaymentType.Properties.ValueMember = "Id"; this.cbPaymentType.Size = new System.Drawing.Size(157, 20); this.cbPaymentType.TabIndex = 15; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Pilih salah satu jenis pembayaran"; this.valPaymentMethod.SetValidationRule(this.cbPaymentType, conditionValidationRule1); // // lblPaymentType // this.lblPaymentType.Location = new System.Drawing.Point(14, 214); this.lblPaymentType.Name = "lblPaymentType"; this.lblPaymentType.Size = new System.Drawing.Size(87, 13); this.lblPaymentType.TabIndex = 14; this.lblPaymentType.Text = "Jenis Pembayaran"; // // txtTotalPayment // this.txtTotalPayment.Location = new System.Drawing.Point(149, 184); this.txtTotalPayment.Name = "txtTotalPayment"; this.txtTotalPayment.Properties.DisplayFormat.FormatString = " {0:#,#;(#,#);0}"; this.txtTotalPayment.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.txtTotalPayment.Size = new System.Drawing.Size(157, 20); this.txtTotalPayment.TabIndex = 13; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Isi total akan dibayar"; this.valTotalPayment.SetValidationRule(this.txtTotalPayment, conditionValidationRule2); this.txtTotalPayment.EditValueChanged += new System.EventHandler(this.txtTotalPayment_EditValueChanged); // // lblTotalPayment // this.lblTotalPayment.Location = new System.Drawing.Point(14, 187); this.lblTotalPayment.Name = "lblTotalPayment"; this.lblTotalPayment.Size = new System.Drawing.Size(91, 13); this.lblTotalPayment.TabIndex = 12; this.lblTotalPayment.Text = "Total Akan Dibayar"; // // txtTotalNotPaid // this.txtTotalNotPaid.Location = new System.Drawing.Point(149, 140); this.txtTotalNotPaid.Name = "txtTotalNotPaid"; this.txtTotalNotPaid.Properties.DisplayFormat.FormatString = " {0:#,#;(#,#);0}"; this.txtTotalNotPaid.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.txtTotalNotPaid.Properties.ReadOnly = true; this.txtTotalNotPaid.Size = new System.Drawing.Size(157, 20); this.txtTotalNotPaid.TabIndex = 11; // // lblTotalNotPaid // this.lblTotalNotPaid.Location = new System.Drawing.Point(14, 143); this.lblTotalNotPaid.Name = "lblTotalNotPaid"; this.lblTotalNotPaid.Size = new System.Drawing.Size(102, 13); this.lblTotalNotPaid.TabIndex = 10; this.lblTotalNotPaid.Text = "Total Belum Terbayar"; // // txtTotalPaid // this.txtTotalPaid.Location = new System.Drawing.Point(149, 113); this.txtTotalPaid.Name = "txtTotalPaid"; this.txtTotalPaid.Properties.DisplayFormat.FormatString = " {0:#,#;(#,#);0}"; this.txtTotalPaid.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.txtTotalPaid.Properties.ReadOnly = true; this.txtTotalPaid.Size = new System.Drawing.Size(157, 20); this.txtTotalPaid.TabIndex = 9; // // lblTotalPaid // this.lblTotalPaid.Location = new System.Drawing.Point(14, 116); this.lblTotalPaid.Name = "lblTotalPaid"; this.lblTotalPaid.Size = new System.Drawing.Size(71, 13); this.lblTotalPaid.TabIndex = 8; this.lblTotalPaid.Text = "Total Terbayar"; // // txtTotalTransaction // this.txtTotalTransaction.Location = new System.Drawing.Point(149, 86); this.txtTotalTransaction.Name = "txtTotalTransaction"; this.txtTotalTransaction.Properties.DisplayFormat.FormatString = " {0:#,#;(#,#);0}"; this.txtTotalTransaction.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.txtTotalTransaction.Properties.ReadOnly = true; this.txtTotalTransaction.Size = new System.Drawing.Size(157, 20); this.txtTotalTransaction.TabIndex = 7; // // lblTotalTransaction // this.lblTotalTransaction.Location = new System.Drawing.Point(14, 89); this.lblTotalTransaction.Name = "lblTotalTransaction"; this.lblTotalTransaction.Size = new System.Drawing.Size(72, 13); this.lblTotalTransaction.TabIndex = 6; this.lblTotalTransaction.Text = "Total Transaksi"; // // txtCustomer // this.txtCustomer.Location = new System.Drawing.Point(149, 59); this.txtCustomer.Name = "txtCustomer"; this.txtCustomer.Properties.ReadOnly = true; this.txtCustomer.Size = new System.Drawing.Size(157, 20); this.txtCustomer.TabIndex = 5; // // lblCustomer // this.lblCustomer.Location = new System.Drawing.Point(14, 62); this.lblCustomer.Name = "lblCustomer"; this.lblCustomer.Size = new System.Drawing.Size(46, 13); this.lblCustomer.TabIndex = 4; this.lblCustomer.Text = "Customer"; // // lblTransactionDate // this.lblTransactionDate.Location = new System.Drawing.Point(14, 35); this.lblTransactionDate.Name = "lblTransactionDate"; this.lblTransactionDate.Size = new System.Drawing.Size(86, 13); this.lblTransactionDate.TabIndex = 2; this.lblTransactionDate.Text = "Tanggal Transaksi"; // // bgwSave // this.bgwSave.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bgwSave_DoWork); this.bgwSave.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwSave_RunWorkerCompleted); // // CreditEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(326, 292); this.Controls.Add(this.gcCreditInfo); this.Name = "CreditEditorForm"; this.Text = "Form Pembayaran Piutang"; this.Load += new System.EventHandler(this.CreditEditorForm_Load); this.Controls.SetChildIndex(this.gcCreditInfo, 0); ((System.ComponentModel.ISupportInitialize)(this.gcCreditInfo)).EndInit(); this.gcCreditInfo.ResumeLayout(false); this.gcCreditInfo.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.deTransDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deTransDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbPaymentType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalPayment.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalNotPaid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalPaid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTotalTransaction.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCustomer.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valTotalPayment)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valPaymentMethod)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.btnClose = new DevExpress.XtraEditors.SimpleButton(); this.btnOK = new DevExpress.XtraEditors.SimpleButton(); this.txtReceiverNo = new DevExpress.XtraEditors.TextEdit(); this.txtReceiverName = new DevExpress.XtraEditors.TextEdit(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); this.txtReceiverMobile = new DevExpress.XtraEditors.TextEdit(); this.chk = new DevExpress.XtraEditors.CheckEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.txtReceiverAddress = new DevExpress.XtraEditors.TextEdit(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.txtRemark = new DevExpress.XtraEditors.TextEdit(); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverMobile.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chk.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverAddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).BeginInit(); this.SuspendLayout(); // // pnlMain // this.pnlMain.Size = new System.Drawing.Size(330, 217); // // pnlFill // this.pnlFill.Controls.Add(this.txtRemark); this.pnlFill.Controls.Add(this.labelControl9); this.pnlFill.Controls.Add(this.labelControl5); this.pnlFill.Controls.Add(this.txtReceiverMobile); this.pnlFill.Controls.Add(this.txtReceiverAddress); this.pnlFill.Controls.Add(this.labelControl3); this.pnlFill.Controls.Add(this.labelControl2); this.pnlFill.Controls.Add(this.labelControl1); this.pnlFill.Controls.Add(this.chk); this.pnlFill.Controls.Add(this.txtReceiverNo); this.pnlFill.Controls.Add(this.txtReceiverName); this.pnlFill.Size = new System.Drawing.Size(330, 171); // // pnlBottom // this.pnlBottom.Controls.Add(this.btnOK); this.pnlBottom.Controls.Add(this.btnClose); this.pnlBottom.Location = new System.Drawing.Point(0, 171); this.pnlBottom.Size = new System.Drawing.Size(330, 46); // // btnClose // this.btnClose.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Location = new System.Drawing.Point(243, 6); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(75, 35); this.btnClose.TabIndex = 14; this.btnClose.Text = "关闭(&C)"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnOK // this.btnOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnOK.Location = new System.Drawing.Point(150, 6); this.btnOK.Name = "btnOK"; this.btnOK.Size = new System.Drawing.Size(75, 35); this.btnOK.TabIndex = 13; this.btnOK.Text = "确定(&E)"; this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // txtReceiverNo // this.txtReceiverNo.Location = new System.Drawing.Point(67, 7); this.txtReceiverNo.Name = "txtReceiverNo"; this.txtReceiverNo.Size = new System.Drawing.Size(242, 20); this.txtReceiverNo.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "不能为空"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.txtReceiverNo, conditionValidationRule2); // // txtReceiverName // this.txtReceiverName.Location = new System.Drawing.Point(67, 33); this.txtReceiverName.Name = "txtReceiverName"; this.txtReceiverName.Size = new System.Drawing.Size(242, 20); this.txtReceiverName.TabIndex = 2; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "不能为空"; this.dxValidationProvider1.SetValidationRule(this.txtReceiverName, conditionValidationRule3); // // txtReceiverMobile // this.txtReceiverMobile.Location = new System.Drawing.Point(67, 59); this.txtReceiverMobile.Name = "txtReceiverMobile"; this.txtReceiverMobile.Size = new System.Drawing.Size(242, 20); this.txtReceiverMobile.TabIndex = 31; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "不能为空"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.txtReceiverMobile, conditionValidationRule1); // // chk // this.chk.EditValue = true; this.chk.Location = new System.Drawing.Point(65, 135); this.chk.Name = "chk"; this.chk.Properties.Caption = "启用"; this.chk.Size = new System.Drawing.Size(51, 19); this.chk.TabIndex = 12; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(37, 10); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(24, 14); this.labelControl1.TabIndex = 8; this.labelControl1.Text = "编号"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(37, 36); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(24, 14); this.labelControl2.TabIndex = 9; this.labelControl2.Text = "姓名"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(37, 63); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(24, 14); this.labelControl3.TabIndex = 10; this.labelControl3.Text = "电话"; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(37, 88); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(24, 14); this.labelControl5.TabIndex = 36; this.labelControl5.Text = "地址"; // // txtReceiverAddress // this.txtReceiverAddress.Location = new System.Drawing.Point(67, 85); this.txtReceiverAddress.Name = "txtReceiverAddress"; this.txtReceiverAddress.Size = new System.Drawing.Size(242, 20); this.txtReceiverAddress.TabIndex = 32; // // labelControl9 // this.labelControl9.Location = new System.Drawing.Point(37, 115); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(24, 14); this.labelControl9.TabIndex = 40; this.labelControl9.Text = "备注"; // // txtRemark // this.txtRemark.Location = new System.Drawing.Point(67, 109); this.txtRemark.Name = "txtRemark"; this.txtRemark.Size = new System.Drawing.Size(242, 20); this.txtRemark.TabIndex = 41; // // NewView // this.AcceptButton = this.btnOK; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(330, 217); this.Name = "NewView"; this.ShowIcon = false; this.Text = "添加顾客"; this.Load += new System.EventHandler(this.NewView_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); this.pnlFill.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverMobile.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chk.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiverAddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.cancelButton = new DevExpress.XtraEditors.SimpleButton(); this.loginButton = new DevExpress.XtraEditors.SimpleButton(); this.passwordEdit = new DevExpress.XtraEditors.TextEdit(); this.accountEdit = new DevExpress.XtraEditors.TextEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem9 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem8 = new DevExpress.XtraLayout.EmptySpaceItem(); this.loginValidation = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.errorTip = new DevExpress.Utils.ToolTipController(this.components); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.passwordEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.accountEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.loginValidation)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.cancelButton); this.layoutControl1.Controls.Add(this.loginButton); this.layoutControl1.Controls.Add(this.passwordEdit); this.layoutControl1.Controls.Add(this.accountEdit); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(225, 126); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // cancelButton // this.cancelButton.Location = new System.Drawing.Point(128, 82); this.cancelButton.Name = "cancelButton"; this.cancelButton.Size = new System.Drawing.Size(73, 22); this.cancelButton.StyleController = this.layoutControl1; this.cancelButton.TabIndex = 7; this.cancelButton.Text = "取消"; this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click); // // loginButton // this.loginButton.Location = new System.Drawing.Point(24, 82); this.loginButton.Name = "loginButton"; this.loginButton.Size = new System.Drawing.Size(73, 22); this.loginButton.StyleController = this.layoutControl1; this.loginButton.TabIndex = 6; this.loginButton.Text = "登陆"; this.loginButton.Click += new System.EventHandler(this.loginButton_Click); // // passwordEdit // this.passwordEdit.EditValue = ""; this.loginValidation.SetIconAlignment(this.passwordEdit, System.Windows.Forms.ErrorIconAlignment.MiddleRight); this.passwordEdit.Location = new System.Drawing.Point(52, 47); this.passwordEdit.Name = "passwordEdit"; this.passwordEdit.Properties.PasswordChar = '*'; this.passwordEdit.Size = new System.Drawing.Size(149, 21); this.passwordEdit.StyleController = this.layoutControl1; this.passwordEdit.TabIndex = 5; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "请输入密码"; this.loginValidation.SetValidationRule(this.passwordEdit, conditionValidationRule1); // // accountEdit // this.accountEdit.EditValue = ""; this.loginValidation.SetIconAlignment(this.accountEdit, System.Windows.Forms.ErrorIconAlignment.MiddleRight); this.accountEdit.Location = new System.Drawing.Point(52, 22); this.accountEdit.Name = "accountEdit"; this.accountEdit.Size = new System.Drawing.Size(149, 21); this.accountEdit.StyleController = this.layoutControl1; this.accountEdit.TabIndex = 4; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "请输入账号"; this.loginValidation.SetValidationRule(this.accountEdit, conditionValidationRule2); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem2, this.layoutControlItem1, this.emptySpaceItem2, this.emptySpaceItem3, this.emptySpaceItem4, this.layoutControlItem3, this.layoutControlItem4, this.emptySpaceItem1, this.emptySpaceItem5, this.emptySpaceItem9}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(225, 126); this.layoutControlGroup1.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.passwordEdit; this.layoutControlItem2.CustomizationFormText = "密码"; this.layoutControlItem2.Location = new System.Drawing.Point(12, 35); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(181, 25); this.layoutControlItem2.Text = "密码"; this.layoutControlItem2.TextSize = new System.Drawing.Size(24, 14); // // layoutControlItem1 // this.layoutControlItem1.Control = this.accountEdit; this.layoutControlItem1.CustomizationFormText = "账号"; this.layoutControlItem1.Location = new System.Drawing.Point(12, 10); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(181, 25); this.layoutControlItem1.Text = "账号"; this.layoutControlItem1.TextSize = new System.Drawing.Size(24, 14); // // emptySpaceItem2 // this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(193, 10); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(12, 86); this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem3 // this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(205, 10); this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem4 // this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4"; this.emptySpaceItem4.Location = new System.Drawing.Point(0, 10); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(12, 86); this.emptySpaceItem4.Text = "emptySpaceItem4"; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem3 // this.layoutControlItem3.Control = this.loginButton; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(12, 70); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(77, 26); this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.Control = this.cancelButton; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(116, 70); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(77, 26); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(89, 70); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(27, 26); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem5 // this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem5"; this.emptySpaceItem5.Location = new System.Drawing.Point(12, 60); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(181, 10); this.emptySpaceItem5.Text = "emptySpaceItem5"; this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem9 // this.emptySpaceItem9.CustomizationFormText = "emptySpaceItem9"; this.emptySpaceItem9.Location = new System.Drawing.Point(0, 96); this.emptySpaceItem9.Name = "emptySpaceItem9"; this.emptySpaceItem9.Size = new System.Drawing.Size(205, 10); this.emptySpaceItem9.Text = "emptySpaceItem9"; this.emptySpaceItem9.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem8 // this.emptySpaceItem8.CustomizationFormText = "emptySpaceItem7"; this.emptySpaceItem8.Location = new System.Drawing.Point(29, 70); this.emptySpaceItem8.Name = "emptySpaceItem7"; this.emptySpaceItem8.Size = new System.Drawing.Size(10, 26); this.emptySpaceItem8.Text = "emptySpaceItem7"; this.emptySpaceItem8.TextSize = new System.Drawing.Size(0, 0); // // errorTip // this.errorTip.CloseOnClick = DevExpress.Utils.DefaultBoolean.True; this.errorTip.Rounded = true; this.errorTip.ShowBeak = true; this.errorTip.ToolTipLocation = DevExpress.Utils.ToolTipLocation.TopRight; // // Login // this.AcceptButton = this.loginButton; this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(225, 126); this.Controls.Add(this.layoutControl1); this.ImeMode = System.Windows.Forms.ImeMode.Disable; this.MaximizeBox = false; this.Name = "Login"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Login"; ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.passwordEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.accountEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.loginValidation)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.txtPrice = new DevExpress.XtraEditors.TextEdit(); this.txtQtyPerPack = new DevExpress.XtraEditors.TextEdit(); this.txtPackQty = new DevExpress.XtraEditors.TextEdit(); this.txtRefNo = new DevExpress.XtraEditors.TextEdit(); this.btnAddBatch = new DevExpress.XtraEditors.SimpleButton(); this.dateEditExpiryDate = new DevExpress.XtraEditors.DateEdit(); this.txtBatchNo = new DevExpress.XtraEditors.TextEdit(); this.txtItemName = new DevExpress.XtraEditors.TextEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtPrice.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtQtyPerPack.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPackQty.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRefNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEditExpiryDate.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEditExpiryDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBatchNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.txtPrice); this.layoutControl1.Controls.Add(this.txtQtyPerPack); this.layoutControl1.Controls.Add(this.txtPackQty); this.layoutControl1.Controls.Add(this.txtRefNo); this.layoutControl1.Controls.Add(this.btnAddBatch); this.layoutControl1.Controls.Add(this.dateEditExpiryDate); this.layoutControl1.Controls.Add(this.txtBatchNo); this.layoutControl1.Controls.Add(this.txtItemName); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(478, 166); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // txtPrice // this.txtPrice.Location = new System.Drawing.Point(71, 108); this.txtPrice.Name = "txtPrice"; this.txtPrice.Size = new System.Drawing.Size(395, 20); this.txtPrice.StyleController = this.layoutControl1; this.txtPrice.TabIndex = 12; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Couldnt be null!"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Information; this.dxValidationProvider1.SetValidationRule(this.txtPrice, conditionValidationRule1); // // txtQtyPerPack // this.txtQtyPerPack.Location = new System.Drawing.Point(296, 84); this.txtQtyPerPack.Name = "txtQtyPerPack"; this.txtQtyPerPack.Size = new System.Drawing.Size(170, 20); this.txtQtyPerPack.StyleController = this.layoutControl1; this.txtQtyPerPack.TabIndex = 11; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Couldnt be null!"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Information; this.dxValidationProvider1.SetValidationRule(this.txtQtyPerPack, conditionValidationRule2); // // txtPackQty // this.txtPackQty.Location = new System.Drawing.Point(71, 84); this.txtPackQty.Name = "txtPackQty"; this.txtPackQty.Size = new System.Drawing.Size(162, 20); this.txtPackQty.StyleController = this.layoutControl1; this.txtPackQty.TabIndex = 10; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Couldnt be null!"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Information; this.dxValidationProvider1.SetValidationRule(this.txtPackQty, conditionValidationRule3); this.txtPackQty.TextChanged += new System.EventHandler(this.txtPackQty_TextChanged); // // txtRefNo // this.txtRefNo.Location = new System.Drawing.Point(71, 60); this.txtRefNo.Name = "txtRefNo"; this.txtRefNo.Size = new System.Drawing.Size(395, 20); this.txtRefNo.StyleController = this.layoutControl1; this.txtRefNo.TabIndex = 9; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Couldnt be null!"; conditionValidationRule4.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Information; this.dxValidationProvider1.SetValidationRule(this.txtRefNo, conditionValidationRule4); // // btnAddBatch // this.btnAddBatch.Image = global::PharmInventory.Properties.Resources.add_161; this.btnAddBatch.Location = new System.Drawing.Point(377, 132); this.btnAddBatch.Name = "btnAddBatch"; this.btnAddBatch.Size = new System.Drawing.Size(89, 22); this.btnAddBatch.StyleController = this.layoutControl1; this.btnAddBatch.TabIndex = 8; this.btnAddBatch.Text = "Add"; this.btnAddBatch.Click += new System.EventHandler(this.BtnAddBatchClick); // // dateEditExpiryDate // this.dateEditExpiryDate.EditValue = null; this.dateEditExpiryDate.Location = new System.Drawing.Point(300, 36); this.dateEditExpiryDate.Name = "dateEditExpiryDate"; this.dateEditExpiryDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dateEditExpiryDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.dateEditExpiryDate.Size = new System.Drawing.Size(166, 20); this.dateEditExpiryDate.StyleController = this.layoutControl1; this.dateEditExpiryDate.TabIndex = 7; conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule5.ErrorText = "Couldnt be null!"; conditionValidationRule5.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Information; this.dxValidationProvider1.SetValidationRule(this.dateEditExpiryDate, conditionValidationRule5); // // txtBatchNo // this.txtBatchNo.Location = new System.Drawing.Point(71, 36); this.txtBatchNo.Name = "txtBatchNo"; this.txtBatchNo.Size = new System.Drawing.Size(166, 20); this.txtBatchNo.StyleController = this.layoutControl1; this.txtBatchNo.TabIndex = 5; conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule6.ErrorText = "Couldnt be null!"; conditionValidationRule6.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Information; this.dxValidationProvider1.SetValidationRule(this.txtBatchNo, conditionValidationRule6); // // txtItemName // this.txtItemName.Location = new System.Drawing.Point(71, 12); this.txtItemName.Name = "txtItemName"; this.txtItemName.Properties.ReadOnly = true; this.txtItemName.Size = new System.Drawing.Size(395, 20); this.txtItemName.StyleController = this.layoutControl1; this.txtItemName.TabIndex = 4; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.emptySpaceItem1, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem7, this.layoutControlItem8}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(478, 166); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.txtItemName; this.layoutControlItem1.CustomizationFormText = "Item Name"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(458, 24); this.layoutControlItem1.Text = "Item Name"; this.layoutControlItem1.TextSize = new System.Drawing.Size(56, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.txtBatchNo; this.layoutControlItem2.CustomizationFormText = "Batch No."; this.layoutControlItem2.Location = new System.Drawing.Point(0, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(229, 24); this.layoutControlItem2.Text = "Batch No."; this.layoutControlItem2.TextSize = new System.Drawing.Size(56, 13); // // layoutControlItem3 // this.layoutControlItem3.Control = this.btnAddBatch; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(365, 120); this.layoutControlItem3.MinSize = new System.Drawing.Size(82, 26); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(93, 26); this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(0, 120); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(365, 26); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem4 // this.layoutControlItem4.Control = this.dateEditExpiryDate; this.layoutControlItem4.CustomizationFormText = "Expiry Date"; this.layoutControlItem4.Location = new System.Drawing.Point(229, 24); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(229, 24); this.layoutControlItem4.Text = "Expiry Date"; this.layoutControlItem4.TextSize = new System.Drawing.Size(56, 13); // // layoutControlItem5 // this.layoutControlItem5.Control = this.txtRefNo; this.layoutControlItem5.CustomizationFormText = "Ref No"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 48); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(458, 24); this.layoutControlItem5.Text = "Ref No"; this.layoutControlItem5.TextSize = new System.Drawing.Size(56, 13); // // layoutControlItem6 // this.layoutControlItem6.Control = this.txtPackQty; this.layoutControlItem6.CustomizationFormText = "Pack Qty"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 72); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(225, 24); this.layoutControlItem6.Text = "Pack Qty"; this.layoutControlItem6.TextSize = new System.Drawing.Size(56, 13); // // layoutControlItem7 // this.layoutControlItem7.Control = this.txtQtyPerPack; this.layoutControlItem7.CustomizationFormText = "Qty/Pack"; this.layoutControlItem7.Location = new System.Drawing.Point(225, 72); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(233, 24); this.layoutControlItem7.Text = "Qty/Pack"; this.layoutControlItem7.TextSize = new System.Drawing.Size(56, 13); // // layoutControlItem8 // this.layoutControlItem8.Control = this.txtPrice; this.layoutControlItem8.CustomizationFormText = "Price"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 96); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(458, 24); this.layoutControlItem8.Text = "Price"; this.layoutControlItem8.TextSize = new System.Drawing.Size(56, 13); // // NewBatch // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(478, 166); this.Controls.Add(this.layoutControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "NewBatch"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Add New Batch"; this.Load += new System.EventHandler(this.NewBatch_Load); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtPrice.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtQtyPerPack.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPackQty.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRefNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEditExpiryDate.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dateEditExpiryDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBatchNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtItemName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule8 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); 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(); this.validationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.lookUpCustomersType = new DevExpress.XtraEditors.LookUpEdit(); this.lookUpSettlementType = new DevExpress.XtraEditors.LookUpEdit(); this.txtTel1 = new DevExpress.XtraEditors.TextEdit(); this.txtLinkMan1 = new DevExpress.XtraEditors.TextEdit(); this.btneditSite = new DevExpress.XtraEditors.ButtonEdit(); this.txtName = new DevExpress.XtraEditors.TextEdit(); this.txtCode = new DevExpress.XtraEditors.TextEdit(); this.cheIsSpecial = new DevExpress.XtraEditors.CheckEdit(); this.cheIsPrepaid = new DevExpress.XtraEditors.CheckEdit(); this.cheIsSMS = new DevExpress.XtraEditors.CheckEdit(); this.txtTransferNO = new DevExpress.XtraEditors.TextEdit(); this.labelControl29 = new DevExpress.XtraEditors.LabelControl(); this.cheIsTransfer = new DevExpress.XtraEditors.CheckEdit(); this.txtBankAccount = new DevExpress.XtraEditors.TextEdit(); this.txtBankName = new DevExpress.XtraEditors.TextEdit(); this.labelControl10 = new DevExpress.XtraEditors.LabelControl(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.txtPayeePhone = new DevExpress.XtraEditors.TextEdit(); this.txtPayeeName = new DevExpress.XtraEditors.TextEdit(); this.labelControl28 = new DevExpress.XtraEditors.LabelControl(); this.labelControl27 = new DevExpress.XtraEditors.LabelControl(); this.lookUpServiceEmployeeCode = new DevExpress.XtraEditors.LookUpEdit(); this.labelControl26 = new DevExpress.XtraEditors.LabelControl(); this.txtSendPlace = new DevExpress.XtraEditors.TextEdit(); this.labelControl25 = new DevExpress.XtraEditors.LabelControl(); this.labelControl24 = new DevExpress.XtraEditors.LabelControl(); this.labelControl23 = new DevExpress.XtraEditors.LabelControl(); this.txtMail = new DevExpress.XtraEditors.TextEdit(); this.labelControl22 = new DevExpress.XtraEditors.LabelControl(); this.txtFax = new DevExpress.XtraEditors.TextEdit(); this.labelControl21 = new DevExpress.XtraEditors.LabelControl(); this.txtMSN = new DevExpress.XtraEditors.TextEdit(); this.labelControl20 = new DevExpress.XtraEditors.LabelControl(); this.txtQQ = new DevExpress.XtraEditors.TextEdit(); this.labelControl19 = new DevExpress.XtraEditors.LabelControl(); this.txtPhone2 = new DevExpress.XtraEditors.TextEdit(); this.labelControl16 = new DevExpress.XtraEditors.LabelControl(); this.txtTel2 = new DevExpress.XtraEditors.TextEdit(); this.labelControl17 = new DevExpress.XtraEditors.LabelControl(); this.txtLinkMan2 = new DevExpress.XtraEditors.TextEdit(); this.labelControl18 = new DevExpress.XtraEditors.LabelControl(); this.txtPhone1 = new DevExpress.XtraEditors.TextEdit(); this.labelControl12 = new DevExpress.XtraEditors.LabelControl(); this.labelControl14 = new DevExpress.XtraEditors.LabelControl(); this.labelControl15 = new DevExpress.XtraEditors.LabelControl(); this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); this.txtFullName = new DevExpress.XtraEditors.TextEdit(); this.txtQueryWord = new DevExpress.XtraEditors.TextEdit(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.txtRemark = new DevExpress.XtraEditors.TextEdit(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.txtAddress = new DevExpress.XtraEditors.TextEdit(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.labelControl13 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpCustomersType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpSettlementType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTel1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLinkMan1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btneditSite.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsSpecial.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsPrepaid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsSMS.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTransferNO.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsTransfer.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBankAccount.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBankName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPayeePhone.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPayeeName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpServiceEmployeeCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSendPlace.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtMail.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFax.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtMSN.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtQQ.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTel2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLinkMan2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFullName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtQueryWord.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); this.SuspendLayout(); // // lookUpCustomersType // this.lookUpCustomersType.Location = new System.Drawing.Point(247, 99); this.lookUpCustomersType.Name = "lookUpCustomersType"; this.lookUpCustomersType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpCustomersType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", "名称")}); this.lookUpCustomersType.Properties.DisplayMember = "DisplayName"; this.lookUpCustomersType.Properties.NullText = ""; this.lookUpCustomersType.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lookUpCustomersType.Properties.ValueMember = "Code"; this.lookUpCustomersType.Size = new System.Drawing.Size(100, 20); this.lookUpCustomersType.TabIndex = 114; conditionValidationRule8.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule8.ErrorText = "请选择客户类型"; conditionValidationRule8.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.lookUpCustomersType, conditionValidationRule8); // // lookUpSettlementType // this.lookUpSettlementType.Location = new System.Drawing.Point(80, 99); this.lookUpSettlementType.Name = "lookUpSettlementType"; this.lookUpSettlementType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpSettlementType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", "名称")}); this.lookUpSettlementType.Properties.DisplayMember = "DisplayName"; this.lookUpSettlementType.Properties.NullText = ""; this.lookUpSettlementType.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lookUpSettlementType.Properties.ValueMember = "Code"; this.lookUpSettlementType.Size = new System.Drawing.Size(100, 20); this.lookUpSettlementType.TabIndex = 113; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "请选择结算类型"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.lookUpSettlementType, conditionValidationRule1); // // txtTel1 // this.txtTel1.Location = new System.Drawing.Point(247, 41); this.txtTel1.Name = "txtTel1"; this.txtTel1.Size = new System.Drawing.Size(100, 20); this.txtTel1.TabIndex = 104; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "请输入固定电话"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtTel1, conditionValidationRule2); // // txtLinkMan1 // this.txtLinkMan1.Location = new System.Drawing.Point(80, 41); this.txtLinkMan1.Name = "txtLinkMan1"; this.txtLinkMan1.Size = new System.Drawing.Size(100, 20); this.txtLinkMan1.TabIndex = 103; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "请输入联系人"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtLinkMan1, conditionValidationRule3); // // btneditSite // this.btneditSite.Location = new System.Drawing.Point(80, 12); this.btneditSite.Name = "btneditSite"; this.btneditSite.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.btneditSite.Size = new System.Drawing.Size(100, 20); this.btneditSite.TabIndex = 99; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "请选择所属站点"; conditionValidationRule4.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.btneditSite, conditionValidationRule4); // // txtName // this.txtName.Location = new System.Drawing.Point(416, 12); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(100, 20); this.txtName.TabIndex = 101; conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule5.ErrorText = "请输入客户名称"; conditionValidationRule5.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtName, conditionValidationRule5); // // txtCode // this.txtCode.Location = new System.Drawing.Point(247, 12); this.txtCode.Name = "txtCode"; this.txtCode.Size = new System.Drawing.Size(100, 20); this.txtCode.TabIndex = 100; conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule6.ErrorText = "请输入客户编号"; conditionValidationRule6.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtCode, conditionValidationRule6); // // cheIsSpecial // this.cheIsSpecial.Location = new System.Drawing.Point(698, 188); this.cheIsSpecial.Name = "cheIsSpecial"; this.cheIsSpecial.Properties.Caption = "是否特殊客户"; this.cheIsSpecial.Size = new System.Drawing.Size(95, 19); this.cheIsSpecial.TabIndex = 129; // // cheIsPrepaid // this.cheIsPrepaid.Location = new System.Drawing.Point(593, 188); this.cheIsPrepaid.Name = "cheIsPrepaid"; this.cheIsPrepaid.Properties.Caption = "台、国预付"; this.cheIsPrepaid.Size = new System.Drawing.Size(85, 19); this.cheIsPrepaid.TabIndex = 128; // // cheIsSMS // this.cheIsSMS.Location = new System.Drawing.Point(498, 188); this.cheIsSMS.Name = "cheIsSMS"; this.cheIsSMS.Properties.Caption = "短信通知"; this.cheIsSMS.Size = new System.Drawing.Size(72, 19); this.cheIsSMS.TabIndex = 127; // // txtTransferNO // this.txtTransferNO.Location = new System.Drawing.Point(247, 157); this.txtTransferNO.Name = "txtTransferNO"; this.txtTransferNO.Size = new System.Drawing.Size(100, 20); this.txtTransferNO.TabIndex = 124; // // labelControl29 // this.labelControl29.Cursor = System.Windows.Forms.Cursors.Default; this.labelControl29.Location = new System.Drawing.Point(183, 160); this.labelControl29.Name = "labelControl29"; this.labelControl29.Size = new System.Drawing.Size(60, 14); this.labelControl29.TabIndex = 155; this.labelControl29.Text = "转账协议号"; // // cheIsTransfer // this.cheIsTransfer.Location = new System.Drawing.Point(78, 159); this.cheIsTransfer.Name = "cheIsTransfer"; this.cheIsTransfer.Properties.Caption = "是否转账"; this.cheIsTransfer.Size = new System.Drawing.Size(72, 19); this.cheIsTransfer.TabIndex = 123; // // txtBankAccount // this.txtBankAccount.Location = new System.Drawing.Point(715, 128); this.txtBankAccount.Name = "txtBankAccount"; this.txtBankAccount.Size = new System.Drawing.Size(81, 20); this.txtBankAccount.TabIndex = 122; // // txtBankName // this.txtBankName.Location = new System.Drawing.Point(577, 128); this.txtBankName.Name = "txtBankName"; this.txtBankName.Size = new System.Drawing.Size(78, 20); this.txtBankName.TabIndex = 121; // // labelControl10 // this.labelControl10.Location = new System.Drawing.Point(661, 131); this.labelControl10.Name = "labelControl10"; this.labelControl10.Size = new System.Drawing.Size(48, 14); this.labelControl10.TabIndex = 154; this.labelControl10.Text = "银行账户"; // // labelControl9 // this.labelControl9.Location = new System.Drawing.Point(523, 131); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(48, 14); this.labelControl9.TabIndex = 153; this.labelControl9.Text = "银行名称"; // // txtPayeePhone // this.txtPayeePhone.Location = new System.Drawing.Point(416, 128); this.txtPayeePhone.Name = "txtPayeePhone"; this.txtPayeePhone.Size = new System.Drawing.Size(100, 20); this.txtPayeePhone.TabIndex = 120; // // txtPayeeName // this.txtPayeeName.Location = new System.Drawing.Point(247, 128); this.txtPayeeName.Name = "txtPayeeName"; this.txtPayeeName.Size = new System.Drawing.Size(100, 20); this.txtPayeeName.TabIndex = 119; // // labelControl28 // this.labelControl28.Location = new System.Drawing.Point(350, 131); this.labelControl28.Name = "labelControl28"; this.labelControl28.Size = new System.Drawing.Size(60, 14); this.labelControl28.TabIndex = 152; this.labelControl28.Text = "收款人电话"; // // labelControl27 // this.labelControl27.Location = new System.Drawing.Point(207, 131); this.labelControl27.Name = "labelControl27"; this.labelControl27.Size = new System.Drawing.Size(36, 14); this.labelControl27.TabIndex = 151; this.labelControl27.Text = "收款人"; // // lookUpServiceEmployeeCode // this.lookUpServiceEmployeeCode.Location = new System.Drawing.Point(80, 128); this.lookUpServiceEmployeeCode.Name = "lookUpServiceEmployeeCode"; this.lookUpServiceEmployeeCode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpServiceEmployeeCode.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("QueryWord", "查询简称"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("EmployeeName", "姓名")}); this.lookUpServiceEmployeeCode.Properties.DisplayMember = "EmployeeName"; this.lookUpServiceEmployeeCode.Properties.NullText = ""; this.lookUpServiceEmployeeCode.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lookUpServiceEmployeeCode.Properties.ValueMember = "EmployeeCode"; this.lookUpServiceEmployeeCode.Size = new System.Drawing.Size(100, 20); this.lookUpServiceEmployeeCode.TabIndex = 118; // // labelControl26 // this.labelControl26.Location = new System.Drawing.Point(12, 131); this.labelControl26.Name = "labelControl26"; this.labelControl26.Size = new System.Drawing.Size(48, 14); this.labelControl26.TabIndex = 150; this.labelControl26.Text = "所属客服"; // // txtSendPlace // this.txtSendPlace.Location = new System.Drawing.Point(416, 99); this.txtSendPlace.Name = "txtSendPlace"; this.txtSendPlace.Size = new System.Drawing.Size(100, 20); this.txtSendPlace.TabIndex = 116; // // labelControl25 // this.labelControl25.Location = new System.Drawing.Point(374, 102); this.labelControl25.Name = "labelControl25"; this.labelControl25.Size = new System.Drawing.Size(36, 14); this.labelControl25.TabIndex = 149; this.labelControl25.Text = "寄件地"; // // labelControl24 // this.labelControl24.Location = new System.Drawing.Point(195, 102); this.labelControl24.Name = "labelControl24"; this.labelControl24.Size = new System.Drawing.Size(48, 14); this.labelControl24.TabIndex = 148; this.labelControl24.Text = "客户类型"; // // labelControl23 // this.labelControl23.Location = new System.Drawing.Point(12, 102); this.labelControl23.Name = "labelControl23"; this.labelControl23.Size = new System.Drawing.Size(48, 14); this.labelControl23.TabIndex = 147; this.labelControl23.Text = "结算类型"; // // txtMail // this.txtMail.Location = new System.Drawing.Point(715, 70); this.txtMail.Name = "txtMail"; this.txtMail.Size = new System.Drawing.Size(81, 20); this.txtMail.TabIndex = 112; // // labelControl22 // this.labelControl22.Location = new System.Drawing.Point(677, 73); this.labelControl22.Name = "labelControl22"; this.labelControl22.Size = new System.Drawing.Size(32, 14); this.labelControl22.TabIndex = 146; this.labelControl22.Text = "E-Mail"; // // txtFax // this.txtFax.Location = new System.Drawing.Point(577, 70); this.txtFax.Name = "txtFax"; this.txtFax.Size = new System.Drawing.Size(78, 20); this.txtFax.TabIndex = 111; // // labelControl21 // this.labelControl21.Location = new System.Drawing.Point(547, 73); this.labelControl21.Name = "labelControl21"; this.labelControl21.Size = new System.Drawing.Size(24, 14); this.labelControl21.TabIndex = 145; this.labelControl21.Text = "传真"; // // txtMSN // this.txtMSN.Location = new System.Drawing.Point(715, 41); this.txtMSN.Name = "txtMSN"; this.txtMSN.Size = new System.Drawing.Size(81, 20); this.txtMSN.TabIndex = 107; // // labelControl20 // this.labelControl20.Location = new System.Drawing.Point(685, 44); this.labelControl20.Name = "labelControl20"; this.labelControl20.Size = new System.Drawing.Size(24, 14); this.labelControl20.TabIndex = 144; this.labelControl20.Text = "MSN"; // // txtQQ // this.txtQQ.Location = new System.Drawing.Point(577, 41); this.txtQQ.Name = "txtQQ"; this.txtQQ.Size = new System.Drawing.Size(78, 20); this.txtQQ.TabIndex = 106; // // labelControl19 // this.labelControl19.Location = new System.Drawing.Point(553, 44); this.labelControl19.Name = "labelControl19"; this.labelControl19.Size = new System.Drawing.Size(18, 14); this.labelControl19.TabIndex = 143; this.labelControl19.Text = "QQ"; // // txtPhone2 // this.txtPhone2.Location = new System.Drawing.Point(416, 70); this.txtPhone2.Name = "txtPhone2"; this.txtPhone2.Size = new System.Drawing.Size(100, 20); this.txtPhone2.TabIndex = 110; // // labelControl16 // this.labelControl16.Location = new System.Drawing.Point(355, 73); this.labelControl16.Name = "labelControl16"; this.labelControl16.Size = new System.Drawing.Size(55, 14); this.labelControl16.TabIndex = 142; this.labelControl16.Text = "手机号码2"; // // txtTel2 // this.txtTel2.Location = new System.Drawing.Point(247, 70); this.txtTel2.Name = "txtTel2"; this.txtTel2.Size = new System.Drawing.Size(100, 20); this.txtTel2.TabIndex = 109; // // labelControl17 // this.labelControl17.Location = new System.Drawing.Point(188, 73); this.labelControl17.Name = "labelControl17"; this.labelControl17.Size = new System.Drawing.Size(55, 14); this.labelControl17.TabIndex = 141; this.labelControl17.Text = "固定电话2"; // // txtLinkMan2 // this.txtLinkMan2.Location = new System.Drawing.Point(80, 70); this.txtLinkMan2.Name = "txtLinkMan2"; this.txtLinkMan2.Size = new System.Drawing.Size(100, 20); this.txtLinkMan2.TabIndex = 108; // // labelControl18 // this.labelControl18.Location = new System.Drawing.Point(17, 73); this.labelControl18.Name = "labelControl18"; this.labelControl18.Size = new System.Drawing.Size(43, 14); this.labelControl18.TabIndex = 140; this.labelControl18.Text = "联系人2"; // // txtPhone1 // this.txtPhone1.Location = new System.Drawing.Point(416, 41); this.txtPhone1.Name = "txtPhone1"; this.txtPhone1.Size = new System.Drawing.Size(100, 20); this.txtPhone1.TabIndex = 105; // // labelControl12 // this.labelControl12.Location = new System.Drawing.Point(355, 44); this.labelControl12.Name = "labelControl12"; this.labelControl12.Size = new System.Drawing.Size(55, 14); this.labelControl12.TabIndex = 139; this.labelControl12.Text = "手机号码1"; // // labelControl14 // this.labelControl14.Location = new System.Drawing.Point(188, 44); this.labelControl14.Name = "labelControl14"; this.labelControl14.Size = new System.Drawing.Size(55, 14); this.labelControl14.TabIndex = 138; this.labelControl14.Text = "固定电话1"; // // labelControl15 // this.labelControl15.Location = new System.Drawing.Point(17, 44); this.labelControl15.Name = "labelControl15"; this.labelControl15.Size = new System.Drawing.Size(43, 14); this.labelControl15.TabIndex = 137; this.labelControl15.Text = "联系人1"; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(523, 15); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(48, 14); this.labelControl7.TabIndex = 136; this.labelControl7.Text = "客户全称"; // // txtFullName // this.txtFullName.Location = new System.Drawing.Point(577, 12); this.txtFullName.Name = "txtFullName"; this.txtFullName.Size = new System.Drawing.Size(219, 20); this.txtFullName.TabIndex = 102; // // txtQueryWord // this.txtQueryWord.Location = new System.Drawing.Point(416, 156); this.txtQueryWord.Name = "txtQueryWord"; this.txtQueryWord.Size = new System.Drawing.Size(100, 20); this.txtQueryWord.TabIndex = 125; // // labelControl11 // this.labelControl11.Location = new System.Drawing.Point(362, 160); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(48, 14); this.labelControl11.TabIndex = 135; this.labelControl11.Text = "查询简写"; // // labelControl6 // this.labelControl6.Location = new System.Drawing.Point(12, 15); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(48, 14); this.labelControl6.TabIndex = 134; this.labelControl6.Text = "所属站点"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(547, 102); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(24, 14); this.labelControl2.TabIndex = 133; this.labelControl2.Text = "地址"; // // labelControl3 // this.labelControl3.Cursor = System.Windows.Forms.Cursors.Default; this.labelControl3.Location = new System.Drawing.Point(362, 15); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(48, 14); this.labelControl3.TabIndex = 132; this.labelControl3.Text = "客户姓名"; // // txtRemark // this.txtRemark.Location = new System.Drawing.Point(577, 157); this.txtRemark.Name = "txtRemark"; this.txtRemark.Size = new System.Drawing.Size(219, 20); this.txtRemark.TabIndex = 126; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(547, 159); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(24, 14); this.labelControl4.TabIndex = 131; this.labelControl4.Text = "备注"; // // txtAddress // this.txtAddress.Location = new System.Drawing.Point(577, 99); this.txtAddress.Name = "txtAddress"; this.txtAddress.Size = new System.Drawing.Size(219, 20); this.txtAddress.TabIndex = 117; // // panelControl2 // this.panelControl2.Controls.Add(this.btnCancel); this.panelControl2.Controls.Add(this.btnSave); this.panelControl2.Dock = System.Windows.Forms.DockStyle.Bottom; this.panelControl2.Location = new System.Drawing.Point(0, 226); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(815, 40); this.panelControl2.TabIndex = 115; // // btnCancel // this.btnCancel.Image = global::LDL.Client.Properties.Resources.Action_Cancel; this.btnCancel.Location = new System.Drawing.Point(364, 8); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(80, 25); this.btnCancel.TabIndex = 33; this.btnCancel.Text = "取消(&C)"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnSave // this.btnSave.Image = global::LDL.Client.Properties.Resources.Action_Save; this.btnSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleLeft; this.btnSave.Location = new System.Drawing.Point(278, 8); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(80, 25); this.btnSave.TabIndex = 32; this.btnSave.Text = "保存(&S)"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // labelControl13 // this.labelControl13.Location = new System.Drawing.Point(195, 15); this.labelControl13.Name = "labelControl13"; this.labelControl13.Size = new System.Drawing.Size(48, 14); this.labelControl13.TabIndex = 98; this.labelControl13.Text = "客户编号"; // // FrmCustomersEdit // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(815, 266); this.Controls.Add(this.cheIsSpecial); this.Controls.Add(this.cheIsPrepaid); this.Controls.Add(this.cheIsSMS); this.Controls.Add(this.txtTransferNO); this.Controls.Add(this.labelControl29); this.Controls.Add(this.cheIsTransfer); this.Controls.Add(this.txtBankAccount); this.Controls.Add(this.txtBankName); this.Controls.Add(this.labelControl10); this.Controls.Add(this.labelControl9); this.Controls.Add(this.txtPayeePhone); this.Controls.Add(this.txtPayeeName); this.Controls.Add(this.labelControl28); this.Controls.Add(this.labelControl27); this.Controls.Add(this.lookUpServiceEmployeeCode); this.Controls.Add(this.labelControl26); this.Controls.Add(this.txtSendPlace); this.Controls.Add(this.labelControl25); this.Controls.Add(this.lookUpCustomersType); this.Controls.Add(this.labelControl24); this.Controls.Add(this.lookUpSettlementType); this.Controls.Add(this.labelControl23); this.Controls.Add(this.txtMail); this.Controls.Add(this.labelControl22); this.Controls.Add(this.txtFax); this.Controls.Add(this.labelControl21); this.Controls.Add(this.txtMSN); this.Controls.Add(this.labelControl20); this.Controls.Add(this.txtQQ); this.Controls.Add(this.labelControl19); this.Controls.Add(this.txtPhone2); this.Controls.Add(this.labelControl16); this.Controls.Add(this.txtTel2); this.Controls.Add(this.labelControl17); this.Controls.Add(this.txtLinkMan2); this.Controls.Add(this.labelControl18); this.Controls.Add(this.txtPhone1); this.Controls.Add(this.labelControl12); this.Controls.Add(this.txtTel1); this.Controls.Add(this.labelControl14); this.Controls.Add(this.txtLinkMan1); this.Controls.Add(this.labelControl15); this.Controls.Add(this.labelControl7); this.Controls.Add(this.txtFullName); this.Controls.Add(this.btneditSite); this.Controls.Add(this.txtQueryWord); this.Controls.Add(this.labelControl11); this.Controls.Add(this.labelControl6); this.Controls.Add(this.labelControl2); this.Controls.Add(this.txtName); this.Controls.Add(this.labelControl3); this.Controls.Add(this.txtRemark); this.Controls.Add(this.labelControl4); this.Controls.Add(this.txtAddress); this.Controls.Add(this.panelControl2); this.Controls.Add(this.txtCode); this.Controls.Add(this.labelControl13); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FrmCustomersEdit"; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "客户编辑"; this.Load += new System.EventHandler(this.FrmCustomersEdit_Load); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpCustomersType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpSettlementType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTel1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLinkMan1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btneditSite.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsSpecial.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsPrepaid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsSMS.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTransferNO.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cheIsTransfer.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBankAccount.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBankName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPayeePhone.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPayeeName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpServiceEmployeeCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSendPlace.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtMail.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFax.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtMSN.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtQQ.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtTel2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLinkMan2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPhone1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtFullName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtQueryWord.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VehicleGroupEditorForm)); this.gcVehicleGroup = new DevExpress.XtraEditors.GroupControl(); this.txtGroupName = new DevExpress.XtraEditors.TextEdit(); this.lblGroupName = new DevExpress.XtraEditors.LabelControl(); this.lookupCustomer = new DevExpress.XtraEditors.LookUpEdit(); this.lblCustomer = new DevExpress.XtraEditors.LabelControl(); this.valCustomer = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.valName = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.gcVehicleGroup)).BeginInit(); this.gcVehicleGroup.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtGroupName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookupCustomer.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valCustomer)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).BeginInit(); this.SuspendLayout(); // // gcVehicleGroup // this.gcVehicleGroup.Controls.Add(this.txtGroupName); this.gcVehicleGroup.Controls.Add(this.lblGroupName); this.gcVehicleGroup.Controls.Add(this.lookupCustomer); this.gcVehicleGroup.Controls.Add(this.lblCustomer); this.gcVehicleGroup.Dock = System.Windows.Forms.DockStyle.Fill; this.gcVehicleGroup.Location = new System.Drawing.Point(0, 0); this.gcVehicleGroup.Name = "gcVehicleGroup"; this.gcVehicleGroup.Size = new System.Drawing.Size(390, 100); this.gcVehicleGroup.TabIndex = 1; this.gcVehicleGroup.Text = "Informasi Kelompok"; // // txtGroupName // this.txtGroupName.Location = new System.Drawing.Point(111, 66); this.txtGroupName.Name = "txtGroupName"; this.txtGroupName.Size = new System.Drawing.Size(265, 20); this.txtGroupName.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Nama Kelompok harus diisi!"; this.valName.SetValidationRule(this.txtGroupName, conditionValidationRule1); // // lblGroupName // this.lblGroupName.Location = new System.Drawing.Point(14, 69); this.lblGroupName.Name = "lblGroupName"; this.lblGroupName.Size = new System.Drawing.Size(75, 13); this.lblGroupName.TabIndex = 2; this.lblGroupName.Text = "Nama Kelompok"; // // lookupCustomer // this.lookupCustomer.Location = new System.Drawing.Point(111, 30); this.lookupCustomer.Name = "lookupCustomer"; this.lookupCustomer.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.lookupCustomer.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookupCustomer.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Code", "Kode"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("CompanyName", "Nama Perusahaan"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Address", "Alamat")}); this.lookupCustomer.Properties.DisplayMember = "CompanyName"; this.lookupCustomer.Properties.HideSelection = false; this.lookupCustomer.Properties.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned; this.lookupCustomer.Properties.NullText = "-- Pilih Customer --"; this.lookupCustomer.Properties.ValueMember = "Id"; this.lookupCustomer.Size = new System.Drawing.Size(265, 20); this.lookupCustomer.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.NotEquals; conditionValidationRule2.ErrorText = "Pilih Customer"; conditionValidationRule2.Value1 = "-- Pilih Customer --"; this.valCustomer.SetValidationRule(this.lookupCustomer, conditionValidationRule2); // // lblCustomer // this.lblCustomer.Location = new System.Drawing.Point(14, 33); this.lblCustomer.Name = "lblCustomer"; this.lblCustomer.Size = new System.Drawing.Size(46, 13); this.lblCustomer.TabIndex = 0; this.lblCustomer.Text = "Customer"; // // VehicleGroupEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(390, 149); this.Controls.Add(this.gcVehicleGroup); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "VehicleGroupEditorForm"; this.Text = "Kelompok Editor"; this.Controls.SetChildIndex(this.gcVehicleGroup, 0); ((System.ComponentModel.ISupportInitialize)(this.gcVehicleGroup)).EndInit(); this.gcVehicleGroup.ResumeLayout(false); this.gcVehicleGroup.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtGroupName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookupCustomer.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valCustomer)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); this.chkusing = new FAC.Login.Controls.CheckCtl(); this.txtjobnum = new Ultra.FASControls.LabelTextBox(); this.txtrealname = new Ultra.FASControls.LabelTextBox(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); this.txtmobile = new Ultra.FASControls.LabelTextBox(); this.edtProduce = new DevExpress.XtraEditors.LookUpEdit(); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkusing.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtjobnum.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtrealname.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmobile.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtProduce.Properties)).BeginInit(); this.SuspendLayout(); // // btnClose // this.btnClose.Location = new System.Drawing.Point(331, 7); // // btnOK // this.btnOK.Location = new System.Drawing.Point(246, 8); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // pnlMain // this.pnlMain.Size = new System.Drawing.Size(392, 198); // // pnlFill // this.pnlFill.Controls.Add(this.edtProduce); this.pnlFill.Controls.Add(this.txtmobile); this.pnlFill.Controls.Add(this.chkusing); this.pnlFill.Controls.Add(this.txtjobnum); this.pnlFill.Controls.Add(this.txtrealname); this.pnlFill.Size = new System.Drawing.Size(392, 152); // // pnlBottom // this.pnlBottom.Location = new System.Drawing.Point(0, 152); this.pnlBottom.Size = new System.Drawing.Size(392, 46); // // chkusing // this.chkusing.EditValue = true; this.chkusing.Location = new System.Drawing.Point(9, 121); this.chkusing.Name = "chkusing"; this.chkusing.Properties.Caption = "启用"; this.chkusing.Size = new System.Drawing.Size(75, 19); this.chkusing.TabIndex = 8; // // txtjobnum // this.txtjobnum.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtjobnum.LabelText = "工号"; this.txtjobnum.Location = new System.Drawing.Point(9, 39); this.txtjobnum.Name = "txtjobnum"; serializableAppearanceObject3.Options.UseTextOptions = true; serializableAppearanceObject3.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.txtjobnum.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "工号", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true)}); this.txtjobnum.Size = new System.Drawing.Size(371, 21); this.txtjobnum.TabIndex = 4; // // txtrealname // this.txtrealname.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtrealname.LabelText = "姓名"; this.txtrealname.Location = new System.Drawing.Point(9, 12); this.txtrealname.Name = "txtrealname"; serializableAppearanceObject4.Options.UseTextOptions = true; serializableAppearanceObject4.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.txtrealname.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "姓名", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "", null, null, true)}); this.txtrealname.Size = new System.Drawing.Size(371, 21); this.txtrealname.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "必须填写"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.txtrealname, conditionValidationRule1); // // txtmobile // this.txtmobile.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtmobile.LabelText = "手机"; this.txtmobile.Location = new System.Drawing.Point(9, 94); this.txtmobile.Name = "txtmobile"; serializableAppearanceObject2.Options.UseTextOptions = true; serializableAppearanceObject2.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.txtmobile.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "手机", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)}); this.txtmobile.Size = new System.Drawing.Size(371, 21); this.txtmobile.TabIndex = 9; // // edtProduce // this.edtProduce.Location = new System.Drawing.Point(9, 66); this.edtProduce.Name = "edtProduce"; serializableAppearanceObject1.Options.UseTextOptions = true; serializableAppearanceObject1.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.edtProduce.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "部门", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); this.edtProduce.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ProcedureName", "部门")}); this.edtProduce.Properties.DisplayMember = "ProcedureName"; this.edtProduce.Properties.NullText = ""; this.edtProduce.Properties.ValueMember = "ProcedureName"; this.edtProduce.Size = new System.Drawing.Size(371, 21); this.edtProduce.TabIndex = 10; // // EdtView // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(392, 198); this.Name = "EdtView"; this.Text = "用户信息"; this.Load += new System.EventHandler(this.EdtView_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.chkusing.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtjobnum.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtrealname.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtmobile.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtProduce.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.labelTextBox1 = new Ultra.FASControls.LabelTextBox(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.memoEdit1 = new DevExpress.XtraEditors.MemoEdit(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.labelTextBox1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // btnClose // this.btnClose.Location = new System.Drawing.Point(195, 5); // // btnOK // this.btnOK.Location = new System.Drawing.Point(110, 6); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // pnlMain // this.pnlMain.Size = new System.Drawing.Size(350, 193); // // pnlFill // this.pnlFill.Controls.Add(this.memoEdit1); this.pnlFill.Controls.Add(this.labelControl1); this.pnlFill.Controls.Add(this.labelTextBox1); this.pnlFill.Size = new System.Drawing.Size(350, 147); // // pnlBottom // this.pnlBottom.Location = new System.Drawing.Point(0, 147); this.pnlBottom.Size = new System.Drawing.Size(350, 46); // // labelTextBox1 // this.labelTextBox1.EditValue = ""; this.labelTextBox1.LabelText = "售后单号"; this.labelTextBox1.Location = new System.Drawing.Point(12, 12); this.labelTextBox1.Name = "labelTextBox1"; serializableAppearanceObject1.Options.UseTextOptions = true; serializableAppearanceObject1.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.labelTextBox1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "售后单号", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); this.labelTextBox1.Properties.ReadOnly = true; this.labelTextBox1.Size = new System.Drawing.Size(332, 21); this.labelTextBox1.TabIndex = 9; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(12, 49); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(24, 14); this.labelControl1.TabIndex = 10; this.labelControl1.Text = "备注"; // // memoEdit1 // this.memoEdit1.Location = new System.Drawing.Point(42, 47); this.memoEdit1.Name = "memoEdit1"; this.memoEdit1.Properties.MaxLength = 200; this.memoEdit1.Size = new System.Drawing.Size(302, 96); this.memoEdit1.TabIndex = 11; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "必须填写"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.memoEdit1, conditionValidationRule1); // // InvalidAfterSale // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(350, 193); this.Name = "InvalidAfterSale"; this.Text = "作废"; this.Load += new System.EventHandler(this.InvalidAdjView_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); this.pnlFill.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.labelTextBox1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.memoEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmHayvanYem)); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.hAYVANYEMKARISIMYEMTURUBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colKAYITNO = new DevExpress.XtraGrid.Columns.GridColumn(); this.colHAYVAN_KAYITNO = new DevExpress.XtraGrid.Columns.GridColumn(); this.colKARISIM_SIRANO = new DevExpress.XtraGrid.Columns.GridColumn(); this.colYEM_SAATI = new DevExpress.XtraGrid.Columns.GridColumn(); this.colACIKLAMA = new DevExpress.XtraGrid.Columns.GridColumn(); this.colHAYVAN = new DevExpress.XtraGrid.Columns.GridColumn(); this.colYEM_KARISIM = new DevExpress.XtraGrid.Columns.GridColumn(); this.txtAciklama = new DevExpress.XtraEditors.TextEdit(); this.deYemSaati = new DevExpress.XtraEditors.DateEdit(); this.cmbYemKarisim = new DevExpress.XtraEditors.ComboBoxEdit(); this.txtHayvan = new DevExpress.XtraEditors.TextEdit(); this.Root = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.barManager1 = new DevExpress.XtraBars.BarManager(this.components); this.bar3 = new DevExpress.XtraBars.Bar(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem3 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem4 = new DevExpress.XtraBars.BarButtonItem(); this.barDockControlTop = new DevExpress.XtraBars.BarDockControl(); this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl(); this.barDockControlLeft = new DevExpress.XtraBars.BarDockControl(); this.barDockControlRight = new DevExpress.XtraBars.BarDockControl(); this.imageCollection2 = new DevExpress.Utils.ImageCollection(this.components); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.hAYVANYEMKARISIMYEMTURUBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAciklama.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deYemSaati.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deYemSaati.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbYemKarisim.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtHayvan.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.gridControl1); this.layoutControl1.Controls.Add(this.txtAciklama); this.layoutControl1.Controls.Add(this.deYemSaati); this.layoutControl1.Controls.Add(this.cmbYemKarisim); this.layoutControl1.Controls.Add(this.txtHayvan); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.Root; this.layoutControl1.Size = new System.Drawing.Size(478, 377); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // gridControl1 // this.gridControl1.DataSource = this.hAYVANYEMKARISIMYEMTURUBindingSource; this.gridControl1.Location = new System.Drawing.Point(3, 75); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(472, 299); this.gridControl1.TabIndex = 8; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // hAYVANYEMKARISIMYEMTURUBindingSource // this.hAYVANYEMKARISIMYEMTURUBindingSource.DataSource = typeof(CYSLAU.DB.HAYVAN_YEM_KARISIM_YEM_TURU); // // gridView1 // this.gridView1.Appearance.EvenRow.BackColor = System.Drawing.Color.AliceBlue; this.gridView1.Appearance.EvenRow.Options.UseBackColor = true; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colKAYITNO, this.colHAYVAN_KAYITNO, this.colKARISIM_SIRANO, this.colYEM_SAATI, this.colACIKLAMA, this.colHAYVAN, this.colYEM_KARISIM }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsView.EnableAppearanceEvenRow = true; this.gridView1.OptionsView.ShowGroupPanel = false; this.gridView1.OptionsView.ShowIndicator = false; this.gridView1.RowHeight = 27; // // colKAYITNO // this.colKAYITNO.Caption = "Kayıt No"; this.colKAYITNO.FieldName = "KAYITNO"; this.colKAYITNO.Name = "colKAYITNO"; this.colKAYITNO.OptionsColumn.AllowEdit = false; this.colKAYITNO.OptionsColumn.AllowFocus = false; this.colKAYITNO.OptionsColumn.ReadOnly = true; this.colKAYITNO.Visible = true; this.colKAYITNO.VisibleIndex = 0; // // colHAYVAN_KAYITNO // this.colHAYVAN_KAYITNO.FieldName = "HAYVAN_KAYITNO"; this.colHAYVAN_KAYITNO.Name = "colHAYVAN_KAYITNO"; this.colHAYVAN_KAYITNO.OptionsColumn.AllowEdit = false; this.colHAYVAN_KAYITNO.OptionsColumn.AllowFocus = false; this.colHAYVAN_KAYITNO.OptionsColumn.ReadOnly = true; // // colKARISIM_SIRANO // this.colKARISIM_SIRANO.FieldName = "KARISIM_SIRANO"; this.colKARISIM_SIRANO.Name = "colKARISIM_SIRANO"; this.colKARISIM_SIRANO.OptionsColumn.AllowEdit = false; this.colKARISIM_SIRANO.OptionsColumn.AllowFocus = false; this.colKARISIM_SIRANO.OptionsColumn.ReadOnly = true; // // colYEM_SAATI // this.colYEM_SAATI.Caption = "Yem Saati"; this.colYEM_SAATI.FieldName = "YEM_SAATI"; this.colYEM_SAATI.Name = "colYEM_SAATI"; this.colYEM_SAATI.OptionsColumn.AllowEdit = false; this.colYEM_SAATI.OptionsColumn.AllowFocus = false; this.colYEM_SAATI.OptionsColumn.ReadOnly = true; this.colYEM_SAATI.Visible = true; this.colYEM_SAATI.VisibleIndex = 1; // // colACIKLAMA // this.colACIKLAMA.Caption = "İşlem Açıklama"; this.colACIKLAMA.FieldName = "ACIKLAMA"; this.colACIKLAMA.Name = "colACIKLAMA"; this.colACIKLAMA.OptionsColumn.AllowEdit = false; this.colACIKLAMA.OptionsColumn.AllowFocus = false; this.colACIKLAMA.OptionsColumn.ReadOnly = true; this.colACIKLAMA.Visible = true; this.colACIKLAMA.VisibleIndex = 2; // // colHAYVAN // this.colHAYVAN.FieldName = "HAYVAN"; this.colHAYVAN.Name = "colHAYVAN"; this.colHAYVAN.OptionsColumn.AllowEdit = false; this.colHAYVAN.OptionsColumn.AllowFocus = false; this.colHAYVAN.OptionsColumn.ReadOnly = true; // // colYEM_KARISIM // this.colYEM_KARISIM.Caption = "Verilen Yem"; this.colYEM_KARISIM.FieldName = "YEM_KARISIM.ACIKLAMA"; this.colYEM_KARISIM.Name = "colYEM_KARISIM"; this.colYEM_KARISIM.OptionsColumn.AllowEdit = false; this.colYEM_KARISIM.OptionsColumn.AllowFocus = false; this.colYEM_KARISIM.OptionsColumn.ReadOnly = true; this.colYEM_KARISIM.Visible = true; this.colYEM_KARISIM.VisibleIndex = 3; // // txtAciklama // this.txtAciklama.Location = new System.Drawing.Point(71, 51); this.txtAciklama.Name = "txtAciklama"; this.txtAciklama.Size = new System.Drawing.Size(404, 20); this.txtAciklama.StyleController = this.layoutControl1; this.txtAciklama.TabIndex = 7; // // deYemSaati // this.deYemSaati.EditValue = null; this.deYemSaati.Location = new System.Drawing.Point(309, 3); this.deYemSaati.Name = "deYemSaati"; this.deYemSaati.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.deYemSaati.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.deYemSaati.Properties.Mask.EditMask = "g"; this.deYemSaati.Size = new System.Drawing.Size(166, 20); this.deYemSaati.StyleController = this.layoutControl1; this.deYemSaati.TabIndex = 6; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Yem saati girilmelidir"; this.dxValidationProvider1.SetValidationRule(this.deYemSaati, conditionValidationRule3); // // cmbYemKarisim // this.cmbYemKarisim.Location = new System.Drawing.Point(71, 27); this.cmbYemKarisim.Name = "cmbYemKarisim"; this.cmbYemKarisim.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cmbYemKarisim.Size = new System.Drawing.Size(404, 20); this.cmbYemKarisim.StyleController = this.layoutControl1; this.cmbYemKarisim.TabIndex = 5; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Yem karışımı seçilmelidir"; this.dxValidationProvider1.SetValidationRule(this.cmbYemKarisim, conditionValidationRule1); // // txtHayvan // this.txtHayvan.Location = new System.Drawing.Point(71, 3); this.txtHayvan.Name = "txtHayvan"; this.txtHayvan.Properties.ReadOnly = true; this.txtHayvan.Size = new System.Drawing.Size(166, 20); this.txtHayvan.StyleController = this.layoutControl1; this.txtHayvan.TabIndex = 4; // // Root // this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.Root.GroupBordersVisible = false; this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem3 }); this.Root.Name = "Root"; this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1); this.Root.Size = new System.Drawing.Size(478, 377); this.Root.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.txtHayvan; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(238, 24); this.layoutControlItem1.Text = "Hayvan Bilgisi"; this.layoutControlItem1.TextSize = new System.Drawing.Size(65, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.cmbYemKarisim; this.layoutControlItem2.Location = new System.Drawing.Point(0, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(476, 24); this.layoutControlItem2.Text = "Yem Karışımı"; this.layoutControlItem2.TextSize = new System.Drawing.Size(65, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.txtAciklama; this.layoutControlItem4.Location = new System.Drawing.Point(0, 48); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(476, 24); this.layoutControlItem4.Text = "Açıklama"; this.layoutControlItem4.TextSize = new System.Drawing.Size(65, 13); // // layoutControlItem5 // this.layoutControlItem5.Control = this.gridControl1; this.layoutControlItem5.Location = new System.Drawing.Point(0, 72); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(476, 303); this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextVisible = false; // // layoutControlItem3 // this.layoutControlItem3.Control = this.deYemSaati; this.layoutControlItem3.Location = new System.Drawing.Point(238, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(238, 24); this.layoutControlItem3.Text = "Yem Saati"; this.layoutControlItem3.TextSize = new System.Drawing.Size(65, 13); // // barManager1 // this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] { this.bar3 }); this.barManager1.DockControls.Add(this.barDockControlTop); this.barManager1.DockControls.Add(this.barDockControlBottom); this.barManager1.DockControls.Add(this.barDockControlLeft); this.barManager1.DockControls.Add(this.barDockControlRight); this.barManager1.Form = this; this.barManager1.Images = this.imageCollection2; this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.barButtonItem1, this.barButtonItem2, this.barButtonItem3, this.barButtonItem4 }); this.barManager1.MaxItemId = 4; this.barManager1.StatusBar = this.bar3; // // bar3 // this.bar3.BarName = "Status bar"; this.bar3.CanDockStyle = DevExpress.XtraBars.BarCanDockStyle.Bottom; this.bar3.DockCol = 0; this.bar3.DockRow = 0; this.bar3.DockStyle = DevExpress.XtraBars.BarDockStyle.Bottom; this.bar3.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] { new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem1), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem2), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem3), new DevExpress.XtraBars.LinkPersistInfo(this.barButtonItem4) }); this.bar3.OptionsBar.AllowQuickCustomization = false; this.bar3.OptionsBar.DrawDragBorder = false; this.bar3.OptionsBar.UseWholeRow = true; this.bar3.Text = "Status bar"; // // barButtonItem1 // this.barButtonItem1.Caption = "Kaydet"; this.barButtonItem1.Id = 0; this.barButtonItem1.ImageOptions.ImageIndex = 10; this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // barButtonItem2 // this.barButtonItem2.Caption = "Sil"; this.barButtonItem2.Id = 1; this.barButtonItem2.ImageOptions.ImageIndex = 13; this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // barButtonItem3 // this.barButtonItem3.Caption = "Yazdır"; this.barButtonItem3.Id = 2; this.barButtonItem3.ImageOptions.ImageIndex = 9; this.barButtonItem3.Name = "barButtonItem3"; this.barButtonItem3.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barButtonItem4 // this.barButtonItem4.Caption = "Kapat"; this.barButtonItem4.Id = 3; this.barButtonItem4.ImageOptions.ImageIndex = 22; this.barButtonItem4.Name = "barButtonItem4"; this.barButtonItem4.PaintStyle = DevExpress.XtraBars.BarItemPaintStyle.CaptionGlyph; // // barDockControlTop // this.barDockControlTop.CausesValidation = false; this.barDockControlTop.Dock = System.Windows.Forms.DockStyle.Top; this.barDockControlTop.Location = new System.Drawing.Point(0, 0); this.barDockControlTop.Manager = this.barManager1; this.barDockControlTop.Size = new System.Drawing.Size(478, 0); // // barDockControlBottom // this.barDockControlBottom.CausesValidation = false; this.barDockControlBottom.Dock = System.Windows.Forms.DockStyle.Bottom; this.barDockControlBottom.Location = new System.Drawing.Point(0, 377); this.barDockControlBottom.Manager = this.barManager1; this.barDockControlBottom.Size = new System.Drawing.Size(478, 26); // // barDockControlLeft // this.barDockControlLeft.CausesValidation = false; this.barDockControlLeft.Dock = System.Windows.Forms.DockStyle.Left; this.barDockControlLeft.Location = new System.Drawing.Point(0, 0); this.barDockControlLeft.Manager = this.barManager1; this.barDockControlLeft.Size = new System.Drawing.Size(0, 377); // // barDockControlRight // this.barDockControlRight.CausesValidation = false; this.barDockControlRight.Dock = System.Windows.Forms.DockStyle.Right; this.barDockControlRight.Location = new System.Drawing.Point(478, 0); this.barDockControlRight.Manager = this.barManager1; this.barDockControlRight.Size = new System.Drawing.Size(0, 377); // // imageCollection2 // this.imageCollection2.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imageCollection2.ImageStream"))); // // frmHayvanYem // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(478, 403); this.Controls.Add(this.layoutControl1); this.Controls.Add(this.barDockControlLeft); this.Controls.Add(this.barDockControlRight); this.Controls.Add(this.barDockControlBottom); this.Controls.Add(this.barDockControlTop); this.MaximizeBox = false; this.Name = "frmHayvanYem"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Hayvan Yem İşlemleri"; ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.hAYVANYEMKARISIMYEMTURUBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtAciklama.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deYemSaati.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deYemSaati.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbYemKarisim.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtHayvan.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.imageCollection2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.checkCtl2 = new FAC.Login.Controls.CheckCtl(); this.checkCtl1 = new FAC.Login.Controls.CheckCtl(); this.textName = new Ultra.FASControls.LabelTextBox(); this.textCode = new Ultra.FASControls.LabelTextBox(); this.areaEdtGridEdit1 = new Ultra.FASControls.BusControls.AreaEdtGridEdit(); this.areaEdtGridEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.labelGridEditColItemEx1 = new Ultra.FASControls.LabelGridEditColItemEx(); this.labelGridEditColItemEx2 = new Ultra.FASControls.LabelGridEditColItemEx(); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.checkCtl2.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.checkCtl1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.areaEdtGridEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.areaEdtGridEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // btnClose // this.btnClose.Location = new System.Drawing.Point(217, 5); // // btnOK // this.btnOK.Location = new System.Drawing.Point(132, 6); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // pnlMain // this.pnlMain.Size = new System.Drawing.Size(366, 200); // // pnlFill // this.pnlFill.Controls.Add(this.areaEdtGridEdit1); this.pnlFill.Controls.Add(this.checkCtl2); this.pnlFill.Controls.Add(this.checkCtl1); this.pnlFill.Controls.Add(this.textName); this.pnlFill.Controls.Add(this.textCode); this.pnlFill.Size = new System.Drawing.Size(366, 154); // // pnlBottom // this.pnlBottom.Location = new System.Drawing.Point(0, 154); this.pnlBottom.Size = new System.Drawing.Size(366, 46); // // checkCtl2 // this.checkCtl2.EditValue = true; this.checkCtl2.Location = new System.Drawing.Point(12, 118); this.checkCtl2.Name = "checkCtl2"; this.checkCtl2.Properties.Caption = "启用"; this.checkCtl2.Size = new System.Drawing.Size(75, 19); this.checkCtl2.TabIndex = 3; // // checkCtl1 // this.checkCtl1.Location = new System.Drawing.Point(12, 93); this.checkCtl1.Name = "checkCtl1"; this.checkCtl1.Properties.Caption = "默认"; this.checkCtl1.Size = new System.Drawing.Size(75, 19); this.checkCtl1.TabIndex = 3; // // textName // this.textName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textName.LabelText = "库位名称"; this.textName.Location = new System.Drawing.Point(12, 39); this.textName.Name = "textName"; serializableAppearanceObject3.Options.UseTextOptions = true; serializableAppearanceObject3.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.textName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "库位名称", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true)}); this.textName.Size = new System.Drawing.Size(345, 21); this.textName.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "必需输入"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.textName, conditionValidationRule2); // // textCode // this.textCode.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.textCode.LabelText = "库位代码"; this.textCode.Location = new System.Drawing.Point(12, 12); this.textCode.Name = "textCode"; serializableAppearanceObject4.Options.UseTextOptions = true; serializableAppearanceObject4.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.textCode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "库位代码", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject4, "", null, null, true)}); this.textCode.Size = new System.Drawing.Size(345, 21); this.textCode.TabIndex = 0; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "必须输入"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.textCode, conditionValidationRule3); // // areaEdtGridEdit1 // this.areaEdtGridEdit1.ClearButtonText = "清除所选"; this.areaEdtGridEdit1.ColumnCaption = "区域"; this.areaEdtGridEdit1.ColumnItemsEx.Add(this.labelGridEditColItemEx1); this.areaEdtGridEdit1.ColumnItemsEx.Add(this.labelGridEditColItemEx2); this.areaEdtGridEdit1.DisplayMember = "AreaName"; this.areaEdtGridEdit1.EditValue = ""; this.areaEdtGridEdit1.LabelText = "所属区域"; this.areaEdtGridEdit1.Location = new System.Drawing.Point(14, 67); this.areaEdtGridEdit1.Name = "areaEdtGridEdit1"; serializableAppearanceObject1.Options.UseTextOptions = true; serializableAppearanceObject1.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.areaEdtGridEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "所属区域", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "清除所选", -1, true, false, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "清除所选", null, null, true)}); this.areaEdtGridEdit1.Properties.DisplayMember = "AreaName"; this.areaEdtGridEdit1.Properties.NullText = ""; this.areaEdtGridEdit1.Properties.ValueMember = "Guid"; this.areaEdtGridEdit1.Properties.View = this.areaEdtGridEdit1View; this.areaEdtGridEdit1.SelectedValue = null; this.areaEdtGridEdit1.Size = new System.Drawing.Size(343, 21); this.areaEdtGridEdit1.TabIndex = 4; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "必需选择"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.areaEdtGridEdit1, conditionValidationRule1); this.areaEdtGridEdit1.ValueMember = "Guid"; // // areaEdtGridEdit1View // this.areaEdtGridEdit1View.Appearance.FocusedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.areaEdtGridEdit1View.Appearance.FocusedRow.Options.UseBackColor = true; this.areaEdtGridEdit1View.Appearance.SelectedRow.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(80)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.areaEdtGridEdit1View.Appearance.SelectedRow.Options.UseBackColor = true; this.areaEdtGridEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2}); this.areaEdtGridEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.areaEdtGridEdit1View.Name = "areaEdtGridEdit1View"; this.areaEdtGridEdit1View.OptionsBehavior.AutoPopulateColumns = false; this.areaEdtGridEdit1View.OptionsBehavior.Editable = false; this.areaEdtGridEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.areaEdtGridEdit1View.OptionsView.ShowGroupPanel = false; // // gridColumn1 // this.gridColumn1.Caption = "区域"; this.gridColumn1.FieldName = "AreaName"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; // // gridColumn2 // this.gridColumn2.Caption = "仓库"; this.gridColumn2.FieldName = "WareName"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 1; // // labelGridEditColItemEx1 // this.labelGridEditColItemEx1.Caption = "区域"; this.labelGridEditColItemEx1.FieldName = "AreaName"; // // labelGridEditColItemEx2 // this.labelGridEditColItemEx2.Caption = "仓库"; this.labelGridEditColItemEx2.FieldName = "WareName"; // // LocEdt // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(366, 200); this.Name = "LocEdt"; this.Text = "编辑"; this.Load += new System.EventHandler(this.LocEdt_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.checkCtl2.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.checkCtl1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.areaEdtGridEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.areaEdtGridEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TBLAddAssetComponentDlg)); this.dsData = new FixedAssets.Datasource.dsData(); this.dataLayoutControlMain = new DevExpress.XtraDataLayout.DataLayoutControl(); this.tbAddReson = new DevExpress.XtraEditors.TextEdit(); this.tbPriceOne = new DevExpress.XtraEditors.TextEdit(); this.tbAddComponentezn = new DevExpress.XtraEditors.TextEdit(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.lueComponentId = new DevExpress.XtraEditors.LookUpEdit(); this.LSMSCDComponents = new DevExpress.Data.Linq.LinqServerModeSource(); this.tbAddQuantity = new DevExpress.XtraEditors.TextEdit(); this.deAdddate = new DevExpress.XtraEditors.DateEdit(); this.layoutControlGroupMain = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.ItemForAssetplaceId = new DevExpress.XtraLayout.LayoutControlItem(); this.ItemForEmpOhda = 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.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.dxValidationProviderMain = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.dsData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControlMain)).BeginInit(); this.dataLayoutControlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbAddReson.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbPriceOne.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbAddComponentezn.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueComponentId.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSCDComponents)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbAddQuantity.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deAdddate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deAdddate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupMain)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForAssetplaceId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForEmpOhda)).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.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).BeginInit(); this.SuspendLayout(); // // dsData // this.dsData.DataSetName = "dsData"; this.dsData.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // dataLayoutControlMain // this.dataLayoutControlMain.Controls.Add(this.tbAddReson); this.dataLayoutControlMain.Controls.Add(this.tbPriceOne); this.dataLayoutControlMain.Controls.Add(this.tbAddComponentezn); this.dataLayoutControlMain.Controls.Add(this.btnSave); this.dataLayoutControlMain.Controls.Add(this.btnCancel); this.dataLayoutControlMain.Controls.Add(this.lueComponentId); this.dataLayoutControlMain.Controls.Add(this.tbAddQuantity); this.dataLayoutControlMain.Controls.Add(this.deAdddate); this.dataLayoutControlMain.DataMember = "TblAssets"; this.dataLayoutControlMain.DataSource = this.dsData; this.dataLayoutControlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.dataLayoutControlMain.Location = new System.Drawing.Point(0, 0); this.dataLayoutControlMain.Name = "dataLayoutControlMain"; this.dataLayoutControlMain.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(789, 140, 330, 510); this.dataLayoutControlMain.OptionsPrint.AppearanceGroupCaption.BackColor = System.Drawing.Color.LightGray; this.dataLayoutControlMain.OptionsPrint.AppearanceGroupCaption.Font = new System.Drawing.Font("Tahoma", 10.25F); this.dataLayoutControlMain.OptionsPrint.AppearanceGroupCaption.Options.UseBackColor = true; this.dataLayoutControlMain.OptionsPrint.AppearanceGroupCaption.Options.UseFont = true; this.dataLayoutControlMain.OptionsPrint.AppearanceGroupCaption.Options.UseTextOptions = true; this.dataLayoutControlMain.OptionsPrint.AppearanceGroupCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.dataLayoutControlMain.OptionsPrint.AppearanceGroupCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.dataLayoutControlMain.OptionsPrint.AppearanceItemCaption.Options.UseTextOptions = true; this.dataLayoutControlMain.OptionsPrint.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.dataLayoutControlMain.OptionsPrint.AppearanceItemCaption.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.dataLayoutControlMain.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.dataLayoutControlMain.Root = this.layoutControlGroupMain; this.dataLayoutControlMain.Size = new System.Drawing.Size(414, 197); this.dataLayoutControlMain.TabIndex = 0; this.dataLayoutControlMain.Text = "dataLayoutControl1"; // // tbAddReson // this.tbAddReson.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.dsData, "TBLAddAssetComponent.AddReson", true)); this.tbAddReson.Location = new System.Drawing.Point(12, 136); this.tbAddReson.Name = "tbAddReson"; this.tbAddReson.Size = new System.Drawing.Size(326, 20); this.tbAddReson.StyleController = this.dataLayoutControlMain; this.tbAddReson.TabIndex = 21; // // tbPriceOne // this.tbPriceOne.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.dsData, "TBLAddAssetComponent.PriceOne", true)); this.tbPriceOne.Location = new System.Drawing.Point(12, 88); this.tbPriceOne.Name = "tbPriceOne"; this.tbPriceOne.Properties.Mask.EditMask = "f2"; this.tbPriceOne.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tbPriceOne.Size = new System.Drawing.Size(326, 20); this.tbPriceOne.StyleController = this.dataLayoutControlMain; this.tbPriceOne.TabIndex = 19; // // tbAddComponentezn // this.tbAddComponentezn.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.dsData, "TBLAddAssetComponent.AddComponentezn", true)); this.tbAddComponentezn.Location = new System.Drawing.Point(12, 12); this.tbAddComponentezn.Name = "tbAddComponentezn"; this.tbAddComponentezn.Size = new System.Drawing.Size(326, 20); this.tbAddComponentezn.StyleController = this.dataLayoutControlMain; this.tbAddComponentezn.TabIndex = 18; // // btnSave // this.btnSave.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.btnSave.Appearance.Options.UseFont = true; this.btnSave.Image = global::FixedAssets.Properties.Resources.apply_16x16; this.btnSave.Location = new System.Drawing.Point(100, 160); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(302, 24); this.btnSave.StyleController = this.dataLayoutControlMain; this.btnSave.TabIndex = 17; this.btnSave.Text = "حفظ"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnCancel // this.btnCancel.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.btnCancel.Appearance.Options.UseFont = true; this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Image = global::FixedAssets.Properties.Resources.cancel_16x16; this.btnCancel.Location = new System.Drawing.Point(12, 160); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(84, 24); this.btnCancel.StyleController = this.dataLayoutControlMain; this.btnCancel.TabIndex = 16; this.btnCancel.Text = "الغاء"; // // lueComponentId // this.lueComponentId.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.dsData, "TBLAddAssetComponent.ComponentId", true)); this.lueComponentId.Location = new System.Drawing.Point(12, 36); this.lueComponentId.Name = "lueComponentId"; this.lueComponentId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.lueComponentId.Properties.Appearance.Options.UseFont = true; this.lueComponentId.Properties.Appearance.Options.UseTextOptions = true; this.lueComponentId.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.lueComponentId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.lueComponentId.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Component", "Component", 75, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near) }); this.lueComponentId.Properties.DataSource = this.LSMSCDComponents; this.lueComponentId.Properties.DisplayMember = "Component"; this.lueComponentId.Properties.EditValueChangedFiringMode = DevExpress.XtraEditors.Controls.EditValueChangedFiringMode.Buffered; this.lueComponentId.Properties.NullText = ""; this.lueComponentId.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.lueComponentId.Properties.ValueMember = "ComponentId"; this.lueComponentId.Size = new System.Drawing.Size(326, 22); this.lueComponentId.StyleController = this.dataLayoutControlMain; this.lueComponentId.TabIndex = 11; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxValidationProviderMain.SetValidationRule(this.lueComponentId, conditionValidationRule1); // // LSMSCDComponents // this.LSMSCDComponents.ElementType = typeof(FixedAssets.Datasource.linq.CDComponent); this.LSMSCDComponents.KeyExpression = "[ComponentId]"; // // tbAddQuantity // this.tbAddQuantity.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.dsData, "TBLAddAssetComponent.AddQuantity", true)); this.tbAddQuantity.EditValue = new decimal(new int[] { 0, 0, 0, 0 }); this.tbAddQuantity.Location = new System.Drawing.Point(12, 62); this.tbAddQuantity.Name = "tbAddQuantity"; this.tbAddQuantity.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.tbAddQuantity.Properties.Appearance.Options.UseFont = true; this.tbAddQuantity.Properties.Appearance.Options.UseTextOptions = true; this.tbAddQuantity.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.tbAddQuantity.Properties.EditValueChangedFiringMode = DevExpress.XtraEditors.Controls.EditValueChangedFiringMode.Buffered; this.tbAddQuantity.Properties.Mask.EditMask = "f2"; this.tbAddQuantity.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tbAddQuantity.Size = new System.Drawing.Size(326, 22); this.tbAddQuantity.StyleController = this.dataLayoutControlMain; this.tbAddQuantity.TabIndex = 14; // // deAdddate // this.deAdddate.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.dsData, "TBLAddAssetComponent.Adddate", true)); this.deAdddate.EditValue = null; this.deAdddate.Location = new System.Drawing.Point(12, 112); this.deAdddate.Name = "deAdddate"; this.deAdddate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.deAdddate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.deAdddate.Properties.Mask.EditMask = "d/M/yyyy"; this.deAdddate.Size = new System.Drawing.Size(326, 20); this.deAdddate.StyleController = this.dataLayoutControlMain; this.deAdddate.TabIndex = 20; // // layoutControlGroupMain // this.layoutControlGroupMain.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroupMain.GroupBordersVisible = false; this.layoutControlGroupMain.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2 }); this.layoutControlGroupMain.Location = new System.Drawing.Point(0, 0); this.layoutControlGroupMain.Name = "Root"; this.layoutControlGroupMain.Size = new System.Drawing.Size(414, 197); this.layoutControlGroupMain.TextVisible = false; // // layoutControlGroup2 // this.layoutControlGroup2.AllowDrawBackground = false; this.layoutControlGroup2.GroupBordersVisible = false; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.ItemForAssetplaceId, this.ItemForEmpOhda, this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6 }); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "autoGeneratedGroup0"; this.layoutControlGroup2.Size = new System.Drawing.Size(394, 177); // // ItemForAssetplaceId // this.ItemForAssetplaceId.AppearanceItemCaption.Options.UseTextOptions = true; this.ItemForAssetplaceId.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.ItemForAssetplaceId.Control = this.lueComponentId; this.ItemForAssetplaceId.Location = new System.Drawing.Point(0, 24); this.ItemForAssetplaceId.Name = "ItemForAssetplaceId"; this.ItemForAssetplaceId.Size = new System.Drawing.Size(394, 26); this.ItemForAssetplaceId.Text = "المكون"; this.ItemForAssetplaceId.TextLocation = DevExpress.Utils.Locations.Right; this.ItemForAssetplaceId.TextSize = new System.Drawing.Size(61, 13); // // ItemForEmpOhda // this.ItemForEmpOhda.AppearanceItemCaption.Options.UseTextOptions = true; this.ItemForEmpOhda.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.ItemForEmpOhda.Control = this.tbAddQuantity; this.ItemForEmpOhda.Location = new System.Drawing.Point(0, 50); this.ItemForEmpOhda.Name = "ItemForEmpOhda"; this.ItemForEmpOhda.Size = new System.Drawing.Size(394, 26); this.ItemForEmpOhda.Text = "الكمية"; this.ItemForEmpOhda.TextLocation = DevExpress.Utils.Locations.Right; this.ItemForEmpOhda.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem1 // this.layoutControlItem1.Control = this.btnCancel; this.layoutControlItem1.Location = new System.Drawing.Point(0, 148); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(88, 29); this.layoutControlItem1.Text = "Cancel"; this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.btnSave; this.layoutControlItem2.Location = new System.Drawing.Point(88, 148); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(306, 29); this.layoutControlItem2.Text = "Save"; this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextVisible = false; // // layoutControlItem3 // this.layoutControlItem3.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem3.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem3.Control = this.tbAddComponentezn; this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(394, 24); this.layoutControlItem3.Text = "اذن الاضافة"; this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem3.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem4 // this.layoutControlItem4.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem4.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem4.Control = this.tbPriceOne; this.layoutControlItem4.Location = new System.Drawing.Point(0, 76); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(394, 24); this.layoutControlItem4.Text = "سعر الوحدة"; this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem4.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem5 // this.layoutControlItem5.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem5.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem5.Control = this.deAdddate; this.layoutControlItem5.Location = new System.Drawing.Point(0, 100); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(394, 24); this.layoutControlItem5.Text = "تاريخ الاضافة"; this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem5.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem6 // this.layoutControlItem6.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem6.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem6.Control = this.tbAddReson; this.layoutControlItem6.Location = new System.Drawing.Point(0, 124); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(394, 24); this.layoutControlItem6.Text = "سبب الاضافة"; this.layoutControlItem6.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem6.TextSize = new System.Drawing.Size(61, 13); // // TBLAddAssetComponentDlg // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnCancel; this.ClientSize = new System.Drawing.Size(414, 197); this.Controls.Add(this.dataLayoutControlMain); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "TBLAddAssetComponentDlg"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "محرر"; ((System.ComponentModel.ISupportInitialize)(this.dsData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControlMain)).EndInit(); this.dataLayoutControlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tbAddReson.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbPriceOne.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbAddComponentezn.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueComponentId.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSCDComponents)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbAddQuantity.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deAdddate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deAdddate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupMain)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForAssetplaceId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForEmpOhda)).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.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(OutputForm)); 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(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.btnSave = new WCButtons.Black.ButtonSaveBlack(); this.btnCancel = new WCButtons.Black.ButtonCancelBlack(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.btnAddDescription = new DevExpress.XtraEditors.SimpleButton(); this.tfObservations = new DevExpress.XtraEditors.MemoEdit(); this.bdgOutput = new System.Windows.Forms.BindingSource(this.components); this.tfDate = new DevExpress.XtraEditors.DateEdit(); this.tfValue = new DevExpress.XtraEditors.CalcEdit(); this.tfId = new DevExpress.XtraEditors.TextEdit(); this.cbDescription = new DevExpress.XtraEditors.ComboBoxEdit(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); 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.tfObservations.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgOutput)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfValue.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit(); this.SuspendLayout(); // // panelControl1 // 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, 194); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(552, 44); this.panelControl1.TabIndex = 1; // // 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(321, 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(437, 5); 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); // // panelControl2 // this.panelControl2.Controls.Add(this.btnAddDescription); this.panelControl2.Controls.Add(this.tfObservations); this.panelControl2.Controls.Add(this.tfDate); this.panelControl2.Controls.Add(this.tfValue); this.panelControl2.Controls.Add(this.tfId); this.panelControl2.Controls.Add(this.cbDescription); this.panelControl2.Controls.Add(this.labelControl2); this.panelControl2.Controls.Add(this.labelControl4); this.panelControl2.Controls.Add(this.labelControl5); this.panelControl2.Controls.Add(this.labelControl3); this.panelControl2.Controls.Add(this.labelControl1); 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(552, 194); this.panelControl2.TabIndex = 0; // // btnAddDescription // this.btnAddDescription.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat; this.btnAddDescription.Image = ((System.Drawing.Image)(resources.GetObject("btnAddDescription.Image"))); this.btnAddDescription.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnAddDescription.Location = new System.Drawing.Point(421, 4); this.btnAddDescription.Name = "btnAddDescription"; this.btnAddDescription.Size = new System.Drawing.Size(22, 22); this.btnAddDescription.TabIndex = 1; this.btnAddDescription.Click += new System.EventHandler(this.btnAddDescription_Click); // // tfObservations // this.tfObservations.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgOutput, "observations", true)); this.tfObservations.Location = new System.Drawing.Point(7, 93); this.tfObservations.Name = "tfObservations"; this.tfObservations.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.tfObservations.Size = new System.Drawing.Size(540, 96); this.tfObservations.TabIndex = 4; this.tfObservations.UseOptimizedRendering = true; // // bdgOutput // this.bdgOutput.DataSource = typeof(CardManagerRepo.output); // // tfDate // this.tfDate.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgOutput, "date", true)); this.tfDate.EditValue = null; this.tfDate.Location = new System.Drawing.Point(63, 31); this.tfDate.Name = "tfDate"; this.tfDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfDate.Size = new System.Drawing.Size(113, 20); this.tfDate.TabIndex = 2; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Informe a Data"; this.validator.SetValidationRule(this.tfDate, conditionValidationRule1); // // tfValue // this.tfValue.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgOutput, "value", true)); this.tfValue.Location = new System.Drawing.Point(221, 31); this.tfValue.Name = "tfValue"; this.tfValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfValue.Properties.Mask.EditMask = "c2"; this.tfValue.Properties.Precision = 2; this.tfValue.Size = new System.Drawing.Size(195, 20); this.tfValue.TabIndex = 3; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual; conditionValidationRule2.ErrorText = "Informe o Valor"; conditionValidationRule2.Value1 = new decimal(new int[] { 1, 0, 0, 0}); this.validator.SetValidationRule(this.tfValue, conditionValidationRule2); // // tfId // this.tfId.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgOutput, "id", true)); this.tfId.Location = new System.Drawing.Point(492, 5); this.tfId.Name = "tfId"; this.tfId.Properties.ReadOnly = true; this.tfId.Size = new System.Drawing.Size(55, 20); this.tfId.TabIndex = 2; this.tfId.TabStop = false; // // cbDescription // this.cbDescription.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgOutput, "description", true)); this.cbDescription.Location = new System.Drawing.Point(63, 5); this.cbDescription.Name = "cbDescription"; this.cbDescription.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbDescription.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.cbDescription.Properties.DropDownRows = 10; this.cbDescription.Size = new System.Drawing.Size(353, 20); this.cbDescription.TabIndex = 0; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Informe a Descrição"; this.validator.SetValidationRule(this.cbDescription, conditionValidationRule3); // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(459, 8); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(27, 13); this.labelControl2.TabIndex = 0; this.labelControl2.Text = "Cod.:"; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(7, 34); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(27, 13); this.labelControl4.TabIndex = 0; this.labelControl4.Text = "Data:"; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(7, 74); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(67, 13); this.labelControl5.TabIndex = 0; this.labelControl5.Text = "Observações:"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(187, 34); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(28, 13); this.labelControl3.TabIndex = 0; this.labelControl3.Text = "Valor:"; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(7, 8); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(50, 13); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "Descrição:"; // // OutputForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panelControl2); this.Controls.Add(this.panelControl1); this.Name = "OutputForm"; this.Size = new System.Drawing.Size(552, 238); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.panelControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tfObservations.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgOutput)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfValue.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VehicleDetailEditorForm)); this.gcVehicleDetail = new DevExpress.XtraEditors.GroupControl(); this.dtpExpirationDate = new DevExpress.XtraEditors.DateEdit(); this.lblExpirationDate = new DevExpress.XtraEditors.LabelControl(); this.lblLicenseNumber = new DevExpress.XtraEditors.LabelControl(); this.txtLicenseNumber = new DevExpress.XtraEditors.TextEdit(); this.FieldsValidator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.gcVehicleDetail)).BeginInit(); this.gcVehicleDetail.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dtpExpirationDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpExpirationDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLicenseNumber.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.FieldsValidator)).BeginInit(); this.SuspendLayout(); // // gcVehicleDetail // this.gcVehicleDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gcVehicleDetail.Controls.Add(this.dtpExpirationDate); this.gcVehicleDetail.Controls.Add(this.lblExpirationDate); this.gcVehicleDetail.Controls.Add(this.lblLicenseNumber); this.gcVehicleDetail.Controls.Add(this.txtLicenseNumber); this.gcVehicleDetail.Location = new System.Drawing.Point(0, 2); this.gcVehicleDetail.Name = "gcVehicleDetail"; this.gcVehicleDetail.Size = new System.Drawing.Size(309, 83); this.gcVehicleDetail.TabIndex = 1; this.gcVehicleDetail.Text = "Informasi Kendaraan"; // // dtpExpirationDate // this.dtpExpirationDate.EditValue = null; this.dtpExpirationDate.Location = new System.Drawing.Point(122, 52); this.dtpExpirationDate.Name = "dtpExpirationDate"; this.dtpExpirationDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.dtpExpirationDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.dtpExpirationDate.Properties.DisplayFormat.FormatString = "dd-MM-yyyy"; this.dtpExpirationDate.Properties.DisplayFormat.FormatType = DevExpress.Utils.FormatType.DateTime; this.dtpExpirationDate.Properties.Mask.EditMask = "dd-MM-yyyy"; this.dtpExpirationDate.Size = new System.Drawing.Size(175, 20); this.dtpExpirationDate.TabIndex = 1; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Tanggal Kadaluarsa harus diisi"; this.FieldsValidator.SetValidationRule(this.dtpExpirationDate, conditionValidationRule1); // // lblExpirationDate // this.lblExpirationDate.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblExpirationDate.Location = new System.Drawing.Point(12, 55); this.lblExpirationDate.Name = "lblExpirationDate"; this.lblExpirationDate.Size = new System.Drawing.Size(94, 13); this.lblExpirationDate.TabIndex = 4; this.lblExpirationDate.Text = "Tanggal Kadaluarsa"; // // lblLicenseNumber // this.lblLicenseNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lblLicenseNumber.Location = new System.Drawing.Point(12, 30); this.lblLicenseNumber.Name = "lblLicenseNumber"; this.lblLicenseNumber.Size = new System.Drawing.Size(57, 13); this.lblLicenseNumber.TabIndex = 3; this.lblLicenseNumber.Text = "Nomor Polisi"; // // txtLicenseNumber // this.txtLicenseNumber.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtLicenseNumber.Location = new System.Drawing.Point(122, 27); this.txtLicenseNumber.Name = "txtLicenseNumber"; this.txtLicenseNumber.Properties.Mask.EditMask = "[a-zA-Z0-9\\-_]{0,40}"; this.txtLicenseNumber.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.txtLicenseNumber.Size = new System.Drawing.Size(175, 20); this.txtLicenseNumber.TabIndex = 0; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Nomor Polisi harus diisi"; this.FieldsValidator.SetValidationRule(this.txtLicenseNumber, conditionValidationRule2); // // VehicleDetailEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(309, 137); this.Controls.Add(this.gcVehicleDetail); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "VehicleDetailEditorForm"; this.Text = "Detail Kendaraan Editor"; this.Controls.SetChildIndex(this.gcVehicleDetail, 0); ((System.ComponentModel.ISupportInitialize)(this.gcVehicleDetail)).EndInit(); this.gcVehicleDetail.ResumeLayout(false); this.gcVehicleDetail.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dtpExpirationDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpExpirationDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtLicenseNumber.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.FieldsValidator)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.gcRole = new DevExpress.XtraEditors.GroupControl(); this.lblRoleName = new DevExpress.XtraEditors.LabelControl(); this.txtRoleName = new DevExpress.XtraEditors.TextEdit(); this.valRoleName = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.gcRole)).BeginInit(); this.gcRole.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtRoleName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valRoleName)).BeginInit(); this.SuspendLayout(); // // gcRole // this.gcRole.Controls.Add(this.txtRoleName); this.gcRole.Controls.Add(this.lblRoleName); this.gcRole.Dock = System.Windows.Forms.DockStyle.Fill; this.gcRole.Location = new System.Drawing.Point(0, 0); this.gcRole.Name = "gcRole"; this.gcRole.Size = new System.Drawing.Size(371, 66); this.gcRole.TabIndex = 1; this.gcRole.Text = "Informasi Role"; // // lblRoleName // this.lblRoleName.Location = new System.Drawing.Point(12, 35); this.lblRoleName.Name = "lblRoleName"; this.lblRoleName.Size = new System.Drawing.Size(51, 13); this.lblRoleName.TabIndex = 0; this.lblRoleName.Text = "Nama Role"; // // txtRoleName // this.txtRoleName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.txtRoleName.Location = new System.Drawing.Point(88, 32); this.txtRoleName.Name = "txtRoleName"; this.txtRoleName.Size = new System.Drawing.Size(271, 20); this.txtRoleName.TabIndex = 1; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Nama Role harus diisi!"; this.valRoleName.SetValidationRule(this.txtRoleName, conditionValidationRule1); // // valRoleName // this.valRoleName.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // RoleEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(371, 115); this.Controls.Add(this.gcRole); this.Name = "RoleEditorForm"; this.Text = "Role Editor"; this.Controls.SetChildIndex(this.gcRole, 0); ((System.ComponentModel.ISupportInitialize)(this.gcRole)).EndInit(); this.gcRole.ResumeLayout(false); this.gcRole.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtRoleName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valRoleName)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TypeEditorForm)); this.gcTypeInfo = new DevExpress.XtraEditors.GroupControl(); this.txtDescription = new DevExpress.XtraEditors.MemoEdit(); this.lblDescription = new DevExpress.XtraEditors.LabelControl(); this.txtName = new DevExpress.XtraEditors.TextEdit(); this.lblName = new DevExpress.XtraEditors.LabelControl(); this.valName = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.valDescription = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.gcTypeInfo)).BeginInit(); this.gcTypeInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valDescription)).BeginInit(); this.SuspendLayout(); // // gcTypeInfo // this.gcTypeInfo.Controls.Add(this.txtDescription); this.gcTypeInfo.Controls.Add(this.lblDescription); this.gcTypeInfo.Controls.Add(this.txtName); this.gcTypeInfo.Controls.Add(this.lblName); this.gcTypeInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.gcTypeInfo.Location = new System.Drawing.Point(0, 0); this.gcTypeInfo.Name = "gcTypeInfo"; this.gcTypeInfo.Size = new System.Drawing.Size(481, 136); this.gcTypeInfo.TabIndex = 3; this.gcTypeInfo.Text = "Informasi Tipe"; // // txtDescription // this.txtDescription.Location = new System.Drawing.Point(128, 55); this.txtDescription.Name = "txtDescription"; this.txtDescription.Size = new System.Drawing.Size(237, 58); this.txtDescription.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Deskripsi harus diisi"; this.valDescription.SetValidationRule(this.txtDescription, conditionValidationRule1); // // lblDescription // this.lblDescription.Location = new System.Drawing.Point(12, 60); this.lblDescription.Name = "lblDescription"; this.lblDescription.Size = new System.Drawing.Size(42, 13); this.lblDescription.TabIndex = 2; this.lblDescription.Text = "Deskripsi"; // // txtName // this.txtName.Location = new System.Drawing.Point(128, 29); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(187, 20); this.txtName.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Nama harus diisi"; this.valName.SetValidationRule(this.txtName, conditionValidationRule2); // // lblName // this.lblName.Location = new System.Drawing.Point(12, 30); this.lblName.Name = "lblName"; this.lblName.Size = new System.Drawing.Size(27, 13); this.lblName.TabIndex = 0; this.lblName.Text = "Nama"; // // valName // this.valName.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // valDescription // this.valDescription.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // TypeEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(481, 185); this.Controls.Add(this.gcTypeInfo); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "TypeEditorForm"; this.Text = "Tipe Editor"; this.Controls.SetChildIndex(this.gcTypeInfo, 0); ((System.ComponentModel.ISupportInitialize)(this.gcTypeInfo)).EndInit(); this.gcTypeInfo.ResumeLayout(false); this.gcTypeInfo.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valDescription)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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); }
/// <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(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.btnClose = new DevExpress.XtraEditors.SimpleButton(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtpGeneral = new DevExpress.XtraTab.XtraTabPage(); this.ceYasref = new DevExpress.XtraEditors.CheckEdit(); this.lueMMashatId = new DevExpress.XtraEditors.GridLookUpEdit(); this.LSMSMMashatId = new DevExpress.Data.Linq.LinqServerModeSource(); this.gridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colMMashatName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colsarfnumber1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubCommitte1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colyasref = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMashHala = new DevExpress.XtraGrid.Columns.GridColumn(); this.tbmemo = new DevExpress.XtraEditors.MemoEdit(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.deDocDate = new DevExpress.XtraEditors.DateEdit(); this.dsRetirementCenter = new RetirementCenter.DataSources.dsRetirementCenter(); this.colMonthName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colYearName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMonthName1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.tblProofDocTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLProofDocTableAdapter(); this.tblMashatTableAdapter = new RetirementCenter.DataSources.dsRetirementCenterTableAdapters.TBLMashatTableAdapter(); this.dxValidationProviderMain = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtpGeneral.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ceYasref.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueMMashatId.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSMMashatId)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbmemo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deDocDate.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deDocDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).BeginInit(); this.SuspendLayout(); // // labelControl2 // this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.labelControl2.Location = new System.Drawing.Point(419, 108); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(41, 19); this.labelControl2.TabIndex = 0; this.labelControl2.Text = "التاريخ"; // // labelControl4 // this.labelControl4.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.labelControl4.Location = new System.Drawing.Point(412, 141); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(50, 19); this.labelControl4.TabIndex = 0; this.labelControl4.Text = "ملاحظة"; // // panelControl1 // this.panelControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.Style3D; this.panelControl1.Controls.Add(this.btnClose); this.panelControl1.Location = new System.Drawing.Point(5, 370); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(520, 44); this.panelControl1.TabIndex = 1; // // btnClose // this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Image = global::RetirementCenter.Properties.Resources.Delete; this.btnClose.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleRight; this.btnClose.Location = new System.Drawing.Point(7, 7); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(90, 30); this.btnClose.TabIndex = 0; this.btnClose.Text = "اغلاق"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnSave // this.btnSave.Image = global::RetirementCenter.Properties.Resources.Save; this.btnSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleRight; this.btnSave.Location = new System.Drawing.Point(312, 265); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(150, 30); this.btnSave.TabIndex = 4; this.btnSave.Text = "حفـــــــــــــــــــــــــظ"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // xtraTabControl1 // this.xtraTabControl1.Location = new System.Drawing.Point(5, 12); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.xtraTabControl1.SelectedTabPage = this.xtpGeneral; this.xtraTabControl1.Size = new System.Drawing.Size(525, 352); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtpGeneral}); // // xtpGeneral // this.xtpGeneral.Controls.Add(this.ceYasref); this.xtpGeneral.Controls.Add(this.btnSave); this.xtpGeneral.Controls.Add(this.lueMMashatId); this.xtpGeneral.Controls.Add(this.tbmemo); this.xtpGeneral.Controls.Add(this.labelControl6); this.xtpGeneral.Controls.Add(this.labelControl2); this.xtpGeneral.Controls.Add(this.labelControl4); this.xtpGeneral.Controls.Add(this.deDocDate); this.xtpGeneral.Image = global::RetirementCenter.Properties.Resources.Edit; this.xtpGeneral.Name = "xtpGeneral"; this.xtpGeneral.Size = new System.Drawing.Size(519, 305); this.xtpGeneral.Text = "بيانات أساسيه"; // // ceYasref // this.ceYasref.Location = new System.Drawing.Point(211, 72); this.ceYasref.Name = "ceYasref"; this.ceYasref.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.ceYasref.Properties.Appearance.Options.UseFont = true; this.ceYasref.Properties.Caption = "يصرف"; this.ceYasref.Size = new System.Drawing.Size(75, 24); this.ceYasref.TabIndex = 1; // // lueMMashatId // this.lueMMashatId.EditValue = ""; this.lueMMashatId.Location = new System.Drawing.Point(53, 10); this.lueMMashatId.Name = "lueMMashatId"; this.lueMMashatId.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.lueMMashatId.Properties.Appearance.Options.UseFont = true; this.lueMMashatId.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.lueMMashatId.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueMMashatId.Properties.DataSource = this.LSMSMMashatId; this.lueMMashatId.Properties.DisplayMember = "MMashatName"; this.lueMMashatId.Properties.NullText = ""; this.lueMMashatId.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.lueMMashatId.Properties.ValueMember = "MMashatId"; this.lueMMashatId.Properties.View = this.gridLookUpEdit1View; this.lueMMashatId.Size = new System.Drawing.Size(233, 26); this.lueMMashatId.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "يجب اختيار العضو"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.dxValidationProviderMain.SetValidationRule(this.lueMMashatId, conditionValidationRule1); this.lueMMashatId.EditValueChanged += new System.EventHandler(this.lueMMashatId_EditValueChanged); // // LSMSMMashatId // this.LSMSMMashatId.ElementType = typeof(RetirementCenter.DataSources.Linq.vTBLMashat); this.LSMSMMashatId.KeyExpression = "MMashatId"; // // gridLookUpEdit1View // this.gridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colMMashatName, this.colsarfnumber1, this.colSubCommitte1, this.colSyndicate, this.colyasref, this.colMashHala}); this.gridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridLookUpEdit1View.Name = "gridLookUpEdit1View"; this.gridLookUpEdit1View.OptionsBehavior.AutoPopulateColumns = false; this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true; this.gridLookUpEdit1View.OptionsView.ShowDetailButtons = false; this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // colMMashatName // this.colMMashatName.Caption = "الاسم"; this.colMMashatName.FieldName = "MMashatName"; this.colMMashatName.Name = "colMMashatName"; this.colMMashatName.Visible = true; this.colMMashatName.VisibleIndex = 1; // // colsarfnumber1 // this.colsarfnumber1.Caption = "رقم الصرف"; this.colsarfnumber1.FieldName = "sarfnumber"; this.colsarfnumber1.Name = "colsarfnumber1"; this.colsarfnumber1.Visible = true; this.colsarfnumber1.VisibleIndex = 0; // // colSubCommitte1 // this.colSubCommitte1.Caption = "اللجنة"; this.colSubCommitte1.FieldName = "SubCommitte"; this.colSubCommitte1.Name = "colSubCommitte1"; this.colSubCommitte1.Visible = true; this.colSubCommitte1.VisibleIndex = 4; // // colSyndicate // this.colSyndicate.Caption = "الفرعية"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 3; // // colyasref // this.colyasref.Caption = "يصرف"; this.colyasref.FieldName = "yasref"; this.colyasref.Name = "colyasref"; this.colyasref.Visible = true; this.colyasref.VisibleIndex = 5; // // colMashHala // this.colMashHala.Caption = "النوع"; this.colMashHala.FieldName = "MashHala"; this.colMashHala.Name = "colMashHala"; this.colMashHala.Visible = true; this.colMashHala.VisibleIndex = 2; // // tbmemo // this.tbmemo.Location = new System.Drawing.Point(53, 143); this.tbmemo.Name = "tbmemo"; this.tbmemo.Size = new System.Drawing.Size(233, 80); this.tbmemo.TabIndex = 3; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "يجب ادخال الملاحظات"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.dxValidationProviderMain.SetValidationRule(this.tbmemo, conditionValidationRule2); // // labelControl6 // this.labelControl6.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.labelControl6.Location = new System.Drawing.Point(375, 13); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(87, 19); this.labelControl6.TabIndex = 0; this.labelControl6.Text = "الاعضاء/الورثة"; // // deDocDate // this.deDocDate.EditValue = ""; this.deDocDate.Location = new System.Drawing.Point(53, 105); this.deDocDate.Name = "deDocDate"; this.deDocDate.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.deDocDate.Properties.Appearance.Options.UseFont = true; this.deDocDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.deDocDate.Properties.Mask.EditMask = "d/M/yyyy"; this.deDocDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.deDocDate.Size = new System.Drawing.Size(233, 26); this.deDocDate.TabIndex = 2; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "يجب ادخال التاريخ"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.dxValidationProviderMain.SetValidationRule(this.deDocDate, conditionValidationRule3); // // dsRetirementCenter // this.dsRetirementCenter.DataSetName = "dsRetirementCenter"; this.dsRetirementCenter.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // colMonthName // this.colMonthName.AppearanceCell.Options.UseTextOptions = true; this.colMonthName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMonthName.AppearanceHeader.Options.UseTextOptions = true; this.colMonthName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMonthName.Caption = "اسم الشهر"; this.colMonthName.FieldName = "MonthName"; this.colMonthName.Name = "colMonthName"; this.colMonthName.Visible = true; this.colMonthName.VisibleIndex = 0; // // colYearName // this.colYearName.AppearanceCell.Options.UseTextOptions = true; this.colYearName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colYearName.AppearanceHeader.Options.UseTextOptions = true; this.colYearName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colYearName.Caption = "اسم السنه"; this.colYearName.FieldName = "YearName"; this.colYearName.Name = "colYearName"; this.colYearName.Visible = true; this.colYearName.VisibleIndex = 0; // // colMonthName1 // this.colMonthName1.AppearanceCell.Options.UseTextOptions = true; this.colMonthName1.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMonthName1.AppearanceHeader.Options.UseTextOptions = true; this.colMonthName1.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMonthName1.Caption = "اسم الشهر"; this.colMonthName1.FieldName = "MonthName"; this.colMonthName1.Name = "colMonthName1"; this.colMonthName1.Visible = true; this.colMonthName1.VisibleIndex = 0; // // tblProofDocTableAdapter // this.tblProofDocTableAdapter.ClearBeforeFill = true; // // tblMashatTableAdapter // this.tblMashatTableAdapter.ClearBeforeFill = true; // // TBLProofDocWFrm // this.AcceptButton = this.btnSave; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(542, 426); this.Controls.Add(this.xtraTabControl1); this.Controls.Add(this.panelControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.Name = "TBLProofDocWFrm"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "تحرير"; this.Load += new System.EventHandler(this.FormWFrm_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.xtpGeneral.ResumeLayout(false); this.xtpGeneral.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.ceYasref.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueMMashatId.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LSMSMMashatId)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbmemo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deDocDate.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deDocDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsRetirementCenter)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderMain)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoginForm)); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.tfPassword = new DevExpress.XtraEditors.TextEdit(); this.tfCPF = new DevExpress.XtraEditors.TextEdit(); this.validatorLogin = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); this.lbNeedHelp = new DevExpress.XtraEditors.LabelControl(); this.btnLogin = new WCButtons.Black.ButtonConfirmBlack(); this.btnCancel = new WCButtons.Black.ButtonCancelBlack(); ((System.ComponentModel.ISupportInitialize)(this.tfPassword.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfCPF.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.validatorLogin)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); this.SuspendLayout(); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(9, 199); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(23, 13); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "CPF:"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(251, 199); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(34, 13); this.labelControl2.TabIndex = 1; this.labelControl2.Text = "Senha:"; // // tfPassword // this.tfPassword.Location = new System.Drawing.Point(291, 196); this.tfPassword.Name = "tfPassword"; this.tfPassword.Properties.UseSystemPasswordChar = true; this.tfPassword.Size = new System.Drawing.Size(188, 20); this.tfPassword.TabIndex = 1; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Informe a Senha"; this.validatorLogin.SetValidationRule(this.tfPassword, conditionValidationRule1); // // tfCPF // this.tfCPF.Location = new System.Drawing.Point(38, 196); this.tfCPF.Name = "tfCPF"; this.tfCPF.Properties.Mask.BeepOnError = true; this.tfCPF.Properties.Mask.EditMask = "000.000.000-00"; this.tfCPF.Properties.Mask.IgnoreMaskBlank = false; this.tfCPF.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Simple; this.tfCPF.Size = new System.Drawing.Size(188, 20); this.tfCPF.TabIndex = 0; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Informe o CPF"; this.validatorLogin.SetValidationRule(this.tfCPF, conditionValidationRule2); this.tfCPF.KeyUp += new System.Windows.Forms.KeyEventHandler(this.tfCPF_KeyUp); // // pictureEdit1 // this.pictureEdit1.Dock = System.Windows.Forms.DockStyle.Top; this.pictureEdit1.EditValue = global::CardManager.Properties.Resources.logo_sistema_union; this.pictureEdit1.Location = new System.Drawing.Point(0, 0); this.pictureEdit1.Name = "pictureEdit1"; this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pictureEdit1.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch; this.pictureEdit1.Size = new System.Drawing.Size(490, 174); this.pictureEdit1.TabIndex = 4; // // lbNeedHelp // this.lbNeedHelp.Location = new System.Drawing.Point(200, 251); this.lbNeedHelp.Name = "lbNeedHelp"; this.lbNeedHelp.Size = new System.Drawing.Size(84, 13); this.lbNeedHelp.TabIndex = 5; this.lbNeedHelp.Text = "Precisa de ajuda?"; this.lbNeedHelp.Click += new System.EventHandler(this.lbNeedHelp_Click); this.lbNeedHelp.MouseEnter += new System.EventHandler(this.lbNeedHelp_MouseEnter); this.lbNeedHelp.MouseLeave += new System.EventHandler(this.lbNeedHelp_MouseLeave); // // btnLogin // this.btnLogin.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199))))); this.btnLogin.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnLogin.Font = new System.Drawing.Font("Segoe UI Light", 12F); this.btnLogin.ForeColor = System.Drawing.Color.White; this.btnLogin.Image = ((System.Drawing.Image)(resources.GetObject("btnLogin.Image"))); this.btnLogin.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnLogin.Location = new System.Drawing.Point(9, 232); this.btnLogin.Name = "btnLogin"; this.btnLogin.Size = new System.Drawing.Size(110, 33); this.btnLogin.TabIndex = 2; this.btnLogin.Text = "Entrar"; this.btnLogin.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnLogin.UseVisualStyleBackColor = false; this.btnLogin.Click += new System.EventHandler(this.btnLogin_Click); // // 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(369, 232); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(110, 33); this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Sair"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = false; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // LoginForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(490, 273); this.Controls.Add(this.lbNeedHelp); this.Controls.Add(this.pictureEdit1); this.Controls.Add(this.tfCPF); this.Controls.Add(this.btnLogin); this.Controls.Add(this.labelControl1); this.Controls.Add(this.tfPassword); this.Controls.Add(this.btnCancel); this.Controls.Add(this.labelControl2); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.KeyPreview = true; this.MaximizeBox = false; this.Name = "LoginForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.LoginForm_KeyDown); ((System.ComponentModel.ISupportInitialize)(this.tfPassword.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfCPF.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.validatorLogin)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.LabelControl labelControl12; DevExpress.XtraEditors.LabelControl labelControl16; DevExpress.XtraEditors.LabelControl labelControl15; DevExpress.XtraEditors.LabelControl labelControl14; DevExpress.XtraEditors.LabelControl labelControl13; DevExpress.XtraEditors.LabelControl labelControl11; DevExpress.XtraEditors.LabelControl labelControl10; DevExpress.XtraEditors.LabelControl labelControl9; DevExpress.XtraEditors.LabelControl labelControl8; DevExpress.XtraEditors.LabelControl labelControl7; DevExpress.XtraEditors.LabelControl labelControl6; DevExpress.XtraEditors.LabelControl labelControl5; DevExpress.XtraEditors.LabelControl labelControl4; DevExpress.XtraEditors.LabelControl labelControl3; DevExpress.XtraEditors.LabelControl labelControl2; DevExpress.XtraEditors.LabelControl labelControl1; DevExpress.XtraEditors.LabelControl number_cteLabel; DevExpress.XtraEditors.LabelControl number_noteLabel; DevExpress.XtraEditors.LabelControl driver_idLabel; DevExpress.XtraEditors.LabelControl idLabel; DevExpress.XtraEditors.LabelControl labelControl17; DevExpress.XtraEditors.LabelControl labelControl18; DevExpress.XtraEditors.LabelControl labelControl19; 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FreightForm)); this.validator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.tfPercentComission = new DevExpress.XtraEditors.TextEdit(); this.bdgFreight = new System.Windows.Forms.BindingSource(this.components); this.tfValueTon = new DevExpress.XtraEditors.CalcEdit(); this.tfWeight = new DevExpress.XtraEditors.TextEdit(); this.tfProduct = new DevExpress.XtraEditors.TextEdit(); this.tfEnd = new DevExpress.XtraEditors.DateEdit(); this.tfStart = new DevExpress.XtraEditors.DateEdit(); this.cbCompanyDestination = new DevExpress.XtraEditors.SearchLookUpEdit(); this.bdgCompanyDestination = new System.Windows.Forms.BindingSource(this.components); this.company_destinationSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn6 = new DevExpress.XtraGrid.Columns.GridColumn(); this.cbCompanySource = new DevExpress.XtraEditors.SearchLookUpEdit(); this.bdgCompanySource = new System.Windows.Forms.BindingSource(this.components); this.company_sourceSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colcorporate_name = new DevExpress.XtraGrid.Columns.GridColumn(); this.colfantasy_name = new DevExpress.XtraGrid.Columns.GridColumn(); this.coldocument = new DevExpress.XtraGrid.Columns.GridColumn(); this.tfNumberNote = new DevExpress.XtraEditors.TextEdit(); this.cbDriver = new DevExpress.XtraEditors.SearchLookUpEdit(); this.bdgDrivers = new System.Windows.Forms.BindingSource(this.components); this.driver_idSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colfull_name = new DevExpress.XtraGrid.Columns.GridColumn(); this.colcpf = new DevExpress.XtraGrid.Columns.GridColumn(); this.cbTruck = new DevExpress.XtraEditors.SearchLookUpEdit(); this.bdgTrucks = new System.Windows.Forms.BindingSource(this.components); this.truck_idSearchLookUpEditView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colid = new DevExpress.XtraGrid.Columns.GridColumn(); this.colboard = new DevExpress.XtraGrid.Columns.GridColumn(); this.cbCarrier = new DevExpress.XtraEditors.SearchLookUpEdit(); this.bdgCarrier = new System.Windows.Forms.BindingSource(this.components); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn7 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn8 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn9 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn10 = new DevExpress.XtraGrid.Columns.GridColumn(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.btnDeposits = new DevExpress.XtraEditors.SimpleButton(); this.btnStay = new DevExpress.XtraEditors.SimpleButton(); this.groupControl3 = new DevExpress.XtraEditors.GroupControl(); this.tfObservations = new DevExpress.XtraEditors.MemoEdit(); this.lbTrailers = new DevExpress.XtraEditors.LabelControl(); this.btnFueled = new DevExpress.XtraEditors.SimpleButton(); this.btnOutputs = new DevExpress.XtraEditors.SimpleButton(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.tfValueComission = new DevExpress.XtraEditors.CalcEdit(); this.tfExtraComission = new DevExpress.XtraEditors.CalcEdit(); this.tfDiscountComission = new DevExpress.XtraEditors.CalcEdit(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.tfDeposits = new DevExpress.XtraEditors.TextEdit(); this.tfOutputs = new DevExpress.XtraEditors.TextEdit(); this.tfStay = new DevExpress.XtraEditors.TextEdit(); this.tfFueled = new DevExpress.XtraEditors.TextEdit(); this.tfGross = new DevExpress.XtraEditors.TextEdit(); this.tfLiquidFreight = new DevExpress.XtraEditors.TextEdit(); this.tfNumberCte = new DevExpress.XtraEditors.TextEdit(); this.tfId = new DevExpress.XtraEditors.TextEdit(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.btnUpdateData = new DevExpress.XtraEditors.SimpleButton(); this.btnSave = new WCButtons.Black.ButtonSaveBlack(); this.btnCancel = new WCButtons.Black.ButtonCancelBlack(); labelControl12 = new DevExpress.XtraEditors.LabelControl(); labelControl16 = new DevExpress.XtraEditors.LabelControl(); labelControl15 = new DevExpress.XtraEditors.LabelControl(); labelControl14 = new DevExpress.XtraEditors.LabelControl(); labelControl13 = new DevExpress.XtraEditors.LabelControl(); labelControl11 = new DevExpress.XtraEditors.LabelControl(); labelControl10 = new DevExpress.XtraEditors.LabelControl(); labelControl9 = new DevExpress.XtraEditors.LabelControl(); labelControl8 = new DevExpress.XtraEditors.LabelControl(); labelControl7 = new DevExpress.XtraEditors.LabelControl(); labelControl6 = new DevExpress.XtraEditors.LabelControl(); labelControl5 = new DevExpress.XtraEditors.LabelControl(); labelControl4 = new DevExpress.XtraEditors.LabelControl(); labelControl3 = new DevExpress.XtraEditors.LabelControl(); labelControl2 = new DevExpress.XtraEditors.LabelControl(); labelControl1 = new DevExpress.XtraEditors.LabelControl(); number_cteLabel = new DevExpress.XtraEditors.LabelControl(); number_noteLabel = new DevExpress.XtraEditors.LabelControl(); driver_idLabel = new DevExpress.XtraEditors.LabelControl(); idLabel = new DevExpress.XtraEditors.LabelControl(); labelControl17 = new DevExpress.XtraEditors.LabelControl(); labelControl18 = new DevExpress.XtraEditors.LabelControl(); labelControl19 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfPercentComission.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgFreight)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfValueTon.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfWeight.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfProduct.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfEnd.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfEnd.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfStart.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfStart.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbCompanyDestination.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgCompanyDestination)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.company_destinationSearchLookUpEditView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbCompanySource.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgCompanySource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.company_sourceSearchLookUpEditView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfNumberNote.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbDriver.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgDrivers)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.driver_idSearchLookUpEditView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbTruck.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgTrucks)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.truck_idSearchLookUpEditView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbCarrier.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgCarrier)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).BeginInit(); this.groupControl3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tfObservations.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); this.groupControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tfValueComission.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfExtraComission.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfDiscountComission.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tfDeposits.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfOutputs.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfStay.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfFueled.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfGross.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfLiquidFreight.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfNumberCte.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); this.SuspendLayout(); // // labelControl12 // labelControl12.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); labelControl12.Appearance.ForeColor = System.Drawing.Color.Green; labelControl12.Location = new System.Drawing.Point(490, 254); labelControl12.Name = "labelControl12"; labelControl12.Size = new System.Drawing.Size(121, 19); labelControl12.TabIndex = 36; labelControl12.Text = "Liquido do Frete:"; // // labelControl16 // labelControl16.Location = new System.Drawing.Point(215, 80); labelControl16.Name = "labelControl16"; labelControl16.Size = new System.Drawing.Size(49, 13); labelControl16.TabIndex = 43; labelControl16.Text = "Comissão:"; // // labelControl15 // labelControl15.Location = new System.Drawing.Point(212, 54); labelControl15.Name = "labelControl15"; labelControl15.Size = new System.Drawing.Size(52, 13); labelControl15.TabIndex = 42; labelControl15.Text = "Acrécimos:"; // // labelControl14 // labelControl14.Location = new System.Drawing.Point(10, 54); labelControl14.Name = "labelControl14"; labelControl14.Size = new System.Drawing.Size(49, 13); labelControl14.TabIndex = 37; labelControl14.Text = "Desconto:"; // // labelControl13 // labelControl13.Location = new System.Drawing.Point(10, 28); labelControl13.Name = "labelControl13"; labelControl13.Size = new System.Drawing.Size(15, 13); labelControl13.TabIndex = 38; labelControl13.Text = "%:"; // // labelControl11 // labelControl11.Location = new System.Drawing.Point(215, 80); labelControl11.Name = "labelControl11"; labelControl11.Size = new System.Drawing.Size(50, 13); labelControl11.TabIndex = 34; labelControl11.Text = "Despesas:"; // // labelControl10 // labelControl10.Location = new System.Drawing.Point(190, 106); labelControl10.Name = "labelControl10"; labelControl10.Size = new System.Drawing.Size(75, 13); labelControl10.TabIndex = 32; labelControl10.Text = "Abastecimento:"; // // labelControl9 // labelControl9.Appearance.ForeColor = System.Drawing.Color.Blue; labelControl9.Location = new System.Drawing.Point(28, 53); labelControl9.Name = "labelControl9"; labelControl9.Size = new System.Drawing.Size(30, 13); labelControl9.TabIndex = 30; labelControl9.Text = "Bruto:"; // // labelControl8 // labelControl8.Location = new System.Drawing.Point(199, 27); labelControl8.Name = "labelControl8"; labelControl8.Size = new System.Drawing.Size(66, 13); labelControl8.TabIndex = 28; labelControl8.Text = "Valor p/ Ton.:"; // // labelControl7 // labelControl7.Location = new System.Drawing.Point(31, 27); labelControl7.Name = "labelControl7"; labelControl7.Size = new System.Drawing.Size(27, 13); labelControl7.TabIndex = 26; labelControl7.Text = "Peso:"; // // labelControl6 // labelControl6.Location = new System.Drawing.Point(405, 90); labelControl6.Name = "labelControl6"; labelControl6.Size = new System.Drawing.Size(42, 13); labelControl6.TabIndex = 23; labelControl6.Text = "Produto:"; // // labelControl5 // labelControl5.Location = new System.Drawing.Point(564, 38); labelControl5.Name = "labelControl5"; labelControl5.Size = new System.Drawing.Size(20, 13); labelControl5.TabIndex = 21; labelControl5.Text = "Fim:"; // // labelControl4 // labelControl4.Location = new System.Drawing.Point(405, 38); labelControl4.Name = "labelControl4"; labelControl4.Size = new System.Drawing.Size(29, 13); labelControl4.TabIndex = 20; labelControl4.Text = "Inicio:"; // // labelControl3 // labelControl3.Location = new System.Drawing.Point(405, 64); labelControl3.Name = "labelControl3"; labelControl3.Size = new System.Drawing.Size(40, 13); labelControl3.TabIndex = 17; labelControl3.Text = "Destino:"; // // labelControl2 // labelControl2.Location = new System.Drawing.Point(5, 64); labelControl2.Name = "labelControl2"; labelControl2.Size = new System.Drawing.Size(38, 13); labelControl2.TabIndex = 16; labelControl2.Text = "Origem:"; // // labelControl1 // labelControl1.Location = new System.Drawing.Point(5, 12); labelControl1.Name = "labelControl1"; labelControl1.Size = new System.Drawing.Size(51, 13); labelControl1.TabIndex = 14; labelControl1.Text = "Caminhão:"; // // number_cteLabel // number_cteLabel.Location = new System.Drawing.Point(185, 38); number_cteLabel.Name = "number_cteLabel"; number_cteLabel.Size = new System.Drawing.Size(67, 13); number_cteLabel.TabIndex = 12; number_cteLabel.Text = "Numero CT-e:"; // // number_noteLabel // number_noteLabel.Location = new System.Drawing.Point(5, 38); number_noteLabel.Name = "number_noteLabel"; number_noteLabel.Size = new System.Drawing.Size(67, 13); number_noteLabel.TabIndex = 10; number_noteLabel.Text = "Numero Nota:"; // // driver_idLabel // driver_idLabel.Location = new System.Drawing.Point(405, 12); driver_idLabel.Name = "driver_idLabel"; driver_idLabel.Size = new System.Drawing.Size(49, 13); driver_idLabel.TabIndex = 4; driver_idLabel.Text = "Motorista:"; // // idLabel // idLabel.Location = new System.Drawing.Point(704, 12); idLabel.Name = "idLabel"; idLabel.Size = new System.Drawing.Size(27, 13); idLabel.TabIndex = 0; idLabel.Text = "Cod.:"; // // labelControl17 // labelControl17.Location = new System.Drawing.Point(3, 90); labelControl17.Name = "labelControl17"; labelControl17.Size = new System.Drawing.Size(73, 13); labelControl17.TabIndex = 16; labelControl17.Text = "Transportador:"; // // labelControl18 // labelControl18.Location = new System.Drawing.Point(19, 80); labelControl18.Name = "labelControl18"; labelControl18.Size = new System.Drawing.Size(39, 13); labelControl18.TabIndex = 32; labelControl18.Text = "Estádia:"; // // labelControl19 // labelControl19.Location = new System.Drawing.Point(214, 53); labelControl19.Name = "labelControl19"; labelControl19.Size = new System.Drawing.Size(51, 13); labelControl19.TabIndex = 34; labelControl19.Text = "Depósitos:"; // // tfPercentComission // this.tfPercentComission.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "taxe_comission", true)); this.tfPercentComission.Location = new System.Drawing.Point(65, 25); this.tfPercentComission.Name = "tfPercentComission"; this.tfPercentComission.Properties.Mask.EditMask = "n2"; this.tfPercentComission.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfPercentComission.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfPercentComission.Size = new System.Drawing.Size(100, 20); this.tfPercentComission.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule1.ErrorText = "Informe a porcentagem de comissão"; conditionValidationRule1.Value1 = new decimal(new int[] { 0, 0, 0, 0}); this.validator.SetValidationRule(this.tfPercentComission, conditionValidationRule1); this.tfPercentComission.EditValueChanged += new System.EventHandler(this.calcValues); // // bdgFreight // this.bdgFreight.DataSource = typeof(TruckSystem.freight); // // tfValueTon // this.tfValueTon.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "value_ton", true)); this.tfValueTon.Location = new System.Drawing.Point(271, 24); this.tfValueTon.Name = "tfValueTon"; this.tfValueTon.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfValueTon.Properties.Mask.EditMask = "c2"; this.tfValueTon.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfValueTon.Size = new System.Drawing.Size(107, 20); this.tfValueTon.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule2.ErrorText = "Informe o valor por tonelada"; conditionValidationRule2.Value1 = new decimal(new int[] { 0, 0, 0, 0}); this.validator.SetValidationRule(this.tfValueTon, conditionValidationRule2); this.tfValueTon.EditValueChanged += new System.EventHandler(this.calcValues); // // tfWeight // this.tfWeight.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "weight", true)); this.tfWeight.Location = new System.Drawing.Point(64, 24); this.tfWeight.Name = "tfWeight"; this.tfWeight.Properties.Mask.EditMask = "n2"; this.tfWeight.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfWeight.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfWeight.Size = new System.Drawing.Size(107, 20); this.tfWeight.TabIndex = 0; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule3.ErrorText = "Informe o peso da mercadoria"; conditionValidationRule3.Value1 = new decimal(new int[] { 0, 0, 0, 0}); this.validator.SetValidationRule(this.tfWeight, conditionValidationRule3); this.tfWeight.EditValueChanged += new System.EventHandler(this.calcValues); // // tfProduct // this.tfProduct.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "product", true)); this.tfProduct.Location = new System.Drawing.Point(458, 87); this.tfProduct.Name = "tfProduct"; this.tfProduct.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.tfProduct.Size = new System.Drawing.Size(338, 20); this.tfProduct.TabIndex = 9; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Informe o produto"; this.validator.SetValidationRule(this.tfProduct, conditionValidationRule4); // // tfEnd // this.tfEnd.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "end", true)); this.tfEnd.EditValue = null; this.tfEnd.Location = new System.Drawing.Point(590, 35); this.tfEnd.Name = "tfEnd"; this.tfEnd.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfEnd.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfEnd.Size = new System.Drawing.Size(108, 20); this.tfEnd.TabIndex = 5; conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule5.ErrorText = "Informe a data de término"; this.validator.SetValidationRule(this.tfEnd, conditionValidationRule5); // // tfStart // this.tfStart.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "start", true)); this.tfStart.EditValue = null; this.tfStart.Location = new System.Drawing.Point(458, 35); this.tfStart.Name = "tfStart"; this.tfStart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfStart.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfStart.Size = new System.Drawing.Size(100, 20); this.tfStart.TabIndex = 4; conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule6.ErrorText = "Informe o início"; this.validator.SetValidationRule(this.tfStart, conditionValidationRule6); this.tfStart.EditValueChanged += new System.EventHandler(this.tfStart_EditValueChanged); // // cbCompanyDestination // this.cbCompanyDestination.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "company_destination", true)); this.cbCompanyDestination.Location = new System.Drawing.Point(458, 61); this.cbCompanyDestination.Name = "cbCompanyDestination"; this.cbCompanyDestination.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbCompanyDestination.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.cbCompanyDestination.Properties.DataSource = this.bdgCompanyDestination; this.cbCompanyDestination.Properties.DisplayMember = "corporate_name"; this.cbCompanyDestination.Properties.NullText = ""; this.cbCompanyDestination.Properties.ValueMember = "id"; this.cbCompanyDestination.Properties.View = this.company_destinationSearchLookUpEditView; this.cbCompanyDestination.Size = new System.Drawing.Size(338, 20); this.cbCompanyDestination.TabIndex = 7; conditionValidationRule7.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule7.ErrorText = "Informe o destino da mercadoria"; conditionValidationRule7.Value1 = ((long)(0)); this.validator.SetValidationRule(this.cbCompanyDestination, conditionValidationRule7); // // bdgCompanyDestination // this.bdgCompanyDestination.DataSource = typeof(TruckSystem.customer); // // company_destinationSearchLookUpEditView // this.company_destinationSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn3, this.gridColumn4, this.gridColumn5, this.gridColumn6}); this.company_destinationSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.company_destinationSearchLookUpEditView.Name = "company_destinationSearchLookUpEditView"; this.company_destinationSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false; this.company_destinationSearchLookUpEditView.OptionsView.ShowGroupPanel = false; // // gridColumn3 // this.gridColumn3.Caption = "Cod."; this.gridColumn3.FieldName = "id"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 0; this.gridColumn3.Width = 117; // // gridColumn4 // this.gridColumn4.Caption = "Razão Social"; this.gridColumn4.FieldName = "corporate_name"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 1; this.gridColumn4.Width = 341; // // gridColumn5 // this.gridColumn5.Caption = "Nome Fantasia"; this.gridColumn5.FieldName = "fantasy_name"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 2; this.gridColumn5.Width = 343; // // gridColumn6 // this.gridColumn6.Caption = "CNPJ/CPF"; this.gridColumn6.FieldName = "document"; this.gridColumn6.Name = "gridColumn6"; this.gridColumn6.Visible = true; this.gridColumn6.VisibleIndex = 3; this.gridColumn6.Width = 277; // // cbCompanySource // this.cbCompanySource.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "company_source", true)); this.cbCompanySource.Location = new System.Drawing.Point(79, 61); this.cbCompanySource.Name = "cbCompanySource"; this.cbCompanySource.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbCompanySource.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.cbCompanySource.Properties.DataSource = this.bdgCompanySource; this.cbCompanySource.Properties.DisplayMember = "corporate_name"; this.cbCompanySource.Properties.NullText = ""; this.cbCompanySource.Properties.ValueMember = "id"; this.cbCompanySource.Properties.View = this.company_sourceSearchLookUpEditView; this.cbCompanySource.Size = new System.Drawing.Size(319, 20); this.cbCompanySource.TabIndex = 6; conditionValidationRule8.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule8.ErrorText = "Informe a origem da mercadoria"; conditionValidationRule8.Value1 = ((long)(0)); this.validator.SetValidationRule(this.cbCompanySource, conditionValidationRule8); // // bdgCompanySource // this.bdgCompanySource.DataSource = typeof(TruckSystem.customer); // // company_sourceSearchLookUpEditView // this.company_sourceSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn2, this.colcorporate_name, this.colfantasy_name, this.coldocument}); this.company_sourceSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.company_sourceSearchLookUpEditView.Name = "company_sourceSearchLookUpEditView"; this.company_sourceSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false; this.company_sourceSearchLookUpEditView.OptionsView.ShowGroupPanel = false; // // gridColumn2 // this.gridColumn2.Caption = "Cod."; this.gridColumn2.FieldName = "id"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 0; this.gridColumn2.Width = 117; // // colcorporate_name // this.colcorporate_name.Caption = "Razão Social"; this.colcorporate_name.FieldName = "corporate_name"; this.colcorporate_name.Name = "colcorporate_name"; this.colcorporate_name.Visible = true; this.colcorporate_name.VisibleIndex = 1; this.colcorporate_name.Width = 341; // // colfantasy_name // this.colfantasy_name.Caption = "Nome Fantasia"; this.colfantasy_name.FieldName = "fantasy_name"; this.colfantasy_name.Name = "colfantasy_name"; this.colfantasy_name.Visible = true; this.colfantasy_name.VisibleIndex = 2; this.colfantasy_name.Width = 343; // // coldocument // this.coldocument.Caption = "CNPJ/CPF"; this.coldocument.FieldName = "document"; this.coldocument.Name = "coldocument"; this.coldocument.Visible = true; this.coldocument.VisibleIndex = 3; this.coldocument.Width = 277; // // tfNumberNote // this.tfNumberNote.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "number_note", true)); this.tfNumberNote.Location = new System.Drawing.Point(79, 35); this.tfNumberNote.Name = "tfNumberNote"; this.tfNumberNote.Properties.Mask.EditMask = "d"; this.tfNumberNote.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfNumberNote.Size = new System.Drawing.Size(97, 20); this.tfNumberNote.TabIndex = 2; conditionValidationRule9.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule9.ErrorText = "Informe o numero da nota"; conditionValidationRule9.Value1 = 0; this.validator.SetValidationRule(this.tfNumberNote, conditionValidationRule9); // // cbDriver // this.cbDriver.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "driver_id", true)); this.cbDriver.Location = new System.Drawing.Point(458, 9); this.cbDriver.Name = "cbDriver"; this.cbDriver.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbDriver.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.cbDriver.Properties.DataSource = this.bdgDrivers; this.cbDriver.Properties.DisplayMember = "full_name"; this.cbDriver.Properties.NullText = ""; this.cbDriver.Properties.ValueMember = "id"; this.cbDriver.Properties.View = this.driver_idSearchLookUpEditView; this.cbDriver.Size = new System.Drawing.Size(240, 20); this.cbDriver.TabIndex = 1; conditionValidationRule10.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule10.ErrorText = "Informe o motorista"; conditionValidationRule10.Value1 = ((long)(0)); this.validator.SetValidationRule(this.cbDriver, conditionValidationRule10); this.cbDriver.EditValueChanged += new System.EventHandler(this.cbDriver_EditValueChanged); // // bdgDrivers // this.bdgDrivers.DataSource = typeof(TruckSystem.driver); // // driver_idSearchLookUpEditView // this.driver_idSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.colfull_name, this.colcpf}); this.driver_idSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.driver_idSearchLookUpEditView.Name = "driver_idSearchLookUpEditView"; this.driver_idSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false; this.driver_idSearchLookUpEditView.OptionsView.ShowGroupPanel = false; // // gridColumn1 // this.gridColumn1.Caption = "Cod."; this.gridColumn1.FieldName = "id"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 0; this.gridColumn1.Width = 137; // // colfull_name // this.colfull_name.Caption = "Nome Completo"; this.colfull_name.FieldName = "full_name"; this.colfull_name.Name = "colfull_name"; this.colfull_name.Visible = true; this.colfull_name.VisibleIndex = 1; this.colfull_name.Width = 618; // // colcpf // this.colcpf.Caption = "CPF"; this.colcpf.FieldName = "cpf"; this.colcpf.Name = "colcpf"; this.colcpf.Visible = true; this.colcpf.VisibleIndex = 2; this.colcpf.Width = 323; // // cbTruck // this.cbTruck.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "truck_id", true)); this.cbTruck.Location = new System.Drawing.Point(79, 9); this.cbTruck.Name = "cbTruck"; this.cbTruck.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbTruck.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.cbTruck.Properties.CloseUpKey = new DevExpress.Utils.KeyShortcut(((System.Windows.Forms.Keys.Control | System.Windows.Forms.Keys.Shift) | System.Windows.Forms.Keys.Z)); this.cbTruck.Properties.DataSource = this.bdgTrucks; this.cbTruck.Properties.DisplayMember = "board"; this.cbTruck.Properties.NullText = ""; this.cbTruck.Properties.ValueMember = "id"; this.cbTruck.Properties.View = this.truck_idSearchLookUpEditView; this.cbTruck.Size = new System.Drawing.Size(97, 20); this.cbTruck.TabIndex = 0; conditionValidationRule11.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule11.ErrorText = "Informe o Caminhão"; conditionValidationRule11.Value1 = ((long)(0)); this.validator.SetValidationRule(this.cbTruck, conditionValidationRule11); this.cbTruck.EditValueChanged += new System.EventHandler(this.cbTruck_EditValueChanged); // // bdgTrucks // this.bdgTrucks.DataSource = typeof(TruckSystem.truck); // // truck_idSearchLookUpEditView // this.truck_idSearchLookUpEditView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid, this.colboard}); this.truck_idSearchLookUpEditView.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.truck_idSearchLookUpEditView.Name = "truck_idSearchLookUpEditView"; this.truck_idSearchLookUpEditView.OptionsSelection.EnableAppearanceFocusedCell = false; this.truck_idSearchLookUpEditView.OptionsView.ShowGroupPanel = false; // // colid // this.colid.Caption = "Cod."; this.colid.FieldName = "id"; this.colid.Name = "colid"; this.colid.Visible = true; this.colid.VisibleIndex = 0; this.colid.Width = 179; // // colboard // this.colboard.Caption = "Placa"; this.colboard.FieldName = "board"; this.colboard.Name = "colboard"; this.colboard.Visible = true; this.colboard.VisibleIndex = 1; this.colboard.Width = 899; // // cbCarrier // this.cbCarrier.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "carrier", true)); this.cbCarrier.Location = new System.Drawing.Point(79, 87); this.cbCarrier.Name = "cbCarrier"; this.cbCarrier.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbCarrier.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.cbCarrier.Properties.DataSource = this.bdgCarrier; this.cbCarrier.Properties.DisplayMember = "corporate_name"; this.cbCarrier.Properties.NullText = ""; this.cbCarrier.Properties.ValueMember = "id"; this.cbCarrier.Properties.View = this.gridView1; this.cbCarrier.Size = new System.Drawing.Size(319, 20); this.cbCarrier.TabIndex = 8; conditionValidationRule12.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule12.ErrorText = "Informe o Transportador"; conditionValidationRule12.Value1 = ((long)(0)); this.validator.SetValidationRule(this.cbCarrier, conditionValidationRule12); // // bdgCarrier // this.bdgCarrier.DataSource = typeof(TruckSystem.customer); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn7, this.gridColumn8, this.gridColumn9, this.gridColumn10}); this.gridView1.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView1.Name = "gridView1"; this.gridView1.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView1.OptionsView.ShowGroupPanel = false; // // gridColumn7 // this.gridColumn7.Caption = "Cod."; this.gridColumn7.FieldName = "id"; this.gridColumn7.Name = "gridColumn7"; this.gridColumn7.Visible = true; this.gridColumn7.VisibleIndex = 0; this.gridColumn7.Width = 117; // // gridColumn8 // this.gridColumn8.Caption = "Razão Social"; this.gridColumn8.FieldName = "corporate_name"; this.gridColumn8.Name = "gridColumn8"; this.gridColumn8.Visible = true; this.gridColumn8.VisibleIndex = 1; this.gridColumn8.Width = 341; // // gridColumn9 // this.gridColumn9.Caption = "Nome Fantasia"; this.gridColumn9.FieldName = "fantasy_name"; this.gridColumn9.Name = "gridColumn9"; this.gridColumn9.Visible = true; this.gridColumn9.VisibleIndex = 2; this.gridColumn9.Width = 343; // // gridColumn10 // this.gridColumn10.Caption = "CNPJ/CPF"; this.gridColumn10.FieldName = "document"; this.gridColumn10.Name = "gridColumn10"; this.gridColumn10.Visible = true; this.gridColumn10.VisibleIndex = 3; this.gridColumn10.Width = 277; // // panelControl2 // this.panelControl2.Controls.Add(this.btnDeposits); this.panelControl2.Controls.Add(this.btnStay); this.panelControl2.Controls.Add(this.groupControl3); this.panelControl2.Controls.Add(this.lbTrailers); this.panelControl2.Controls.Add(this.btnFueled); this.panelControl2.Controls.Add(this.btnOutputs); this.panelControl2.Controls.Add(labelControl12); this.panelControl2.Controls.Add(this.groupControl2); this.panelControl2.Controls.Add(this.groupControl1); this.panelControl2.Controls.Add(labelControl6); this.panelControl2.Controls.Add(this.tfLiquidFreight); this.panelControl2.Controls.Add(this.tfProduct); this.panelControl2.Controls.Add(labelControl5); this.panelControl2.Controls.Add(labelControl4); this.panelControl2.Controls.Add(this.tfEnd); this.panelControl2.Controls.Add(this.tfStart); this.panelControl2.Controls.Add(labelControl3); this.panelControl2.Controls.Add(this.cbCompanyDestination); this.panelControl2.Controls.Add(this.cbCarrier); this.panelControl2.Controls.Add(this.cbCompanySource); this.panelControl2.Controls.Add(labelControl17); this.panelControl2.Controls.Add(labelControl2); this.panelControl2.Controls.Add(labelControl1); this.panelControl2.Controls.Add(number_cteLabel); this.panelControl2.Controls.Add(this.tfNumberCte); this.panelControl2.Controls.Add(number_noteLabel); this.panelControl2.Controls.Add(this.tfNumberNote); this.panelControl2.Controls.Add(driver_idLabel); this.panelControl2.Controls.Add(this.cbDriver); this.panelControl2.Controls.Add(this.cbTruck); this.panelControl2.Controls.Add(idLabel); this.panelControl2.Controls.Add(this.tfId); 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(800, 396); this.panelControl2.TabIndex = 0; // // btnDeposits // this.btnDeposits.Appearance.Font = new System.Drawing.Font("Tahoma", 9F); this.btnDeposits.Appearance.Options.UseFont = true; this.btnDeposits.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; this.btnDeposits.Location = new System.Drawing.Point(237, 253); this.btnDeposits.Name = "btnDeposits"; this.btnDeposits.Size = new System.Drawing.Size(110, 23); this.btnDeposits.TabIndex = 40; this.btnDeposits.Text = "Depósitos"; this.btnDeposits.Click += new System.EventHandler(this.btnDeposits_Click); // // btnStay // this.btnStay.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnStay.Appearance.Options.UseFont = true; this.btnStay.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; this.btnStay.Location = new System.Drawing.Point(353, 253); this.btnStay.Name = "btnStay"; this.btnStay.Size = new System.Drawing.Size(110, 23); this.btnStay.TabIndex = 14; this.btnStay.Text = "Estadia"; this.btnStay.Visible = false; this.btnStay.Click += new System.EventHandler(this.btnStay_Click); // // groupControl3 // this.groupControl3.Controls.Add(this.tfObservations); this.groupControl3.Location = new System.Drawing.Point(5, 281); this.groupControl3.Name = "groupControl3"; this.groupControl3.Size = new System.Drawing.Size(790, 108); this.groupControl3.TabIndex = 15; this.groupControl3.Text = "Observações"; // // tfObservations // this.tfObservations.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "observations", true)); this.tfObservations.Dock = System.Windows.Forms.DockStyle.Fill; this.tfObservations.EditValue = ""; this.tfObservations.Location = new System.Drawing.Point(2, 21); this.tfObservations.Name = "tfObservations"; this.tfObservations.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.tfObservations.Size = new System.Drawing.Size(786, 85); this.tfObservations.TabIndex = 0; this.tfObservations.UseOptimizedRendering = true; // // lbTrailers // this.lbTrailers.Location = new System.Drawing.Point(182, 12); this.lbTrailers.Name = "lbTrailers"; this.lbTrailers.Size = new System.Drawing.Size(52, 13); this.lbTrailers.TabIndex = 39; this.lbTrailers.Text = "Reboques:"; // // btnFueled // this.btnFueled.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnFueled.Appearance.Options.UseFont = true; this.btnFueled.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; this.btnFueled.Location = new System.Drawing.Point(121, 253); this.btnFueled.Name = "btnFueled"; this.btnFueled.Size = new System.Drawing.Size(110, 23); this.btnFueled.TabIndex = 13; this.btnFueled.Text = "Abastecimento"; this.btnFueled.Click += new System.EventHandler(this.btnFueled_Click); // // btnOutputs // this.btnOutputs.Appearance.Font = new System.Drawing.Font("Tahoma", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.btnOutputs.Appearance.Options.UseFont = true; this.btnOutputs.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.HotFlat; this.btnOutputs.Location = new System.Drawing.Point(5, 253); this.btnOutputs.Name = "btnOutputs"; this.btnOutputs.Size = new System.Drawing.Size(110, 23); this.btnOutputs.TabIndex = 12; this.btnOutputs.Text = "Despesas"; this.btnOutputs.Click += new System.EventHandler(this.btnOutputs_Click); // // groupControl2 // this.groupControl2.Controls.Add(labelControl16); this.groupControl2.Controls.Add(labelControl15); this.groupControl2.Controls.Add(labelControl14); this.groupControl2.Controls.Add(this.tfValueComission); this.groupControl2.Controls.Add(this.tfExtraComission); this.groupControl2.Controls.Add(this.tfDiscountComission); this.groupControl2.Controls.Add(labelControl13); this.groupControl2.Controls.Add(this.tfPercentComission); this.groupControl2.Location = new System.Drawing.Point(403, 113); this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(393, 134); this.groupControl2.TabIndex = 11; this.groupControl2.Text = "Comissão do Motorista"; // // tfValueComission // this.tfValueComission.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "value_comission", true)); this.tfValueComission.Location = new System.Drawing.Point(270, 77); this.tfValueComission.Name = "tfValueComission"; this.tfValueComission.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfValueComission.Properties.Mask.EditMask = "c2"; this.tfValueComission.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfValueComission.Properties.ReadOnly = true; this.tfValueComission.Size = new System.Drawing.Size(100, 20); this.tfValueComission.TabIndex = 41; this.tfValueComission.TabStop = false; // // tfExtraComission // this.tfExtraComission.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "extra_comission", true)); this.tfExtraComission.Location = new System.Drawing.Point(270, 51); this.tfExtraComission.Name = "tfExtraComission"; this.tfExtraComission.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfExtraComission.Properties.Mask.EditMask = "c2"; this.tfExtraComission.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfExtraComission.Size = new System.Drawing.Size(100, 20); this.tfExtraComission.TabIndex = 2; this.tfExtraComission.EditValueChanged += new System.EventHandler(this.calcValues); // // tfDiscountComission // this.tfDiscountComission.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "discounts_comission", true)); this.tfDiscountComission.Location = new System.Drawing.Point(65, 51); this.tfDiscountComission.Name = "tfDiscountComission"; this.tfDiscountComission.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.tfDiscountComission.Properties.Mask.EditMask = "c2"; this.tfDiscountComission.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfDiscountComission.Size = new System.Drawing.Size(100, 20); this.tfDiscountComission.TabIndex = 1; this.tfDiscountComission.EditValueChanged += new System.EventHandler(this.calcValues); // // groupControl1 // this.groupControl1.Controls.Add(this.tfDeposits); this.groupControl1.Controls.Add(labelControl19); this.groupControl1.Controls.Add(labelControl11); this.groupControl1.Controls.Add(this.tfOutputs); this.groupControl1.Controls.Add(labelControl18); this.groupControl1.Controls.Add(labelControl10); this.groupControl1.Controls.Add(this.tfStay); this.groupControl1.Controls.Add(this.tfFueled); this.groupControl1.Controls.Add(labelControl9); this.groupControl1.Controls.Add(this.tfValueTon); this.groupControl1.Controls.Add(labelControl8); this.groupControl1.Controls.Add(this.tfGross); this.groupControl1.Controls.Add(this.tfWeight); this.groupControl1.Controls.Add(labelControl7); this.groupControl1.Location = new System.Drawing.Point(5, 113); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(392, 134); this.groupControl1.TabIndex = 10; this.groupControl1.Text = "Peso e Valores"; // // tfDeposits // this.tfDeposits.Location = new System.Drawing.Point(271, 50); this.tfDeposits.Name = "tfDeposits"; this.tfDeposits.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.tfDeposits.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfDeposits.Properties.ReadOnly = true; this.tfDeposits.Size = new System.Drawing.Size(107, 20); this.tfDeposits.TabIndex = 35; // // tfOutputs // this.tfOutputs.Location = new System.Drawing.Point(271, 77); this.tfOutputs.Name = "tfOutputs"; this.tfOutputs.Properties.Mask.EditMask = "c2"; this.tfOutputs.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfOutputs.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfOutputs.Properties.ReadOnly = true; this.tfOutputs.Size = new System.Drawing.Size(107, 20); this.tfOutputs.TabIndex = 33; this.tfOutputs.TabStop = false; // // tfStay // this.tfStay.Location = new System.Drawing.Point(64, 77); this.tfStay.Name = "tfStay"; this.tfStay.Properties.Mask.EditMask = "c2"; this.tfStay.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfStay.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfStay.Properties.ReadOnly = true; this.tfStay.Size = new System.Drawing.Size(107, 20); this.tfStay.TabIndex = 31; this.tfStay.TabStop = false; // // tfFueled // this.tfFueled.Location = new System.Drawing.Point(271, 103); this.tfFueled.Name = "tfFueled"; this.tfFueled.Properties.Mask.EditMask = "c2"; this.tfFueled.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfFueled.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfFueled.Properties.ReadOnly = true; this.tfFueled.Size = new System.Drawing.Size(107, 20); this.tfFueled.TabIndex = 31; this.tfFueled.TabStop = false; // // tfGross // this.tfGross.Location = new System.Drawing.Point(64, 50); this.tfGross.Name = "tfGross"; this.tfGross.Properties.Appearance.ForeColor = System.Drawing.Color.Blue; this.tfGross.Properties.Appearance.Options.UseForeColor = true; this.tfGross.Properties.Mask.EditMask = "c2"; this.tfGross.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfGross.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfGross.Properties.ReadOnly = true; this.tfGross.Size = new System.Drawing.Size(107, 20); this.tfGross.TabIndex = 2; this.tfGross.Enter += new System.EventHandler(this.tfGross_Enter); this.tfGross.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tfGross_KeyDown); // // tfLiquidFreight // this.tfLiquidFreight.Location = new System.Drawing.Point(617, 251); this.tfLiquidFreight.Name = "tfLiquidFreight"; this.tfLiquidFreight.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.tfLiquidFreight.Properties.Appearance.ForeColor = System.Drawing.Color.Green; this.tfLiquidFreight.Properties.Appearance.Options.UseFont = true; this.tfLiquidFreight.Properties.Appearance.Options.UseForeColor = true; this.tfLiquidFreight.Properties.Mask.EditMask = "c2"; this.tfLiquidFreight.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.tfLiquidFreight.Properties.Mask.UseMaskAsDisplayFormat = true; this.tfLiquidFreight.Properties.ReadOnly = true; this.tfLiquidFreight.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.tfLiquidFreight.Size = new System.Drawing.Size(178, 26); this.tfLiquidFreight.TabIndex = 35; this.tfLiquidFreight.TabStop = false; // // tfNumberCte // this.tfNumberCte.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "number_cte", true)); this.tfNumberCte.Location = new System.Drawing.Point(260, 35); this.tfNumberCte.Name = "tfNumberCte"; this.tfNumberCte.Size = new System.Drawing.Size(137, 20); this.tfNumberCte.TabIndex = 3; // // tfId // this.tfId.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.bdgFreight, "id", true)); this.tfId.Location = new System.Drawing.Point(740, 9); this.tfId.Name = "tfId"; this.tfId.Properties.ReadOnly = true; this.tfId.Size = new System.Drawing.Size(56, 20); this.tfId.TabIndex = 1; this.tfId.TabStop = false; // // panelControl1 // this.panelControl1.Controls.Add(this.btnUpdateData); 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, 396); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(800, 46); this.panelControl1.TabIndex = 1; // // btnUpdateData // this.btnUpdateData.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat; this.btnUpdateData.Image = ((System.Drawing.Image)(resources.GetObject("btnUpdateData.Image"))); this.btnUpdateData.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleCenter; this.btnUpdateData.Location = new System.Drawing.Point(5, 6); this.btnUpdateData.Name = "btnUpdateData"; this.btnUpdateData.Size = new System.Drawing.Size(33, 33); this.btnUpdateData.TabIndex = 2; this.btnUpdateData.Click += new System.EventHandler(this.btnUpdateData_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(569, 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.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(685, 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); // // FreightForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.panelControl2); this.Controls.Add(this.panelControl1); this.Name = "FreightForm"; this.Size = new System.Drawing.Size(800, 442); ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfPercentComission.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgFreight)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfValueTon.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfWeight.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfProduct.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfEnd.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfEnd.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfStart.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfStart.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbCompanyDestination.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgCompanyDestination)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.company_destinationSearchLookUpEditView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbCompanySource.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgCompanySource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.company_sourceSearchLookUpEditView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfNumberNote.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbDriver.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgDrivers)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.driver_idSearchLookUpEditView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbTruck.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgTrucks)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.truck_idSearchLookUpEditView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbCarrier.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgCarrier)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); this.panelControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl3)).EndInit(); this.groupControl3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tfObservations.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); this.groupControl2.ResumeLayout(false); this.groupControl2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tfValueComission.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfExtraComission.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfDiscountComission.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); this.groupControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tfDeposits.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfOutputs.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfStay.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfFueled.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfGross.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfLiquidFreight.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfNumberCte.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tfId.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.layoutMain = new DevExpress.XtraLayout.LayoutControl(); this.txtDescription = new DevExpress.XtraEditors.MemoEdit(); this.txtOnDate = new DevExpress.XtraEditors.DateEdit(); this.ddlState = new DevExpress.XtraEditors.LookUpEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutMain)).BeginInit(); this.layoutMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ddlState.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); this.SuspendLayout(); // // layoutMain // this.layoutMain.Controls.Add(this.txtDescription); this.layoutMain.Controls.Add(this.txtOnDate); this.layoutMain.Controls.Add(this.ddlState); this.layoutMain.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutMain.Location = new System.Drawing.Point(0, 0); this.layoutMain.Name = "layoutMain"; this.layoutMain.Root = this.layoutControlGroup1; this.layoutMain.Size = new System.Drawing.Size(384, 179); this.layoutMain.TabIndex = 1; this.layoutMain.Text = "layoutControl2"; // // txtDescription // this.txtDescription.Location = new System.Drawing.Point(12, 76); this.txtDescription.Name = "txtDescription"; this.txtDescription.Size = new System.Drawing.Size(360, 91); this.txtDescription.StyleController = this.layoutMain; this.txtDescription.TabIndex = 6; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Вкажіть примітку"; this.validationProvider.SetValidationRule(this.txtDescription, conditionValidationRule1); // // txtOnDate // this.txtOnDate.EditValue = null; this.txtOnDate.Enabled = false; this.txtOnDate.Location = new System.Drawing.Point(78, 12); this.txtOnDate.Name = "txtOnDate"; this.txtOnDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.txtOnDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtOnDate.Properties.CalendarTimeProperties.CloseUpKey = new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.F4); this.txtOnDate.Properties.CalendarTimeProperties.PopupBorderStyle = DevExpress.XtraEditors.Controls.PopupBorderStyles.Default; this.txtOnDate.Size = new System.Drawing.Size(294, 20); this.txtOnDate.StyleController = this.layoutMain; this.txtOnDate.TabIndex = 5; // // ddlState // this.ddlState.Location = new System.Drawing.Point(78, 36); this.ddlState.Name = "ddlState"; this.ddlState.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ddlState.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name1")}); this.ddlState.Properties.DisplayMember = "Name"; this.ddlState.Properties.NullText = "Оберіть стан справи"; this.ddlState.Properties.ShowFooter = false; this.ddlState.Properties.ShowHeader = false; this.ddlState.Properties.ValueMember = "ID"; this.ddlState.Size = new System.Drawing.Size(294, 20); this.ddlState.StyleController = this.layoutMain; this.ddlState.TabIndex = 4; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Оберіть стан справи"; this.validationProvider.SetValidationRule(this.ddlState, conditionValidationRule2); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem3, this.layoutControlItem2}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(384, 179); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.ddlState; this.layoutControlItem1.CustomizationFormText = "Стан справи"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 24); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(364, 24); this.layoutControlItem1.Text = "Статус"; this.layoutControlItem1.TextSize = new System.Drawing.Size(63, 13); // // layoutControlItem3 // this.layoutControlItem3.Control = this.txtDescription; this.layoutControlItem3.CustomizationFormText = "Примітка"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 48); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(364, 111); this.layoutControlItem3.Text = "Стан справи"; this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Top; this.layoutControlItem3.TextSize = new System.Drawing.Size(63, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.txtOnDate; this.layoutControlItem2.CustomizationFormText = "Дата"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(364, 24); this.layoutControlItem2.Text = "Дата"; this.layoutControlItem2.TextSize = new System.Drawing.Size(63, 13); // // frmStateHistoryEdit // this.ClientSize = new System.Drawing.Size(384, 215); this.Controls.Add(this.layoutMain); this.Name = "frmStateHistoryEdit"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Змінити стан справи"; this.Controls.SetChildIndex(this.layoutMain, 0); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutMain)).EndInit(); this.layoutMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ddlState.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAddJob)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.btnAdd = new DevExpress.XtraEditors.SimpleButton(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.txtHourPrice = new DevExpress.XtraEditors.TextEdit(); this.txtSalary = new DevExpress.XtraEditors.TextEdit(); this.txtName = new DevExpress.XtraEditors.TextEdit(); this.valName = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.cmbJobs = new DevExpress.XtraEditors.LookUpEdit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtHourPrice.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSalary.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbJobs.Properties)).BeginInit(); this.SuspendLayout(); // // labelControl1 // this.labelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControl1.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.labelControl1.Location = new System.Drawing.Point(171, 51); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(106, 24); this.labelControl1.TabIndex = 1; this.labelControl1.Text = "إسم الوظيفة"; // // btnAdd // this.btnAdd.AllowGlyphSkinning = DevExpress.Utils.DefaultBoolean.True; this.btnAdd.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnAdd.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.btnAdd.Appearance.Options.UseFont = true; this.btnAdd.Image = ((System.Drawing.Image)(resources.GetObject("btnAdd.Image"))); this.btnAdd.Location = new System.Drawing.Point(7, 207); this.btnAdd.Name = "btnAdd"; this.btnAdd.Size = new System.Drawing.Size(288, 68); this.btnAdd.TabIndex = 3; this.btnAdd.Text = "حفظ"; this.btnAdd.Click += new System.EventHandler(this.btnAdd_Click); // // labelControl2 // this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControl2.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.labelControl2.Location = new System.Drawing.Point(196, 89); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(56, 24); this.labelControl2.TabIndex = 4; this.labelControl2.Text = "المرتب"; // // labelControl3 // this.labelControl3.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.labelControl3.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.labelControl3.Location = new System.Drawing.Point(178, 127); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(93, 24); this.labelControl3.TabIndex = 6; this.labelControl3.Text = "أجر الساعة"; // // groupControl1 // this.groupControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.groupControl1.AppearanceCaption.Font = new System.Drawing.Font("Tahoma", 12F); this.groupControl1.AppearanceCaption.Options.UseFont = true; this.groupControl1.AppearanceCaption.Options.UseTextOptions = true; this.groupControl1.AppearanceCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.groupControl1.Controls.Add(this.txtHourPrice); this.groupControl1.Controls.Add(this.txtSalary); this.groupControl1.Controls.Add(this.txtName); this.groupControl1.Controls.Add(this.labelControl3); this.groupControl1.Controls.Add(this.labelControl1); this.groupControl1.Controls.Add(this.labelControl2); this.groupControl1.Location = new System.Drawing.Point(7, 42); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(288, 159); this.groupControl1.TabIndex = 7; this.groupControl1.Text = "بيانات الوظيفة"; // // txtHourPrice // this.txtHourPrice.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtHourPrice.EnterMoveNextControl = true; this.txtHourPrice.Location = new System.Drawing.Point(8, 124); this.txtHourPrice.Name = "txtHourPrice"; this.txtHourPrice.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txtHourPrice.Properties.Appearance.Options.UseFont = true; this.txtHourPrice.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtHourPrice.Size = new System.Drawing.Size(157, 28); this.txtHourPrice.TabIndex = 2; // // txtSalary // this.txtSalary.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtSalary.EnterMoveNextControl = true; this.txtSalary.Location = new System.Drawing.Point(8, 86); this.txtSalary.Name = "txtSalary"; this.txtSalary.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txtSalary.Properties.Appearance.Options.UseFont = true; this.txtSalary.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtSalary.Size = new System.Drawing.Size(157, 28); this.txtSalary.TabIndex = 1; // // txtName // this.txtName.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.txtName.EnterMoveNextControl = true; this.txtName.Location = new System.Drawing.Point(8, 48); this.txtName.Name = "txtName"; this.txtName.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F); this.txtName.Properties.Appearance.Options.UseFont = true; this.txtName.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.txtName.Size = new System.Drawing.Size(157, 28); this.txtName.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "برجاء إدخال إسم الوظيفة"; this.valName.SetValidationRule(this.txtName, conditionValidationRule1); // // cmbJobs // this.cmbJobs.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.cmbJobs.Location = new System.Drawing.Point(7, 6); this.cmbJobs.Name = "cmbJobs"; this.cmbJobs.Properties.ActionButtonIndex = 1; this.cmbJobs.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.cmbJobs.Properties.Appearance.Options.UseFont = true; this.cmbJobs.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Plus), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.cmbJobs.Properties.NullText = "بحث"; this.cmbJobs.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.cmbJobs.Size = new System.Drawing.Size(288, 30); this.cmbJobs.TabIndex = 8; this.cmbJobs.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.cmbJobs_ButtonClick); this.cmbJobs.EditValueChanged += new System.EventHandler(this.cmbJobs_EditValueChanged); // // frmAddJob // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(302, 279); this.Controls.Add(this.cmbJobs); this.Controls.Add(this.groupControl1); this.Controls.Add(this.btnAdd); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "frmAddJob"; this.ShowIcon = false; this.ShowInTaskbar = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "إضافة وتعديل وظيفة"; this.Load += new System.EventHandler(this.frmAddJob_Load); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); this.groupControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtHourPrice.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSalary.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cmbJobs.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.Windows.Forms.Label passwordExpiresLabel; DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule6 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); 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(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.jobblookUpEdit = new DevExpress.XtraEditors.LookUpEdit(); this.currentUserBindingSource = new System.Windows.Forms.BindingSource(this.components); this.jobtitlebindingSource = new System.Windows.Forms.BindingSource(this.components); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.isActiveCheckEdit = new DevExpress.XtraEditors.CheckEdit(); this.btnClose = new DevExpress.XtraEditors.SimpleButton(); this.btnDisable = new DevExpress.XtraEditors.SimpleButton(); this.btnSetPassword = new DevExpress.XtraEditors.SimpleButton(); this.expirationdateEdit = new DevExpress.XtraEditors.DateEdit(); this.btnSaveUserDetail = new DevExpress.XtraEditors.SimpleButton(); this.accountlistBox = new DevExpress.XtraEditors.ListBoxControl(); this.accountsbindingSource = new System.Windows.Forms.BindingSource(this.components); this.btnRemoveStore = new DevExpress.XtraEditors.SimpleButton(); this.btnAddStore = new DevExpress.XtraEditors.SimpleButton(); this.btnAddAccount = new DevExpress.XtraEditors.SimpleButton(); this.btnRemoveGroup = new DevExpress.XtraEditors.SimpleButton(); this.btnAddGroup = new DevExpress.XtraEditors.SimpleButton(); this.btnRemoveAccount = new DevExpress.XtraEditors.SimpleButton(); this.grouplistBox = new DevExpress.XtraEditors.ListBoxControl(); this.groupsbindingSource = new System.Windows.Forms.BindingSource(this.components); this.deptlookUpEdit = new DevExpress.XtraEditors.LookUpEdit(); this.deptbindingSource = new System.Windows.Forms.BindingSource(this.components); this.lastnametextEdit = new DevExpress.XtraEditors.TextEdit(); this.firstnametextEdit = new DevExpress.XtraEditors.TextEdit(); this.passwordtextEdit = new DevExpress.XtraEditors.TextEdit(); this.usernametextEdit = new DevExpress.XtraEditors.TextEdit(); this.storelistBox = new DevExpress.XtraEditors.ListBoxControl(); this.storebindingSource = new System.Windows.Forms.BindingSource(this.components); this.layoutControlItem19 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem10 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem26 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup5 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem18 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem21 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup6 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem20 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem23 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem24 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem25 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem17 = new DevExpress.XtraLayout.LayoutControlItem(); this.UserValidation = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem9 = new DevExpress.XtraLayout.EmptySpaceItem(); passwordExpiresLabel = new System.Windows.Forms.Label(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jobblookUpEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.currentUserBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jobtitlebindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.isActiveCheckEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.expirationdateEdit.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.expirationdateEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.accountlistBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.accountsbindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.grouplistBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupsbindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deptlookUpEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deptbindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lastnametextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.firstnametextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.passwordtextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.usernametextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.storelistBox)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.storebindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.UserValidation)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).BeginInit(); this.SuspendLayout(); // // passwordExpiresLabel // passwordExpiresLabel.Location = new System.Drawing.Point(12, 626); passwordExpiresLabel.Name = "passwordExpiresLabel"; passwordExpiresLabel.Size = new System.Drawing.Size(961, 21); passwordExpiresLabel.TabIndex = 27; // // layoutControlItem12 // this.layoutControlItem12.Control = this.jobblookUpEdit; this.layoutControlItem12.CustomizationFormText = "Job Title"; this.layoutControlItem12.Location = new System.Drawing.Point(0, 48); this.layoutControlItem12.MaxSize = new System.Drawing.Size(0, 24); this.layoutControlItem12.MinSize = new System.Drawing.Size(156, 24); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Size = new System.Drawing.Size(358, 24); this.layoutControlItem12.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem12.Text = "Job Title"; this.layoutControlItem12.TextSize = new System.Drawing.Size(57, 13); // // jobblookUpEdit // this.jobblookUpEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "JobTitleID", true)); this.jobblookUpEdit.Location = new System.Drawing.Point(84, 91); this.jobblookUpEdit.Name = "jobblookUpEdit"; this.jobblookUpEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.jobblookUpEdit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Title", "Job Title")}); this.jobblookUpEdit.Properties.DataSource = this.jobtitlebindingSource; this.jobblookUpEdit.Properties.DisplayMember = "Title"; this.jobblookUpEdit.Properties.NullText = "[Select JobTitle]"; this.jobblookUpEdit.Properties.ValueMember = "JobTitleID"; this.jobblookUpEdit.Size = new System.Drawing.Size(294, 20); this.jobblookUpEdit.StyleController = this.layoutControl1; this.jobblookUpEdit.TabIndex = 4; conditionValidationRule6.ErrorText = global::HCMIS.Security.UserManagement.Properties.Resources.DELETE_ERROR; this.UserValidation.SetValidationRule(this.jobblookUpEdit, conditionValidationRule6); // // currentUserBindingSource // this.currentUserBindingSource.DataSource = typeof(HCMIS.Security.Models.User); // // jobtitlebindingSource // this.jobtitlebindingSource.DataSource = typeof(HCMIS.Security.Models.JobTitle); // // layoutControl1 // this.layoutControl1.Controls.Add(this.isActiveCheckEdit); this.layoutControl1.Controls.Add(this.btnClose); this.layoutControl1.Controls.Add(this.btnDisable); this.layoutControl1.Controls.Add(this.btnSetPassword); this.layoutControl1.Controls.Add(this.expirationdateEdit); this.layoutControl1.Controls.Add(this.btnSaveUserDetail); this.layoutControl1.Controls.Add(this.accountlistBox); this.layoutControl1.Controls.Add(this.btnRemoveStore); this.layoutControl1.Controls.Add(this.btnAddStore); this.layoutControl1.Controls.Add(this.btnAddAccount); this.layoutControl1.Controls.Add(this.btnRemoveGroup); this.layoutControl1.Controls.Add(this.btnAddGroup); this.layoutControl1.Controls.Add(this.btnRemoveAccount); this.layoutControl1.Controls.Add(this.grouplistBox); this.layoutControl1.Controls.Add(this.deptlookUpEdit); this.layoutControl1.Controls.Add(this.lastnametextEdit); this.layoutControl1.Controls.Add(this.firstnametextEdit); this.layoutControl1.Controls.Add(this.jobblookUpEdit); this.layoutControl1.Controls.Add(this.passwordtextEdit); this.layoutControl1.Controls.Add(this.usernametextEdit); this.layoutControl1.Controls.Add(this.storelistBox); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.HiddenItems.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem19, this.layoutControlItem6}); this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(841, 282, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(826, 562); this.layoutControl1.TabIndex = 10; this.layoutControl1.Text = "layoutControl1"; // // isActiveCheckEdit // this.isActiveCheckEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "IsActive", true)); this.isActiveCheckEdit.Location = new System.Drawing.Point(382, 115); this.isActiveCheckEdit.Name = "isActiveCheckEdit"; this.isActiveCheckEdit.Properties.Caption = "Is Enabled"; this.isActiveCheckEdit.Size = new System.Drawing.Size(78, 19); this.isActiveCheckEdit.StyleController = this.layoutControl1; this.isActiveCheckEdit.TabIndex = 38; // // btnClose // this.btnClose.Image = global::HCMIS.Security.UserManagement.Properties.Resources.CloseButton; this.btnClose.Location = new System.Drawing.Point(712, 528); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(102, 22); this.btnClose.StyleController = this.layoutControl1; this.btnClose.TabIndex = 35; this.btnClose.Text = "Close"; this.btnClose.Click += new System.EventHandler(this.btnViewPermission_Click); // // btnDisable // this.btnDisable.Image = global::HCMIS.Security.UserManagement.Properties.Resources.Delete_16x16; this.btnDisable.Location = new System.Drawing.Point(578, 528); this.btnDisable.Name = "btnDisable"; this.btnDisable.Size = new System.Drawing.Size(130, 22); this.btnDisable.StyleController = this.layoutControl1; this.btnDisable.TabIndex = 34; this.btnDisable.Text = "Enable/Disable "; this.btnDisable.Click += new System.EventHandler(this.BtnDisableClick); // // btnSetPassword // this.btnSetPassword.Image = global::HCMIS.Security.UserManagement.Properties.Resources.UserKey_16x16; this.btnSetPassword.Location = new System.Drawing.Point(458, 528); this.btnSetPassword.Name = "btnSetPassword"; this.btnSetPassword.Size = new System.Drawing.Size(116, 22); this.btnSetPassword.StyleController = this.layoutControl1; this.btnSetPassword.TabIndex = 33; this.btnSetPassword.Text = "Reset Password"; this.btnSetPassword.Click += new System.EventHandler(this.BtnResetPasswordClick); // // expirationdateEdit // this.expirationdateEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "ExpirationDate", true)); this.expirationdateEdit.EditValue = null; this.expirationdateEdit.Location = new System.Drawing.Point(84, 115); this.expirationdateEdit.Name = "expirationdateEdit"; this.expirationdateEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.expirationdateEdit.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.expirationdateEdit.Size = new System.Drawing.Size(294, 20); this.expirationdateEdit.StyleController = this.layoutControl1; this.expirationdateEdit.TabIndex = 37; // // btnSaveUserDetail // this.btnSaveUserDetail.Image = global::HCMIS.Security.UserManagement.Properties.Resources.Save_16x16; this.btnSaveUserDetail.Location = new System.Drawing.Point(376, 528); this.btnSaveUserDetail.Name = "btnSaveUserDetail"; this.btnSaveUserDetail.Size = new System.Drawing.Size(78, 22); this.btnSaveUserDetail.StyleController = this.layoutControl1; this.btnSaveUserDetail.TabIndex = 32; this.btnSaveUserDetail.Text = "Save"; this.btnSaveUserDetail.Click += new System.EventHandler(this.BtnSaveUserDetailClick); // // accountlistBox // this.accountlistBox.DataSource = this.accountsbindingSource; this.accountlistBox.DisplayMember = "FullName"; this.accountlistBox.Location = new System.Drawing.Point(24, 208); this.accountlistBox.Name = "accountlistBox"; this.accountlistBox.Size = new System.Drawing.Size(254, 304); this.accountlistBox.StyleController = this.layoutControl1; this.accountlistBox.TabIndex = 29; this.accountlistBox.ValueMember = "ActivityID"; // // accountsbindingSource // this.accountsbindingSource.DataSource = typeof(HCMIS.Security.Models.Activity); // // btnRemoveStore // this.btnRemoveStore.Image = global::HCMIS.Security.UserManagement.Properties.Resources.Delete_16x16; this.btnRemoveStore.Location = new System.Drawing.Point(510, 182); this.btnRemoveStore.Name = "btnRemoveStore"; this.btnRemoveStore.Size = new System.Drawing.Size(29, 22); this.btnRemoveStore.StyleController = this.layoutControl1; this.btnRemoveStore.TabIndex = 24; this.btnRemoveStore.ToolTip = "Remove Store"; this.btnRemoveStore.Click += new System.EventHandler(this.btnRemoveStore_Click); // // btnAddStore // this.btnAddStore.Image = global::HCMIS.Security.UserManagement.Properties.Resources.AddNewTab; this.btnAddStore.Location = new System.Drawing.Point(477, 182); this.btnAddStore.Name = "btnAddStore"; this.btnAddStore.Size = new System.Drawing.Size(29, 22); this.btnAddStore.StyleController = this.layoutControl1; this.btnAddStore.TabIndex = 23; this.btnAddStore.Click += new System.EventHandler(this.BtnAddStoreClick); // // btnAddAccount // this.btnAddAccount.Image = global::HCMIS.Security.UserManagement.Properties.Resources.AddNewTab; this.btnAddAccount.Location = new System.Drawing.Point(222, 182); this.btnAddAccount.Name = "btnAddAccount"; this.btnAddAccount.Size = new System.Drawing.Size(26, 22); this.btnAddAccount.StyleController = this.layoutControl1; this.btnAddAccount.TabIndex = 21; this.btnAddAccount.Click += new System.EventHandler(this.BtnAddAccountClick); // // btnRemoveGroup // this.btnRemoveGroup.Image = global::HCMIS.Security.UserManagement.Properties.Resources.Delete_16x16; this.btnRemoveGroup.Location = new System.Drawing.Point(773, 182); this.btnRemoveGroup.Name = "btnRemoveGroup"; this.btnRemoveGroup.Size = new System.Drawing.Size(29, 22); this.btnRemoveGroup.StyleController = this.layoutControl1; this.btnRemoveGroup.TabIndex = 26; this.btnRemoveGroup.ToolTip = "Remove Group"; this.btnRemoveGroup.Click += new System.EventHandler(this.btnRemoveGroup_Click); // // btnAddGroup // this.btnAddGroup.Image = global::HCMIS.Security.UserManagement.Properties.Resources.AddNewTab; this.btnAddGroup.Location = new System.Drawing.Point(739, 182); this.btnAddGroup.Name = "btnAddGroup"; this.btnAddGroup.Size = new System.Drawing.Size(30, 22); this.btnAddGroup.StyleController = this.layoutControl1; this.btnAddGroup.TabIndex = 25; this.btnAddGroup.Click += new System.EventHandler(this.BtnAddGroupClick); // // btnRemoveAccount // this.btnRemoveAccount.Enabled = false; this.btnRemoveAccount.Image = global::HCMIS.Security.UserManagement.Properties.Resources.Delete_16x16; this.btnRemoveAccount.Location = new System.Drawing.Point(252, 182); this.btnRemoveAccount.Name = "btnRemoveAccount"; this.btnRemoveAccount.Size = new System.Drawing.Size(26, 22); this.btnRemoveAccount.StyleController = this.layoutControl1; this.btnRemoveAccount.TabIndex = 22; this.btnRemoveAccount.ToolTip = "Remove Account"; this.btnRemoveAccount.Click += new System.EventHandler(this.btnRemoveAccount_Click); // // grouplistBox // this.grouplistBox.DataSource = this.groupsbindingSource; this.grouplistBox.DisplayMember = "Name"; this.grouplistBox.Location = new System.Drawing.Point(567, 208); this.grouplistBox.Name = "grouplistBox"; this.grouplistBox.Size = new System.Drawing.Size(235, 304); this.grouplistBox.StyleController = this.layoutControl1; this.grouplistBox.TabIndex = 15; this.grouplistBox.ValueMember = "GroupID"; // // groupsbindingSource // this.groupsbindingSource.DataSource = typeof(HCMIS.Security.Models.Group); // // deptlookUpEdit // this.deptlookUpEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "DepartmentID", true)); this.deptlookUpEdit.Location = new System.Drawing.Point(84, 67); this.deptlookUpEdit.Name = "deptlookUpEdit"; this.deptlookUpEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.deptlookUpEdit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Department")}); this.deptlookUpEdit.Properties.DataSource = this.deptbindingSource; this.deptlookUpEdit.Properties.DisplayMember = "Name"; this.deptlookUpEdit.Properties.NullText = "[Select Department]"; this.deptlookUpEdit.Properties.ValueMember = "DepartmentID"; this.deptlookUpEdit.Size = new System.Drawing.Size(292, 20); this.deptlookUpEdit.StyleController = this.layoutControl1; this.deptlookUpEdit.TabIndex = 2; conditionValidationRule1.ErrorText = global::HCMIS.Security.UserManagement.Properties.Resources.DELETE_ERROR; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.None; this.UserValidation.SetValidationRule(this.deptlookUpEdit, conditionValidationRule1); // // deptbindingSource // this.deptbindingSource.DataSource = typeof(HCMIS.Security.Models.Department); // // lastnametextEdit // this.lastnametextEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "LastName", true)); this.lastnametextEdit.Location = new System.Drawing.Point(440, 67); this.lastnametextEdit.Name = "lastnametextEdit"; this.lastnametextEdit.Size = new System.Drawing.Size(362, 20); this.lastnametextEdit.StyleController = this.layoutControl1; this.lastnametextEdit.TabIndex = 3; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Last Name Is Required"; this.UserValidation.SetValidationRule(this.lastnametextEdit, conditionValidationRule2); // // firstnametextEdit // this.firstnametextEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "FirstName", true)); this.firstnametextEdit.Location = new System.Drawing.Point(440, 43); this.firstnametextEdit.Name = "firstnametextEdit"; this.firstnametextEdit.Size = new System.Drawing.Size(362, 20); this.firstnametextEdit.StyleController = this.layoutControl1; this.firstnametextEdit.TabIndex = 1; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "First Name Is Required"; this.UserValidation.SetValidationRule(this.firstnametextEdit, conditionValidationRule3); // // passwordtextEdit // this.passwordtextEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "Password", true)); this.passwordtextEdit.Location = new System.Drawing.Point(442, 91); this.passwordtextEdit.Name = "passwordtextEdit"; this.passwordtextEdit.Properties.PasswordChar = '*'; this.passwordtextEdit.Size = new System.Drawing.Size(360, 20); this.passwordtextEdit.StyleController = this.layoutControl1; this.passwordtextEdit.TabIndex = 5; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Password Required"; this.UserValidation.SetValidationRule(this.passwordtextEdit, conditionValidationRule4); // // usernametextEdit // this.usernametextEdit.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.currentUserBindingSource, "Username", true)); this.usernametextEdit.Location = new System.Drawing.Point(84, 43); this.usernametextEdit.Name = "usernametextEdit"; this.usernametextEdit.Size = new System.Drawing.Size(292, 20); this.usernametextEdit.StyleController = this.layoutControl1; this.usernametextEdit.TabIndex = 0; conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule5.ErrorText = "User Name is Required"; this.UserValidation.SetValidationRule(this.usernametextEdit, conditionValidationRule5); // // storelistBox // this.storelistBox.DataSource = this.storebindingSource; this.storelistBox.DisplayMember = "FullName"; this.storelistBox.Location = new System.Drawing.Point(306, 208); this.storelistBox.Name = "storelistBox"; this.storelistBox.Size = new System.Drawing.Size(233, 304); this.storelistBox.StyleController = this.layoutControl1; this.storelistBox.TabIndex = 13; this.storelistBox.ValueMember = "StoreID"; // // storebindingSource // this.storebindingSource.DataSource = typeof(HCMIS.Security.Models.Store); // // layoutControlItem19 // this.layoutControlItem19.CustomizationFormText = "layoutControlItem19"; this.layoutControlItem19.Location = new System.Drawing.Point(145, 26); this.layoutControlItem19.Name = "layoutControlItem19"; this.layoutControlItem19.Size = new System.Drawing.Size(146, 417); this.layoutControlItem19.Text = "layoutControlItem19"; this.layoutControlItem19.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem19.TextToControlDistance = 0; this.layoutControlItem19.TextVisible = false; // // layoutControlItem6 // this.layoutControlItem6.CustomizationFormText = "Password Expires:"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 638); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(745, 24); this.layoutControlItem6.Text = "Password Expires:"; this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem6.TextToControlDistance = 0; this.layoutControlItem6.TextVisible = false; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2, this.layoutControlGroup5, this.layoutControlGroup4, this.layoutControlGroup6, this.layoutControlItem7, this.layoutControlItem23, this.layoutControlItem24, this.layoutControlItem25, this.emptySpaceItem4}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(826, 562); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "layoutControlGroup2"; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem10, this.layoutControlItem11, this.layoutControlItem12, this.layoutControlItem13, this.layoutControlItem14, this.layoutControlItem4, this.emptySpaceItem10, this.layoutControlItem8, this.layoutControlItem26}); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(806, 139); this.layoutControlGroup2.Text = "User Information"; // // layoutControlItem10 // this.layoutControlItem10.Control = this.usernametextEdit; this.layoutControlItem10.CustomizationFormText = "User Name"; this.layoutControlItem10.Location = new System.Drawing.Point(0, 0); this.layoutControlItem10.MaxSize = new System.Drawing.Size(356, 24); this.layoutControlItem10.MinSize = new System.Drawing.Size(356, 24); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(356, 24); this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem10.Text = "User Name"; this.layoutControlItem10.TextSize = new System.Drawing.Size(57, 13); // // layoutControlItem11 // this.layoutControlItem11.Control = this.deptlookUpEdit; this.layoutControlItem11.CustomizationFormText = "Department"; this.layoutControlItem11.Location = new System.Drawing.Point(0, 24); this.layoutControlItem11.MaxSize = new System.Drawing.Size(356, 24); this.layoutControlItem11.MinSize = new System.Drawing.Size(356, 24); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(356, 24); this.layoutControlItem11.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem11.Text = "Department"; this.layoutControlItem11.TextSize = new System.Drawing.Size(57, 13); // // layoutControlItem13 // this.layoutControlItem13.Control = this.firstnametextEdit; this.layoutControlItem13.CustomizationFormText = "First Name"; this.layoutControlItem13.Location = new System.Drawing.Point(356, 0); this.layoutControlItem13.MinSize = new System.Drawing.Size(132, 24); this.layoutControlItem13.Name = "layoutControlItem13"; this.layoutControlItem13.Size = new System.Drawing.Size(426, 24); this.layoutControlItem13.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem13.Text = "First Name:"; this.layoutControlItem13.TextSize = new System.Drawing.Size(57, 13); // // layoutControlItem14 // this.layoutControlItem14.Control = this.lastnametextEdit; this.layoutControlItem14.CustomizationFormText = "Last Name"; this.layoutControlItem14.Location = new System.Drawing.Point(356, 24); this.layoutControlItem14.MinSize = new System.Drawing.Size(132, 24); this.layoutControlItem14.Name = "layoutControlItem14"; this.layoutControlItem14.Size = new System.Drawing.Size(426, 24); this.layoutControlItem14.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem14.Text = "Last Name:"; this.layoutControlItem14.TextSize = new System.Drawing.Size(57, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.passwordtextEdit; this.layoutControlItem4.CustomizationFormText = "Password"; this.layoutControlItem4.Location = new System.Drawing.Point(358, 48); this.layoutControlItem4.MinSize = new System.Drawing.Size(132, 24); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(424, 24); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.Text = "Password:"******"emptySpaceItem10"; this.emptySpaceItem10.Location = new System.Drawing.Point(440, 72); this.emptySpaceItem10.Name = "emptySpaceItem10"; this.emptySpaceItem10.Size = new System.Drawing.Size(342, 24); this.emptySpaceItem10.Text = "emptySpaceItem10"; this.emptySpaceItem10.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem8 // this.layoutControlItem8.Control = this.expirationdateEdit; this.layoutControlItem8.CustomizationFormText = "Expiration Date"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 72); this.layoutControlItem8.MaxSize = new System.Drawing.Size(358, 24); this.layoutControlItem8.MinSize = new System.Drawing.Size(358, 24); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(358, 24); this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem8.Text = "Expiry"; this.layoutControlItem8.TextSize = new System.Drawing.Size(57, 13); // // layoutControlItem26 // this.layoutControlItem26.Control = this.isActiveCheckEdit; this.layoutControlItem26.CustomizationFormText = "Is Active:"; this.layoutControlItem26.Location = new System.Drawing.Point(358, 72); this.layoutControlItem26.Name = "layoutControlItem26"; this.layoutControlItem26.Size = new System.Drawing.Size(82, 24); this.layoutControlItem26.Text = "Is Active:"; this.layoutControlItem26.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem26.TextToControlDistance = 0; this.layoutControlItem26.TextVisible = false; // // layoutControlGroup5 // this.layoutControlGroup5.CustomizationFormText = "layoutControlGroup5"; this.layoutControlGroup5.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem9, this.layoutControlItem15, this.emptySpaceItem3, this.layoutControlItem5}); this.layoutControlGroup5.Location = new System.Drawing.Point(0, 139); this.layoutControlGroup5.Name = "layoutControlGroup5"; this.layoutControlGroup5.Size = new System.Drawing.Size(282, 377); this.layoutControlGroup5.Text = "Allowed Accounts"; // // layoutControlItem9 // this.layoutControlItem9.Control = this.btnAddAccount; this.layoutControlItem9.CustomizationFormText = "layoutControlItem9"; this.layoutControlItem9.Location = new System.Drawing.Point(198, 0); this.layoutControlItem9.MaxSize = new System.Drawing.Size(30, 26); this.layoutControlItem9.MinSize = new System.Drawing.Size(30, 26); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(30, 26); this.layoutControlItem9.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem9.Text = "layoutControlItem9"; this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem9.TextToControlDistance = 0; this.layoutControlItem9.TextVisible = false; // // layoutControlItem15 // this.layoutControlItem15.Control = this.btnRemoveAccount; this.layoutControlItem15.CustomizationFormText = "layoutControlItem15"; this.layoutControlItem15.Location = new System.Drawing.Point(228, 0); this.layoutControlItem15.MaxSize = new System.Drawing.Size(30, 26); this.layoutControlItem15.MinSize = new System.Drawing.Size(30, 26); this.layoutControlItem15.Name = "layoutControlItem15"; this.layoutControlItem15.Size = new System.Drawing.Size(30, 26); this.layoutControlItem15.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem15.Text = "layoutControlItem15"; this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem15.TextToControlDistance = 0; this.layoutControlItem15.TextVisible = false; // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(198, 26); this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem5 // this.layoutControlItem5.Control = this.accountlistBox; this.layoutControlItem5.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 26); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(258, 308); this.layoutControlItem5.Text = "layoutControlItem5"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextToControlDistance = 0; this.layoutControlItem5.TextVisible = false; // // layoutControlGroup4 // this.layoutControlGroup4.CustomizationFormText = "Store"; this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem18, this.layoutControlItem16, this.layoutControlItem21, this.emptySpaceItem5}); this.layoutControlGroup4.Location = new System.Drawing.Point(282, 139); this.layoutControlGroup4.Name = "layoutControlGroup4"; this.layoutControlGroup4.Size = new System.Drawing.Size(261, 377); this.layoutControlGroup4.Text = "Allowed Stores"; // // layoutControlItem18 // this.layoutControlItem18.Control = this.storelistBox; this.layoutControlItem18.CustomizationFormText = "layoutControlItem17"; this.layoutControlItem18.Location = new System.Drawing.Point(0, 26); this.layoutControlItem18.Name = "layoutControlItem18"; this.layoutControlItem18.Size = new System.Drawing.Size(237, 308); this.layoutControlItem18.Text = "layoutControlItem18"; this.layoutControlItem18.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem18.TextToControlDistance = 0; this.layoutControlItem18.TextVisible = false; // // layoutControlItem16 // this.layoutControlItem16.Control = this.btnAddStore; this.layoutControlItem16.CustomizationFormText = "layoutControlItem16"; this.layoutControlItem16.Location = new System.Drawing.Point(171, 0); this.layoutControlItem16.MaxSize = new System.Drawing.Size(33, 26); this.layoutControlItem16.MinSize = new System.Drawing.Size(33, 26); this.layoutControlItem16.Name = "layoutControlItem16"; this.layoutControlItem16.Size = new System.Drawing.Size(33, 26); this.layoutControlItem16.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem16.Text = "layoutControlItem16"; this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem16.TextToControlDistance = 0; this.layoutControlItem16.TextVisible = false; // // layoutControlItem21 // this.layoutControlItem21.Control = this.btnRemoveStore; this.layoutControlItem21.CustomizationFormText = "layoutControlItem21"; this.layoutControlItem21.Location = new System.Drawing.Point(204, 0); this.layoutControlItem21.MaxSize = new System.Drawing.Size(33, 26); this.layoutControlItem21.MinSize = new System.Drawing.Size(33, 26); this.layoutControlItem21.Name = "layoutControlItem21"; this.layoutControlItem21.Size = new System.Drawing.Size(33, 26); this.layoutControlItem21.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem21.Text = "layoutControlItem21"; this.layoutControlItem21.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem21.TextToControlDistance = 0; this.layoutControlItem21.TextVisible = false; // // emptySpaceItem5 // this.emptySpaceItem5.AllowHotTrack = false; this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem5"; this.emptySpaceItem5.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(171, 26); this.emptySpaceItem5.Text = "emptySpaceItem5"; this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup6 // this.layoutControlGroup6.CustomizationFormText = "Groups"; this.layoutControlGroup6.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem20, this.layoutControlItem1, this.layoutControlItem2, this.emptySpaceItem7}); this.layoutControlGroup6.Location = new System.Drawing.Point(543, 139); this.layoutControlGroup6.Name = "layoutControlGroup6"; this.layoutControlGroup6.Size = new System.Drawing.Size(263, 377); this.layoutControlGroup6.Text = "Belongs to User Groups"; // // layoutControlItem20 // this.layoutControlItem20.Control = this.grouplistBox; this.layoutControlItem20.CustomizationFormText = "layoutControlItem20"; this.layoutControlItem20.Location = new System.Drawing.Point(0, 26); this.layoutControlItem20.Name = "layoutControlItem20"; this.layoutControlItem20.Size = new System.Drawing.Size(239, 308); this.layoutControlItem20.Text = "layoutControlItem20"; this.layoutControlItem20.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem20.TextToControlDistance = 0; this.layoutControlItem20.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.btnAddGroup; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(172, 0); this.layoutControlItem1.MaxSize = new System.Drawing.Size(34, 26); this.layoutControlItem1.MinSize = new System.Drawing.Size(34, 26); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(34, 26); this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem1.Text = "layoutControlItem1"; this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextToControlDistance = 0; this.layoutControlItem1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.btnRemoveGroup; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(206, 0); this.layoutControlItem2.MaxSize = new System.Drawing.Size(33, 26); this.layoutControlItem2.MinSize = new System.Drawing.Size(33, 26); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(33, 26); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "layoutControlItem2"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextToControlDistance = 0; this.layoutControlItem2.TextVisible = false; // // emptySpaceItem7 // this.emptySpaceItem7.AllowHotTrack = false; this.emptySpaceItem7.CustomizationFormText = "emptySpaceItem7"; this.emptySpaceItem7.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem7.Name = "emptySpaceItem7"; this.emptySpaceItem7.Size = new System.Drawing.Size(172, 26); this.emptySpaceItem7.Text = "emptySpaceItem7"; this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem7 // this.layoutControlItem7.Control = this.btnSaveUserDetail; this.layoutControlItem7.CustomizationFormText = "layoutControlItem7"; this.layoutControlItem7.Location = new System.Drawing.Point(364, 516); this.layoutControlItem7.MaxSize = new System.Drawing.Size(82, 26); this.layoutControlItem7.MinSize = new System.Drawing.Size(82, 26); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(82, 26); this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem7.Text = "layoutControlItem7"; this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem7.TextToControlDistance = 0; this.layoutControlItem7.TextVisible = false; // // layoutControlItem23 // this.layoutControlItem23.Control = this.btnSetPassword; this.layoutControlItem23.CustomizationFormText = "layoutControlItem23"; this.layoutControlItem23.Location = new System.Drawing.Point(446, 516); this.layoutControlItem23.MaxSize = new System.Drawing.Size(120, 26); this.layoutControlItem23.MinSize = new System.Drawing.Size(120, 26); this.layoutControlItem23.Name = "layoutControlItem23"; this.layoutControlItem23.Size = new System.Drawing.Size(120, 26); this.layoutControlItem23.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem23.Text = "layoutControlItem23"; this.layoutControlItem23.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem23.TextToControlDistance = 0; this.layoutControlItem23.TextVisible = false; // // layoutControlItem24 // this.layoutControlItem24.Control = this.btnDisable; this.layoutControlItem24.CustomizationFormText = "layoutControlItem24"; this.layoutControlItem24.Location = new System.Drawing.Point(566, 516); this.layoutControlItem24.MaxSize = new System.Drawing.Size(134, 26); this.layoutControlItem24.MinSize = new System.Drawing.Size(134, 26); this.layoutControlItem24.Name = "layoutControlItem24"; this.layoutControlItem24.Size = new System.Drawing.Size(134, 26); this.layoutControlItem24.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem24.Text = "layoutControlItem24"; this.layoutControlItem24.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem24.TextToControlDistance = 0; this.layoutControlItem24.TextVisible = false; // // layoutControlItem25 // this.layoutControlItem25.Control = this.btnClose; this.layoutControlItem25.CustomizationFormText = "layoutControlItem25"; this.layoutControlItem25.Location = new System.Drawing.Point(700, 516); this.layoutControlItem25.MaxSize = new System.Drawing.Size(106, 26); this.layoutControlItem25.MinSize = new System.Drawing.Size(106, 26); this.layoutControlItem25.Name = "layoutControlItem25"; this.layoutControlItem25.Size = new System.Drawing.Size(106, 26); this.layoutControlItem25.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem25.Text = "layoutControlItem25"; this.layoutControlItem25.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem25.TextToControlDistance = 0; this.layoutControlItem25.TextVisible = false; // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4"; this.emptySpaceItem4.Location = new System.Drawing.Point(0, 516); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(364, 26); this.emptySpaceItem4.Text = "emptySpaceItem4"; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem17 // this.layoutControlItem17.Control = this.storelistBox; this.layoutControlItem17.CustomizationFormText = "layoutControlItem17"; this.layoutControlItem17.Location = new System.Drawing.Point(0, 0); this.layoutControlItem17.Name = "layoutControlItem17"; this.layoutControlItem17.Size = new System.Drawing.Size(856, 24); this.layoutControlItem17.Text = "layoutControlItem17"; this.layoutControlItem17.TextSize = new System.Drawing.Size(99, 13); this.layoutControlItem17.TextToControlDistance = 5; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(119, 442); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(82, 26); this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem9 // this.emptySpaceItem9.AllowHotTrack = false; this.emptySpaceItem9.CustomizationFormText = "emptySpaceItem9"; this.emptySpaceItem9.Location = new System.Drawing.Point(102, 442); this.emptySpaceItem9.Name = "emptySpaceItem9"; this.emptySpaceItem9.Size = new System.Drawing.Size(99, 26); this.emptySpaceItem9.Text = "emptySpaceItem9"; this.emptySpaceItem9.TextSize = new System.Drawing.Size(0, 0); // // UserDetail // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(826, 562); this.Controls.Add(this.layoutControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "UserDetail"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Tag = "UserDetail"; this.Text = "User Detail"; this.Load += new System.EventHandler(this.UserDetail_Load); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jobblookUpEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.currentUserBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jobtitlebindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.isActiveCheckEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.expirationdateEdit.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.expirationdateEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.accountlistBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.accountsbindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.grouplistBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupsbindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deptlookUpEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deptbindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lastnametextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.firstnametextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.passwordtextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.usernametextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.storelistBox)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.storebindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem19)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem26)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem18)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem21)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem20)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem23)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem24)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem25)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem17)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.UserValidation)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem9)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataBranchManager)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.nama_branchmanager = new DevExpress.XtraEditors.TextEdit(); this.BMBS = new System.Windows.Forms.BindingSource(this.components); this.BMXpCollection = new DevExpress.Xpo.XPCollection(this.components); this.BMUOW = new DevExpress.Xpo.UnitOfWork(this.components); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.id = new DevExpress.XtraEditors.TextEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.karyawanid = new DevExpress.XtraEditors.GridLookUpEdit(); this.KaryawanXpCollection = new DevExpress.Xpo.XPCollection(this.components); this.gridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.branchid = new DevExpress.XtraEditors.GridLookUpEdit(); this.BranchXpCollection = new DevExpress.Xpo.XPCollection(this.components); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colid = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnama_branchmanager = new DevExpress.XtraGrid.Columns.GridColumn(); this.Batal = new DevExpress.XtraEditors.SimpleButton(); this.Hapus = new DevExpress.XtraEditors.SimpleButton(); this.Edit = new DevExpress.XtraEditors.SimpleButton(); this.Tambah = new DevExpress.XtraEditors.SimpleButton(); this.Simpan = new DevExpress.XtraEditors.SimpleButton(); this.validator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.colid1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnama_branch = new DevExpress.XtraGrid.Columns.GridColumn(); this.colid2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnama_karyawan = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.nama_branchmanager.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BMBS)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BMXpCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BMUOW)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.id.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.karyawanid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.KaryawanXpCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.branchid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.BranchXpCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit(); this.SuspendLayout(); // // panelControl1 // this.panelControl1.Controls.Add(this.labelControl4); this.panelControl1.Controls.Add(this.labelControl3); this.panelControl1.Controls.Add(this.nama_branchmanager); this.panelControl1.Controls.Add(this.labelControl2); this.panelControl1.Controls.Add(this.id); this.panelControl1.Controls.Add(this.labelControl1); this.panelControl1.Controls.Add(this.karyawanid); this.panelControl1.Controls.Add(this.branchid); this.panelControl1.Location = new System.Drawing.Point(12, 56); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(485, 375); this.panelControl1.TabIndex = 30; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(13, 93); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(59, 13); this.labelControl4.TabIndex = 6; this.labelControl4.Text = "KaryawanID"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(13, 67); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(33, 13); this.labelControl3.TabIndex = 4; this.labelControl3.Text = "Branch"; // // nama_branchmanager // this.nama_branchmanager.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BMBS, "nama_branchmanager", true)); this.nama_branchmanager.Location = new System.Drawing.Point(116, 38); this.nama_branchmanager.Name = "nama_branchmanager"; this.nama_branchmanager.Properties.Appearance.BackColor = System.Drawing.Color.MistyRose; this.nama_branchmanager.Properties.Appearance.Options.UseBackColor = true; this.nama_branchmanager.Size = new System.Drawing.Size(164, 20); this.nama_branchmanager.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Harus di isi."; this.validator.SetValidationRule(this.nama_branchmanager, conditionValidationRule1); // // BMBS // this.BMBS.DataSource = this.BMXpCollection; // // BMXpCollection // this.BMXpCollection.DisplayableProperties = "id;nama_branchmanager;createdAt;updatedAt;deletedAt;version;karyawanId;branchId;g" + "eneralmanagerId;ProspeksModelCollection;SalesheadsModelCollection"; this.BMXpCollection.ObjectType = typeof(AutoDealer.DB.its_honda.BranchmanagersModel); this.BMXpCollection.Session = this.BMUOW; // // BMUOW // this.BMUOW.IsObjectModifiedOnNonPersistentPropertyChange = null; this.BMUOW.TrackPropertiesModifications = false; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(13, 41); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(44, 13); this.labelControl2.TabIndex = 2; this.labelControl2.Text = "Nama BM"; // // id // this.id.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.BMBS, "id", true)); this.id.Enabled = false; this.id.Location = new System.Drawing.Point(116, 12); this.id.Name = "id"; this.id.Size = new System.Drawing.Size(83, 20); this.id.TabIndex = 1; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(13, 15); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(11, 13); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "ID"; // // karyawanid // this.karyawanid.Location = new System.Drawing.Point(116, 90); this.karyawanid.Name = "karyawanid"; this.karyawanid.Properties.Appearance.BackColor = System.Drawing.Color.MistyRose; this.karyawanid.Properties.Appearance.Options.UseBackColor = true; this.karyawanid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.karyawanid.Properties.DataSource = this.KaryawanXpCollection; this.karyawanid.Properties.DisplayMember = "nama_karyawan"; this.karyawanid.Properties.NullText = ""; this.karyawanid.Properties.PopupFormMinSize = new System.Drawing.Size(500, 0); this.karyawanid.Properties.ValueMember = "id"; this.karyawanid.Properties.View = this.gridLookUpEdit1View; this.karyawanid.Size = new System.Drawing.Size(174, 20); this.karyawanid.TabIndex = 7; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Harus di isi."; this.validator.SetValidationRule(this.karyawanid, conditionValidationRule2); // // KaryawanXpCollection // this.KaryawanXpCollection.DisplayableProperties = resources.GetString("KaryawanXpCollection.DisplayableProperties"); this.KaryawanXpCollection.ObjectType = typeof(AutoDealer.DB.its_honda.KaryawansModel); this.KaryawanXpCollection.Session = this.BMUOW; // // gridLookUpEdit1View // this.gridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid2, this.colnama_karyawan }); this.gridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridLookUpEdit1View.Name = "gridLookUpEdit1View"; this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true; this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // branchid // this.branchid.Location = new System.Drawing.Point(116, 64); this.branchid.Name = "branchid"; this.branchid.Properties.Appearance.BackColor = System.Drawing.Color.MistyRose; this.branchid.Properties.Appearance.Options.UseBackColor = true; this.branchid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.branchid.Properties.DataSource = this.BranchXpCollection; this.branchid.Properties.DisplayMember = "nama_branch"; this.branchid.Properties.NullText = ""; this.branchid.Properties.PopupFormMinSize = new System.Drawing.Size(500, 0); this.branchid.Properties.ValueMember = "id"; this.branchid.Properties.View = this.gridView2; this.branchid.Size = new System.Drawing.Size(295, 20); this.branchid.TabIndex = 5; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Harus di isi."; this.validator.SetValidationRule(this.branchid, conditionValidationRule3); // // BranchXpCollection // this.BranchXpCollection.DisplayableProperties = "id;nama_branch;alamat;no_telepon;lat;long1;email;fax;createdAt;updatedAt;deletedA" + "t;version;BranchmanagersModelCollection;KaryawansModelCollection"; this.BranchXpCollection.ObjectType = typeof(AutoDealer.DB.its_honda.BranchesModel); this.BranchXpCollection.Session = this.BMUOW; // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid1, this.colnama_branch }); this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView2.Name = "gridView2"; this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView2.OptionsView.ShowAutoFilterRow = true; this.gridView2.OptionsView.ShowGroupPanel = false; // // panelControl2 // this.panelControl2.Controls.Add(this.gridControl1); this.panelControl2.Location = new System.Drawing.Point(503, 56); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(374, 375); this.panelControl2.TabIndex = 31; // // gridControl1 // this.gridControl1.DataSource = this.BMBS; this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl1.Location = new System.Drawing.Point(2, 2); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(370, 371); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid, this.colnama_branchmanager }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsBehavior.ReadOnly = true; this.gridView1.OptionsDetail.EnableMasterViewMode = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; // // colid // this.colid.Caption = "ID"; this.colid.FieldName = "id"; this.colid.Name = "colid"; this.colid.Visible = true; this.colid.VisibleIndex = 0; this.colid.Width = 217; // // colnama_branchmanager // this.colnama_branchmanager.Caption = "Nama Branch Manager"; this.colnama_branchmanager.FieldName = "nama_branchmanager"; this.colnama_branchmanager.Name = "colnama_branchmanager"; this.colnama_branchmanager.Visible = true; this.colnama_branchmanager.VisibleIndex = 1; this.colnama_branchmanager.Width = 851; // // Batal // this.Batal.Enabled = false; this.Batal.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("Batal.ImageOptions.Image"))); this.Batal.Location = new System.Drawing.Point(246, 12); this.Batal.Name = "Batal"; this.Batal.Size = new System.Drawing.Size(111, 38); this.Batal.TabIndex = 36; this.Batal.Text = "Batal"; this.Batal.Click += new System.EventHandler(this.Batal_Click); // // Hapus // this.Hapus.Enabled = false; this.Hapus.ImageOptions.Image = global::AutoDealer.Properties.Resources.cancel_32x321; this.Hapus.Location = new System.Drawing.Point(480, 12); this.Hapus.Name = "Hapus"; this.Hapus.Size = new System.Drawing.Size(111, 38); this.Hapus.TabIndex = 35; this.Hapus.Text = "Hapus"; this.Hapus.Click += new System.EventHandler(this.Hapus_Click); // // Edit // this.Edit.Enabled = false; this.Edit.ImageOptions.Image = global::AutoDealer.Properties.Resources.editname_32x32; this.Edit.Location = new System.Drawing.Point(363, 12); this.Edit.Name = "Edit"; this.Edit.Size = new System.Drawing.Size(111, 38); this.Edit.TabIndex = 34; this.Edit.Text = "Edit"; this.Edit.Click += new System.EventHandler(this.Edit_Click); // // Tambah // this.Tambah.ImageOptions.Image = global::AutoDealer.Properties.Resources.add_32x32; this.Tambah.Location = new System.Drawing.Point(12, 12); this.Tambah.Name = "Tambah"; this.Tambah.Size = new System.Drawing.Size(111, 38); this.Tambah.TabIndex = 32; this.Tambah.Text = "Tambah"; this.Tambah.Click += new System.EventHandler(this.Tambah_Click); // // Simpan // this.Simpan.Enabled = false; this.Simpan.ImageOptions.Image = global::AutoDealer.Properties.Resources.apply_32x322; this.Simpan.Location = new System.Drawing.Point(129, 12); this.Simpan.Name = "Simpan"; this.Simpan.Size = new System.Drawing.Size(111, 38); this.Simpan.TabIndex = 33; this.Simpan.Text = "Simpan"; this.Simpan.Click += new System.EventHandler(this.Simpan_Click); // // colid1 // this.colid1.Caption = "ID"; this.colid1.FieldName = "id"; this.colid1.Name = "colid1"; this.colid1.Visible = true; this.colid1.VisibleIndex = 0; this.colid1.Width = 156; // // colnama_branch // this.colnama_branch.Caption = "Nama Branch"; this.colnama_branch.FieldName = "nama_branch"; this.colnama_branch.Name = "colnama_branch"; this.colnama_branch.Visible = true; this.colnama_branch.VisibleIndex = 1; this.colnama_branch.Width = 912; // // colid2 // this.colid2.Caption = "ID"; this.colid2.FieldName = "id"; this.colid2.Name = "colid2"; this.colid2.Visible = true; this.colid2.VisibleIndex = 0; this.colid2.Width = 270; // // colnama_karyawan // this.colnama_karyawan.Caption = "Nama Karyawan"; this.colnama_karyawan.FieldName = "nama_karyawan"; this.colnama_karyawan.Name = "colnama_karyawan"; this.colnama_karyawan.Visible = true; this.colnama_karyawan.VisibleIndex = 1; this.colnama_karyawan.Width = 798; // // DataBranchManager // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(907, 476); this.Controls.Add(this.Batal); this.Controls.Add(this.Hapus); this.Controls.Add(this.Edit); this.Controls.Add(this.Tambah); this.Controls.Add(this.Simpan); this.Controls.Add(this.panelControl2); this.Controls.Add(this.panelControl1); this.Name = "DataBranchManager"; this.Text = "DataBranchManager"; this.Load += new System.EventHandler(this.DataBranchManager_Load); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.nama_branchmanager.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BMBS)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BMXpCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BMUOW)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.id.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.karyawanid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.KaryawanXpCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.branchid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.BranchXpCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(JointNewEditXtraForm)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.jointNumber = new DevExpress.XtraEditors.TextEdit(); this.newJointLayoutControl = new DevExpress.XtraLayout.LayoutControl(); this.searchButton = new DevExpress.XtraEditors.SimpleButton(); this.searchNumber = new DevExpress.XtraEditors.TextEdit(); this.jointStatus = new DevExpress.XtraEditors.TextEdit(); this.saveAndCreateButton = new DevExpress.XtraEditors.SimpleButton(); this.repairOperations = new DevExpress.XtraGrid.GridControl(); this.repairOperationsView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.repairTypeGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.repairOperationsLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.repairDateGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.repairDateEdit = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.completedGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.CompletedCheckEdit = new DevExpress.XtraEditors.Repository.RepositoryItemCheckEdit(); this.weldersGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.weldersPopupContainerEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit(); this.saveButton = new DevExpress.XtraEditors.SimpleButton(); this.attachmentsButton = new DevExpress.XtraEditors.SimpleButton(); this.deactivated = new DevExpress.XtraEditors.CheckEdit(); this.distanceFromPK = new DevExpress.XtraEditors.TextEdit(); this.PKNumber = new DevExpress.XtraEditors.TextEdit(); this.PKLabel = new DevExpress.XtraEditors.LabelControl(); this.GPSLabel = new DevExpress.XtraEditors.LabelControl(); this.seaLevel = new DevExpress.XtraEditors.TextEdit(); this.GPSLat = new DevExpress.XtraEditors.TextEdit(); this.GPSLong = new DevExpress.XtraEditors.TextEdit(); this.controlOperations = new DevExpress.XtraGrid.GridControl(); this.controlOperationsView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.controlTypeGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.ControlOperationLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.resultGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.resultStatusLookUpEdit = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.controlDateGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.operationDateEdit = new DevExpress.XtraEditors.Repository.RepositoryItemDateEdit(); this.inspectorsGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.inspectorsPopupContainerEdit = new DevExpress.XtraEditors.Repository.RepositoryItemPopupContainerEdit(); this.valueGridColumn = new DevExpress.XtraGrid.Columns.GridColumn(); this.ResultValueTextEdit = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.inspectionsGridView = new DevExpress.XtraGrid.Views.Grid.GridView(); this.secondJointElement = new DevExpress.XtraEditors.LookUpEdit(); this.firstJointElement = new DevExpress.XtraEditors.LookUpEdit(); this.loweringDate = new DevExpress.XtraEditors.DateEdit(); this.newJointLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); this.loweringLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); this.GPSLatLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.GPSLongLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.elevationLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.GPSLabelLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.loweringDateLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.PKLabelLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.PKNumberLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.distanceFromPKLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.loweringDateEmptySpace = new DevExpress.XtraLayout.EmptySpaceItem(); this.jointParametersLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); this.jointNumberLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.firstJointElementLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.secondJointElementLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.jointNumberEmptySpace = new DevExpress.XtraLayout.EmptySpaceItem(); this.jointStatusLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.extraFilesLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.deactivatedLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.saveButtonLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.saveButtonEmptySpace = new DevExpress.XtraLayout.EmptySpaceItem(); this.saveAndCreateLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.repairOperationLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.controlOperationsLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.searchLayoutGroup = new DevExpress.XtraLayout.LayoutControlGroup(); this.searchNumberLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.searchButtonLayout = new DevExpress.XtraLayout.LayoutControlItem(); this.jointNewEditBindingSoure = new System.Windows.Forms.BindingSource(this.components); this.pipelinePiecesBindingSource = new System.Windows.Forms.BindingSource(this.components); this.inspectorsDataSource = new System.Windows.Forms.BindingSource(this.components); this.weldersDataSource = new System.Windows.Forms.BindingSource(this.components); this.dxValidationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.jointNumber.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.newJointLayoutControl)).BeginInit(); this.newJointLayoutControl.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.searchNumber.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jointStatus.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperations)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperationsView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperationsLookUpEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repairDateEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repairDateEdit.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.CompletedCheckEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.weldersPopupContainerEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deactivated.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceFromPK.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PKNumber.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seaLevel.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLat.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLong.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.controlOperations)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.controlOperationsView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ControlOperationLookUpEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.resultStatusLookUpEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.operationDateEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.operationDateEdit.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.inspectorsPopupContainerEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ResultValueTextEdit)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.inspectionsGridView)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.secondJointElement.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.firstJointElement.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.newJointLayoutGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringLayoutGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLatLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLongLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.elevationLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLabelLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDateLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PKLabelLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.PKNumberLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceFromPKLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDateEmptySpace)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jointParametersLayoutGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jointNumberLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.firstJointElementLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.secondJointElementLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jointNumberEmptySpace)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jointStatusLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.extraFilesLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.deactivatedLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.saveButtonLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.saveButtonEmptySpace)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.saveAndCreateLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperationLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.controlOperationsLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.searchLayoutGroup)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.searchNumberLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.searchButtonLayout)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.jointNewEditBindingSoure)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.pipelinePiecesBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.inspectorsDataSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.weldersDataSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider)).BeginInit(); this.SuspendLayout(); // // jointNumber // this.jointNumber.Location = new System.Drawing.Point(34, 153); this.jointNumber.Margin = new System.Windows.Forms.Padding(0); this.jointNumber.Name = "jointNumber"; this.jointNumber.Properties.Appearance.BackColor = System.Drawing.Color.White; this.jointNumber.Properties.Appearance.Options.UseBackColor = true; this.jointNumber.Size = new System.Drawing.Size(258, 20); this.jointNumber.StyleController = this.newJointLayoutControl; this.jointNumber.TabIndex = 0; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Не может быть пустым"; this.dxValidationProvider.SetValidationRule(this.jointNumber, conditionValidationRule3); this.jointNumber.EditValueChanged += new System.EventHandler(this.jointNumber_EditValueChanged); this.jointNumber.TextChanged += new System.EventHandler(this.jointNumber_TextChanged); // // newJointLayoutControl // this.newJointLayoutControl.Controls.Add(this.searchButton); this.newJointLayoutControl.Controls.Add(this.searchNumber); this.newJointLayoutControl.Controls.Add(this.jointStatus); this.newJointLayoutControl.Controls.Add(this.saveAndCreateButton); this.newJointLayoutControl.Controls.Add(this.repairOperations); this.newJointLayoutControl.Controls.Add(this.saveButton); this.newJointLayoutControl.Controls.Add(this.attachmentsButton); this.newJointLayoutControl.Controls.Add(this.deactivated); this.newJointLayoutControl.Controls.Add(this.distanceFromPK); this.newJointLayoutControl.Controls.Add(this.PKNumber); this.newJointLayoutControl.Controls.Add(this.PKLabel); this.newJointLayoutControl.Controls.Add(this.GPSLabel); this.newJointLayoutControl.Controls.Add(this.seaLevel); this.newJointLayoutControl.Controls.Add(this.GPSLat); this.newJointLayoutControl.Controls.Add(this.GPSLong); this.newJointLayoutControl.Controls.Add(this.controlOperations); this.newJointLayoutControl.Controls.Add(this.secondJointElement); this.newJointLayoutControl.Controls.Add(this.firstJointElement); this.newJointLayoutControl.Controls.Add(this.loweringDate); this.newJointLayoutControl.Controls.Add(this.jointNumber); this.newJointLayoutControl.Dock = System.Windows.Forms.DockStyle.Fill; this.newJointLayoutControl.Location = new System.Drawing.Point(0, 0); this.newJointLayoutControl.Name = "newJointLayoutControl"; this.newJointLayoutControl.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(5, 238, 250, 350); this.newJointLayoutControl.OptionsView.UseDefaultDragAndDropRendering = false; this.newJointLayoutControl.Root = this.newJointLayoutGroup; this.newJointLayoutControl.Size = new System.Drawing.Size(1275, 550); this.newJointLayoutControl.TabIndex = 15; this.newJointLayoutControl.Text = "layoutControl1"; // // searchButton // this.searchButton.Image = ((System.Drawing.Image)(resources.GetObject("searchButton.Image"))); this.searchButton.Location = new System.Drawing.Point(313, 68); this.searchButton.Name = "searchButton"; this.searchButton.Size = new System.Drawing.Size(266, 22); this.searchButton.StyleController = this.newJointLayoutControl; this.searchButton.TabIndex = 18; this.searchButton.Text = "На&йти и открыть для редактирования"; // // searchNumber // this.searchNumber.Location = new System.Drawing.Point(34, 69); this.searchNumber.Name = "searchNumber"; this.searchNumber.Size = new System.Drawing.Size(260, 20); this.searchNumber.StyleController = this.newJointLayoutControl; this.searchNumber.TabIndex = 17; // // jointStatus // this.jointStatus.Location = new System.Drawing.Point(311, 153); this.jointStatus.Name = "jointStatus"; this.jointStatus.Properties.ReadOnly = true; this.jointStatus.Size = new System.Drawing.Size(124, 20); this.jointStatus.StyleController = this.newJointLayoutControl; this.jointStatus.TabIndex = 2; // // saveAndCreateButton // this.saveAndCreateButton.Image = ((System.Drawing.Image)(resources.GetObject("saveAndCreateButton.Image"))); this.saveAndCreateButton.Location = new System.Drawing.Point(1033, 506); this.saveAndCreateButton.Name = "saveAndCreateButton"; this.saveAndCreateButton.Size = new System.Drawing.Size(220, 22); this.saveAndCreateButton.StyleController = this.newJointLayoutControl; this.saveAndCreateButton.TabIndex = 16; this.saveAndCreateButton.Text = "Сох&ранить/Создать"; // // repairOperations // this.repairOperations.Cursor = System.Windows.Forms.Cursors.Default; this.repairOperations.Location = new System.Drawing.Point(22, 263); this.repairOperations.MainView = this.repairOperationsView; this.repairOperations.Name = "repairOperations"; this.repairOperations.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.CompletedCheckEdit, this.repairOperationsLookUpEdit, this.repairDateEdit, this.weldersPopupContainerEdit}); this.repairOperations.Size = new System.Drawing.Size(584, 239); this.repairOperations.TabIndex = 11; this.repairOperations.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.repairOperationsView}); // // repairOperationsView // this.repairOperationsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.repairTypeGridColumn, this.repairDateGridColumn, this.completedGridColumn, this.weldersGridColumn}); this.repairOperationsView.GridControl = this.repairOperations; this.repairOperationsView.Name = "repairOperationsView"; this.repairOperationsView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; this.repairOperationsView.OptionsBehavior.FocusLeaveOnTab = true; this.repairOperationsView.OptionsNavigation.UseTabKey = false; this.repairOperationsView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.repairOperationsView.OptionsView.ShowGroupPanel = false; this.repairOperationsView.ShowingEditor += new System.ComponentModel.CancelEventHandler(this.repairOperationsView_ShowingEditor); this.repairOperationsView.InitNewRow += new DevExpress.XtraGrid.Views.Grid.InitNewRowEventHandler(this.repairOperationsView_InitNewRow); this.repairOperationsView.InvalidRowException += new DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventHandler(this.HandleInvalidRowException); this.repairOperationsView.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.repairOperationsView_ValidateRow); // // repairTypeGridColumn // this.repairTypeGridColumn.Caption = "Название операции"; this.repairTypeGridColumn.ColumnEdit = this.repairOperationsLookUpEdit; this.repairTypeGridColumn.FieldName = "Operation.Name"; this.repairTypeGridColumn.Name = "repairTypeGridColumn"; this.repairTypeGridColumn.Visible = true; this.repairTypeGridColumn.VisibleIndex = 0; this.repairTypeGridColumn.Width = 134; // // repairOperationsLookUpEdit // this.repairOperationsLookUpEdit.AutoHeight = false; this.repairOperationsLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repairOperationsLookUpEdit.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Тип операции")}); this.repairOperationsLookUpEdit.DisplayMember = "Name"; this.repairOperationsLookUpEdit.Name = "repairOperationsLookUpEdit"; this.repairOperationsLookUpEdit.NullText = ""; this.repairOperationsLookUpEdit.ValueMember = "Name"; this.repairOperationsLookUpEdit.EditValueChanged += new System.EventHandler(this.RepairOperationsLookUpEdit_EditValueChanged); this.repairOperationsLookUpEdit.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.repairOperationsLookUpEdit_CustomDisplayText); // // repairDateGridColumn // this.repairDateGridColumn.Caption = "Дата"; this.repairDateGridColumn.ColumnEdit = this.repairDateEdit; this.repairDateGridColumn.FieldName = "Date"; this.repairDateGridColumn.Name = "repairDateGridColumn"; this.repairDateGridColumn.Visible = true; this.repairDateGridColumn.VisibleIndex = 1; this.repairDateGridColumn.Width = 85; // // repairDateEdit // this.repairDateEdit.AutoHeight = false; this.repairDateEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repairDateEdit.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.repairDateEdit.Name = "repairDateEdit"; // // completedGridColumn // this.completedGridColumn.Caption = "Выполнено"; this.completedGridColumn.ColumnEdit = this.CompletedCheckEdit; this.completedGridColumn.FieldName = "IsCompleted"; this.completedGridColumn.Name = "completedGridColumn"; this.completedGridColumn.Visible = true; this.completedGridColumn.VisibleIndex = 2; this.completedGridColumn.Width = 70; // // CompletedCheckEdit // this.CompletedCheckEdit.AutoHeight = false; this.CompletedCheckEdit.Name = "CompletedCheckEdit"; this.CompletedCheckEdit.NullStyle = DevExpress.XtraEditors.Controls.StyleIndeterminate.Unchecked; this.CompletedCheckEdit.CheckedChanged += new System.EventHandler(this.CompletedCheckEdit_CheckedChanged); // // weldersGridColumn // this.weldersGridColumn.Caption = "Сварщики"; this.weldersGridColumn.ColumnEdit = this.weldersPopupContainerEdit; this.weldersGridColumn.FieldName = "Welders"; this.weldersGridColumn.Name = "weldersGridColumn"; this.weldersGridColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.weldersGridColumn.Visible = true; this.weldersGridColumn.VisibleIndex = 3; this.weldersGridColumn.Width = 299; // // weldersPopupContainerEdit // this.weldersPopupContainerEdit.AutoHeight = false; this.weldersPopupContainerEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.weldersPopupContainerEdit.Name = "weldersPopupContainerEdit"; this.weldersPopupContainerEdit.QueryPopUp += new System.ComponentModel.CancelEventHandler(this.weldersPopupContainerEdit_QueryPopUp); this.weldersPopupContainerEdit.CloseUp += new DevExpress.XtraEditors.Controls.CloseUpEventHandler(this.weldersPopupContainerEdit_CloseUp); this.weldersPopupContainerEdit.Popup += new System.EventHandler(this.weldersPopupContainerEdit_Popup); this.weldersPopupContainerEdit.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.weldersPopupContainerEdit_CustomDisplayText); // // saveButton // this.saveButton.Image = ((System.Drawing.Image)(resources.GetObject("saveButton.Image"))); this.saveButton.Location = new System.Drawing.Point(922, 506); this.saveButton.Name = "saveButton"; this.saveButton.Size = new System.Drawing.Size(97, 22); this.saveButton.StyleController = this.newJointLayoutControl; this.saveButton.TabIndex = 15; this.saveButton.Text = "Со&хранить"; // // attachmentsButton // this.attachmentsButton.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.attachmentsButton.Location = new System.Drawing.Point(22, 506); this.attachmentsButton.Margin = new System.Windows.Forms.Padding(3, 3, 3, 11); this.attachmentsButton.MinimumSize = new System.Drawing.Size(100, 20); this.attachmentsButton.Name = "attachmentsButton"; this.attachmentsButton.Size = new System.Drawing.Size(100, 22); this.attachmentsButton.StyleController = this.newJointLayoutControl; this.attachmentsButton.TabIndex = 13; this.attachmentsButton.Text = "&Вложения"; this.attachmentsButton.Click += new System.EventHandler(this.extraFiles_Click); // // deactivated // this.deactivated.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left))); this.deactivated.Location = new System.Drawing.Point(151, 506); this.deactivated.Name = "deactivated"; this.deactivated.Properties.Caption = "Стык деактивирован"; this.deactivated.Size = new System.Drawing.Size(131, 19); this.deactivated.StyleController = this.newJointLayoutControl; this.deactivated.TabIndex = 14; // // distanceFromPK // this.distanceFromPK.Location = new System.Drawing.Point(974, 69); this.distanceFromPK.Name = "distanceFromPK"; this.distanceFromPK.Properties.Mask.EditMask = "\\d+([\\.\\,]\\d{0,2})?"; this.distanceFromPK.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.distanceFromPK.Size = new System.Drawing.Size(252, 20); this.distanceFromPK.StyleController = this.newJointLayoutControl; this.distanceFromPK.TabIndex = 7; this.distanceFromPK.ParseEditValue += new DevExpress.XtraEditors.Controls.ConvertEditValueEventHandler(this.distanceFromPK_ParseEditValue); // // PKNumber // this.PKNumber.Location = new System.Drawing.Point(835, 69); this.PKNumber.Name = "PKNumber"; this.PKNumber.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True; this.PKNumber.Properties.Mask.EditMask = "d"; this.PKNumber.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.PKNumber.Properties.NullValuePromptShowForEmptyValue = true; this.PKNumber.Size = new System.Drawing.Size(120, 20); this.PKNumber.StyleController = this.newJointLayoutControl; this.PKNumber.TabIndex = 6; this.PKNumber.EditValueChanged += new System.EventHandler(this.PKNumber_EditValueChanged); this.PKNumber.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.PKNumber_CustomDisplayText); // // PKLabel // this.PKLabel.Location = new System.Drawing.Point(812, 72); this.PKLabel.Name = "PKLabel"; this.PKLabel.Size = new System.Drawing.Size(12, 13); this.PKLabel.StyleController = this.newJointLayoutControl; this.PKLabel.TabIndex = 1; this.PKLabel.Text = "KP"; // // GPSLabel // this.GPSLabel.Location = new System.Drawing.Point(635, 119); this.GPSLabel.Margin = new System.Windows.Forms.Padding(15, 3, 3, 3); this.GPSLabel.Name = "GPSLabel"; this.GPSLabel.Size = new System.Drawing.Size(19, 13); this.GPSLabel.StyleController = this.newJointLayoutControl; this.GPSLabel.TabIndex = 1; this.GPSLabel.Text = "GPS"; // // seaLevel // this.seaLevel.Location = new System.Drawing.Point(974, 116); this.seaLevel.Margin = new System.Windows.Forms.Padding(30, 3, 30, 3); this.seaLevel.MinimumSize = new System.Drawing.Size(100, 20); this.seaLevel.Name = "seaLevel"; this.seaLevel.Properties.Mask.EditMask = "\\d+([\\.\\,]\\d{0,2})?"; this.seaLevel.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.RegEx; this.seaLevel.Size = new System.Drawing.Size(252, 20); this.seaLevel.StyleController = this.newJointLayoutControl; this.seaLevel.TabIndex = 10; this.seaLevel.ParseEditValue += new DevExpress.XtraEditors.Controls.ConvertEditValueEventHandler(this.seaLevel_ParseEditValue); // // GPSLat // this.GPSLat.Location = new System.Drawing.Point(658, 116); this.GPSLat.MinimumSize = new System.Drawing.Size(100, 20); this.GPSLat.Name = "GPSLat"; this.GPSLat.Size = new System.Drawing.Size(158, 20); this.GPSLat.StyleController = this.newJointLayoutControl; this.GPSLat.TabIndex = 0; this.GPSLat.ParseEditValue += new DevExpress.XtraEditors.Controls.ConvertEditValueEventHandler(this.GPSLat_ParseEditValue); // // GPSLong // this.GPSLong.Location = new System.Drawing.Point(835, 116); this.GPSLong.Margin = new System.Windows.Forms.Padding(30, 3, 3, 3); this.GPSLong.MinimumSize = new System.Drawing.Size(100, 20); this.GPSLong.Name = "GPSLong"; this.GPSLong.Size = new System.Drawing.Size(120, 20); this.GPSLong.StyleController = this.newJointLayoutControl; this.GPSLong.TabIndex = 9; this.GPSLong.ParseEditValue += new DevExpress.XtraEditors.Controls.ConvertEditValueEventHandler(this.GPSLong_ParseEditValue); // // controlOperations // this.controlOperations.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.controlOperations.Cursor = System.Windows.Forms.Cursors.Default; this.controlOperations.Location = new System.Drawing.Point(625, 176); this.controlOperations.MainView = this.controlOperationsView; this.controlOperations.Margin = new System.Windows.Forms.Padding(15); this.controlOperations.Name = "controlOperations"; this.controlOperations.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.ControlOperationLookUpEdit, this.operationDateEdit, this.inspectorsPopupContainerEdit, this.resultStatusLookUpEdit, this.ResultValueTextEdit}); this.controlOperations.Size = new System.Drawing.Size(628, 326); this.controlOperations.TabIndex = 12; this.controlOperations.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.controlOperationsView, this.inspectionsGridView}); // // controlOperationsView // this.controlOperationsView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.controlTypeGridColumn, this.resultGridColumn, this.controlDateGridColumn, this.inspectorsGridColumn, this.valueGridColumn}); this.controlOperationsView.GridControl = this.controlOperations; this.controlOperationsView.Name = "controlOperationsView"; this.controlOperationsView.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; this.controlOperationsView.OptionsBehavior.FocusLeaveOnTab = true; this.controlOperationsView.OptionsNavigation.UseTabKey = false; this.controlOperationsView.OptionsView.NewItemRowPosition = DevExpress.XtraGrid.Views.Grid.NewItemRowPosition.Bottom; this.controlOperationsView.OptionsView.ShowGroupPanel = false; this.controlOperationsView.InitNewRow += new DevExpress.XtraGrid.Views.Grid.InitNewRowEventHandler(this.controlOperationsView_InitNewRow); this.controlOperationsView.InvalidRowException += new DevExpress.XtraGrid.Views.Base.InvalidRowExceptionEventHandler(this.HandleInvalidRowException); this.controlOperationsView.ValidateRow += new DevExpress.XtraGrid.Views.Base.ValidateRowEventHandler(this.controlOperationsView_ValidateRow); this.controlOperationsView.LostFocus += new System.EventHandler(this.controlOperationsView_LostFocus); // // controlTypeGridColumn // this.controlTypeGridColumn.Caption = "Название операции"; this.controlTypeGridColumn.ColumnEdit = this.ControlOperationLookUpEdit; this.controlTypeGridColumn.FieldName = "Operation.Name"; this.controlTypeGridColumn.Name = "controlTypeGridColumn"; this.controlTypeGridColumn.Visible = true; this.controlTypeGridColumn.VisibleIndex = 0; this.controlTypeGridColumn.Width = 122; // // ControlOperationLookUpEdit // this.ControlOperationLookUpEdit.AutoHeight = false; this.ControlOperationLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ControlOperationLookUpEdit.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Название")}); this.ControlOperationLookUpEdit.DisplayMember = "Name"; this.ControlOperationLookUpEdit.Name = "ControlOperationLookUpEdit"; this.ControlOperationLookUpEdit.NullText = ""; this.ControlOperationLookUpEdit.ValueMember = "Name"; this.ControlOperationLookUpEdit.EditValueChanged += new System.EventHandler(this.ControlOperationLookUpEdit_EditValueChanged); this.ControlOperationLookUpEdit.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.ControlOperationLookUpEdit_CustomDisplayText); // // resultGridColumn // this.resultGridColumn.Caption = "Результат"; this.resultGridColumn.ColumnEdit = this.resultStatusLookUpEdit; this.resultGridColumn.FieldName = "Status"; this.resultGridColumn.Name = "resultGridColumn"; this.resultGridColumn.Visible = true; this.resultGridColumn.VisibleIndex = 1; this.resultGridColumn.Width = 87; // // resultStatusLookUpEdit // this.resultStatusLookUpEdit.AutoHeight = false; this.resultStatusLookUpEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.resultStatusLookUpEdit.Name = "resultStatusLookUpEdit"; this.resultStatusLookUpEdit.NullText = ""; this.resultStatusLookUpEdit.ShowHeader = false; this.resultStatusLookUpEdit.QueryPopUp += new System.ComponentModel.CancelEventHandler(this.resultStatusLookUpEdit_QueryPopUp); this.resultStatusLookUpEdit.EditValueChanged += new System.EventHandler(this.resultStatusLookUpEdit_EditValueChanged); this.resultStatusLookUpEdit.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.resultStatusLookUpEdit_CustomDisplayText); // // controlDateGridColumn // this.controlDateGridColumn.Caption = "Дата контроля"; this.controlDateGridColumn.ColumnEdit = this.operationDateEdit; this.controlDateGridColumn.FieldName = "Date"; this.controlDateGridColumn.Name = "controlDateGridColumn"; this.controlDateGridColumn.Visible = true; this.controlDateGridColumn.VisibleIndex = 2; this.controlDateGridColumn.Width = 121; // // operationDateEdit // this.operationDateEdit.AutoHeight = false; this.operationDateEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.operationDateEdit.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.operationDateEdit.Name = "operationDateEdit"; // // inspectorsGridColumn // this.inspectorsGridColumn.Caption = "Инспекторы"; this.inspectorsGridColumn.ColumnEdit = this.inspectorsPopupContainerEdit; this.inspectorsGridColumn.FieldName = "Inspectors"; this.inspectorsGridColumn.Name = "inspectorsGridColumn"; this.inspectorsGridColumn.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.True; this.inspectorsGridColumn.Visible = true; this.inspectorsGridColumn.VisibleIndex = 3; this.inspectorsGridColumn.Width = 230; // // inspectorsPopupContainerEdit // this.inspectorsPopupContainerEdit.AutoHeight = false; this.inspectorsPopupContainerEdit.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.inspectorsPopupContainerEdit.Name = "inspectorsPopupContainerEdit"; this.inspectorsPopupContainerEdit.QueryPopUp += new System.ComponentModel.CancelEventHandler(this.inspectorsPopupContainerEdit_QueryPopUp); this.inspectorsPopupContainerEdit.CloseUp += new DevExpress.XtraEditors.Controls.CloseUpEventHandler(this.inspectorsPopupContainerEdit_CloseUp); this.inspectorsPopupContainerEdit.Popup += new System.EventHandler(this.inspectorsPopupContainerEdit_Popup); this.inspectorsPopupContainerEdit.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.inspectorsPopupContainerEdit_CustomDisplayText); // // valueGridColumn // this.valueGridColumn.Caption = "Значение"; this.valueGridColumn.ColumnEdit = this.ResultValueTextEdit; this.valueGridColumn.FieldName = "Value"; this.valueGridColumn.Name = "valueGridColumn"; this.valueGridColumn.Visible = true; this.valueGridColumn.VisibleIndex = 4; this.valueGridColumn.Width = 79; // // ResultValueTextEdit // this.ResultValueTextEdit.AutoHeight = false; this.ResultValueTextEdit.Name = "ResultValueTextEdit"; // // inspectionsGridView // this.inspectionsGridView.GridControl = this.controlOperations; this.inspectionsGridView.Name = "inspectionsGridView"; // // secondJointElement // this.secondJointElement.Location = new System.Drawing.Point(311, 200); this.secondJointElement.Name = "secondJointElement"; this.secondJointElement.Properties.Appearance.BackColor = System.Drawing.Color.White; this.secondJointElement.Properties.Appearance.Options.UseBackColor = true; this.secondJointElement.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.secondJointElement.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); this.secondJointElement.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Number", "Номер"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("PartTypeDescription", "Тип"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("NumberOfConnectors", "Количество коннекторов"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("AvailableDiameters", "Доступные диаметры")}); this.secondJointElement.Properties.NullText = ""; this.secondJointElement.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.secondJointElement.Size = new System.Drawing.Size(268, 20); this.secondJointElement.StyleController = this.newJointLayoutControl; this.secondJointElement.TabIndex = 4; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Не может быть пустым"; this.dxValidationProvider.SetValidationRule(this.secondJointElement, conditionValidationRule1); this.secondJointElement.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.secondJointElement_CustomDisplayText); this.secondJointElement.TextChanged += new System.EventHandler(this.secondJointElement_TextChanged); // // firstJointElement // this.firstJointElement.Location = new System.Drawing.Point(34, 200); this.firstJointElement.Name = "firstJointElement"; this.firstJointElement.Properties.Appearance.BackColor = System.Drawing.Color.White; this.firstJointElement.Properties.Appearance.Options.UseBackColor = true; this.firstJointElement.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.firstJointElement.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Search)}); this.firstJointElement.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Number", "Номер"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("PartTypeDescription", "Тип"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("NumberOfConnectors", "Количество коннекторов"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("AvailableDiameters", "Доступные диаметры")}); this.firstJointElement.Properties.NullText = ""; this.firstJointElement.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.firstJointElement.Size = new System.Drawing.Size(258, 20); this.firstJointElement.StyleController = this.newJointLayoutControl; this.firstJointElement.TabIndex = 3; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Не может быть пустым"; this.dxValidationProvider.SetValidationRule(this.firstJointElement, conditionValidationRule2); this.firstJointElement.CustomDisplayText += new DevExpress.XtraEditors.Controls.CustomDisplayTextEventHandler(this.firstJointElement_CustomDisplayText); this.firstJointElement.TextChanged += new System.EventHandler(this.firstJointElement_TextChanged); // // loweringDate // this.loweringDate.EditValue = null; this.loweringDate.Location = new System.Drawing.Point(658, 69); this.loweringDate.Name = "loweringDate"; this.loweringDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.loweringDate.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.loweringDate.Size = new System.Drawing.Size(110, 20); this.loweringDate.StyleController = this.newJointLayoutControl; this.loweringDate.TabIndex = 5; // // newJointLayoutGroup // this.newJointLayoutGroup.CustomizationFormText = "Root"; this.newJointLayoutGroup.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.newJointLayoutGroup.GroupBordersVisible = false; this.newJointLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.loweringLayoutGroup, this.jointParametersLayoutGroup, this.extraFilesLayout, this.deactivatedLayout, this.saveButtonLayout, this.saveButtonEmptySpace, this.saveAndCreateLayout, this.repairOperationLayout, this.controlOperationsLayout, this.searchLayoutGroup}); this.newJointLayoutGroup.Location = new System.Drawing.Point(0, 0); this.newJointLayoutGroup.Name = "Root"; this.newJointLayoutGroup.Padding = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0); this.newJointLayoutGroup.Size = new System.Drawing.Size(1275, 550); this.newJointLayoutGroup.Spacing = new DevExpress.XtraLayout.Utils.Padding(20, 20, 20, 20); this.newJointLayoutGroup.Text = "Root"; this.newJointLayoutGroup.TextVisible = false; // // loweringLayoutGroup // this.loweringLayoutGroup.CustomizationFormText = "Параметры укаладки"; this.loweringLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.GPSLatLayout, this.GPSLongLayout, this.elevationLayout, this.GPSLabelLayout, this.loweringDateLayout, this.PKLabelLayout, this.PKNumberLayout, this.distanceFromPKLayout, this.loweringDateEmptySpace}); this.loweringLayoutGroup.Location = new System.Drawing.Point(588, 0); this.loweringLayoutGroup.Name = "loweringLayoutGroup"; this.loweringLayoutGroup.Size = new System.Drawing.Size(647, 138); this.loweringLayoutGroup.Spacing = new DevExpress.XtraLayout.Utils.Padding(15, 2, 2, 2); this.loweringLayoutGroup.Text = "Параметры укладки"; // // GPSLatLayout // this.GPSLatLayout.Control = this.GPSLat; this.GPSLatLayout.CustomizationFormText = "Øèðîòà"; this.GPSLatLayout.Location = new System.Drawing.Point(23, 47); this.GPSLatLayout.MinSize = new System.Drawing.Size(119, 40); this.GPSLatLayout.Name = "GPSLatLayout"; this.GPSLatLayout.Size = new System.Drawing.Size(177, 48); this.GPSLatLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.GPSLatLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.GPSLatLayout.Text = "&Широта"; this.GPSLatLayout.TextLocation = DevExpress.Utils.Locations.Top; this.GPSLatLayout.TextSize = new System.Drawing.Size(120, 13); // // GPSLongLayout // this.GPSLongLayout.Control = this.GPSLong; this.GPSLongLayout.CustomizationFormText = "Äîëãîòà"; this.GPSLongLayout.Location = new System.Drawing.Point(200, 47); this.GPSLongLayout.MinSize = new System.Drawing.Size(134, 40); this.GPSLongLayout.Name = "GPSLongLayout"; this.GPSLongLayout.Size = new System.Drawing.Size(139, 48); this.GPSLongLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.GPSLongLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.GPSLongLayout.Text = "До&лгота"; this.GPSLongLayout.TextLocation = DevExpress.Utils.Locations.Top; this.GPSLongLayout.TextSize = new System.Drawing.Size(120, 13); // // elevationLayout // this.elevationLayout.Control = this.seaLevel; this.elevationLayout.CustomizationFormText = "Âûñîòà"; this.elevationLayout.Location = new System.Drawing.Point(339, 47); this.elevationLayout.MinSize = new System.Drawing.Size(124, 47); this.elevationLayout.Name = "elevationLayout"; this.elevationLayout.Size = new System.Drawing.Size(271, 48); this.elevationLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.elevationLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.elevationLayout.Text = "В&ысота, м"; this.elevationLayout.TextLocation = DevExpress.Utils.Locations.Top; this.elevationLayout.TextSize = new System.Drawing.Size(120, 13); // // GPSLabelLayout // this.GPSLabelLayout.Control = this.GPSLabel; this.GPSLabelLayout.CustomizationFormText = "GPSLabelLayout"; this.GPSLabelLayout.Location = new System.Drawing.Point(0, 47); this.GPSLabelLayout.Name = "GPSLabelLayout"; this.GPSLabelLayout.Size = new System.Drawing.Size(23, 48); this.GPSLabelLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 0, 19, 12); this.GPSLabelLayout.Text = "GPSLabelLayout"; this.GPSLabelLayout.TextSize = new System.Drawing.Size(0, 0); this.GPSLabelLayout.TextVisible = false; // // loweringDateLayout // this.loweringDateLayout.Control = this.loweringDate; this.loweringDateLayout.CustomizationFormText = "Äàòà óêëàäêè"; this.loweringDateLayout.Location = new System.Drawing.Point(23, 0); this.loweringDateLayout.MinSize = new System.Drawing.Size(134, 47); this.loweringDateLayout.Name = "loweringDateLayout"; this.loweringDateLayout.Size = new System.Drawing.Size(154, 47); this.loweringDateLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.loweringDateLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 40, 0, 7); this.loweringDateLayout.Text = "Дата &укладки"; this.loweringDateLayout.TextLocation = DevExpress.Utils.Locations.Top; this.loweringDateLayout.TextSize = new System.Drawing.Size(120, 13); // // PKLabelLayout // this.PKLabelLayout.Control = this.PKLabel; this.PKLabelLayout.CustomizationFormText = "PK"; this.PKLabelLayout.Location = new System.Drawing.Point(177, 0); this.PKLabelLayout.Name = "PKLabelLayout"; this.PKLabelLayout.Size = new System.Drawing.Size(23, 47); this.PKLabelLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 7, 19, 9); this.PKLabelLayout.Text = "PK "; this.PKLabelLayout.TextSize = new System.Drawing.Size(0, 0); this.PKLabelLayout.TextVisible = false; // // PKNumberLayout // this.PKNumberLayout.Control = this.PKNumber; this.PKNumberLayout.CustomizationFormText = "Номер пикета"; this.PKNumberLayout.Location = new System.Drawing.Point(200, 0); this.PKNumberLayout.Name = "PKNumberLayout"; this.PKNumberLayout.Size = new System.Drawing.Size(139, 47); this.PKNumberLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.PKNumberLayout.Text = "Номер п&икета"; this.PKNumberLayout.TextLocation = DevExpress.Utils.Locations.Top; this.PKNumberLayout.TextSize = new System.Drawing.Size(120, 13); // // distanceFromPKLayout // this.distanceFromPKLayout.Control = this.distanceFromPK; this.distanceFromPKLayout.CustomizationFormText = "Расстояние от пикета"; this.distanceFromPKLayout.Location = new System.Drawing.Point(339, 0); this.distanceFromPKLayout.MinSize = new System.Drawing.Size(139, 47); this.distanceFromPKLayout.Name = "distanceFromPKLayout"; this.distanceFromPKLayout.Size = new System.Drawing.Size(271, 47); this.distanceFromPKLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.distanceFromPKLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.distanceFromPKLayout.Text = "Рассто&яние от пикета"; this.distanceFromPKLayout.TextLocation = DevExpress.Utils.Locations.Top; this.distanceFromPKLayout.TextSize = new System.Drawing.Size(120, 13); // // loweringDateEmptySpace // this.loweringDateEmptySpace.AllowHotTrack = false; this.loweringDateEmptySpace.CustomizationFormText = "loweringDateEmptySpace"; this.loweringDateEmptySpace.Location = new System.Drawing.Point(0, 0); this.loweringDateEmptySpace.Name = "loweringDateEmptySpace"; this.loweringDateEmptySpace.Size = new System.Drawing.Size(23, 47); this.loweringDateEmptySpace.Text = "loweringDateEmptySpace"; this.loweringDateEmptySpace.TextSize = new System.Drawing.Size(0, 0); // // jointParametersLayoutGroup // this.jointParametersLayoutGroup.CustomizationFormText = "Параметры стыка"; this.jointParametersLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.jointNumberLayout, this.firstJointElementLayout, this.secondJointElementLayout, this.jointNumberEmptySpace, this.jointStatusLayout}); this.jointParametersLayoutGroup.Location = new System.Drawing.Point(0, 84); this.jointParametersLayoutGroup.Name = "jointParametersLayoutGroup"; this.jointParametersLayoutGroup.Size = new System.Drawing.Size(588, 141); this.jointParametersLayoutGroup.Text = "Параметры стыка"; // // jointNumberLayout // this.jointNumberLayout.Control = this.jointNumber; this.jointNumberLayout.CustomizationFormText = "Íîìåð ñòûêà"; this.jointNumberLayout.Location = new System.Drawing.Point(0, 0); this.jointNumberLayout.MaxSize = new System.Drawing.Size(0, 47); this.jointNumberLayout.MinSize = new System.Drawing.Size(100, 47); this.jointNumberLayout.Name = "jointNumberLayout"; this.jointNumberLayout.Size = new System.Drawing.Size(277, 47); this.jointNumberLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.jointNumberLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.jointNumberLayout.Text = "Ном&ер стыка"; this.jointNumberLayout.TextLocation = DevExpress.Utils.Locations.Top; this.jointNumberLayout.TextSize = new System.Drawing.Size(120, 13); // // firstJointElementLayout // this.firstJointElementLayout.Control = this.firstJointElement; this.firstJointElementLayout.CustomizationFormText = "Ïåðâûé ñòûêóåìûé ýëåìåíò"; this.firstJointElementLayout.Location = new System.Drawing.Point(0, 47); this.firstJointElementLayout.MaxSize = new System.Drawing.Size(0, 51); this.firstJointElementLayout.MinSize = new System.Drawing.Size(169, 51); this.firstJointElementLayout.Name = "firstJointElementLayout"; this.firstJointElementLayout.Size = new System.Drawing.Size(277, 51); this.firstJointElementLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.firstJointElementLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.firstJointElementLayout.Text = "&Первый элемент стыка"; this.firstJointElementLayout.TextLocation = DevExpress.Utils.Locations.Top; this.firstJointElementLayout.TextSize = new System.Drawing.Size(120, 13); // // secondJointElementLayout // this.secondJointElementLayout.Control = this.secondJointElement; this.secondJointElementLayout.CustomizationFormText = "Âòîðîé ñòûêóåìûé ýëåìåíò"; this.secondJointElementLayout.Location = new System.Drawing.Point(277, 47); this.secondJointElementLayout.MaxSize = new System.Drawing.Size(0, 51); this.secondJointElementLayout.MinSize = new System.Drawing.Size(169, 51); this.secondJointElementLayout.Name = "secondJointElementLayout"; this.secondJointElementLayout.Size = new System.Drawing.Size(287, 51); this.secondJointElementLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.secondJointElementLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.secondJointElementLayout.Text = "В&торой элемент стыка"; this.secondJointElementLayout.TextLocation = DevExpress.Utils.Locations.Top; this.secondJointElementLayout.TextSize = new System.Drawing.Size(120, 13); // // jointNumberEmptySpace // this.jointNumberEmptySpace.AllowHotTrack = false; this.jointNumberEmptySpace.CustomizationFormText = "jointNumberEmptySpace"; this.jointNumberEmptySpace.Location = new System.Drawing.Point(420, 0); this.jointNumberEmptySpace.MaxSize = new System.Drawing.Size(0, 47); this.jointNumberEmptySpace.MinSize = new System.Drawing.Size(10, 47); this.jointNumberEmptySpace.Name = "jointNumberEmptySpace"; this.jointNumberEmptySpace.Size = new System.Drawing.Size(144, 47); this.jointNumberEmptySpace.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.jointNumberEmptySpace.Text = "jointNumberEmptySpace"; this.jointNumberEmptySpace.TextSize = new System.Drawing.Size(0, 0); // // jointStatusLayout // this.jointStatusLayout.Control = this.jointStatus; this.jointStatusLayout.CustomizationFormText = "Статус стыка"; this.jointStatusLayout.Location = new System.Drawing.Point(277, 0); this.jointStatusLayout.MaxSize = new System.Drawing.Size(0, 47); this.jointStatusLayout.MinSize = new System.Drawing.Size(139, 47); this.jointStatusLayout.Name = "jointStatusLayout"; this.jointStatusLayout.Size = new System.Drawing.Size(143, 47); this.jointStatusLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.jointStatusLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 7); this.jointStatusLayout.Text = "Статус стыка"; this.jointStatusLayout.TextLocation = DevExpress.Utils.Locations.Top; this.jointStatusLayout.TextSize = new System.Drawing.Size(120, 13); // // extraFilesLayout // this.extraFilesLayout.Control = this.attachmentsButton; this.extraFilesLayout.CustomizationFormText = "extraFilesLayout"; this.extraFilesLayout.Location = new System.Drawing.Point(0, 484); this.extraFilesLayout.MinSize = new System.Drawing.Size(104, 26); this.extraFilesLayout.Name = "extraFilesLayout"; this.extraFilesLayout.Size = new System.Drawing.Size(104, 26); this.extraFilesLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.extraFilesLayout.Text = "extraFilesLayout"; this.extraFilesLayout.TextSize = new System.Drawing.Size(0, 0); this.extraFilesLayout.TextVisible = false; // // deactivatedLayout // this.deactivatedLayout.Control = this.deactivated; this.deactivatedLayout.CustomizationFormText = "deactivatedLayout"; this.deactivatedLayout.Location = new System.Drawing.Point(104, 484); this.deactivatedLayout.MaxSize = new System.Drawing.Size(175, 23); this.deactivatedLayout.MinSize = new System.Drawing.Size(175, 23); this.deactivatedLayout.Name = "deactivatedLayout"; this.deactivatedLayout.Size = new System.Drawing.Size(175, 26); this.deactivatedLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.deactivatedLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(25, 15, 0, 0); this.deactivatedLayout.Text = "deactivatedLayout"; this.deactivatedLayout.TextSize = new System.Drawing.Size(0, 0); this.deactivatedLayout.TextVisible = false; // // saveButtonLayout // this.saveButtonLayout.Control = this.saveButton; this.saveButtonLayout.CustomizationFormText = "saveButtonLayout"; this.saveButtonLayout.Location = new System.Drawing.Point(885, 484); this.saveButtonLayout.MaxSize = new System.Drawing.Size(116, 26); this.saveButtonLayout.MinSize = new System.Drawing.Size(116, 26); this.saveButtonLayout.Name = "saveButtonLayout"; this.saveButtonLayout.Size = new System.Drawing.Size(116, 26); this.saveButtonLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.saveButtonLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(15, 0, 0, 0); this.saveButtonLayout.Text = "saveButtonLayout"; this.saveButtonLayout.TextSize = new System.Drawing.Size(0, 0); this.saveButtonLayout.TextVisible = false; // // saveButtonEmptySpace // this.saveButtonEmptySpace.AllowHotTrack = false; this.saveButtonEmptySpace.CustomizationFormText = "saveButtonEmptySpace"; this.saveButtonEmptySpace.Location = new System.Drawing.Point(279, 484); this.saveButtonEmptySpace.Name = "saveButtonEmptySpace"; this.saveButtonEmptySpace.Size = new System.Drawing.Size(606, 26); this.saveButtonEmptySpace.Text = "saveButtonEmptySpace"; this.saveButtonEmptySpace.TextSize = new System.Drawing.Size(0, 0); // // saveAndCreateLayout // this.saveAndCreateLayout.Control = this.saveAndCreateButton; this.saveAndCreateLayout.CustomizationFormText = "saveAndCreateLayout"; this.saveAndCreateLayout.Location = new System.Drawing.Point(1001, 484); this.saveAndCreateLayout.Name = "saveAndCreateLayout"; this.saveAndCreateLayout.Size = new System.Drawing.Size(234, 26); this.saveAndCreateLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(10, 0, 0, 0); this.saveAndCreateLayout.Text = "saveAndCreateLayout"; this.saveAndCreateLayout.TextSize = new System.Drawing.Size(0, 0); this.saveAndCreateLayout.TextVisible = false; // // repairOperationLayout // this.repairOperationLayout.Control = this.repairOperations; this.repairOperationLayout.CustomizationFormText = "Ремонтные операции"; this.repairOperationLayout.Location = new System.Drawing.Point(0, 225); this.repairOperationLayout.Name = "repairOperationLayout"; this.repairOperationLayout.Size = new System.Drawing.Size(588, 259); this.repairOperationLayout.Text = "Сварка и ре&монт"; this.repairOperationLayout.TextLocation = DevExpress.Utils.Locations.Top; this.repairOperationLayout.TextSize = new System.Drawing.Size(120, 13); // // controlOperationsLayout // this.controlOperationsLayout.Control = this.controlOperations; this.controlOperationsLayout.CustomizationFormText = "Контрольные операции"; this.controlOperationsLayout.Location = new System.Drawing.Point(588, 138); this.controlOperationsLayout.Name = "controlOperationsLayout"; this.controlOperationsLayout.Size = new System.Drawing.Size(647, 346); this.controlOperationsLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(15, 0, 0, 0); this.controlOperationsLayout.Text = "Контрольные опера&ции"; this.controlOperationsLayout.TextLocation = DevExpress.Utils.Locations.Top; this.controlOperationsLayout.TextSize = new System.Drawing.Size(120, 13); // // searchLayoutGroup // this.searchLayoutGroup.CustomizationFormText = "layoutControlGroup4"; this.searchLayoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.searchNumberLayout, this.searchButtonLayout}); this.searchLayoutGroup.Location = new System.Drawing.Point(0, 0); this.searchLayoutGroup.Name = "searchLayoutGroup"; this.searchLayoutGroup.Size = new System.Drawing.Size(588, 84); this.searchLayoutGroup.Text = "Поиск и редактирование стыка"; // // searchNumberLayout // this.searchNumberLayout.Control = this.searchNumber; this.searchNumberLayout.CustomizationFormText = "layoutControlItem1"; this.searchNumberLayout.Location = new System.Drawing.Point(0, 0); this.searchNumberLayout.MinSize = new System.Drawing.Size(139, 40); this.searchNumberLayout.Name = "searchNumberLayout"; this.searchNumberLayout.Size = new System.Drawing.Size(279, 41); this.searchNumberLayout.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.searchNumberLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 0, 0); this.searchNumberLayout.Text = "Номер искомого &стыка"; this.searchNumberLayout.TextLocation = DevExpress.Utils.Locations.Top; this.searchNumberLayout.TextSize = new System.Drawing.Size(120, 13); // // searchButtonLayout // this.searchButtonLayout.Control = this.searchButton; this.searchButtonLayout.CustomizationFormText = "layoutControlItem2"; this.searchButtonLayout.Location = new System.Drawing.Point(279, 0); this.searchButtonLayout.Name = "searchButtonLayout"; this.searchButtonLayout.Size = new System.Drawing.Size(285, 41); this.searchButtonLayout.Spacing = new DevExpress.XtraLayout.Utils.Padding(0, 15, 15, 0); this.searchButtonLayout.Text = "searchButtonLayout"; this.searchButtonLayout.TextSize = new System.Drawing.Size(0, 0); this.searchButtonLayout.TextVisible = false; // // JointNewEditXtraForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoScroll = true; this.ClientSize = new System.Drawing.Size(1275, 550); this.Controls.Add(this.newJointLayoutControl); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "JointNewEditXtraForm"; this.ShowIcon = false; this.Text = "Стык"; this.Activated += new System.EventHandler(this.JointNewEditXtraForm_Activated); this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.JointNewEditXtraForm_FormClosing); this.FormClosed += new System.Windows.Forms.FormClosedEventHandler(this.JointNewEditXtraForm_FormClosed); this.Load += new System.EventHandler(this.JointNewEditXtraForm_Load); ((System.ComponentModel.ISupportInitialize)(this.jointNumber.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.newJointLayoutControl)).EndInit(); this.newJointLayoutControl.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.searchNumber.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jointStatus.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperations)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperationsView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperationsLookUpEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repairDateEdit.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repairDateEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.CompletedCheckEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.weldersPopupContainerEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deactivated.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceFromPK.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PKNumber.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seaLevel.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLat.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLong.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.controlOperations)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.controlOperationsView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ControlOperationLookUpEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.resultStatusLookUpEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.operationDateEdit.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.operationDateEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.inspectorsPopupContainerEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ResultValueTextEdit)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.inspectionsGridView)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.secondJointElement.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.firstJointElement.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.newJointLayoutGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringLayoutGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLatLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLongLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.elevationLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.GPSLabelLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDateLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PKLabelLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.PKNumberLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.distanceFromPKLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.loweringDateEmptySpace)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jointParametersLayoutGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jointNumberLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.firstJointElementLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.secondJointElementLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jointNumberEmptySpace)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jointStatusLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.extraFilesLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.deactivatedLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.saveButtonLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.saveButtonEmptySpace)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.saveAndCreateLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repairOperationLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.controlOperationsLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.searchLayoutGroup)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.searchNumberLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.searchButtonLayout)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.jointNewEditBindingSoure)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.pipelinePiecesBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.inspectorsDataSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.weldersDataSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FormAddRestaurant)); 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(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.txtCity = new DevExpress.XtraEditors.TextEdit(); this.txtStreetAddress = new DevExpress.XtraEditors.TextEdit(); this.txtState = new DevExpress.XtraEditors.TextEdit(); this.lookUpCategory = new DevExpress.XtraEditors.LookUpEdit(); this.bindingCategory = new System.Windows.Forms.BindingSource(this.components); this.windowsUIButtonPanel1 = new DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel(); this.txtDescription = new DevExpress.XtraEditors.TextEdit(); this.btnLogoImageLocation = new DevExpress.XtraEditors.ButtonEdit(); this.btnSmallLogoImageLocation = new DevExpress.XtraEditors.ButtonEdit(); this.txtName = new DevExpress.XtraEditors.TextEdit(); this.btnBannerImageLocation = new DevExpress.XtraEditors.ButtonEdit(); this.btnMainImageLocation = new DevExpress.XtraEditors.ButtonEdit(); this.btnBackGroundImageLocation = new DevExpress.XtraEditors.ButtonEdit(); this.txtPosalCode = new DevExpress.XtraEditors.TextEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); this.validator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtCity.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtStreetAddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtState.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpCategory.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingCategory)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnLogoImageLocation.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSmallLogoImageLocation.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnBannerImageLocation.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnMainImageLocation.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btnBackGroundImageLocation.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPosalCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.txtCity); this.layoutControl1.Controls.Add(this.txtStreetAddress); this.layoutControl1.Controls.Add(this.txtState); this.layoutControl1.Controls.Add(this.lookUpCategory); this.layoutControl1.Controls.Add(this.windowsUIButtonPanel1); this.layoutControl1.Controls.Add(this.txtDescription); this.layoutControl1.Controls.Add(this.btnLogoImageLocation); this.layoutControl1.Controls.Add(this.btnSmallLogoImageLocation); this.layoutControl1.Controls.Add(this.txtName); this.layoutControl1.Controls.Add(this.btnBannerImageLocation); this.layoutControl1.Controls.Add(this.btnMainImageLocation); this.layoutControl1.Controls.Add(this.btnBackGroundImageLocation); this.layoutControl1.Controls.Add(this.txtPosalCode); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; 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(584, 299); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // txtCity // this.txtCity.Location = new System.Drawing.Point(432, 156); this.txtCity.Name = "txtCity"; this.txtCity.Size = new System.Drawing.Size(140, 20); this.txtCity.StyleController = this.layoutControl1; this.txtCity.TabIndex = 15; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Please enter city"; this.validator.SetValidationRule(this.txtCity, conditionValidationRule1); // // txtStreetAddress // this.txtStreetAddress.Location = new System.Drawing.Point(151, 156); this.txtStreetAddress.Name = "txtStreetAddress"; this.txtStreetAddress.Size = new System.Drawing.Size(138, 20); this.txtStreetAddress.StyleController = this.layoutControl1; this.txtStreetAddress.TabIndex = 14; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Please enter street address"; this.validator.SetValidationRule(this.txtStreetAddress, conditionValidationRule2); // // txtState // this.txtState.Location = new System.Drawing.Point(151, 180); this.txtState.Name = "txtState"; this.txtState.Properties.MaxLength = 2; this.txtState.Size = new System.Drawing.Size(138, 20); this.txtState.StyleController = this.layoutControl1; this.txtState.TabIndex = 13; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Please enter state"; this.validator.SetValidationRule(this.txtState, conditionValidationRule3); // // lookUpCategory // this.lookUpCategory.Location = new System.Drawing.Point(434, 12); this.lookUpCategory.Name = "lookUpCategory"; this.lookUpCategory.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.lookUpCategory.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Id", "Id"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Description", "Description") }); this.lookUpCategory.Properties.DataSource = this.bindingCategory; this.lookUpCategory.Properties.DisplayMember = "Description"; this.lookUpCategory.Properties.NullText = ""; this.lookUpCategory.Properties.ValueMember = "Id"; this.lookUpCategory.Size = new System.Drawing.Size(138, 20); this.lookUpCategory.StyleController = this.layoutControl1; this.lookUpCategory.TabIndex = 12; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Please select category"; this.validator.SetValidationRule(this.lookUpCategory, conditionValidationRule4); // // bindingCategory // this.bindingCategory.DataSource = typeof(Enterprise.Logic.Entities.RestaurantCategory); // // windowsUIButtonPanel1 // this.windowsUIButtonPanel1.Buttons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] { new DevExpress.XtraBars.Docking2010.WindowsUIButton("Add", ((System.Drawing.Image)(resources.GetObject("windowsUIButtonPanel1.Buttons"))), -1, DevExpress.XtraBars.Docking2010.ImageLocation.Default, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", true, -1, true, null, true, false, true, null, "Add", -1, false, false), new DevExpress.XtraBars.Docking2010.WindowsUIButton("Cancel", ((System.Drawing.Image)(resources.GetObject("windowsUIButtonPanel1.Buttons1"))), -1, DevExpress.XtraBars.Docking2010.ImageLocation.Default, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", true, -1, true, null, true, false, true, null, "Cancel", -1, false, false) }); this.windowsUIButtonPanel1.Location = new System.Drawing.Point(12, 228); this.windowsUIButtonPanel1.Name = "windowsUIButtonPanel1"; this.windowsUIButtonPanel1.Size = new System.Drawing.Size(560, 55); this.windowsUIButtonPanel1.TabIndex = 11; this.windowsUIButtonPanel1.Text = "windowsUIButtonPanel1"; this.windowsUIButtonPanel1.ButtonClick += new DevExpress.XtraBars.Docking2010.ButtonEventHandler(this.windowsUIButtonPanel1_ButtonClick); // // txtDescription // this.txtDescription.EditValue = ""; this.txtDescription.Location = new System.Drawing.Point(151, 204); this.txtDescription.Name = "txtDescription"; this.txtDescription.Size = new System.Drawing.Size(421, 20); this.txtDescription.StyleController = this.layoutControl1; this.txtDescription.TabIndex = 10; conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule5.ErrorText = "Please enter description"; this.validator.SetValidationRule(this.txtDescription, conditionValidationRule5); // // btnLogoImageLocation // this.btnLogoImageLocation.Location = new System.Drawing.Point(151, 36); this.btnLogoImageLocation.Name = "btnLogoImageLocation"; this.btnLogoImageLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.btnLogoImageLocation.Properties.ReadOnly = true; this.btnLogoImageLocation.Size = new System.Drawing.Size(421, 20); this.btnLogoImageLocation.StyleController = this.layoutControl1; this.btnLogoImageLocation.TabIndex = 7; conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule6.ErrorText = "Please select logo"; this.validator.SetValidationRule(this.btnLogoImageLocation, conditionValidationRule6); this.btnLogoImageLocation.Click += new System.EventHandler(this.btnImage_Click); // // btnSmallLogoImageLocation // this.btnSmallLogoImageLocation.Location = new System.Drawing.Point(151, 60); this.btnSmallLogoImageLocation.Name = "btnSmallLogoImageLocation"; this.btnSmallLogoImageLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.btnSmallLogoImageLocation.Properties.ReadOnly = true; this.btnSmallLogoImageLocation.Size = new System.Drawing.Size(421, 20); this.btnSmallLogoImageLocation.StyleController = this.layoutControl1; this.btnSmallLogoImageLocation.TabIndex = 6; conditionValidationRule7.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule7.ErrorText = "Please selet Small Logo"; this.validator.SetValidationRule(this.btnSmallLogoImageLocation, conditionValidationRule7); this.btnSmallLogoImageLocation.Click += new System.EventHandler(this.btnImage_Click); // // txtName // this.txtName.Location = new System.Drawing.Point(151, 12); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(140, 20); this.txtName.StyleController = this.layoutControl1; this.txtName.TabIndex = 4; conditionValidationRule8.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule8.ErrorText = "Please enter restaurant name"; this.validator.SetValidationRule(this.txtName, conditionValidationRule8); // // btnBannerImageLocation // this.btnBannerImageLocation.Location = new System.Drawing.Point(151, 84); this.btnBannerImageLocation.Name = "btnBannerImageLocation"; this.btnBannerImageLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.btnBannerImageLocation.Properties.ReadOnly = true; this.btnBannerImageLocation.Size = new System.Drawing.Size(421, 20); this.btnBannerImageLocation.StyleController = this.layoutControl1; this.btnBannerImageLocation.TabIndex = 6; conditionValidationRule9.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule9.ErrorText = "Please select banner"; this.validator.SetValidationRule(this.btnBannerImageLocation, conditionValidationRule9); this.btnBannerImageLocation.Click += new System.EventHandler(this.btnImage_Click); // // btnMainImageLocation // this.btnMainImageLocation.Location = new System.Drawing.Point(151, 108); this.btnMainImageLocation.Name = "btnMainImageLocation"; this.btnMainImageLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.btnMainImageLocation.Properties.ReadOnly = true; this.btnMainImageLocation.Size = new System.Drawing.Size(421, 20); this.btnMainImageLocation.StyleController = this.layoutControl1; this.btnMainImageLocation.TabIndex = 6; conditionValidationRule10.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule10.ErrorText = "Please select main image"; this.validator.SetValidationRule(this.btnMainImageLocation, conditionValidationRule10); this.btnMainImageLocation.Click += new System.EventHandler(this.btnImage_Click); // // btnBackGroundImageLocation // this.btnBackGroundImageLocation.Location = new System.Drawing.Point(151, 132); this.btnBackGroundImageLocation.Name = "btnBackGroundImageLocation"; this.btnBackGroundImageLocation.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton() }); this.btnBackGroundImageLocation.Properties.ReadOnly = true; this.btnBackGroundImageLocation.Size = new System.Drawing.Size(421, 20); this.btnBackGroundImageLocation.StyleController = this.layoutControl1; this.btnBackGroundImageLocation.TabIndex = 6; conditionValidationRule11.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule11.ErrorText = "Please select back ground image"; this.validator.SetValidationRule(this.btnBackGroundImageLocation, conditionValidationRule11); this.btnBackGroundImageLocation.Click += new System.EventHandler(this.btnImage_Click); // // txtPosalCode // this.txtPosalCode.Location = new System.Drawing.Point(432, 180); this.txtPosalCode.Name = "txtPosalCode"; this.txtPosalCode.Properties.MaxLength = 10; this.txtPosalCode.Size = new System.Drawing.Size(140, 20); this.txtPosalCode.StyleController = this.layoutControl1; this.txtPosalCode.TabIndex = 13; conditionValidationRule12.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule12.ErrorText = "Please enter Postal Code"; this.validator.SetValidationRule(this.txtPosalCode, conditionValidationRule12); // // layoutControlGroup1 // this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem7, this.layoutControlItem14, this.layoutControlItem10, this.layoutControlItem9, this.layoutControlItem2, this.layoutControlItem12, this.layoutControlItem13, this.layoutControlItem15 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(584, 299); this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.txtName; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(283, 24); this.layoutControlItem1.Text = "Name:"; this.layoutControlItem1.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem3 // this.layoutControlItem3.Control = this.btnSmallLogoImageLocation; this.layoutControlItem3.Location = new System.Drawing.Point(0, 48); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(564, 24); this.layoutControlItem3.Text = "Small Logo Image Location:"; this.layoutControlItem3.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.btnLogoImageLocation; this.layoutControlItem4.Location = new System.Drawing.Point(0, 24); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(564, 24); this.layoutControlItem4.Text = "Logo Image Location:"; this.layoutControlItem4.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem5 // this.layoutControlItem5.Control = this.btnBannerImageLocation; this.layoutControlItem5.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 72); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(564, 24); this.layoutControlItem5.Text = "Banner Image Location:"; this.layoutControlItem5.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem6 // this.layoutControlItem6.Control = this.btnMainImageLocation; this.layoutControlItem6.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 96); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(564, 24); this.layoutControlItem6.Text = "Main Image Location:"; this.layoutControlItem6.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem7 // this.layoutControlItem7.Control = this.btnBackGroundImageLocation; this.layoutControlItem7.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem7.Location = new System.Drawing.Point(0, 120); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(564, 24); this.layoutControlItem7.Text = "Background Image Location:"; this.layoutControlItem7.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem14 // this.layoutControlItem14.Control = this.windowsUIButtonPanel1; this.layoutControlItem14.Location = new System.Drawing.Point(0, 216); this.layoutControlItem14.Name = "layoutControlItem14"; this.layoutControlItem14.Size = new System.Drawing.Size(564, 63); this.layoutControlItem14.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem14.TextVisible = false; // // layoutControlItem10 // this.layoutControlItem10.Control = this.txtDescription; this.layoutControlItem10.Location = new System.Drawing.Point(0, 192); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(564, 24); this.layoutControlItem10.Text = "Description:"; this.layoutControlItem10.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem9 // this.layoutControlItem9.Control = this.lookUpCategory; this.layoutControlItem9.Location = new System.Drawing.Point(283, 0); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(281, 24); this.layoutControlItem9.Text = "Category:"; this.layoutControlItem9.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.txtState; this.layoutControlItem2.Location = new System.Drawing.Point(0, 168); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(281, 24); this.layoutControlItem2.Text = "State:"; this.layoutControlItem2.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem12 // this.layoutControlItem12.Control = this.txtPosalCode; this.layoutControlItem12.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem12.Location = new System.Drawing.Point(281, 168); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Size = new System.Drawing.Size(283, 24); this.layoutControlItem12.Text = "Postal Code:"; this.layoutControlItem12.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem13 // this.layoutControlItem13.Control = this.txtStreetAddress; this.layoutControlItem13.Location = new System.Drawing.Point(0, 144); this.layoutControlItem13.Name = "layoutControlItem13"; this.layoutControlItem13.Size = new System.Drawing.Size(281, 24); this.layoutControlItem13.Text = "Street Address:"; this.layoutControlItem13.TextSize = new System.Drawing.Size(136, 13); // // layoutControlItem15 // this.layoutControlItem15.Control = this.txtCity; this.layoutControlItem15.Location = new System.Drawing.Point(281, 144); this.layoutControlItem15.Name = "layoutControlItem15"; this.layoutControlItem15.Size = new System.Drawing.Size(283, 24); this.layoutControlItem15.Text = "City"; this.layoutControlItem15.TextSize = new System.Drawing.Size(136, 13); // // FormAddRestaurant // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(584, 299); this.Controls.Add(this.layoutControl1); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FormAddRestaurant"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Add Restaurant"; ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtCity.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtStreetAddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtState.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpCategory.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bindingCategory)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnLogoImageLocation.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnSmallLogoImageLocation.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnBannerImageLocation.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnMainImageLocation.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btnBackGroundImageLocation.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtPosalCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LogIn)); this.okCommand = new DevExpress.XtraEditors.SimpleButton(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.passwordTextEdit = new DevExpress.XtraEditors.TextEdit(); this.userTextEdit = new DevExpress.XtraEditors.TextEdit(); this.cancelCommand = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem6 = new DevExpress.XtraLayout.EmptySpaceItem(); this.lblErrorMessage = new DevExpress.XtraLayout.SimpleLabelItem(); this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem(); this.txtDBName = new DevExpress.XtraLayout.SimpleLabelItem(); this.emptySpaceItem8 = new DevExpress.XtraLayout.EmptySpaceItem(); this.LoginValidation = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.passwordTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.userTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lblErrorMessage)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDBName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.LoginValidation)).BeginInit(); this.SuspendLayout(); // // okCommand // this.okCommand.Location = new System.Drawing.Point(204, 253); this.okCommand.Name = "okCommand"; this.okCommand.Size = new System.Drawing.Size(94, 22); this.okCommand.StyleController = this.layoutControl1; this.okCommand.TabIndex = 21; this.okCommand.Text = "Log-in"; this.okCommand.Click += new System.EventHandler(this.okCommand_Click); // // layoutControl1 // this.layoutControl1.Controls.Add(this.passwordTextEdit); this.layoutControl1.Controls.Add(this.userTextEdit); this.layoutControl1.Controls.Add(this.cancelCommand); this.layoutControl1.Controls.Add(this.okCommand); 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(834, 97, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(500, 384); this.layoutControl1.TabIndex = 28; this.layoutControl1.Text = "layoutControl1"; // // passwordTextEdit // this.passwordTextEdit.Location = new System.Drawing.Point(178, 229); this.passwordTextEdit.Name = "passwordTextEdit"; this.passwordTextEdit.Properties.PasswordChar = '*'; this.passwordTextEdit.Size = new System.Drawing.Size(213, 20); this.passwordTextEdit.StyleController = this.layoutControl1; this.passwordTextEdit.TabIndex = 27; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Password is required"; this.LoginValidation.SetValidationRule(this.passwordTextEdit, conditionValidationRule1); // // userTextEdit // this.userTextEdit.Location = new System.Drawing.Point(178, 205); this.userTextEdit.Name = "userTextEdit"; this.userTextEdit.Size = new System.Drawing.Size(213, 20); this.userTextEdit.StyleController = this.layoutControl1; this.userTextEdit.TabIndex = 26; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "User name is required"; this.LoginValidation.SetValidationRule(this.userTextEdit, conditionValidationRule2); // // cancelCommand // this.cancelCommand.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.cancelCommand.Location = new System.Drawing.Point(302, 253); this.cancelCommand.Name = "cancelCommand"; this.cancelCommand.Size = new System.Drawing.Size(89, 22); this.cancelCommand.StyleController = this.layoutControl1; this.cancelCommand.TabIndex = 23; this.cancelCommand.Text = "Cancel"; this.cancelCommand.Click += new System.EventHandler(this.cancelCommand_Click); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem5, this.layoutControlItem6, this.emptySpaceItem3, this.emptySpaceItem2, this.layoutControlItem3, this.layoutControlItem4, this.emptySpaceItem1, this.emptySpaceItem4, this.emptySpaceItem5, this.emptySpaceItem6, this.lblErrorMessage, this.emptySpaceItem7, this.txtDBName, this.emptySpaceItem8}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(500, 384); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem5 // this.layoutControlItem5.Control = this.okCommand; this.layoutControlItem5.CustomizationFormText = "layoutControlItem5"; this.layoutControlItem5.Location = new System.Drawing.Point(192, 241); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(98, 26); this.layoutControlItem5.Text = "layoutControlItem5"; this.layoutControlItem5.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem5.TextToControlDistance = 0; this.layoutControlItem5.TextVisible = false; // // layoutControlItem6 // this.layoutControlItem6.Control = this.cancelCommand; this.layoutControlItem6.CustomizationFormText = "layoutControlItem6"; this.layoutControlItem6.Location = new System.Drawing.Point(290, 241); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(93, 26); this.layoutControlItem6.Text = "layoutControlItem6"; this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem6.TextToControlDistance = 0; this.layoutControlItem6.TextVisible = false; // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(0, 267); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(383, 87); this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem2"; this.emptySpaceItem2.Location = new System.Drawing.Point(166, 241); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(26, 26); this.emptySpaceItem2.Text = "emptySpaceItem2"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem3 // this.layoutControlItem3.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.layoutControlItem3.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem3.Control = this.userTextEdit; this.layoutControlItem3.CustomizationFormText = "User Name"; this.layoutControlItem3.Location = new System.Drawing.Point(166, 193); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(217, 24); this.layoutControlItem3.Text = "User Name"; this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.AppearanceItemCaption.ForeColor = System.Drawing.Color.Black; this.layoutControlItem4.AppearanceItemCaption.Options.UseForeColor = true; this.layoutControlItem4.Control = this.passwordTextEdit; this.layoutControlItem4.CustomizationFormText = "Password"; this.layoutControlItem4.Location = new System.Drawing.Point(166, 217); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(217, 24); this.layoutControlItem4.Text = "Password"; this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(0, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(383, 143); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4"; this.emptySpaceItem4.Location = new System.Drawing.Point(0, 193); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(166, 74); this.emptySpaceItem4.Text = "emptySpaceItem4"; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem5 // this.emptySpaceItem5.AllowHotTrack = false; this.emptySpaceItem5.CustomizationFormText = "emptySpaceItem5"; this.emptySpaceItem5.Location = new System.Drawing.Point(383, 0); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(97, 354); this.emptySpaceItem5.Text = "emptySpaceItem5"; this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem6 // this.emptySpaceItem6.AllowHotTrack = false; this.emptySpaceItem6.CustomizationFormText = "emptySpaceItem6"; this.emptySpaceItem6.Location = new System.Drawing.Point(0, 354); this.emptySpaceItem6.Name = "emptySpaceItem6"; this.emptySpaceItem6.Size = new System.Drawing.Size(480, 10); this.emptySpaceItem6.Text = "emptySpaceItem6"; this.emptySpaceItem6.TextSize = new System.Drawing.Size(0, 0); // // lblErrorMessage // this.lblErrorMessage.AllowHotTrack = false; this.lblErrorMessage.AppearanceItemCaption.ForeColor = System.Drawing.Color.Red; this.lblErrorMessage.AppearanceItemCaption.Options.UseForeColor = true; this.lblErrorMessage.CustomizationFormText = " "; this.lblErrorMessage.Location = new System.Drawing.Point(191, 160); this.lblErrorMessage.Name = "lblErrorMessage"; this.lblErrorMessage.Size = new System.Drawing.Size(192, 17); this.lblErrorMessage.Text = " "; this.lblErrorMessage.TextSize = new System.Drawing.Size(3, 13); // // emptySpaceItem7 // this.emptySpaceItem7.AllowHotTrack = false; this.emptySpaceItem7.CustomizationFormText = "emptySpaceItem7"; this.emptySpaceItem7.Location = new System.Drawing.Point(0, 177); this.emptySpaceItem7.Name = "emptySpaceItem7"; this.emptySpaceItem7.Size = new System.Drawing.Size(383, 16); this.emptySpaceItem7.Text = "emptySpaceItem7"; this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0); // // txtDBName // this.txtDBName.AllowHotTrack = false; this.txtDBName.AppearanceItemCaption.Options.UseTextOptions = true; this.txtDBName.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.txtDBName.CustomizationFormText = " "; this.txtDBName.Location = new System.Drawing.Point(0, 143); this.txtDBName.Name = "txtDBName"; this.txtDBName.Size = new System.Drawing.Size(383, 17); this.txtDBName.Text = " "; this.txtDBName.TextSize = new System.Drawing.Size(3, 13); // // emptySpaceItem8 // this.emptySpaceItem8.AllowHotTrack = false; this.emptySpaceItem8.CustomizationFormText = "emptySpaceItem8"; this.emptySpaceItem8.Location = new System.Drawing.Point(0, 160); this.emptySpaceItem8.Name = "emptySpaceItem8"; this.emptySpaceItem8.Size = new System.Drawing.Size(191, 17); this.emptySpaceItem8.Text = "emptySpaceItem8"; this.emptySpaceItem8.TextSize = new System.Drawing.Size(0, 0); // // defaultLookAndFeel1 // this.defaultLookAndFeel1.LookAndFeel.SkinName = "Seven"; // // LogIn // this.AcceptButton = this.okCommand; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.BackgroundImage = global::HCMIS.Security.UserManagement.Properties.Resources.Login_Background; this.CancelButton = this.cancelCommand; this.ClientSize = new System.Drawing.Size(500, 384); this.Controls.Add(this.layoutControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.Fixed3D; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "LogIn"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "HCMIS : User Management"; this.Load += new System.EventHandler(this.LogIn_Load); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.passwordTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.userTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lblErrorMessage)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDBName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.LoginValidation)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.okSimpleButton = new DevExpress.XtraEditors.SimpleButton(); this.cancelSimpleButton = new DevExpress.XtraEditors.SimpleButton(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.captionTextEdit = new DevExpress.XtraEditors.TextEdit(); this.radioGroup1 = new DevExpress.XtraEditors.RadioGroup(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.captionTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // okSimpleButton // this.okSimpleButton.Location = new System.Drawing.Point(251, 12); this.okSimpleButton.Name = "okSimpleButton"; this.okSimpleButton.Size = new System.Drawing.Size(75, 23); this.okSimpleButton.TabIndex = 0; this.okSimpleButton.Text = "OK"; this.okSimpleButton.Click += new System.EventHandler(this.okSimpleButton_Click); // // cancelSimpleButton // this.cancelSimpleButton.Location = new System.Drawing.Point(251, 41); this.cancelSimpleButton.Name = "cancelSimpleButton"; this.cancelSimpleButton.Size = new System.Drawing.Size(75, 23); this.cancelSimpleButton.TabIndex = 1; this.cancelSimpleButton.Text = "Cancel"; this.cancelSimpleButton.Click += new System.EventHandler(this.cancelSimpleButton_Click); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(12, 12); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(31, 13); this.labelControl1.TabIndex = 2; this.labelControl1.Text = "Name:"; // // captionTextEdit // this.captionTextEdit.Location = new System.Drawing.Point(73, 12); this.captionTextEdit.Name = "captionTextEdit"; this.captionTextEdit.Size = new System.Drawing.Size(157, 20); this.captionTextEdit.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.captionTextEdit, conditionValidationRule1); // // radioGroup1 // this.radioGroup1.Location = new System.Drawing.Point(73, 38); this.radioGroup1.Name = "radioGroup1"; this.radioGroup1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.radioGroup1.Properties.Appearance.Options.UseBackColor = true; this.radioGroup1.Size = new System.Drawing.Size(157, 131); this.radioGroup1.TabIndex = 4; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(12, 38); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(52, 13); this.labelControl2.TabIndex = 5; this.labelControl2.Text = "Data type:"; // // ExpressionColumnOptionsXtraForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(334, 183); this.ControlBox = false; this.Controls.Add(this.labelControl2); this.Controls.Add(this.radioGroup1); this.Controls.Add(this.captionTextEdit); this.Controls.Add(this.labelControl1); this.Controls.Add(this.cancelSimpleButton); this.Controls.Add(this.okSimpleButton); this.Name = "ExpressionColumnOptionsXtraForm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "New Calculated column"; ((System.ComponentModel.ISupportInitialize)(this.captionTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ChooseDriverFeesReport)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.cbMonth = new DevExpress.XtraScheduler.UI.MonthEdit(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.btnCancel = new WCButtons.Black.ButtonCancelBlack(); this.btnGenerate = new WCButtons.Black.ButtonSettingsBlack(); this.cbDriver = new DevExpress.XtraEditors.SearchLookUpEdit(); this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.cbYear = new DevExpress.XtraEditors.ComboBoxEdit(); this.colid = new DevExpress.XtraGrid.Columns.GridColumn(); this.colfull_name = new DevExpress.XtraGrid.Columns.GridColumn(); this.colcpf = new DevExpress.XtraGrid.Columns.GridColumn(); this.validator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.bdgDrivers = new System.Windows.Forms.BindingSource(this.components); ((System.ComponentModel.ISupportInitialize)(this.cbMonth.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); this.groupControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbDriver.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbYear.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgDrivers)).BeginInit(); this.SuspendLayout(); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(11, 27); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(49, 13); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "Motorista:"; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(11, 56); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(23, 13); this.labelControl2.TabIndex = 0; this.labelControl2.Text = "Mês:"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(197, 56); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(23, 13); this.labelControl3.TabIndex = 0; this.labelControl3.Text = "Ano:"; // // cbMonth // this.cbMonth.Location = new System.Drawing.Point(66, 53); this.cbMonth.Name = "cbMonth"; this.cbMonth.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbMonth.Size = new System.Drawing.Size(125, 20); this.cbMonth.TabIndex = 2; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule1.ErrorText = "Informe o Mês"; conditionValidationRule1.Value1 = 0; this.validator.SetValidationRule(this.cbMonth, conditionValidationRule1); // // groupControl1 // this.groupControl1.Controls.Add(this.cbYear); this.groupControl1.Controls.Add(this.cbDriver); this.groupControl1.Controls.Add(this.btnGenerate); this.groupControl1.Controls.Add(this.btnCancel); this.groupControl1.Controls.Add(this.labelControl1); this.groupControl1.Controls.Add(this.cbMonth); this.groupControl1.Controls.Add(this.labelControl2); this.groupControl1.Controls.Add(this.labelControl3); this.groupControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl1.Location = new System.Drawing.Point(0, 0); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(357, 131); this.groupControl1.TabIndex = 4; this.groupControl1.Text = "Relatório de Honorários"; // // 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(238, 91); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(110, 33); this.btnCancel.TabIndex = 4; this.btnCancel.Text = "Sair"; this.btnCancel.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnCancel.UseVisualStyleBackColor = false; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // btnGenerate // this.btnGenerate.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(117)))), ((int)(((byte)(199))))); this.btnGenerate.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.btnGenerate.Font = new System.Drawing.Font("Segoe UI Light", 12F); this.btnGenerate.ForeColor = System.Drawing.Color.White; this.btnGenerate.Image = ((System.Drawing.Image)(resources.GetObject("btnGenerate.Image"))); this.btnGenerate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; this.btnGenerate.Location = new System.Drawing.Point(122, 91); this.btnGenerate.Name = "btnGenerate"; this.btnGenerate.Size = new System.Drawing.Size(110, 33); this.btnGenerate.TabIndex = 5; this.btnGenerate.Text = "Gerar"; this.btnGenerate.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.btnGenerate.UseVisualStyleBackColor = false; this.btnGenerate.Click += new System.EventHandler(this.btnGenerate_Click); // // cbDriver // this.cbDriver.Location = new System.Drawing.Point(66, 24); this.cbDriver.Name = "cbDriver"; this.cbDriver.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbDriver.Properties.DataSource = this.bdgDrivers; this.cbDriver.Properties.DisplayMember = "full_name"; this.cbDriver.Properties.NullText = ""; this.cbDriver.Properties.ValueMember = "id"; this.cbDriver.Properties.View = this.searchLookUpEdit1View; this.cbDriver.Size = new System.Drawing.Size(282, 20); this.cbDriver.TabIndex = 6; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule3.ErrorText = "Informe o Motorista"; conditionValidationRule3.Value1 = ((long)(0)); this.validator.SetValidationRule(this.cbDriver, conditionValidationRule3); // // searchLookUpEdit1View // this.searchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid, this.colfull_name, this.colcpf}); this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.searchLookUpEdit1View.Name = "searchLookUpEdit1View"; this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // cbYear // this.cbYear.Location = new System.Drawing.Point(226, 53); this.cbYear.Name = "cbYear"; this.cbYear.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbYear.Properties.DropDownRows = 12; this.cbYear.Properties.Items.AddRange(new object[] { "2014", "2015", "2016"}); this.cbYear.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor; this.cbYear.Size = new System.Drawing.Size(88, 20); this.cbYear.TabIndex = 7; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Informe o Ano"; this.validator.SetValidationRule(this.cbYear, conditionValidationRule2); // // 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 = 126; // // colfull_name // this.colfull_name.Caption = "Nome"; this.colfull_name.FieldName = "full_name"; this.colfull_name.Name = "colfull_name"; this.colfull_name.OptionsColumn.AllowEdit = false; this.colfull_name.Visible = true; this.colfull_name.VisibleIndex = 1; this.colfull_name.Width = 550; // // colcpf // this.colcpf.Caption = "CPF"; this.colcpf.FieldName = "cpf"; this.colcpf.Name = "colcpf"; this.colcpf.OptionsColumn.AllowEdit = false; this.colcpf.Visible = true; this.colcpf.VisibleIndex = 2; this.colcpf.Width = 402; // // bdgDrivers // this.bdgDrivers.DataSource = typeof(TruckSystem.driver); // // ChooseDriverFeesReport // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(357, 131); this.Controls.Add(this.groupControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.Name = "ChooseDriverFeesReport"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; ((System.ComponentModel.ISupportInitialize)(this.cbMonth.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); this.groupControl1.ResumeLayout(false); this.groupControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cbDriver.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbYear.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.bdgDrivers)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RibbonFormAddThietBi)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.mainRibbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.bbiSave = new DevExpress.XtraBars.BarButtonItem(); this.bbiSaveAndClose = new DevExpress.XtraBars.BarButtonItem(); this.bbiSaveAndNew = new DevExpress.XtraBars.BarButtonItem(); this.bbiReset = new DevExpress.XtraBars.BarButtonItem(); this.bbiDelete = new DevExpress.XtraBars.BarButtonItem(); this.bbiClose = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.mainRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.mainRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.textEditTenThietBi = new DevExpress.XtraEditors.TextEdit(); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout = new DevExpress.XtraLayout.LayoutControl(); this.memoEditThongTinThietBi = new DevExpress.XtraEditors.MemoEdit(); this.spinEditGiaTien = new DevExpress.XtraEditors.SpinEdit(); this.comboBoxEditTrangThai = new DevExpress.XtraEditors.ComboBoxEdit(); this.comboBoxEditMaMay = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItemTenThietBi = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.comboBoxEditLoai = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem6 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem8 = new DevExpress.XtraLayout.EmptySpaceItem(); ((System.ComponentModel.ISupportInitialize)(this.mainRibbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditTenThietBi.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout)).BeginInit(); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.memoEditThongTinThietBi.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditGiaTien.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditTrangThai.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaMay.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemTenThietBi)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditLoai.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).BeginInit(); this.SuspendLayout(); // // mainRibbonControl // this.mainRibbonControl.ExpandCollapseItem.Id = 0; this.mainRibbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.mainRibbonControl.ExpandCollapseItem, this.mainRibbonControl.SearchEditItem, this.bbiSave, this.bbiSaveAndClose, this.bbiSaveAndNew, this.bbiReset, this.bbiDelete, this.bbiClose, this.barButtonItem1 }); this.mainRibbonControl.Location = new System.Drawing.Point(0, 0); this.mainRibbonControl.MaxItemId = 11; this.mainRibbonControl.Name = "mainRibbonControl"; this.mainRibbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.mainRibbonPage }); this.mainRibbonControl.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2013; this.mainRibbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; this.mainRibbonControl.Size = new System.Drawing.Size(744, 143); this.mainRibbonControl.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // // bbiSave // this.bbiSave.Caption = "Lưu"; this.bbiSave.Id = 2; this.bbiSave.ImageOptions.ImageUri.Uri = "Save"; this.bbiSave.Name = "bbiSave"; this.bbiSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSave_ItemClick); // // bbiSaveAndClose // this.bbiSaveAndClose.Caption = "Lưu và đóng"; this.bbiSaveAndClose.Id = 3; this.bbiSaveAndClose.ImageOptions.ImageUri.Uri = "SaveAndClose"; this.bbiSaveAndClose.Name = "bbiSaveAndClose"; this.bbiSaveAndClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSaveAndClose_ItemClick); // // bbiSaveAndNew // this.bbiSaveAndNew.Caption = "Lưu và Mới"; this.bbiSaveAndNew.Id = 4; this.bbiSaveAndNew.ImageOptions.ImageUri.Uri = "SaveAndNew"; this.bbiSaveAndNew.Name = "bbiSaveAndNew"; this.bbiSaveAndNew.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSaveAndNew_ItemClick); // // bbiReset // this.bbiReset.Caption = "Nhập mới"; this.bbiReset.Id = 5; this.bbiReset.ImageOptions.ImageUri.Uri = "Reset"; this.bbiReset.Name = "bbiReset"; this.bbiReset.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiReset_ItemClick); // // bbiDelete // this.bbiDelete.Caption = "Xóa"; this.bbiDelete.Id = 6; this.bbiDelete.ImageOptions.ImageUri.Uri = "Delete"; this.bbiDelete.Name = "bbiDelete"; this.bbiDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDelete_ItemClick); // // bbiClose // this.bbiClose.Caption = "Đóng"; this.bbiClose.Id = 7; this.bbiClose.ImageOptions.ImageUri.Uri = "Close"; this.bbiClose.Name = "bbiClose"; this.bbiClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiClose_ItemClick); // // barButtonItem1 // this.barButtonItem1.Caption = "In"; this.barButtonItem1.Id = 10; this.barButtonItem1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItem1.ImageOptions.SvgImage"))); this.barButtonItem1.Name = "barButtonItem1"; // // mainRibbonPage // this.mainRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.mainRibbonPageGroup, this.ribbonPageGroup1, this.ribbonPageGroup2, this.ribbonPageGroup3, this.ribbonPageGroup4 }); this.mainRibbonPage.MergeOrder = 0; this.mainRibbonPage.Name = "mainRibbonPage"; this.mainRibbonPage.Text = "Trang chính"; // // mainRibbonPageGroup // this.mainRibbonPageGroup.AllowTextClipping = false; this.mainRibbonPageGroup.CaptionButtonVisible = DevExpress.Utils.DefaultBoolean.False; this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSave); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSaveAndClose); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSaveAndNew); this.mainRibbonPageGroup.Name = "mainRibbonPageGroup"; this.mainRibbonPageGroup.Text = "Lưu"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.bbiReset); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.Text = "Sửa"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.bbiDelete); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.Text = "Xóa"; // // ribbonPageGroup3 // this.ribbonPageGroup3.ItemLinks.Add(this.barButtonItem1); this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.Text = "Hành động"; // // ribbonPageGroup4 // this.ribbonPageGroup4.ItemLinks.Add(this.bbiClose); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.Text = "Đóng"; // // dxValidationProvider1 // this.dxValidationProvider1.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; this.dxValidationProvider1.ValidationFailed += new DevExpress.XtraEditors.DXErrorProvider.ValidationFailedEventHandler(this.dxValidationProvider1_ValidationFailed); this.dxValidationProvider1.ValidationSucceeded += new DevExpress.XtraEditors.DXErrorProvider.ValidationSucceededEventHandler(this.dxValidationProvider1_ValidationSucceeded); // // textEditTenThietBi // this.textEditTenThietBi.Location = new System.Drawing.Point(499, 12); this.textEditTenThietBi.MenuManager = this.mainRibbonControl; this.textEditTenThietBi.Name = "textEditTenThietBi"; this.textEditTenThietBi.Size = new System.Drawing.Size(233, 20); this.textEditTenThietBi.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.textEditTenThietBi.TabIndex = 4; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Tên thiết bị không được để trống!"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.textEditTenThietBi, conditionValidationRule1); this.textEditTenThietBi.TextChanged += new System.EventHandler(this.textEditValidate_EditValueChanged); // // RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout // this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditLoai); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.memoEditThongTinThietBi); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.spinEditGiaTien); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditTrangThai); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditMaMay); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.textEditTenThietBi); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Location = new System.Drawing.Point(0, 143); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Name = "RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout"; this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(716, 91, 650, 400); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Root = this.layoutControlGroup2; this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Size = new System.Drawing.Size(744, 266); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.TabIndex = 2; // // memoEditThongTinThietBi // this.memoEditThongTinThietBi.Location = new System.Drawing.Point(96, 118); this.memoEditThongTinThietBi.MenuManager = this.mainRibbonControl; this.memoEditThongTinThietBi.Name = "memoEditThongTinThietBi"; this.memoEditThongTinThietBi.Size = new System.Drawing.Size(636, 126); this.memoEditThongTinThietBi.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.memoEditThongTinThietBi.TabIndex = 9; // // spinEditGiaTien // this.spinEditGiaTien.EditValue = new decimal(new int[] { 0, 0, 0, 0 }); this.spinEditGiaTien.Location = new System.Drawing.Point(499, 46); this.spinEditGiaTien.MenuManager = this.mainRibbonControl; this.spinEditGiaTien.Name = "spinEditGiaTien"; this.spinEditGiaTien.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.spinEditGiaTien.Size = new System.Drawing.Size(233, 20); this.spinEditGiaTien.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.spinEditGiaTien.TabIndex = 8; // // comboBoxEditTrangThai // this.comboBoxEditTrangThai.Location = new System.Drawing.Point(96, 46); this.comboBoxEditTrangThai.MenuManager = this.mainRibbonControl; this.comboBoxEditTrangThai.Name = "comboBoxEditTrangThai"; this.comboBoxEditTrangThai.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditTrangThai.Properties.Items.AddRange(new object[] { "Không sử dụng", "Hư hỏng", "Sử dụng" }); this.comboBoxEditTrangThai.Size = new System.Drawing.Size(244, 20); this.comboBoxEditTrangThai.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditTrangThai.TabIndex = 6; // // comboBoxEditMaMay // this.comboBoxEditMaMay.Location = new System.Drawing.Point(96, 12); this.comboBoxEditMaMay.MenuManager = this.mainRibbonControl; this.comboBoxEditMaMay.Name = "comboBoxEditMaMay"; this.comboBoxEditMaMay.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditMaMay.Size = new System.Drawing.Size(244, 20); this.comboBoxEditMaMay.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditMaMay.TabIndex = 5; // // layoutControlGroup2 // this.layoutControlGroup2.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup2.GroupBordersVisible = false; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.emptySpaceItem1, this.layoutControlItem3, this.layoutControlItem6, this.layoutControlItem2, this.layoutControlItemTenThietBi, this.emptySpaceItem2, this.emptySpaceItem3, this.layoutControlItem5, this.emptySpaceItem4, this.emptySpaceItem5, this.layoutControlItem1, this.emptySpaceItem6, this.emptySpaceItem7, this.emptySpaceItem8 }); this.layoutControlGroup2.Name = "Root"; this.layoutControlGroup2.Size = new System.Drawing.Size(744, 266); this.layoutControlGroup2.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.Location = new System.Drawing.Point(0, 236); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(724, 10); this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem3 // this.layoutControlItem3.Control = this.comboBoxEditTrangThai; this.layoutControlItem3.Location = new System.Drawing.Point(0, 34); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(332, 24); this.layoutControlItem3.Text = "Trạng thái"; this.layoutControlItem3.TextSize = new System.Drawing.Size(81, 13); // // layoutControlItem6 // this.layoutControlItem6.Control = this.memoEditThongTinThietBi; this.layoutControlItem6.Location = new System.Drawing.Point(0, 106); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(724, 130); this.layoutControlItem6.Text = "Thông tin thiết bị"; this.layoutControlItem6.TextSize = new System.Drawing.Size(81, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.comboBoxEditMaMay; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(332, 24); this.layoutControlItem2.Text = "Mã máy"; this.layoutControlItem2.TextSize = new System.Drawing.Size(81, 13); // // layoutControlItemTenThietBi // this.layoutControlItemTenThietBi.AllowHtmlStringInCaption = true; this.layoutControlItemTenThietBi.Control = this.textEditTenThietBi; this.layoutControlItemTenThietBi.Location = new System.Drawing.Point(403, 0); this.layoutControlItemTenThietBi.Name = "layoutControlItemTenThietBi"; this.layoutControlItemTenThietBi.Size = new System.Drawing.Size(321, 24); this.layoutControlItemTenThietBi.Text = "Tên thiết bị <b><color=red>*</color><b>"; this.layoutControlItemTenThietBi.TextSize = new System.Drawing.Size(81, 13); // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.Location = new System.Drawing.Point(332, 0); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(71, 68); this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.Location = new System.Drawing.Point(0, 92); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(724, 14); this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem5 // this.layoutControlItem5.Control = this.spinEditGiaTien; this.layoutControlItem5.Location = new System.Drawing.Point(403, 34); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(321, 24); this.layoutControlItem5.Text = "Giá tiền"; this.layoutControlItem5.TextSize = new System.Drawing.Size(81, 13); // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.Location = new System.Drawing.Point(0, 24); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(332, 10); this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem5 // this.emptySpaceItem5.AllowHotTrack = false; this.emptySpaceItem5.Location = new System.Drawing.Point(403, 24); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(321, 10); this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // comboBoxEditLoai // this.comboBoxEditLoai.Location = new System.Drawing.Point(96, 80); this.comboBoxEditLoai.MenuManager = this.mainRibbonControl; this.comboBoxEditLoai.Name = "comboBoxEditLoai"; this.comboBoxEditLoai.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditLoai.Size = new System.Drawing.Size(274, 20); this.comboBoxEditLoai.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditLoai.TabIndex = 10; // // layoutControlItem1 // this.layoutControlItem1.Control = this.comboBoxEditLoai; this.layoutControlItem1.Location = new System.Drawing.Point(0, 68); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(362, 24); this.layoutControlItem1.Text = "Loại thiết bị"; this.layoutControlItem1.TextSize = new System.Drawing.Size(81, 13); // // emptySpaceItem6 // this.emptySpaceItem6.AllowHotTrack = false; this.emptySpaceItem6.Location = new System.Drawing.Point(0, 58); this.emptySpaceItem6.Name = "emptySpaceItem6"; this.emptySpaceItem6.Size = new System.Drawing.Size(332, 10); this.emptySpaceItem6.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem7 // this.emptySpaceItem7.AllowHotTrack = false; this.emptySpaceItem7.Location = new System.Drawing.Point(403, 58); this.emptySpaceItem7.Name = "emptySpaceItem7"; this.emptySpaceItem7.Size = new System.Drawing.Size(321, 10); this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem8 // this.emptySpaceItem8.AllowHotTrack = false; this.emptySpaceItem8.Location = new System.Drawing.Point(362, 68); this.emptySpaceItem8.Name = "emptySpaceItem8"; this.emptySpaceItem8.Size = new System.Drawing.Size(362, 24); this.emptySpaceItem8.TextSize = new System.Drawing.Size(0, 0); // // RibbonFormAddThietBi // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.ClientSize = new System.Drawing.Size(744, 409); this.Controls.Add(this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout); this.Controls.Add(this.mainRibbonControl); this.Name = "RibbonFormAddThietBi"; this.Ribbon = this.mainRibbonControl; this.Text = "Quản lí tiệm nét - "; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RibbonFormAddThietBi_FormClosing); this.Load += new System.EventHandler(this.RibbonFormAddThietBi_Load); ((System.ComponentModel.ISupportInitialize)(this.mainRibbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textEditTenThietBi.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout)).EndInit(); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.memoEditThongTinThietBi.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditGiaTien.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditTrangThai.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaMay.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemTenThietBi)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditLoai.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.valUser = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.lookUpUser = new DevExpress.XtraEditors.LookUpEdit(); this.valRole = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.lookUpRole = new DevExpress.XtraEditors.LookUpEdit(); this.gcUserRoleInfo = new DevExpress.XtraEditors.GroupControl(); this.lblRole = new DevExpress.XtraEditors.LabelControl(); this.lblUser = new DevExpress.XtraEditors.LabelControl(); this.bgwMain = new System.ComponentModel.BackgroundWorker(); ((System.ComponentModel.ISupportInitialize)(this.valUser)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpUser.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valRole)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpRole.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcUserRoleInfo)).BeginInit(); this.gcUserRoleInfo.SuspendLayout(); this.SuspendLayout(); // // valUser // this.valUser.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // lookUpUser // this.lookUpUser.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lookUpUser.Location = new System.Drawing.Point(67, 32); this.lookUpUser.Name = "lookUpUser"; this.lookUpUser.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.lookUpUser.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpUser.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("UserName", "Username"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("FirstName", "First Name"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("LastName", "Last Name")}); this.lookUpUser.Properties.DisplayMember = "UserName"; this.lookUpUser.Properties.HideSelection = false; this.lookUpUser.Properties.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned; this.lookUpUser.Properties.NullText = "-- Pilih User --"; this.lookUpUser.Properties.ValueMember = "Id"; this.lookUpUser.Size = new System.Drawing.Size(274, 20); this.lookUpUser.TabIndex = 1; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.NotEquals; conditionValidationRule1.ErrorText = "Pilih salah satu user"; conditionValidationRule1.Value1 = "-- Pilih User --"; this.valUser.SetValidationRule(this.lookUpUser, conditionValidationRule1); // // valRole // this.valRole.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // lookUpRole // this.lookUpRole.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.lookUpRole.Location = new System.Drawing.Point(67, 64); this.lookUpRole.Name = "lookUpRole"; this.lookUpRole.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.lookUpRole.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lookUpRole.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Role")}); this.lookUpRole.Properties.DisplayMember = "Name"; this.lookUpRole.Properties.HideSelection = false; this.lookUpRole.Properties.HighlightedItemStyle = DevExpress.XtraEditors.HighlightStyle.Skinned; this.lookUpRole.Properties.NullText = "-- Pilih Role --"; this.lookUpRole.Properties.ValueMember = "Id"; this.lookUpRole.Size = new System.Drawing.Size(274, 20); this.lookUpRole.TabIndex = 3; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.NotEquals; conditionValidationRule2.ErrorText = "Pilih salah satu role"; conditionValidationRule2.Value1 = "-- Pilih Role --"; this.valRole.SetValidationRule(this.lookUpRole, conditionValidationRule2); // // gcUserRoleInfo // this.gcUserRoleInfo.Controls.Add(this.lookUpRole); this.gcUserRoleInfo.Controls.Add(this.lblRole); this.gcUserRoleInfo.Controls.Add(this.lookUpUser); this.gcUserRoleInfo.Controls.Add(this.lblUser); this.gcUserRoleInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.gcUserRoleInfo.Location = new System.Drawing.Point(0, 0); this.gcUserRoleInfo.Name = "gcUserRoleInfo"; this.gcUserRoleInfo.Size = new System.Drawing.Size(353, 97); this.gcUserRoleInfo.TabIndex = 1; this.gcUserRoleInfo.Text = "Informasi User Role"; // // lblRole // this.lblRole.Location = new System.Drawing.Point(12, 67); this.lblRole.Name = "lblRole"; this.lblRole.Size = new System.Drawing.Size(21, 13); this.lblRole.TabIndex = 2; this.lblRole.Text = "Role"; // // lblUser // this.lblUser.Location = new System.Drawing.Point(12, 35); this.lblUser.Name = "lblUser"; this.lblUser.Size = new System.Drawing.Size(22, 13); this.lblUser.TabIndex = 0; this.lblUser.Text = "User"; // // bgwMain // this.bgwMain.DoWork += new System.ComponentModel.DoWorkEventHandler(this.bgwMain_DoWork); this.bgwMain.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.bgwMain_RunWorkerCompleted); // // UserRoleEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(353, 146); this.Controls.Add(this.gcUserRoleInfo); this.Name = "UserRoleEditorForm"; this.Text = "User Role Editor"; this.Controls.SetChildIndex(this.gcUserRoleInfo, 0); ((System.ComponentModel.ISupportInitialize)(this.valUser)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpUser.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valRole)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpRole.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcUserRoleInfo)).EndInit(); this.gcUserRoleInfo.ResumeLayout(false); this.gcUserRoleInfo.PerformLayout(); this.ResumeLayout(false); }
//sự kiện các nút xử lí private void windowsUIButton_ButtonClick(object sender, DevExpress.XtraBars.Docking2010.ButtonEventArgs e) { WindowsUIButton btn = e.Button as WindowsUIButton; XtraUserControl ctl = new XtraUserControl(); switch (btn.Tag.ToString()) { case "them": { Bindingdata(true); cothem = true; enableButon(false); break; } case "sua": { if (grvGiaDinh.RowCount == 0) { return; } cothem = false; enableButon(false); break; } case "xoa": { if (grvGiaDinh.RowCount == 0) { return; } DeleteData(); break; } case "luu": { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; if (rdo_CongTy.SelectedIndex == 1) { dxValidationProvider1.SetValidationRule(this.HO_TENTextEdit, conditionValidationRule1); dxValidationProvider1.RemoveControlError(this.HO_TENLookupEdit); } else { dxValidationProvider1.SetValidationRule(this.HO_TENLookupEdit, conditionValidationRule1); dxValidationProvider1.RemoveControlError(this.HO_TENTextEdit); } if (!dxValidationProvider1.Validate()) { return; } SaveData(); enableButon(true); break; } case "khongluu": { enableButon(true); if (grvGiaDinh.RowCount == 1) { Bindingdata(false); } dxValidationProvider1.Validate(); break; } case "thoat": { if (XtraMessageBox.Show(Commons.Modules.ObjLanguages.GetLanguage(this.Name, "msgBanCoMuonThoatChuongtrinh"), Commons.Modules.ObjLanguages.GetLanguage(this.Name, "msgTieuDeThoat"), MessageBoxButtons.YesNo) == DialogResult.No) { return; } this.Close(); break; } default: break; } }
/// <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(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.groupControlOther = new DevExpress.XtraEditors.GroupControl(); this.txtRemark = new DevExpress.XtraEditors.TextEdit(); this.labelControl41 = new DevExpress.XtraEditors.LabelControl(); this.txtDispatchReceiptAddress = new DevExpress.XtraEditors.TextEdit(); this.ceReceiptFlag = new DevExpress.XtraEditors.CheckEdit(); this.txtReceiptCode = new DevExpress.XtraEditors.TextEdit(); this.txtDispatchAttachment = new DevExpress.XtraEditors.TextEdit(); this.txtDispatchEntrancePermit = new DevExpress.XtraEditors.TextEdit(); this.txtDispatchUnifiedNum = new DevExpress.XtraEditors.TextEdit(); this.labelControl40 = new DevExpress.XtraEditors.LabelControl(); this.labelControl39 = new DevExpress.XtraEditors.LabelControl(); this.labelControl38 = new DevExpress.XtraEditors.LabelControl(); this.labelControl37 = new DevExpress.XtraEditors.LabelControl(); this.labelControl36 = new DevExpress.XtraEditors.LabelControl(); this.groupControl4 = new DevExpress.XtraEditors.GroupControl(); this.controlNavigator = new DevExpress.XtraEditors.ControlNavigator(); this.gridGoods = new DevExpress.XtraGrid.GridControl(); this.gvGoods = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colGoods = new DevExpress.XtraGrid.Columns.GridColumn(); this.rilueGoods = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.colPack = new DevExpress.XtraGrid.Columns.GridColumn(); this.riluePack = new DevExpress.XtraEditors.Repository.RepositoryItemLookUpEdit(); this.colNumber = new DevExpress.XtraGrid.Columns.GridColumn(); this.riSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.colVolume = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.colVolumeWeight = new DevExpress.XtraGrid.Columns.GridColumn(); this.colWeight = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.colRealWeight = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPrice = new DevExpress.XtraGrid.Columns.GridColumn(); this.colArbitariec = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit3 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.colDispatchFee = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemSpinEdit4 = new DevExpress.XtraEditors.Repository.RepositoryItemSpinEdit(); this.colSum = new DevExpress.XtraGrid.Columns.GridColumn(); this.groupControlConsignee = new DevExpress.XtraEditors.GroupControl(); this.memoConsigneeAddress = new DevExpress.XtraEditors.MemoEdit(); this.cbxConsignee = new DevExpress.XtraEditors.ComboBoxEdit(); this.txtConsigneeLinkMan = new DevExpress.XtraEditors.TextEdit(); this.txtConsigneeTel = new DevExpress.XtraEditors.TextEdit(); this.labelControl21 = new DevExpress.XtraEditors.LabelControl(); this.btneDestination = new DevExpress.XtraEditors.ButtonEdit(); this.labelControl20 = new DevExpress.XtraEditors.LabelControl(); this.btneDestinationSite = new DevExpress.XtraEditors.ButtonEdit(); this.labelControl16 = new DevExpress.XtraEditors.LabelControl(); this.labelControl17 = new DevExpress.XtraEditors.LabelControl(); this.labelControl18 = new DevExpress.XtraEditors.LabelControl(); this.labelControl19 = new DevExpress.XtraEditors.LabelControl(); this.groupControlConsignor = new DevExpress.XtraEditors.GroupControl(); this.lnkCode = new System.Windows.Forms.LinkLabel(); this.btneConsignor = new DevExpress.XtraEditors.ButtonEdit(); this.lueSettlementType = new DevExpress.XtraEditors.LookUpEdit(); this.lueDispatchType = new DevExpress.XtraEditors.LookUpEdit(); this.lueLogisticsType = new DevExpress.XtraEditors.LookUpEdit(); this.lueServiceEmployee = new DevExpress.XtraEditors.LookUpEdit(); this.lueSalesmanEmployee = new DevExpress.XtraEditors.LookUpEdit(); this.labelControl13 = new DevExpress.XtraEditors.LabelControl(); this.labelControl14 = new DevExpress.XtraEditors.LabelControl(); this.labelControl15 = new DevExpress.XtraEditors.LabelControl(); this.txtConsignorPhone = new DevExpress.XtraEditors.TextEdit(); this.txtCustomersType = new DevExpress.XtraEditors.TextEdit(); this.txtConsignorAddress = new DevExpress.XtraEditors.TextEdit(); this.txtConsignorTel = new DevExpress.XtraEditors.TextEdit(); this.txtConsignorLinkMan = new DevExpress.XtraEditors.TextEdit(); this.txtCode = new DevExpress.XtraEditors.TextEdit(); this.labelControl12 = new DevExpress.XtraEditors.LabelControl(); this.labelControl11 = new DevExpress.XtraEditors.LabelControl(); this.labelControl10 = new DevExpress.XtraEditors.LabelControl(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); this.labelControl6 = new DevExpress.XtraEditors.LabelControl(); this.labelControl5 = new DevExpress.XtraEditors.LabelControl(); this.labelControl4 = new DevExpress.XtraEditors.LabelControl(); this.labelControl3 = new DevExpress.XtraEditors.LabelControl(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.groupControlFee = new DevExpress.XtraEditors.GroupControl(); this.cePaymentFlag = new DevExpress.XtraEditors.CheckEdit(); this.sePaidAmount = new DevExpress.XtraEditors.SpinEdit(); this.seReceivableAmount = new DevExpress.XtraEditors.SpinEdit(); this.labelControl35 = new DevExpress.XtraEditors.LabelControl(); this.labelControl34 = new DevExpress.XtraEditors.LabelControl(); this.txtProtocolNo = new DevExpress.XtraEditors.TextEdit(); this.labelControl33 = new DevExpress.XtraEditors.LabelControl(); this.seAdditionalPageFee = new DevExpress.XtraEditors.SpinEdit(); this.seAdditionalPage = new DevExpress.XtraEditors.SpinEdit(); this.seCustomsDlearanceFee = new DevExpress.XtraEditors.SpinEdit(); this.seDeliveryHKDFee = new DevExpress.XtraEditors.SpinEdit(); this.seDeliveryRMBFee = new DevExpress.XtraEditors.SpinEdit(); this.sePickUpGoodsFee = new DevExpress.XtraEditors.SpinEdit(); this.seTakeTheirFee = new DevExpress.XtraEditors.SpinEdit(); this.seOtherFee = new DevExpress.XtraEditors.SpinEdit(); this.seRemoteFee = new DevExpress.XtraEditors.SpinEdit(); this.seReceiptFee = new DevExpress.XtraEditors.SpinEdit(); this.seStorageFee = new DevExpress.XtraEditors.SpinEdit(); this.labelControl32 = new DevExpress.XtraEditors.LabelControl(); this.labelControl31 = new DevExpress.XtraEditors.LabelControl(); this.labelControl30 = new DevExpress.XtraEditors.LabelControl(); this.labelControl29 = new DevExpress.XtraEditors.LabelControl(); this.labelControl28 = new DevExpress.XtraEditors.LabelControl(); this.labelControl27 = new DevExpress.XtraEditors.LabelControl(); this.labelControl26 = new DevExpress.XtraEditors.LabelControl(); this.labelControl25 = new DevExpress.XtraEditors.LabelControl(); this.labelControl24 = new DevExpress.XtraEditors.LabelControl(); this.labelControl23 = new DevExpress.XtraEditors.LabelControl(); this.labelControl22 = new DevExpress.XtraEditors.LabelControl(); this.validationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControlOther)).BeginInit(); this.groupControlOther.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchReceiptAddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ceReceiptFlag.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiptCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchAttachment.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchEntrancePermit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchUnifiedNum.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).BeginInit(); this.groupControl4.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridGoods)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvGoods)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.rilueGoods)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.riluePack)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.riSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControlConsignee)).BeginInit(); this.groupControlConsignee.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.memoConsigneeAddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxConsignee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsigneeLinkMan.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsigneeTel.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btneDestination.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.btneDestinationSite.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControlConsignor)).BeginInit(); this.groupControlConsignor.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.btneConsignor.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueSettlementType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueDispatchType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueLogisticsType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueServiceEmployee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueSalesmanEmployee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorPhone.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCustomersType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorAddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorTel.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorLinkMan.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControlFee)).BeginInit(); this.groupControlFee.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.cePaymentFlag.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sePaidAmount.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seReceivableAmount.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtProtocolNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seAdditionalPageFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seAdditionalPage.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seCustomsDlearanceFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seDeliveryHKDFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seDeliveryRMBFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sePickUpGoodsFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seTakeTheirFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seOtherFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seRemoteFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seReceiptFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.seStorageFee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 500F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle()); this.tableLayoutPanel1.Controls.Add(this.groupControlOther, 0, 3); this.tableLayoutPanel1.Controls.Add(this.groupControl4, 0, 1); this.tableLayoutPanel1.Controls.Add(this.groupControlConsignee, 1, 0); this.tableLayoutPanel1.Controls.Add(this.groupControlConsignor, 0, 0); this.tableLayoutPanel1.Controls.Add(this.groupControlFee, 0, 2); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 4; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 150F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 110F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 110F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(876, 581); this.tableLayoutPanel1.TabIndex = 1; // // groupControlOther // this.tableLayoutPanel1.SetColumnSpan(this.groupControlOther, 2); this.groupControlOther.Controls.Add(this.txtRemark); this.groupControlOther.Controls.Add(this.labelControl41); this.groupControlOther.Controls.Add(this.txtDispatchReceiptAddress); this.groupControlOther.Controls.Add(this.ceReceiptFlag); this.groupControlOther.Controls.Add(this.txtReceiptCode); this.groupControlOther.Controls.Add(this.txtDispatchAttachment); this.groupControlOther.Controls.Add(this.txtDispatchEntrancePermit); this.groupControlOther.Controls.Add(this.txtDispatchUnifiedNum); this.groupControlOther.Controls.Add(this.labelControl40); this.groupControlOther.Controls.Add(this.labelControl39); this.groupControlOther.Controls.Add(this.labelControl38); this.groupControlOther.Controls.Add(this.labelControl37); this.groupControlOther.Controls.Add(this.labelControl36); this.groupControlOther.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlOther.Location = new System.Drawing.Point(3, 474); this.groupControlOther.Name = "groupControlOther"; this.groupControlOther.Size = new System.Drawing.Size(870, 104); this.groupControlOther.TabIndex = 4; this.groupControlOther.Text = "其它信息"; // // txtRemark // this.txtRemark.Location = new System.Drawing.Point(63, 74); this.txtRemark.Name = "txtRemark"; this.txtRemark.Size = new System.Drawing.Size(589, 20); this.txtRemark.TabIndex = 41; // // labelControl41 // this.labelControl41.Location = new System.Drawing.Point(33, 77); this.labelControl41.Name = "labelControl41"; this.labelControl41.Size = new System.Drawing.Size(24, 14); this.labelControl41.TabIndex = 67; this.labelControl41.Text = "备注"; // // txtDispatchReceiptAddress // this.txtDispatchReceiptAddress.Location = new System.Drawing.Point(63, 50); this.txtDispatchReceiptAddress.Name = "txtDispatchReceiptAddress"; this.txtDispatchReceiptAddress.Size = new System.Drawing.Size(589, 20); this.txtDispatchReceiptAddress.TabIndex = 40; // // ceReceiptFlag // this.ceReceiptFlag.Location = new System.Drawing.Point(663, 27); this.ceReceiptFlag.Name = "ceReceiptFlag"; this.ceReceiptFlag.Properties.Caption = "回单标识"; this.ceReceiptFlag.Size = new System.Drawing.Size(75, 19); this.ceReceiptFlag.TabIndex = 39; // // txtReceiptCode // this.txtReceiptCode.Location = new System.Drawing.Point(552, 26); this.txtReceiptCode.Name = "txtReceiptCode"; this.txtReceiptCode.Size = new System.Drawing.Size(100, 20); this.txtReceiptCode.TabIndex = 38; // // txtDispatchAttachment // this.txtDispatchAttachment.Location = new System.Drawing.Point(226, 26); this.txtDispatchAttachment.Name = "txtDispatchAttachment"; this.txtDispatchAttachment.Size = new System.Drawing.Size(100, 20); this.txtDispatchAttachment.TabIndex = 36; // // txtDispatchEntrancePermit // this.txtDispatchEntrancePermit.Location = new System.Drawing.Point(386, 26); this.txtDispatchEntrancePermit.Name = "txtDispatchEntrancePermit"; this.txtDispatchEntrancePermit.Size = new System.Drawing.Size(100, 20); this.txtDispatchEntrancePermit.TabIndex = 37; // // txtDispatchUnifiedNum // this.txtDispatchUnifiedNum.Location = new System.Drawing.Point(63, 26); this.txtDispatchUnifiedNum.Name = "txtDispatchUnifiedNum"; this.txtDispatchUnifiedNum.Size = new System.Drawing.Size(100, 20); this.txtDispatchUnifiedNum.TabIndex = 35; // // labelControl40 // this.labelControl40.Location = new System.Drawing.Point(332, 29); this.labelControl40.Name = "labelControl40"; this.labelControl40.Size = new System.Drawing.Size(48, 14); this.labelControl40.TabIndex = 60; this.labelControl40.Text = "入口证号"; // // labelControl39 // this.labelControl39.Location = new System.Drawing.Point(172, 29); this.labelControl39.Name = "labelControl39"; this.labelControl39.Size = new System.Drawing.Size(48, 14); this.labelControl39.TabIndex = 59; this.labelControl39.Text = "随货文件"; // // labelControl38 // this.labelControl38.Location = new System.Drawing.Point(498, 29); this.labelControl38.Name = "labelControl38"; this.labelControl38.Size = new System.Drawing.Size(48, 14); this.labelControl38.TabIndex = 58; this.labelControl38.Text = "回单编号"; // // labelControl37 // this.labelControl37.Location = new System.Drawing.Point(9, 53); this.labelControl37.Name = "labelControl37"; this.labelControl37.Size = new System.Drawing.Size(48, 14); this.labelControl37.TabIndex = 57; this.labelControl37.Text = "尾纸地址"; // // labelControl36 // this.labelControl36.Location = new System.Drawing.Point(9, 29); this.labelControl36.Name = "labelControl36"; this.labelControl36.Size = new System.Drawing.Size(48, 14); this.labelControl36.TabIndex = 56; this.labelControl36.Text = "统编号码"; // // groupControl4 // this.tableLayoutPanel1.SetColumnSpan(this.groupControl4, 2); this.groupControl4.Controls.Add(this.controlNavigator); this.groupControl4.Controls.Add(this.gridGoods); this.groupControl4.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl4.Location = new System.Drawing.Point(3, 153); this.groupControl4.Name = "groupControl4"; this.groupControl4.Size = new System.Drawing.Size(870, 205); this.groupControl4.TabIndex = 3; this.groupControl4.Text = "货物信息"; // // controlNavigator // this.controlNavigator.Location = new System.Drawing.Point(0, 21); this.controlNavigator.Name = "controlNavigator"; this.controlNavigator.NavigatableControl = this.gridGoods; this.controlNavigator.Size = new System.Drawing.Size(261, 24); this.controlNavigator.TabIndex = 20; // // gridGoods // this.gridGoods.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridGoods.Location = new System.Drawing.Point(2, 45); this.gridGoods.MainView = this.gvGoods; this.gridGoods.Name = "gridGoods"; this.gridGoods.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.rilueGoods, this.riluePack, this.riSpinEdit1, this.repositoryItemSpinEdit1, this.repositoryItemSpinEdit2, this.repositoryItemSpinEdit3, this.repositoryItemSpinEdit4}); this.gridGoods.Size = new System.Drawing.Size(866, 158); this.gridGoods.TabIndex = 19; this.gridGoods.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gvGoods}); // // gvGoods // this.gvGoods.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colGoods, this.colPack, this.colNumber, this.colVolume, this.colVolumeWeight, this.colWeight, this.colRealWeight, this.colPrice, this.colArbitariec, this.colDispatchFee, this.colSum}); this.gvGoods.GridControl = this.gridGoods; this.gvGoods.Name = "gvGoods"; this.gvGoods.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.True; this.gvGoods.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.True; this.gvGoods.OptionsFind.AllowFindPanel = false; this.gvGoods.OptionsMenu.EnableColumnMenu = false; this.gvGoods.OptionsView.ShowGroupPanel = false; this.gvGoods.CellValueChanged += new DevExpress.XtraGrid.Views.Base.CellValueChangedEventHandler(this.gvGoods_CellValueChanged); // // colGoods // this.colGoods.AppearanceHeader.ForeColor = System.Drawing.Color.Red; this.colGoods.AppearanceHeader.Options.UseForeColor = true; this.colGoods.AppearanceHeader.Options.UseTextOptions = true; this.colGoods.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colGoods.Caption = "货物名称"; this.colGoods.ColumnEdit = this.rilueGoods; this.colGoods.FieldName = "Goods"; this.colGoods.Name = "colGoods"; this.colGoods.Visible = true; this.colGoods.VisibleIndex = 0; this.colGoods.Width = 76; // // rilueGoods // this.rilueGoods.AutoHeight = false; this.rilueGoods.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.rilueGoods.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", 40, "名称")}); this.rilueGoods.DisplayMember = "DisplayName"; this.rilueGoods.Name = "rilueGoods"; this.rilueGoods.NullText = ""; this.rilueGoods.ValueMember = "Code"; // // colPack // this.colPack.AppearanceHeader.Options.UseTextOptions = true; this.colPack.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colPack.Caption = "包装"; this.colPack.ColumnEdit = this.riluePack; this.colPack.FieldName = "Pack"; this.colPack.Name = "colPack"; this.colPack.Visible = true; this.colPack.VisibleIndex = 1; this.colPack.Width = 76; // // riluePack // this.riluePack.AutoHeight = false; this.riluePack.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.riluePack.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", 40, "名称")}); this.riluePack.DisplayMember = "DisplayName"; this.riluePack.Name = "riluePack"; this.riluePack.NullText = ""; this.riluePack.ValueMember = "Code"; // // colNumber // this.colNumber.AppearanceHeader.ForeColor = System.Drawing.Color.Red; this.colNumber.AppearanceHeader.Options.UseForeColor = true; this.colNumber.AppearanceHeader.Options.UseTextOptions = true; this.colNumber.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colNumber.Caption = "数量"; this.colNumber.ColumnEdit = this.riSpinEdit1; this.colNumber.FieldName = "Number"; this.colNumber.Name = "colNumber"; this.colNumber.Visible = true; this.colNumber.VisibleIndex = 2; this.colNumber.Width = 50; // // riSpinEdit1 // this.riSpinEdit1.AutoHeight = false; this.riSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.riSpinEdit1.IsFloatValue = false; this.riSpinEdit1.Mask.EditMask = "N00"; this.riSpinEdit1.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.riSpinEdit1.Name = "riSpinEdit1"; // // colVolume // this.colVolume.AppearanceHeader.ForeColor = System.Drawing.Color.Red; this.colVolume.AppearanceHeader.Options.UseForeColor = true; this.colVolume.AppearanceHeader.Options.UseTextOptions = true; this.colVolume.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colVolume.Caption = "体积(m³)"; this.colVolume.ColumnEdit = this.repositoryItemSpinEdit1; this.colVolume.FieldName = "Volume"; this.colVolume.Name = "colVolume"; this.colVolume.Visible = true; this.colVolume.VisibleIndex = 3; this.colVolume.Width = 50; // // repositoryItemSpinEdit1 // this.repositoryItemSpinEdit1.AutoHeight = false; this.repositoryItemSpinEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit1.DisplayFormat.FormatString = "N"; this.repositoryItemSpinEdit1.EditFormat.FormatString = "F2"; this.repositoryItemSpinEdit1.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.repositoryItemSpinEdit1.Name = "repositoryItemSpinEdit1"; // // colVolumeWeight // this.colVolumeWeight.AppearanceHeader.Options.UseTextOptions = true; this.colVolumeWeight.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colVolumeWeight.Caption = "体积重量"; this.colVolumeWeight.FieldName = "gridColumn5"; this.colVolumeWeight.Name = "colVolumeWeight"; this.colVolumeWeight.OptionsColumn.AllowEdit = false; this.colVolumeWeight.UnboundExpression = "Volume*167"; this.colVolumeWeight.UnboundType = DevExpress.Data.UnboundColumnType.Decimal; this.colVolumeWeight.Visible = true; this.colVolumeWeight.VisibleIndex = 4; this.colVolumeWeight.Width = 50; // // colWeight // this.colWeight.AppearanceHeader.ForeColor = System.Drawing.Color.Red; this.colWeight.AppearanceHeader.Options.UseForeColor = true; this.colWeight.AppearanceHeader.Options.UseTextOptions = true; this.colWeight.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colWeight.Caption = "重量(㎏)"; this.colWeight.ColumnEdit = this.repositoryItemSpinEdit2; this.colWeight.FieldName = "Weight"; this.colWeight.Name = "colWeight"; this.colWeight.Visible = true; this.colWeight.VisibleIndex = 5; this.colWeight.Width = 50; // // repositoryItemSpinEdit2 // this.repositoryItemSpinEdit2.AutoHeight = false; this.repositoryItemSpinEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit2.DisplayFormat.FormatString = "N"; this.repositoryItemSpinEdit2.EditFormat.FormatString = "F2"; this.repositoryItemSpinEdit2.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.repositoryItemSpinEdit2.Name = "repositoryItemSpinEdit2"; // // colRealWeight // this.colRealWeight.AppearanceHeader.Options.UseTextOptions = true; this.colRealWeight.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colRealWeight.Caption = "计价重量"; this.colRealWeight.FieldName = "RealWeight"; this.colRealWeight.Name = "colRealWeight"; this.colRealWeight.OptionsColumn.AllowEdit = false; this.colRealWeight.Visible = true; this.colRealWeight.VisibleIndex = 6; this.colRealWeight.Width = 50; // // colPrice // this.colPrice.AppearanceHeader.Options.UseTextOptions = true; this.colPrice.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colPrice.Caption = "中转单价"; this.colPrice.DisplayFormat.FormatString = "N"; this.colPrice.FieldName = "colPrice"; this.colPrice.Name = "colPrice"; this.colPrice.OptionsColumn.AllowEdit = false; this.colPrice.UnboundExpression = "Arbitariec/RealWeight"; this.colPrice.UnboundType = DevExpress.Data.UnboundColumnType.Decimal; this.colPrice.Visible = true; this.colPrice.VisibleIndex = 7; this.colPrice.Width = 50; // // colArbitariec // this.colArbitariec.AppearanceHeader.ForeColor = System.Drawing.Color.Red; this.colArbitariec.AppearanceHeader.Options.UseForeColor = true; this.colArbitariec.AppearanceHeader.Options.UseTextOptions = true; this.colArbitariec.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colArbitariec.Caption = "中转费"; this.colArbitariec.ColumnEdit = this.repositoryItemSpinEdit3; this.colArbitariec.DisplayFormat.FormatString = "N"; this.colArbitariec.FieldName = "Arbitariec"; this.colArbitariec.Name = "colArbitariec"; this.colArbitariec.Visible = true; this.colArbitariec.VisibleIndex = 8; this.colArbitariec.Width = 50; // // repositoryItemSpinEdit3 // this.repositoryItemSpinEdit3.AutoHeight = false; this.repositoryItemSpinEdit3.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit3.DisplayFormat.FormatString = "N"; this.repositoryItemSpinEdit3.EditFormat.FormatString = "F2"; this.repositoryItemSpinEdit3.MaxValue = new decimal(new int[] { 999999999, 0, 0, 0}); this.repositoryItemSpinEdit3.Name = "repositoryItemSpinEdit3"; // // colDispatchFee // this.colDispatchFee.AppearanceHeader.Options.UseTextOptions = true; this.colDispatchFee.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colDispatchFee.Caption = "派件费"; this.colDispatchFee.ColumnEdit = this.repositoryItemSpinEdit4; this.colDispatchFee.DisplayFormat.FormatString = "N"; this.colDispatchFee.FieldName = "DispatchFee"; this.colDispatchFee.Name = "colDispatchFee"; this.colDispatchFee.Visible = true; this.colDispatchFee.VisibleIndex = 9; this.colDispatchFee.Width = 50; // // repositoryItemSpinEdit4 // this.repositoryItemSpinEdit4.AutoHeight = false; this.repositoryItemSpinEdit4.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.repositoryItemSpinEdit4.DisplayFormat.FormatString = "N"; this.repositoryItemSpinEdit4.EditFormat.FormatString = "F2"; this.repositoryItemSpinEdit4.MaxValue = new decimal(new int[] { 999999999, 0, 0, 0}); this.repositoryItemSpinEdit4.Name = "repositoryItemSpinEdit4"; // // colSum // this.colSum.AppearanceHeader.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); this.colSum.AppearanceHeader.ForeColor = System.Drawing.Color.Blue; this.colSum.AppearanceHeader.Options.UseFont = true; this.colSum.AppearanceHeader.Options.UseForeColor = true; this.colSum.AppearanceHeader.Options.UseTextOptions = true; this.colSum.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSum.Caption = "合计"; this.colSum.DisplayFormat.FormatString = "N"; this.colSum.FieldName = "gridColumn12"; this.colSum.Name = "colSum"; this.colSum.UnboundExpression = "DispatchFee+Arbitariec"; this.colSum.UnboundType = DevExpress.Data.UnboundColumnType.Decimal; this.colSum.Visible = true; this.colSum.VisibleIndex = 10; this.colSum.Width = 50; // // groupControlConsignee // this.groupControlConsignee.Controls.Add(this.memoConsigneeAddress); this.groupControlConsignee.Controls.Add(this.cbxConsignee); this.groupControlConsignee.Controls.Add(this.txtConsigneeLinkMan); this.groupControlConsignee.Controls.Add(this.txtConsigneeTel); this.groupControlConsignee.Controls.Add(this.labelControl21); this.groupControlConsignee.Controls.Add(this.btneDestination); this.groupControlConsignee.Controls.Add(this.labelControl20); this.groupControlConsignee.Controls.Add(this.btneDestinationSite); this.groupControlConsignee.Controls.Add(this.labelControl16); this.groupControlConsignee.Controls.Add(this.labelControl17); this.groupControlConsignee.Controls.Add(this.labelControl18); this.groupControlConsignee.Controls.Add(this.labelControl19); this.groupControlConsignee.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlConsignee.Location = new System.Drawing.Point(503, 3); this.groupControlConsignee.Name = "groupControlConsignee"; this.groupControlConsignee.Size = new System.Drawing.Size(370, 144); this.groupControlConsignee.TabIndex = 1; this.groupControlConsignee.Text = "收件信息"; // // memoConsigneeAddress // this.memoConsigneeAddress.Location = new System.Drawing.Point(59, 98); this.memoConsigneeAddress.Name = "memoConsigneeAddress"; this.memoConsigneeAddress.Size = new System.Drawing.Size(247, 40); this.memoConsigneeAddress.TabIndex = 30; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "请填写收货地址"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.memoConsigneeAddress, conditionValidationRule1); // // cbxConsignee // this.cbxConsignee.Location = new System.Drawing.Point(59, 49); this.cbxConsignee.Name = "cbxConsignee"; this.cbxConsignee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.cbxConsignee.Size = new System.Drawing.Size(247, 20); this.cbxConsignee.TabIndex = 29; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "请输入收货方"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.cbxConsignee, conditionValidationRule2); // // txtConsigneeLinkMan // this.txtConsigneeLinkMan.Location = new System.Drawing.Point(206, 72); this.txtConsigneeLinkMan.Name = "txtConsigneeLinkMan"; this.txtConsigneeLinkMan.Size = new System.Drawing.Size(100, 20); this.txtConsigneeLinkMan.TabIndex = 17; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "请填写联系人"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtConsigneeLinkMan, conditionValidationRule3); // // txtConsigneeTel // this.txtConsigneeTel.Location = new System.Drawing.Point(59, 72); this.txtConsigneeTel.Name = "txtConsigneeTel"; this.txtConsigneeTel.Size = new System.Drawing.Size(100, 20); this.txtConsigneeTel.TabIndex = 16; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "请填写联系电话"; conditionValidationRule4.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtConsigneeTel, conditionValidationRule4); // // labelControl21 // this.labelControl21.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl21.Location = new System.Drawing.Point(165, 75); this.labelControl21.Name = "labelControl21"; this.labelControl21.Size = new System.Drawing.Size(36, 14); this.labelControl21.TabIndex = 28; this.labelControl21.Text = "联系人"; // // btneDestination // this.btneDestination.Location = new System.Drawing.Point(206, 26); this.btneDestination.Name = "btneDestination"; this.btneDestination.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.btneDestination.Size = new System.Drawing.Size(100, 20); this.btneDestination.TabIndex = 14; conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule5.ErrorText = "请选择目的地"; conditionValidationRule5.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.btneDestination, conditionValidationRule5); this.btneDestination.EditValueChanged += new System.EventHandler(this.btneDestination_EditValueChanged); // // labelControl20 // this.labelControl20.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl20.Location = new System.Drawing.Point(165, 29); this.labelControl20.Name = "labelControl20"; this.labelControl20.Size = new System.Drawing.Size(36, 14); this.labelControl20.TabIndex = 9; this.labelControl20.Text = "目的地"; // // btneDestinationSite // this.btneDestinationSite.Location = new System.Drawing.Point(59, 26); this.btneDestinationSite.Name = "btneDestinationSite"; this.btneDestinationSite.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.btneDestinationSite.Properties.ReadOnly = true; this.btneDestinationSite.Size = new System.Drawing.Size(100, 20); this.btneDestinationSite.TabIndex = 13; conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule6.ErrorText = "请选择目的站点"; conditionValidationRule6.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.btneDestinationSite, conditionValidationRule6); // // labelControl16 // this.labelControl16.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl16.Location = new System.Drawing.Point(5, 98); this.labelControl16.Name = "labelControl16"; this.labelControl16.Size = new System.Drawing.Size(48, 14); this.labelControl16.TabIndex = 7; this.labelControl16.Text = "收货地址"; // // labelControl17 // this.labelControl17.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl17.Location = new System.Drawing.Point(5, 75); this.labelControl17.Name = "labelControl17"; this.labelControl17.Size = new System.Drawing.Size(48, 14); this.labelControl17.TabIndex = 6; this.labelControl17.Text = "联系电话"; // // labelControl18 // this.labelControl18.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl18.Location = new System.Drawing.Point(9, 52); this.labelControl18.Name = "labelControl18"; this.labelControl18.Size = new System.Drawing.Size(44, 14); this.labelControl18.TabIndex = 5; this.labelControl18.Text = "收 货 方"; // // labelControl19 // this.labelControl19.Appearance.ForeColor = System.Drawing.Color.Black; this.labelControl19.Location = new System.Drawing.Point(5, 29); this.labelControl19.Name = "labelControl19"; this.labelControl19.Size = new System.Drawing.Size(48, 14); this.labelControl19.TabIndex = 4; this.labelControl19.Text = "目的站点"; // // groupControlConsignor // this.groupControlConsignor.Controls.Add(this.lnkCode); this.groupControlConsignor.Controls.Add(this.btneConsignor); this.groupControlConsignor.Controls.Add(this.lueSettlementType); this.groupControlConsignor.Controls.Add(this.lueDispatchType); this.groupControlConsignor.Controls.Add(this.lueLogisticsType); this.groupControlConsignor.Controls.Add(this.lueServiceEmployee); this.groupControlConsignor.Controls.Add(this.lueSalesmanEmployee); this.groupControlConsignor.Controls.Add(this.labelControl13); this.groupControlConsignor.Controls.Add(this.labelControl14); this.groupControlConsignor.Controls.Add(this.labelControl15); this.groupControlConsignor.Controls.Add(this.txtConsignorPhone); this.groupControlConsignor.Controls.Add(this.txtCustomersType); this.groupControlConsignor.Controls.Add(this.txtConsignorAddress); this.groupControlConsignor.Controls.Add(this.txtConsignorTel); this.groupControlConsignor.Controls.Add(this.txtConsignorLinkMan); this.groupControlConsignor.Controls.Add(this.txtCode); this.groupControlConsignor.Controls.Add(this.labelControl12); this.groupControlConsignor.Controls.Add(this.labelControl11); this.groupControlConsignor.Controls.Add(this.labelControl10); this.groupControlConsignor.Controls.Add(this.labelControl9); this.groupControlConsignor.Controls.Add(this.labelControl8); this.groupControlConsignor.Controls.Add(this.labelControl7); this.groupControlConsignor.Controls.Add(this.labelControl6); this.groupControlConsignor.Controls.Add(this.labelControl5); this.groupControlConsignor.Controls.Add(this.labelControl4); this.groupControlConsignor.Controls.Add(this.labelControl3); this.groupControlConsignor.Controls.Add(this.labelControl2); this.groupControlConsignor.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlConsignor.Location = new System.Drawing.Point(3, 3); this.groupControlConsignor.Name = "groupControlConsignor"; this.groupControlConsignor.Size = new System.Drawing.Size(494, 144); this.groupControlConsignor.TabIndex = 0; this.groupControlConsignor.Text = "寄件信息"; // // lnkCode // this.lnkCode.AutoSize = true; this.lnkCode.Location = new System.Drawing.Point(6, 29); this.lnkCode.Name = "lnkCode"; this.lnkCode.Size = new System.Drawing.Size(55, 14); this.lnkCode.TabIndex = 25; this.lnkCode.TabStop = true; this.lnkCode.Text = "运单编号"; this.lnkCode.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.lnkCode_LinkClicked); // // btneConsignor // this.btneConsignor.Location = new System.Drawing.Point(63, 49); this.btneConsignor.Name = "btneConsignor"; this.btneConsignor.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.btneConsignor.Size = new System.Drawing.Size(100, 20); this.btneConsignor.TabIndex = 24; conditionValidationRule7.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule7.ErrorText = "请选择发货方"; conditionValidationRule7.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.btneConsignor, conditionValidationRule7); this.btneConsignor.EditValueChanged += new System.EventHandler(this.btneConsignor_EditValueChanged); // // lueSettlementType // this.lueSettlementType.Location = new System.Drawing.Point(386, 72); this.lueSettlementType.Name = "lueSettlementType"; this.lueSettlementType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueSettlementType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", "名称")}); this.lueSettlementType.Properties.DisplayMember = "DisplayName"; this.lueSettlementType.Properties.NullText = ""; this.lueSettlementType.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lueSettlementType.Properties.ValueMember = "Code"; this.lueSettlementType.Size = new System.Drawing.Size(100, 20); this.lueSettlementType.TabIndex = 9; conditionValidationRule8.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule8.ErrorText = "请选择支付方式"; conditionValidationRule8.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.lueSettlementType, conditionValidationRule8); // // lueDispatchType // this.lueDispatchType.Location = new System.Drawing.Point(386, 49); this.lueDispatchType.Name = "lueDispatchType"; this.lueDispatchType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueDispatchType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", "名称")}); this.lueDispatchType.Properties.DisplayMember = "DisplayName"; this.lueDispatchType.Properties.NullText = ""; this.lueDispatchType.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lueDispatchType.Properties.ValueMember = "Code"; this.lueDispatchType.Size = new System.Drawing.Size(100, 20); this.lueDispatchType.TabIndex = 6; conditionValidationRule9.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule9.ErrorText = "请选择派送类别"; conditionValidationRule9.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.lueDispatchType, conditionValidationRule9); // // lueLogisticsType // this.lueLogisticsType.Location = new System.Drawing.Point(386, 26); this.lueLogisticsType.Name = "lueLogisticsType"; this.lueLogisticsType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueLogisticsType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", "名称")}); this.lueLogisticsType.Properties.DisplayMember = "DisplayName"; this.lueLogisticsType.Properties.NullText = ""; this.lueLogisticsType.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lueLogisticsType.Properties.ValueMember = "Code"; this.lueLogisticsType.Size = new System.Drawing.Size(100, 20); this.lueLogisticsType.TabIndex = 3; conditionValidationRule10.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule10.ErrorText = "请选择订单类型"; conditionValidationRule10.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.lueLogisticsType, conditionValidationRule10); // // lueServiceEmployee // this.lueServiceEmployee.Location = new System.Drawing.Point(226, 72); this.lueServiceEmployee.Name = "lueServiceEmployee"; this.lueServiceEmployee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueServiceEmployee.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("QueryWord", "查询简称"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "姓名")}); this.lueServiceEmployee.Properties.DisplayMember = "Name"; this.lueServiceEmployee.Properties.NullText = ""; this.lueServiceEmployee.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lueServiceEmployee.Properties.ValueMember = "ID"; this.lueServiceEmployee.Size = new System.Drawing.Size(100, 20); this.lueServiceEmployee.TabIndex = 8; // // lueSalesmanEmployee // this.lueSalesmanEmployee.Location = new System.Drawing.Point(226, 49); this.lueSalesmanEmployee.Name = "lueSalesmanEmployee"; this.lueSalesmanEmployee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueSalesmanEmployee.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("QueryWord", "查询简称"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "姓名")}); this.lueSalesmanEmployee.Properties.DisplayMember = "Name"; this.lueSalesmanEmployee.Properties.NullText = ""; this.lueSalesmanEmployee.Properties.SearchMode = DevExpress.XtraEditors.Controls.SearchMode.AutoComplete; this.lueSalesmanEmployee.Properties.ValueMember = "ID"; this.lueSalesmanEmployee.Size = new System.Drawing.Size(100, 20); this.lueSalesmanEmployee.TabIndex = 5; // // labelControl13 // this.labelControl13.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl13.Location = new System.Drawing.Point(332, 75); this.labelControl13.Name = "labelControl13"; this.labelControl13.Size = new System.Drawing.Size(48, 14); this.labelControl13.TabIndex = 23; this.labelControl13.Text = "支付方式"; // // labelControl14 // this.labelControl14.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl14.Location = new System.Drawing.Point(332, 52); this.labelControl14.Name = "labelControl14"; this.labelControl14.Size = new System.Drawing.Size(48, 14); this.labelControl14.TabIndex = 22; this.labelControl14.Text = "派送类别"; // // labelControl15 // this.labelControl15.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl15.Location = new System.Drawing.Point(332, 29); this.labelControl15.Name = "labelControl15"; this.labelControl15.Size = new System.Drawing.Size(48, 14); this.labelControl15.TabIndex = 21; this.labelControl15.Text = "订单类型"; // // txtConsignorPhone // this.txtConsignorPhone.Location = new System.Drawing.Point(226, 95); this.txtConsignorPhone.Name = "txtConsignorPhone"; this.txtConsignorPhone.Size = new System.Drawing.Size(100, 20); this.txtConsignorPhone.TabIndex = 11; // // txtCustomersType // this.txtCustomersType.Location = new System.Drawing.Point(226, 26); this.txtCustomersType.Name = "txtCustomersType"; this.txtCustomersType.Properties.ReadOnly = true; this.txtCustomersType.Size = new System.Drawing.Size(100, 20); this.txtCustomersType.TabIndex = 2; // // txtConsignorAddress // this.txtConsignorAddress.Location = new System.Drawing.Point(63, 118); this.txtConsignorAddress.Name = "txtConsignorAddress"; this.txtConsignorAddress.Size = new System.Drawing.Size(423, 20); this.txtConsignorAddress.TabIndex = 12; // // txtConsignorTel // this.txtConsignorTel.Location = new System.Drawing.Point(63, 95); this.txtConsignorTel.Name = "txtConsignorTel"; this.txtConsignorTel.Size = new System.Drawing.Size(100, 20); this.txtConsignorTel.TabIndex = 10; // // txtConsignorLinkMan // this.txtConsignorLinkMan.Location = new System.Drawing.Point(63, 72); this.txtConsignorLinkMan.Name = "txtConsignorLinkMan"; this.txtConsignorLinkMan.Size = new System.Drawing.Size(100, 20); this.txtConsignorLinkMan.TabIndex = 7; // // txtCode // this.txtCode.Location = new System.Drawing.Point(63, 26); this.txtCode.Name = "txtCode"; this.txtCode.Size = new System.Drawing.Size(100, 20); this.txtCode.TabIndex = 1; conditionValidationRule11.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule11.ErrorText = "请输入运单号"; conditionValidationRule11.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Warning; this.validationProvider.SetValidationRule(this.txtCode, conditionValidationRule11); // // labelControl12 // this.labelControl12.Location = new System.Drawing.Point(537, 128); this.labelControl12.Name = "labelControl12"; this.labelControl12.Size = new System.Drawing.Size(78, 14); this.labelControl12.TabIndex = 11; this.labelControl12.Text = "labelControl12"; // // labelControl11 // this.labelControl11.Location = new System.Drawing.Point(537, 108); this.labelControl11.Name = "labelControl11"; this.labelControl11.Size = new System.Drawing.Size(78, 14); this.labelControl11.TabIndex = 10; this.labelControl11.Text = "labelControl11"; // // labelControl10 // this.labelControl10.Location = new System.Drawing.Point(537, 88); this.labelControl10.Name = "labelControl10"; this.labelControl10.Size = new System.Drawing.Size(78, 14); this.labelControl10.TabIndex = 9; this.labelControl10.Text = "labelControl10"; // // labelControl9 // this.labelControl9.Location = new System.Drawing.Point(172, 98); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(48, 14); this.labelControl9.TabIndex = 8; this.labelControl9.Text = "移动电话"; // // labelControl8 // this.labelControl8.Location = new System.Drawing.Point(172, 75); this.labelControl8.Name = "labelControl8"; this.labelControl8.Size = new System.Drawing.Size(48, 14); this.labelControl8.TabIndex = 7; this.labelControl8.Text = "跟单客服"; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(176, 52); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(44, 14); this.labelControl7.TabIndex = 6; this.labelControl7.Text = "业 务 员"; // // labelControl6 // this.labelControl6.Location = new System.Drawing.Point(172, 29); this.labelControl6.Name = "labelControl6"; this.labelControl6.Size = new System.Drawing.Size(48, 14); this.labelControl6.TabIndex = 5; this.labelControl6.Text = "客户类型"; // // labelControl5 // this.labelControl5.Location = new System.Drawing.Point(9, 121); this.labelControl5.Name = "labelControl5"; this.labelControl5.Size = new System.Drawing.Size(48, 14); this.labelControl5.TabIndex = 4; this.labelControl5.Text = "发货地址"; // // labelControl4 // this.labelControl4.Location = new System.Drawing.Point(9, 98); this.labelControl4.Name = "labelControl4"; this.labelControl4.Size = new System.Drawing.Size(48, 14); this.labelControl4.TabIndex = 3; this.labelControl4.Text = "联系电话"; // // labelControl3 // this.labelControl3.Location = new System.Drawing.Point(13, 75); this.labelControl3.Name = "labelControl3"; this.labelControl3.Size = new System.Drawing.Size(44, 14); this.labelControl3.TabIndex = 2; this.labelControl3.Text = "联 系 人"; // // labelControl2 // this.labelControl2.Appearance.ForeColor = System.Drawing.Color.Red; this.labelControl2.Location = new System.Drawing.Point(13, 52); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(44, 14); this.labelControl2.TabIndex = 1; this.labelControl2.Text = "发 货 方"; // // groupControlFee // this.tableLayoutPanel1.SetColumnSpan(this.groupControlFee, 2); this.groupControlFee.Controls.Add(this.cePaymentFlag); this.groupControlFee.Controls.Add(this.sePaidAmount); this.groupControlFee.Controls.Add(this.seReceivableAmount); this.groupControlFee.Controls.Add(this.labelControl35); this.groupControlFee.Controls.Add(this.labelControl34); this.groupControlFee.Controls.Add(this.txtProtocolNo); this.groupControlFee.Controls.Add(this.labelControl33); this.groupControlFee.Controls.Add(this.seAdditionalPageFee); this.groupControlFee.Controls.Add(this.seAdditionalPage); this.groupControlFee.Controls.Add(this.seCustomsDlearanceFee); this.groupControlFee.Controls.Add(this.seDeliveryHKDFee); this.groupControlFee.Controls.Add(this.seDeliveryRMBFee); this.groupControlFee.Controls.Add(this.sePickUpGoodsFee); this.groupControlFee.Controls.Add(this.seTakeTheirFee); this.groupControlFee.Controls.Add(this.seOtherFee); this.groupControlFee.Controls.Add(this.seRemoteFee); this.groupControlFee.Controls.Add(this.seReceiptFee); this.groupControlFee.Controls.Add(this.seStorageFee); this.groupControlFee.Controls.Add(this.labelControl32); this.groupControlFee.Controls.Add(this.labelControl31); this.groupControlFee.Controls.Add(this.labelControl30); this.groupControlFee.Controls.Add(this.labelControl29); this.groupControlFee.Controls.Add(this.labelControl28); this.groupControlFee.Controls.Add(this.labelControl27); this.groupControlFee.Controls.Add(this.labelControl26); this.groupControlFee.Controls.Add(this.labelControl25); this.groupControlFee.Controls.Add(this.labelControl24); this.groupControlFee.Controls.Add(this.labelControl23); this.groupControlFee.Controls.Add(this.labelControl22); this.groupControlFee.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControlFee.Location = new System.Drawing.Point(3, 364); this.groupControlFee.Name = "groupControlFee"; this.groupControlFee.Size = new System.Drawing.Size(870, 104); this.groupControlFee.TabIndex = 2; this.groupControlFee.Text = "费用信息"; // // cePaymentFlag // this.cePaymentFlag.Location = new System.Drawing.Point(557, 75); this.cePaymentFlag.Name = "cePaymentFlag"; this.cePaymentFlag.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); this.cePaymentFlag.Properties.Appearance.ForeColor = System.Drawing.Color.Red; this.cePaymentFlag.Properties.Appearance.Options.UseFont = true; this.cePaymentFlag.Properties.Appearance.Options.UseForeColor = true; this.cePaymentFlag.Properties.Caption = "是否确认收款"; this.cePaymentFlag.Size = new System.Drawing.Size(111, 19); this.cePaymentFlag.TabIndex = 34; // // sePaidAmount // this.sePaidAmount.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.sePaidAmount.Location = new System.Drawing.Point(479, 75); this.sePaidAmount.Name = "sePaidAmount"; this.sePaidAmount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.sePaidAmount.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.sePaidAmount.Size = new System.Drawing.Size(67, 20); this.sePaidAmount.TabIndex = 33; // // seReceivableAmount // this.seReceivableAmount.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seReceivableAmount.Location = new System.Drawing.Point(352, 75); this.seReceivableAmount.Name = "seReceivableAmount"; this.seReceivableAmount.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seReceivableAmount.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seReceivableAmount.Properties.ReadOnly = true; this.seReceivableAmount.Size = new System.Drawing.Size(67, 20); this.seReceivableAmount.TabIndex = 32; // // labelControl35 // this.labelControl35.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); this.labelControl35.Appearance.ForeColor = System.Drawing.Color.Blue; this.labelControl35.Location = new System.Drawing.Point(425, 78); this.labelControl35.Name = "labelControl35"; this.labelControl35.Size = new System.Drawing.Size(52, 14); this.labelControl35.TabIndex = 52; this.labelControl35.Text = "实收合计"; // // labelControl34 // this.labelControl34.Appearance.Font = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Bold); this.labelControl34.Appearance.ForeColor = System.Drawing.Color.Blue; this.labelControl34.Location = new System.Drawing.Point(298, 78); this.labelControl34.Name = "labelControl34"; this.labelControl34.Size = new System.Drawing.Size(52, 14); this.labelControl34.TabIndex = 51; this.labelControl34.Text = "应收合计"; // // txtProtocolNo // this.txtProtocolNo.Location = new System.Drawing.Point(74, 75); this.txtProtocolNo.Name = "txtProtocolNo"; this.txtProtocolNo.Size = new System.Drawing.Size(206, 20); this.txtProtocolNo.TabIndex = 31; // // labelControl33 // this.labelControl33.Location = new System.Drawing.Point(9, 78); this.labelControl33.Name = "labelControl33"; this.labelControl33.Size = new System.Drawing.Size(60, 14); this.labelControl33.TabIndex = 49; this.labelControl33.Text = "转账协议号"; // // seAdditionalPageFee // this.seAdditionalPageFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seAdditionalPageFee.Location = new System.Drawing.Point(592, 50); this.seAdditionalPageFee.Name = "seAdditionalPageFee"; this.seAdditionalPageFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seAdditionalPageFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seAdditionalPageFee.Size = new System.Drawing.Size(67, 20); this.seAdditionalPageFee.TabIndex = 30; this.seAdditionalPageFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seAdditionalPage // this.seAdditionalPage.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seAdditionalPage.Location = new System.Drawing.Point(479, 50); this.seAdditionalPage.Name = "seAdditionalPage"; this.seAdditionalPage.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seAdditionalPage.Properties.IsFloatValue = false; this.seAdditionalPage.Properties.Mask.EditMask = "N00"; this.seAdditionalPage.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seAdditionalPage.Size = new System.Drawing.Size(67, 20); this.seAdditionalPage.TabIndex = 29; // // seCustomsDlearanceFee // this.seCustomsDlearanceFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seCustomsDlearanceFee.Location = new System.Drawing.Point(352, 50); this.seCustomsDlearanceFee.Name = "seCustomsDlearanceFee"; this.seCustomsDlearanceFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seCustomsDlearanceFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seCustomsDlearanceFee.Size = new System.Drawing.Size(67, 20); this.seCustomsDlearanceFee.TabIndex = 28; this.seCustomsDlearanceFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seDeliveryHKDFee // this.seDeliveryHKDFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seDeliveryHKDFee.Location = new System.Drawing.Point(213, 50); this.seDeliveryHKDFee.Name = "seDeliveryHKDFee"; this.seDeliveryHKDFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seDeliveryHKDFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seDeliveryHKDFee.Size = new System.Drawing.Size(67, 20); this.seDeliveryHKDFee.TabIndex = 27; this.seDeliveryHKDFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seDeliveryRMBFee // this.seDeliveryRMBFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seDeliveryRMBFee.Location = new System.Drawing.Point(74, 50); this.seDeliveryRMBFee.Name = "seDeliveryRMBFee"; this.seDeliveryRMBFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seDeliveryRMBFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seDeliveryRMBFee.Size = new System.Drawing.Size(67, 20); this.seDeliveryRMBFee.TabIndex = 26; this.seDeliveryRMBFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // sePickUpGoodsFee // this.sePickUpGoodsFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.sePickUpGoodsFee.Location = new System.Drawing.Point(707, 26); this.sePickUpGoodsFee.Name = "sePickUpGoodsFee"; this.sePickUpGoodsFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.sePickUpGoodsFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.sePickUpGoodsFee.Size = new System.Drawing.Size(67, 20); this.sePickUpGoodsFee.TabIndex = 25; this.sePickUpGoodsFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seTakeTheirFee // this.seTakeTheirFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seTakeTheirFee.Location = new System.Drawing.Point(592, 26); this.seTakeTheirFee.Name = "seTakeTheirFee"; this.seTakeTheirFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seTakeTheirFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seTakeTheirFee.Size = new System.Drawing.Size(67, 20); this.seTakeTheirFee.TabIndex = 24; this.seTakeTheirFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seOtherFee // this.seOtherFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seOtherFee.Location = new System.Drawing.Point(479, 26); this.seOtherFee.Name = "seOtherFee"; this.seOtherFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seOtherFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seOtherFee.Size = new System.Drawing.Size(67, 20); this.seOtherFee.TabIndex = 23; this.seOtherFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seRemoteFee // this.seRemoteFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seRemoteFee.Location = new System.Drawing.Point(352, 26); this.seRemoteFee.Name = "seRemoteFee"; this.seRemoteFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seRemoteFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seRemoteFee.Size = new System.Drawing.Size(67, 20); this.seRemoteFee.TabIndex = 22; this.seRemoteFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seReceiptFee // this.seReceiptFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seReceiptFee.Location = new System.Drawing.Point(213, 26); this.seReceiptFee.Name = "seReceiptFee"; this.seReceiptFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seReceiptFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seReceiptFee.Size = new System.Drawing.Size(67, 20); this.seReceiptFee.TabIndex = 21; this.seReceiptFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // seStorageFee // this.seStorageFee.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.seStorageFee.Location = new System.Drawing.Point(74, 26); this.seStorageFee.Name = "seStorageFee"; this.seStorageFee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.seStorageFee.Properties.MaxValue = new decimal(new int[] { 999999, 0, 0, 0}); this.seStorageFee.Size = new System.Drawing.Size(67, 20); this.seStorageFee.TabIndex = 20; this.seStorageFee.ValueChanged += new System.EventHandler(this.CalculateMoney); // // labelControl32 // this.labelControl32.Location = new System.Drawing.Point(552, 53); this.labelControl32.Name = "labelControl32"; this.labelControl32.Size = new System.Drawing.Size(36, 14); this.labelControl32.TabIndex = 37; this.labelControl32.Text = "续页费"; // // labelControl31 // this.labelControl31.Location = new System.Drawing.Point(449, 53); this.labelControl31.Name = "labelControl31"; this.labelControl31.Size = new System.Drawing.Size(24, 14); this.labelControl31.TabIndex = 36; this.labelControl31.Text = "续页"; // // labelControl30 // this.labelControl30.Location = new System.Drawing.Point(310, 53); this.labelControl30.Name = "labelControl30"; this.labelControl30.Size = new System.Drawing.Size(36, 14); this.labelControl30.TabIndex = 35; this.labelControl30.Text = "报关费"; // // labelControl29 // this.labelControl29.Location = new System.Drawing.Point(148, 53); this.labelControl29.Name = "labelControl29"; this.labelControl29.Size = new System.Drawing.Size(59, 14); this.labelControl29.TabIndex = 34; this.labelControl29.Text = "到付款HKD"; // // labelControl28 // this.labelControl28.Location = new System.Drawing.Point(9, 53); this.labelControl28.Name = "labelControl28"; this.labelControl28.Size = new System.Drawing.Size(59, 14); this.labelControl28.TabIndex = 33; this.labelControl28.Text = "到付款RMB"; // // labelControl27 // this.labelControl27.Location = new System.Drawing.Point(147, 29); this.labelControl27.Name = "labelControl27"; this.labelControl27.Size = new System.Drawing.Size(60, 14); this.labelControl27.TabIndex = 32; this.labelControl27.Text = "尾纸派送费"; // // labelControl26 // this.labelControl26.Location = new System.Drawing.Point(286, 29); this.labelControl26.Name = "labelControl26"; this.labelControl26.Size = new System.Drawing.Size(60, 14); this.labelControl26.TabIndex = 31; this.labelControl26.Text = "偏远附件费"; // // labelControl25 // this.labelControl25.Location = new System.Drawing.Point(425, 29); this.labelControl25.Name = "labelControl25"; this.labelControl25.Size = new System.Drawing.Size(48, 14); this.labelControl25.TabIndex = 30; this.labelControl25.Text = "其它费用"; // // labelControl24 // this.labelControl24.Location = new System.Drawing.Point(552, 29); this.labelControl24.Name = "labelControl24"; this.labelControl24.Size = new System.Drawing.Size(36, 14); this.labelControl24.TabIndex = 29; this.labelControl24.Text = "自提费"; // // labelControl23 // this.labelControl23.Location = new System.Drawing.Point(665, 29); this.labelControl23.Name = "labelControl23"; this.labelControl23.Size = new System.Drawing.Size(36, 14); this.labelControl23.TabIndex = 28; this.labelControl23.Text = "提货费"; // // labelControl22 // this.labelControl22.Location = new System.Drawing.Point(20, 29); this.labelControl22.Name = "labelControl22"; this.labelControl22.Size = new System.Drawing.Size(48, 14); this.labelControl22.TabIndex = 27; this.labelControl22.Text = "仓附件费"; // // UCWaybillEdit // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tableLayoutPanel1); this.Name = "UCWaybillEdit"; this.Size = new System.Drawing.Size(876, 581); this.Load += new System.EventHandler(this.UCWaybillEdit_Load); this.tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControlOther)).EndInit(); this.groupControlOther.ResumeLayout(false); this.groupControlOther.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtRemark.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchReceiptAddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ceReceiptFlag.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtReceiptCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchAttachment.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchEntrancePermit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDispatchUnifiedNum.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl4)).EndInit(); this.groupControl4.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridGoods)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvGoods)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.rilueGoods)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.riluePack)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.riSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemSpinEdit4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControlConsignee)).EndInit(); this.groupControlConsignee.ResumeLayout(false); this.groupControlConsignee.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.memoConsigneeAddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbxConsignee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsigneeLinkMan.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsigneeTel.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btneDestination.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.btneDestinationSite.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControlConsignor)).EndInit(); this.groupControlConsignor.ResumeLayout(false); this.groupControlConsignor.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.btneConsignor.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueSettlementType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueDispatchType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueLogisticsType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueServiceEmployee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueSalesmanEmployee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorPhone.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCustomersType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorAddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorTel.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtConsignorLinkMan.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControlFee)).EndInit(); this.groupControlFee.ResumeLayout(false); this.groupControlFee.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.cePaymentFlag.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sePaidAmount.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seReceivableAmount.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtProtocolNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seAdditionalPageFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seAdditionalPage.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seCustomsDlearanceFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seDeliveryHKDFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seDeliveryRMBFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sePickUpGoodsFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seTakeTheirFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seOtherFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seRemoteFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seReceiptFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.seStorageFee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ExpencesForm)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.ribbon = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem2 = new DevExpress.XtraBars.BarButtonItem(); this.ribbonPage1 = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonStatusBar = new DevExpress.XtraBars.Ribbon.RibbonStatusBar(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.TxtNotes = new DevExpress.XtraEditors.MemoEdit(); this.TxtExpencesValue = new DevExpress.XtraEditors.CalcEdit(); this.lookUpExpencesType = new DevExpress.XtraEditors.LookUpEdit(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn4 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn5 = new DevExpress.XtraGrid.Columns.GridColumn(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); 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.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.TxtNotes.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.TxtExpencesValue.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpExpencesType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).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.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // ribbon // this.ribbon.ExpandCollapseItem.Id = 0; this.ribbon.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.ribbon.ExpandCollapseItem, this.barButtonItem1, this.barButtonItem2 }); this.ribbon.Location = new System.Drawing.Point(0, 0); this.ribbon.MaxItemId = 3; this.ribbon.Name = "ribbon"; this.ribbon.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.ribbonPage1 }); this.ribbon.Size = new System.Drawing.Size(639, 143); this.ribbon.StatusBar = this.ribbonStatusBar; // // barButtonItem1 // this.barButtonItem1.Caption = "New"; this.barButtonItem1.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.Glyph"))); this.barButtonItem1.Id = 1; this.barButtonItem1.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem1.LargeGlyph"))); this.barButtonItem1.Name = "barButtonItem1"; this.barButtonItem1.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem1_ItemClick); // // barButtonItem2 // this.barButtonItem2.Caption = "Save"; this.barButtonItem2.Glyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.Glyph"))); this.barButtonItem2.Id = 2; this.barButtonItem2.LargeGlyph = ((System.Drawing.Image)(resources.GetObject("barButtonItem2.LargeGlyph"))); this.barButtonItem2.Name = "barButtonItem2"; this.barButtonItem2.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.barButtonItem2_ItemClick); // // ribbonPage1 // this.ribbonPage1.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.ribbonPageGroup1 }); this.ribbonPage1.Name = "ribbonPage1"; this.ribbonPage1.Text = "Expences control"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem1); this.ribbonPageGroup1.ItemLinks.Add(this.barButtonItem2); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; // // ribbonStatusBar // this.ribbonStatusBar.Location = new System.Drawing.Point(0, 678); this.ribbonStatusBar.Name = "ribbonStatusBar"; this.ribbonStatusBar.Ribbon = this.ribbon; this.ribbonStatusBar.Size = new System.Drawing.Size(639, 31); // // layoutControl1 // this.layoutControl1.Controls.Add(this.TxtNotes); this.layoutControl1.Controls.Add(this.TxtExpencesValue); this.layoutControl1.Controls.Add(this.lookUpExpencesType); this.layoutControl1.Controls.Add(this.gridControl1); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 143); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(639, 535); this.layoutControl1.TabIndex = 2; this.layoutControl1.Text = "layoutControl1"; // // TxtNotes // this.TxtNotes.Location = new System.Drawing.Point(112, 60); this.TxtNotes.MenuManager = this.ribbon; this.TxtNotes.Name = "TxtNotes"; this.TxtNotes.Size = new System.Drawing.Size(515, 86); this.TxtNotes.StyleController = this.layoutControl1; this.TxtNotes.TabIndex = 7; // // TxtExpencesValue // this.TxtExpencesValue.Location = new System.Drawing.Point(112, 36); this.TxtExpencesValue.MenuManager = this.ribbon; this.TxtExpencesValue.Name = "TxtExpencesValue"; this.TxtExpencesValue.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.TxtExpencesValue.Size = new System.Drawing.Size(515, 20); this.TxtExpencesValue.StyleController = this.layoutControl1; this.TxtExpencesValue.TabIndex = 6; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.TxtExpencesValue, conditionValidationRule1); // // lookUpExpencesType // this.lookUpExpencesType.Location = new System.Drawing.Point(112, 12); this.lookUpExpencesType.MenuManager = this.ribbon; this.lookUpExpencesType.Name = "lookUpExpencesType"; this.lookUpExpencesType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.lookUpExpencesType.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ExpencesDesc", "Expences type"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("ExpencesId", "ExpencesId", 20, DevExpress.Utils.FormatType.None, "", false, DevExpress.Utils.HorzAlignment.Default) }); this.lookUpExpencesType.Properties.DisplayMember = "ExpencesDesc"; this.lookUpExpencesType.Properties.NullText = ""; this.lookUpExpencesType.Properties.ValueMember = "ExpencesTypeId"; this.lookUpExpencesType.Size = new System.Drawing.Size(515, 20); this.lookUpExpencesType.StyleController = this.layoutControl1; this.lookUpExpencesType.TabIndex = 5; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.lookUpExpencesType, conditionValidationRule2); // // gridControl1 // this.gridControl1.Location = new System.Drawing.Point(12, 150); this.gridControl1.MainView = this.gridView1; this.gridControl1.MenuManager = this.ribbon; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(615, 373); this.gridControl1.TabIndex = 4; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); this.gridControl1.DoubleClick += new System.EventHandler(this.gridControl1_DoubleClick); // // gridView1 // this.gridView1.Appearance.HeaderPanel.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold); this.gridView1.Appearance.HeaderPanel.Options.UseFont = true; this.gridView1.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridView1.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridView1.Appearance.Row.Font = new System.Drawing.Font("Times New Roman", 12F); this.gridView1.Appearance.Row.Options.UseFont = true; this.gridView1.Appearance.Row.Options.UseTextOptions = true; this.gridView1.Appearance.Row.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.gridColumn1, this.gridColumn2, this.gridColumn3, this.gridColumn4, this.gridColumn5 }); this.gridView1.GridControl = this.gridControl1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.OptionsView.ShowFooter = true; // // gridColumn1 // this.gridColumn1.Caption = "ExpencesId"; this.gridColumn1.FieldName = "ExpencesId"; this.gridColumn1.Name = "gridColumn1"; // // gridColumn2 // this.gridColumn2.Caption = "Expences type"; this.gridColumn2.FieldName = "ExpencesDesc"; this.gridColumn2.Name = "gridColumn2"; this.gridColumn2.Visible = true; this.gridColumn2.VisibleIndex = 0; // // gridColumn3 // this.gridColumn3.Caption = "Date"; this.gridColumn3.FieldName = "ExpencesDate"; this.gridColumn3.Name = "gridColumn3"; this.gridColumn3.Visible = true; this.gridColumn3.VisibleIndex = 1; // // gridColumn4 // this.gridColumn4.Caption = "Value"; this.gridColumn4.FieldName = "ExpencesValue"; this.gridColumn4.Name = "gridColumn4"; this.gridColumn4.Visible = true; this.gridColumn4.VisibleIndex = 2; // // gridColumn5 // this.gridColumn5.Caption = "Notes"; this.gridColumn5.FieldName = "Notes"; this.gridColumn5.Name = "gridColumn5"; this.gridColumn5.Visible = true; this.gridColumn5.VisibleIndex = 3; // // layoutControlGroup1 // this.layoutControlGroup1.AppearanceItemCaption.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.layoutControlGroup1.AppearanceItemCaption.Options.UseFont = true; this.layoutControlGroup1.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlGroup1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4 }); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(639, 535); this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.Control = this.gridControl1; this.layoutControlItem1.Location = new System.Drawing.Point(0, 138); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(619, 377); this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.lookUpExpencesType; this.layoutControlItem2.Location = new System.Drawing.Point(0, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(619, 24); this.layoutControlItem2.Text = "Expences type"; this.layoutControlItem2.TextSize = new System.Drawing.Size(97, 19); // // layoutControlItem3 // this.layoutControlItem3.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem3.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.layoutControlItem3.Control = this.TxtExpencesValue; this.layoutControlItem3.Location = new System.Drawing.Point(0, 24); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(619, 24); this.layoutControlItem3.Text = "Value"; this.layoutControlItem3.TextSize = new System.Drawing.Size(97, 19); // // layoutControlItem4 // this.layoutControlItem4.Control = this.TxtNotes; this.layoutControlItem4.Location = new System.Drawing.Point(0, 48); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(619, 90); this.layoutControlItem4.Text = "Notes"; this.layoutControlItem4.TextSize = new System.Drawing.Size(97, 19); // // ExpencesForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(639, 709); this.Controls.Add(this.layoutControl1); this.Controls.Add(this.ribbonStatusBar); this.Controls.Add(this.ribbon); this.Name = "ExpencesForm"; this.Ribbon = this.ribbon; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.StatusBar = this.ribbonStatusBar; this.Text = "Expences form"; this.Load += new System.EventHandler(this.ExpencesForm_Load); ((System.ComponentModel.ISupportInitialize)(this.ribbon)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.TxtNotes.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.TxtExpencesValue.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpExpencesType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).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.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.dataLayoutControlMain = new DevExpress.XtraDataLayout.DataLayoutControl(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.UserNameTextEdit = new DevExpress.XtraEditors.TextEdit(); this.UserPassTextEdit = new DevExpress.XtraEditors.TextEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.ItemForUserName = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItemCancel = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItemSave = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.ItemForUserPass = new DevExpress.XtraLayout.LayoutControlItem(); this.dxValidationProviderEditor = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.DataBindingSource = new System.Windows.Forms.BindingSource(this.components); this.colGovName = new DevExpress.XtraGrid.Columns.GridColumn(); ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControlMain)).BeginInit(); this.dataLayoutControlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.UserNameTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.UserPassTextEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForUserName)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemCancel)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemSave)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForUserPass)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderEditor)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.DataBindingSource)).BeginInit(); this.SuspendLayout(); // // dataLayoutControlMain // this.dataLayoutControlMain.Controls.Add(this.btnSave); this.dataLayoutControlMain.Controls.Add(this.btnCancel); this.dataLayoutControlMain.Controls.Add(this.UserNameTextEdit); this.dataLayoutControlMain.Controls.Add(this.UserPassTextEdit); this.dataLayoutControlMain.Dock = System.Windows.Forms.DockStyle.Fill; this.dataLayoutControlMain.Location = new System.Drawing.Point(0, 0); this.dataLayoutControlMain.Name = "dataLayoutControlMain"; this.dataLayoutControlMain.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(1055, 197, 390, 511); this.dataLayoutControlMain.Root = this.layoutControlGroup1; this.dataLayoutControlMain.Size = new System.Drawing.Size(410, 154); this.dataLayoutControlMain.TabIndex = 0; this.dataLayoutControlMain.Text = "dataLayoutControl1"; // // btnSave // this.btnSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnSave.Image = global::GM.Properties.Resources.apply_16x16; this.btnSave.Location = new System.Drawing.Point(12, 120); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(244, 22); this.btnSave.StyleController = this.dataLayoutControlMain; this.btnSave.TabIndex = 2; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // btnCancel // this.btnCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right))); this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnCancel.Image = global::GM.Properties.Resources.cancel_16x16; this.btnCancel.Location = new System.Drawing.Point(260, 120); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(138, 22); this.btnCancel.StyleController = this.dataLayoutControlMain; this.btnCancel.TabIndex = 3; this.btnCancel.Text = "Cancel"; // // UserNameTextEdit // this.UserNameTextEdit.EnterMoveNextControl = true; this.UserNameTextEdit.Location = new System.Drawing.Point(67, 12); this.UserNameTextEdit.Name = "UserNameTextEdit"; this.UserNameTextEdit.Size = new System.Drawing.Size(331, 20); this.UserNameTextEdit.StyleController = this.dataLayoutControlMain; this.UserNameTextEdit.TabIndex = 0; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Must Enter All Needed Fields"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProviderEditor.SetValidationRule(this.UserNameTextEdit, conditionValidationRule1); // // UserPassTextEdit // this.UserPassTextEdit.EditValue = ""; this.UserPassTextEdit.Location = new System.Drawing.Point(67, 36); this.UserPassTextEdit.Name = "UserPassTextEdit"; this.UserPassTextEdit.Size = new System.Drawing.Size(331, 20); this.UserPassTextEdit.StyleController = this.dataLayoutControlMain; this.UserPassTextEdit.TabIndex = 1; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Must Enter All Needed Fields"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProviderEditor.SetValidationRule(this.UserPassTextEdit, conditionValidationRule2); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlGroup2}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(410, 154); this.layoutControlGroup1.Text = "Root"; // // layoutControlGroup2 // this.layoutControlGroup2.AllowDrawBackground = false; this.layoutControlGroup2.CustomizationFormText = "autoGeneratedGroup0"; this.layoutControlGroup2.GroupBordersVisible = false; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.ItemForUserName, this.layoutControlItemCancel, this.layoutControlItemSave, this.emptySpaceItem1, this.ItemForUserPass}); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup2.Name = "autoGeneratedGroup0"; this.layoutControlGroup2.Size = new System.Drawing.Size(390, 134); this.layoutControlGroup2.Text = "autoGeneratedGroup0"; // // ItemForUserName // this.ItemForUserName.Control = this.UserNameTextEdit; this.ItemForUserName.CustomizationFormText = "User Name"; this.ItemForUserName.Location = new System.Drawing.Point(0, 0); this.ItemForUserName.Name = "ItemForUserName"; this.ItemForUserName.Size = new System.Drawing.Size(390, 24); this.ItemForUserName.Text = "User Name"; this.ItemForUserName.TextSize = new System.Drawing.Size(52, 13); // // layoutControlItemCancel // this.layoutControlItemCancel.Control = this.btnCancel; this.layoutControlItemCancel.CustomizationFormText = "layoutControlItemCancel"; this.layoutControlItemCancel.Location = new System.Drawing.Point(248, 108); this.layoutControlItemCancel.Name = "layoutControlItemCancel"; this.layoutControlItemCancel.Size = new System.Drawing.Size(142, 26); this.layoutControlItemCancel.Text = "layoutControlItemCancel"; this.layoutControlItemCancel.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItemCancel.TextToControlDistance = 0; this.layoutControlItemCancel.TextVisible = false; // // layoutControlItemSave // this.layoutControlItemSave.Control = this.btnSave; this.layoutControlItemSave.CustomizationFormText = "layoutControlItemSave"; this.layoutControlItemSave.Location = new System.Drawing.Point(0, 108); this.layoutControlItemSave.Name = "layoutControlItemSave"; this.layoutControlItemSave.Size = new System.Drawing.Size(248, 26); this.layoutControlItemSave.Text = "layoutControlItemSave"; this.layoutControlItemSave.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItemSave.TextToControlDistance = 0; this.layoutControlItemSave.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItemLast"; this.emptySpaceItem1.Location = new System.Drawing.Point(0, 48); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(390, 60); this.emptySpaceItem1.Text = "empty Space Item Last"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // ItemForUserPass // this.ItemForUserPass.Control = this.UserPassTextEdit; this.ItemForUserPass.CustomizationFormText = "User Pass"; this.ItemForUserPass.Location = new System.Drawing.Point(0, 24); this.ItemForUserPass.Name = "ItemForUserPass"; this.ItemForUserPass.Size = new System.Drawing.Size(390, 24); this.ItemForUserPass.Text = "User Pass"; this.ItemForUserPass.TextSize = new System.Drawing.Size(52, 13); // // colGovName // this.colGovName.AppearanceCell.Options.UseTextOptions = true; this.colGovName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colGovName.AppearanceHeader.Options.UseTextOptions = true; this.colGovName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colGovName.Caption = "اسم المحافظة"; this.colGovName.FieldName = "GovName"; this.colGovName.Name = "colGovName"; this.colGovName.Visible = true; this.colGovName.VisibleIndex = 0; // // UserEditorWFrm // this.AcceptButton = this.btnSave; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(410, 154); this.Controls.Add(this.dataLayoutControlMain); this.Icon = global::GM.Properties.Resources.User; this.Name = "UserEditorWFrm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Editor"; this.Load += new System.EventHandler(this.Frm_Load); ((System.ComponentModel.ISupportInitialize)(this.dataLayoutControlMain)).EndInit(); this.dataLayoutControlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.UserNameTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.UserPassTextEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForUserName)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemCancel)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemSave)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ItemForUserPass)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProviderEditor)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.DataBindingSource)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.chkusing = new FAC.Login.Controls.CheckCtl(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(); this.txtName = new Ultra.FASControls.LabelTextBox(); this.spnOrder = new Ultra.FASControls.LblSpnEdt(); this.spnBatch = new Ultra.FASControls.LblSpnEdt(); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).BeginInit(); this.pnlMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).BeginInit(); this.pnlFill.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).BeginInit(); this.pnlBottom.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.chkusing.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spnOrder.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spnBatch.Properties)).BeginInit(); this.SuspendLayout(); // // btnClose // this.btnClose.Location = new System.Drawing.Point(455, 5); // // btnOK // this.btnOK.Location = new System.Drawing.Point(370, 6); this.btnOK.Click += new System.EventHandler(this.btnOK_Click); // // pnlMain // this.pnlMain.Size = new System.Drawing.Size(406, 139); // // pnlFill // this.pnlFill.Controls.Add(this.spnBatch); this.pnlFill.Controls.Add(this.spnOrder); this.pnlFill.Controls.Add(this.txtName); this.pnlFill.Controls.Add(this.chkusing); this.pnlFill.Size = new System.Drawing.Size(406, 93); // // pnlBottom // this.pnlBottom.Location = new System.Drawing.Point(0, 93); this.pnlBottom.Size = new System.Drawing.Size(406, 46); // // chkusing // this.chkusing.EditValue = true; this.chkusing.Location = new System.Drawing.Point(12, 66); this.chkusing.Name = "chkusing"; this.chkusing.Properties.Caption = "启用"; this.chkusing.Size = new System.Drawing.Size(75, 19); this.chkusing.TabIndex = 8; // // txtName // this.txtName.LabelText = "工序名称"; this.txtName.Location = new System.Drawing.Point(12, 12); this.txtName.Name = "txtName"; serializableAppearanceObject3.Options.UseTextOptions = true; serializableAppearanceObject3.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.txtName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "工序名称", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject3, "", null, null, true)}); this.txtName.Size = new System.Drawing.Size(374, 21); this.txtName.TabIndex = 9; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "必须填写"; this.dxValidationProvider1.SetValidationRule(this.txtName, conditionValidationRule3); // // spnOrder // this.spnOrder.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.spnOrder.LabelText = "序号"; this.spnOrder.Location = new System.Drawing.Point(12, 39); this.spnOrder.Name = "spnOrder"; serializableAppearanceObject2.Options.UseTextOptions = true; serializableAppearanceObject2.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.spnOrder.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "序号", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject2, "", null, null, true)}); this.spnOrder.Size = new System.Drawing.Size(186, 21); this.spnOrder.TabIndex = 11; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual; conditionValidationRule2.ErrorText = "不能小于0"; conditionValidationRule2.Value1 = 0; this.dxValidationProvider1.SetValidationRule(this.spnOrder, conditionValidationRule2); // // spnBatch // this.spnBatch.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.spnBatch.LabelText = "批号"; this.spnBatch.Location = new System.Drawing.Point(204, 40); this.spnBatch.Name = "spnBatch"; serializableAppearanceObject1.Options.UseTextOptions = true; serializableAppearanceObject1.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Near; this.spnBatch.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "批号", 50, true, true, true, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true)}); this.spnBatch.Size = new System.Drawing.Size(181, 21); this.spnBatch.TabIndex = 12; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual; conditionValidationRule1.ErrorText = "不能小于0"; conditionValidationRule1.Value1 = 0; this.dxValidationProvider1.SetValidationRule(this.spnBatch, conditionValidationRule1); // // EdtView // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(406, 139); this.Name = "EdtView"; this.Text = "工序信息"; this.Load += new System.EventHandler(this.EdtView_Load); ((System.ComponentModel.ISupportInitialize)(this.pnlMain)).EndInit(); this.pnlMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlFill)).EndInit(); this.pnlFill.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.pnlBottom)).EndInit(); this.pnlBottom.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.chkusing.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spnOrder.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spnBatch.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DataSales)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule4 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.gridLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colid2 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnama_grade = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView3 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colid1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnama_karyawan = new DevExpress.XtraGrid.Columns.GridColumn(); this.panelControl2 = new DevExpress.XtraEditors.PanelControl(); this.gridControl1 = new DevExpress.XtraGrid.GridControl(); this.SalesBS = new System.Windows.Forms.BindingSource(this.components); this.SalesXpCollection = new DevExpress.Xpo.XPCollection(this.components); this.SalesUOW = new DevExpress.Xpo.UnitOfWork(this.components); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colid = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnama_sales = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridColumn1 = new DevExpress.XtraGrid.Columns.GridColumn(); this.gridView2 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colid3 = new DevExpress.XtraGrid.Columns.GridColumn(); this.colnama_saleshead = new DevExpress.XtraGrid.Columns.GridColumn(); this.labelControl9 = new DevExpress.XtraEditors.LabelControl(); this.labelControl8 = new DevExpress.XtraEditors.LabelControl(); this.labelControl7 = new DevExpress.XtraEditors.LabelControl(); this.nama_sales = new DevExpress.XtraEditors.TextEdit(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.id = new DevExpress.XtraEditors.TextEdit(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.salesheadid = new DevExpress.XtraEditors.GridLookUpEdit(); this.SHXpCollection = new DevExpress.Xpo.XPCollection(this.components); this.karyawanid = new DevExpress.XtraEditors.GridLookUpEdit(); this.KaryawanXpCollection = new DevExpress.Xpo.XPCollection(this.components); this.salesgradeid = new DevExpress.XtraEditors.GridLookUpEdit(); this.SalesGradeXpCollection = new DevExpress.Xpo.XPCollection(this.components); this.panelControl1 = new DevExpress.XtraEditors.PanelControl(); this.Batal = new DevExpress.XtraEditors.SimpleButton(); this.Hapus = new DevExpress.XtraEditors.SimpleButton(); this.Edit = new DevExpress.XtraEditors.SimpleButton(); this.Simpan = new DevExpress.XtraEditors.SimpleButton(); this.Tambah = new DevExpress.XtraEditors.SimpleButton(); this.validator = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).BeginInit(); this.panelControl2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesBS)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesXpCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesUOW)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nama_sales.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.id.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.salesheadid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SHXpCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.karyawanid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.KaryawanXpCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.salesgradeid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesGradeXpCollection)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit(); this.panelControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.validator)).BeginInit(); this.SuspendLayout(); // // gridLookUpEdit1View // this.gridLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid2, this.colnama_grade }); this.gridLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridLookUpEdit1View.Name = "gridLookUpEdit1View"; this.gridLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridLookUpEdit1View.OptionsView.ShowAutoFilterRow = true; this.gridLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // colid2 // this.colid2.Caption = "ID"; this.colid2.FieldName = "id"; this.colid2.Name = "colid2"; this.colid2.Visible = true; this.colid2.VisibleIndex = 0; this.colid2.Width = 192; // // colnama_grade // this.colnama_grade.Caption = "Nama Grade"; this.colnama_grade.FieldName = "nama_grade"; this.colnama_grade.Name = "colnama_grade"; this.colnama_grade.Visible = true; this.colnama_grade.VisibleIndex = 1; this.colnama_grade.Width = 876; // // gridView3 // this.gridView3.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid1, this.colnama_karyawan }); this.gridView3.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView3.Name = "gridView3"; this.gridView3.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView3.OptionsView.ShowAutoFilterRow = true; this.gridView3.OptionsView.ShowGroupPanel = false; // // colid1 // this.colid1.Caption = "ID"; this.colid1.FieldName = "id"; this.colid1.Name = "colid1"; this.colid1.Visible = true; this.colid1.VisibleIndex = 0; this.colid1.Width = 344; // // colnama_karyawan // this.colnama_karyawan.Caption = "Nama Karyawan"; this.colnama_karyawan.FieldName = "nama_karyawan"; this.colnama_karyawan.Name = "colnama_karyawan"; this.colnama_karyawan.Visible = true; this.colnama_karyawan.VisibleIndex = 1; this.colnama_karyawan.Width = 724; // // panelControl2 // this.panelControl2.Controls.Add(this.gridControl1); this.panelControl2.Location = new System.Drawing.Point(455, 56); this.panelControl2.Name = "panelControl2"; this.panelControl2.Size = new System.Drawing.Size(403, 461); this.panelControl2.TabIndex = 27; // // gridControl1 // this.gridControl1.DataSource = this.SalesBS; this.gridControl1.Location = new System.Drawing.Point(2, 2); this.gridControl1.MainView = this.gridView1; this.gridControl1.Name = "gridControl1"; this.gridControl1.Size = new System.Drawing.Size(399, 457); this.gridControl1.TabIndex = 0; this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // SalesBS // this.SalesBS.DataSource = this.SalesXpCollection; // // SalesXpCollection // this.SalesXpCollection.DisplayableProperties = "id;nama_sales;createdAt;updatedAt;deletedAt;version;karyawanId;salesgradeId;sales" + "headId;ProspeksModelCollection"; this.SalesXpCollection.ObjectType = typeof(AutoDealer.DB.its_honda.SalesModel); this.SalesXpCollection.Session = this.SalesUOW; // // SalesUOW // this.SalesUOW.IsObjectModifiedOnNonPersistentPropertyChange = null; this.SalesUOW.TrackPropertiesModifications = false; // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid, this.colnama_sales, this.gridColumn1 }); this.gridView1.GridControl = this.gridControl1; this.gridView1.GroupCount = 1; this.gridView1.Name = "gridView1"; this.gridView1.OptionsBehavior.AllowAddRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.AllowDeleteRows = DevExpress.Utils.DefaultBoolean.False; this.gridView1.OptionsBehavior.Editable = false; this.gridView1.OptionsBehavior.ReadOnly = true; this.gridView1.OptionsDetail.EnableMasterViewMode = false; this.gridView1.OptionsView.ShowAutoFilterRow = true; this.gridView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] { new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.gridColumn1, DevExpress.Data.ColumnSortOrder.Ascending) }); // // colid // this.colid.Caption = "ID"; this.colid.FieldName = "id"; this.colid.Name = "colid"; this.colid.Visible = true; this.colid.VisibleIndex = 0; this.colid.Width = 99; // // colnama_sales // this.colnama_sales.Caption = "Nama Sales"; this.colnama_sales.FieldName = "nama_sales"; this.colnama_sales.Name = "colnama_sales"; this.colnama_sales.Visible = true; this.colnama_sales.VisibleIndex = 1; this.colnama_sales.Width = 282; // // gridColumn1 // this.gridColumn1.Caption = "Sales Head"; this.gridColumn1.FieldName = "salesheadId.nama_saleshead"; this.gridColumn1.Name = "gridColumn1"; this.gridColumn1.Visible = true; this.gridColumn1.VisibleIndex = 2; // // gridView2 // this.gridView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colid3, this.colnama_saleshead }); this.gridView2.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.gridView2.Name = "gridView2"; this.gridView2.OptionsSelection.EnableAppearanceFocusedCell = false; this.gridView2.OptionsView.ShowAutoFilterRow = true; this.gridView2.OptionsView.ShowGroupPanel = false; // // colid3 // this.colid3.Caption = "ID"; this.colid3.FieldName = "id"; this.colid3.Name = "colid3"; this.colid3.Visible = true; this.colid3.VisibleIndex = 0; this.colid3.Width = 154; // // colnama_saleshead // this.colnama_saleshead.Caption = "Nama Sales Head"; this.colnama_saleshead.FieldName = "nama_saleshead"; this.colnama_saleshead.Name = "colnama_saleshead"; this.colnama_saleshead.Visible = true; this.colnama_saleshead.VisibleIndex = 1; this.colnama_saleshead.Width = 914; // // labelControl9 // this.labelControl9.Location = new System.Drawing.Point(15, 72); this.labelControl9.Name = "labelControl9"; this.labelControl9.Size = new System.Drawing.Size(59, 13); this.labelControl9.TabIndex = 16; this.labelControl9.Text = "KaryawanID"; // // labelControl8 // this.labelControl8.Location = new System.Drawing.Point(15, 124); this.labelControl8.Name = "labelControl8"; this.labelControl8.Size = new System.Drawing.Size(53, 13); this.labelControl8.TabIndex = 14; this.labelControl8.Text = "Sales Head"; // // labelControl7 // this.labelControl7.Location = new System.Drawing.Point(15, 98); this.labelControl7.Name = "labelControl7"; this.labelControl7.Size = new System.Drawing.Size(57, 13); this.labelControl7.TabIndex = 12; this.labelControl7.Text = "Sales Grade"; // // nama_sales // this.nama_sales.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.SalesBS, "nama_sales", true)); this.nama_sales.Location = new System.Drawing.Point(126, 43); this.nama_sales.Name = "nama_sales"; this.nama_sales.Properties.Appearance.BackColor = System.Drawing.Color.MistyRose; this.nama_sales.Properties.Appearance.Options.UseBackColor = true; this.nama_sales.Size = new System.Drawing.Size(233, 20); this.nama_sales.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Harus di isi."; this.validator.SetValidationRule(this.nama_sales, conditionValidationRule1); // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(15, 46); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(55, 13); this.labelControl2.TabIndex = 2; this.labelControl2.Text = "Nama Sales"; // // id // this.id.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.SalesBS, "id", true)); this.id.Enabled = false; this.id.Location = new System.Drawing.Point(126, 17); this.id.Name = "id"; this.id.Properties.ReadOnly = true; this.id.Size = new System.Drawing.Size(120, 20); this.id.TabIndex = 1; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(15, 20); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(11, 13); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "ID"; // // salesheadid // this.salesheadid.Location = new System.Drawing.Point(126, 121); this.salesheadid.Name = "salesheadid"; this.salesheadid.Properties.Appearance.BackColor = System.Drawing.Color.MistyRose; this.salesheadid.Properties.Appearance.Options.UseBackColor = true; this.salesheadid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.salesheadid.Properties.DataSource = this.SHXpCollection; this.salesheadid.Properties.DisplayMember = "nama_saleshead"; this.salesheadid.Properties.NullText = ""; this.salesheadid.Properties.PopupFormMinSize = new System.Drawing.Size(500, 0); this.salesheadid.Properties.ValueMember = "id"; this.salesheadid.Properties.View = this.gridView2; this.salesheadid.Size = new System.Drawing.Size(219, 20); this.salesheadid.TabIndex = 15; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Harus di isi."; this.validator.SetValidationRule(this.salesheadid, conditionValidationRule2); // // SHXpCollection // this.SHXpCollection.DisplayableProperties = "id;nama_saleshead;createdAt;updatedAt;deletedAt;version;karyawanId;salesHeadGrade" + "Id;branchManagerId;ProspeksModelCollection"; this.SHXpCollection.ObjectType = typeof(AutoDealer.DB.its_honda.SalesheadsModel); this.SHXpCollection.Session = this.SalesUOW; // // karyawanid // this.karyawanid.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.SalesBS, "karyawanId", true)); this.karyawanid.Location = new System.Drawing.Point(126, 69); this.karyawanid.Name = "karyawanid"; this.karyawanid.Properties.Appearance.BackColor = System.Drawing.Color.MistyRose; this.karyawanid.Properties.Appearance.Options.UseBackColor = true; this.karyawanid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.karyawanid.Properties.DataSource = this.KaryawanXpCollection; this.karyawanid.Properties.DisplayMember = "nama_karyawan"; this.karyawanid.Properties.NullText = ""; this.karyawanid.Properties.PopupFormMinSize = new System.Drawing.Size(500, 0); this.karyawanid.Properties.ValueMember = "id"; this.karyawanid.Properties.View = this.gridView3; this.karyawanid.Size = new System.Drawing.Size(219, 20); this.karyawanid.TabIndex = 17; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Harus di isi."; this.validator.SetValidationRule(this.karyawanid, conditionValidationRule3); // // KaryawanXpCollection // this.KaryawanXpCollection.DisplayableProperties = resources.GetString("KaryawanXpCollection.DisplayableProperties"); this.KaryawanXpCollection.ObjectType = typeof(AutoDealer.DB.its_honda.KaryawansModel); this.KaryawanXpCollection.Session = this.SalesUOW; // // salesgradeid // this.salesgradeid.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.SalesBS, "salesgradeId", true)); this.salesgradeid.Location = new System.Drawing.Point(126, 95); this.salesgradeid.Name = "salesgradeid"; this.salesgradeid.Properties.Appearance.BackColor = System.Drawing.Color.MistyRose; this.salesgradeid.Properties.Appearance.Options.UseBackColor = true; this.salesgradeid.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.salesgradeid.Properties.DataSource = this.SalesGradeXpCollection; this.salesgradeid.Properties.DisplayMember = "nama_grade"; this.salesgradeid.Properties.NullText = ""; this.salesgradeid.Properties.PopupFormMinSize = new System.Drawing.Size(500, 0); this.salesgradeid.Properties.ValueMember = "id"; this.salesgradeid.Properties.View = this.gridLookUpEdit1View; this.salesgradeid.Size = new System.Drawing.Size(219, 20); this.salesgradeid.TabIndex = 13; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Harus di isi."; this.validator.SetValidationRule(this.salesgradeid, conditionValidationRule4); // // SalesGradeXpCollection // this.SalesGradeXpCollection.DisplayableProperties = "id;nama_grade;createdAt;updatedAt;deletedAt;version"; this.SalesGradeXpCollection.ObjectType = typeof(AutoDealer.DB.its_honda.SalesgradesModel); this.SalesGradeXpCollection.Session = this.SalesUOW; // // panelControl1 // this.panelControl1.Controls.Add(this.labelControl9); this.panelControl1.Controls.Add(this.labelControl8); this.panelControl1.Controls.Add(this.labelControl7); this.panelControl1.Controls.Add(this.nama_sales); this.panelControl1.Controls.Add(this.labelControl2); this.panelControl1.Controls.Add(this.id); this.panelControl1.Controls.Add(this.labelControl1); this.panelControl1.Controls.Add(this.salesgradeid); this.panelControl1.Controls.Add(this.salesheadid); this.panelControl1.Controls.Add(this.karyawanid); this.panelControl1.Location = new System.Drawing.Point(12, 56); this.panelControl1.Name = "panelControl1"; this.panelControl1.Size = new System.Drawing.Size(437, 461); this.panelControl1.TabIndex = 26; // // Batal // this.Batal.Enabled = false; this.Batal.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("Batal.ImageOptions.Image"))); this.Batal.Location = new System.Drawing.Point(246, 12); this.Batal.Name = "Batal"; this.Batal.Size = new System.Drawing.Size(111, 38); this.Batal.TabIndex = 27; this.Batal.Text = "Batal"; this.Batal.Click += new System.EventHandler(this.Batal_Click); // // Hapus // this.Hapus.Enabled = false; this.Hapus.ImageOptions.Image = global::AutoDealer.Properties.Resources.cancel_32x321; this.Hapus.Location = new System.Drawing.Point(480, 12); this.Hapus.Name = "Hapus"; this.Hapus.Size = new System.Drawing.Size(111, 38); this.Hapus.TabIndex = 26; this.Hapus.Text = "Hapus"; this.Hapus.Click += new System.EventHandler(this.Hapus_Click); // // Edit // this.Edit.Enabled = false; this.Edit.ImageOptions.Image = global::AutoDealer.Properties.Resources.editname_32x32; this.Edit.Location = new System.Drawing.Point(363, 12); this.Edit.Name = "Edit"; this.Edit.Size = new System.Drawing.Size(111, 38); this.Edit.TabIndex = 25; this.Edit.Text = "Edit"; this.Edit.Click += new System.EventHandler(this.Edit_Click); // // Simpan // this.Simpan.Enabled = false; this.Simpan.ImageOptions.Image = global::AutoDealer.Properties.Resources.apply_32x322; this.Simpan.Location = new System.Drawing.Point(129, 12); this.Simpan.Name = "Simpan"; this.Simpan.Size = new System.Drawing.Size(111, 38); this.Simpan.TabIndex = 24; this.Simpan.Text = "Simpan"; this.Simpan.Click += new System.EventHandler(this.Simpan_Click); // // Tambah // this.Tambah.ImageOptions.Image = global::AutoDealer.Properties.Resources.add_32x32; this.Tambah.Location = new System.Drawing.Point(12, 12); this.Tambah.Name = "Tambah"; this.Tambah.Size = new System.Drawing.Size(111, 38); this.Tambah.TabIndex = 23; this.Tambah.Text = "Tambah"; this.Tambah.Click += new System.EventHandler(this.Tambah_Click); // // DataSales // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(834, 489); this.Controls.Add(this.Batal); this.Controls.Add(this.panelControl2); this.Controls.Add(this.Hapus); this.Controls.Add(this.panelControl1); this.Controls.Add(this.Edit); this.Controls.Add(this.Tambah); this.Controls.Add(this.Simpan); this.Name = "DataSales"; this.Text = "DataSales"; this.Load += new System.EventHandler(this.DataSales_Load); ((System.ComponentModel.ISupportInitialize)(this.gridLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl2)).EndInit(); this.panelControl2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesBS)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesXpCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesUOW)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nama_sales.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.id.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.salesheadid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SHXpCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.karyawanid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.KaryawanXpCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.salesgradeid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.SalesGradeXpCollection)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit(); this.panelControl1.ResumeLayout(false); this.panelControl1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.validator)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.validateLbl = new DevExpress.XtraEditors.LabelControl(); this.saveBtn = new DevExpress.XtraEditors.SimpleButton(); this.closeBtn = new DevExpress.XtraEditors.SimpleButton(); this.nameTBox = new DevExpress.XtraEditors.TextEdit(); this.label1 = new System.Windows.Forms.Label(); this.stackerSettingValidationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.nameTBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.stackerSettingValidationProvider)).BeginInit(); this.SuspendLayout(); // // validateLbl // this.validateLbl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); this.validateLbl.Appearance.BackColor = System.Drawing.SystemColors.Info; this.validateLbl.Appearance.ForeColor = System.Drawing.Color.OrangeRed; this.validateLbl.Location = new System.Drawing.Point(12, 86); this.validateLbl.Name = "validateLbl"; this.validateLbl.Size = new System.Drawing.Size(263, 13); this.validateLbl.TabIndex = 63; this.validateLbl.Text = "*Для сохранения заполните все необходимые поля"; // // saveBtn // this.saveBtn.Location = new System.Drawing.Point(291, 81); this.saveBtn.Name = "saveBtn"; this.saveBtn.Size = new System.Drawing.Size(75, 23); this.saveBtn.TabIndex = 61; this.saveBtn.Text = "Сохранить"; this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click); // // closeBtn // this.closeBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.closeBtn.Location = new System.Drawing.Point(372, 81); this.closeBtn.Name = "closeBtn"; this.closeBtn.Size = new System.Drawing.Size(75, 23); this.closeBtn.TabIndex = 62; this.closeBtn.Text = "Отмена"; this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); // // nameTBox // this.nameTBox.Location = new System.Drawing.Point(107, 32); this.nameTBox.Name = "nameTBox"; this.nameTBox.Properties.Mask.IgnoreMaskBlank = false; this.nameTBox.Properties.Mask.ShowPlaceHolders = false; this.nameTBox.Size = new System.Drawing.Size(340, 20); this.nameTBox.TabIndex = 71; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Заполните поле наименование"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.stackerSettingValidationProvider.SetValidationRule(this.nameTBox, conditionValidationRule2); this.nameTBox.TextChanged += new System.EventHandler(this.nameTBox_TextChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(24, 35); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 13); this.label1.TabIndex = 72; this.label1.Text = "Наименование"; // // stackerSettingValidationProvider // this.stackerSettingValidationProvider.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; this.stackerSettingValidationProvider.ValidationFailed += new DevExpress.XtraEditors.DXErrorProvider.ValidationFailedEventHandler(this.stackerSettingValidationProvider_ValidationFailed); this.stackerSettingValidationProvider.ValidationSucceeded += new DevExpress.XtraEditors.DXErrorProvider.ValidationSucceededEventHandler(this.stackerSettingValidationProvider_ValidationSucceeded); // // SettingsStackerEditFm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.ClientSize = new System.Drawing.Size(459, 116); this.Controls.Add(this.nameTBox); this.Controls.Add(this.label1); this.Controls.Add(this.validateLbl); this.Controls.Add(this.saveBtn); this.Controls.Add(this.closeBtn); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SettingsStackerEditFm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Редактировать"; ((System.ComponentModel.ISupportInitialize)(this.nameTBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.stackerSettingValidationProvider)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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.XtraBars.Docking2010.WindowsUIButtonImageOptions windowsUIButtonImageOptions1 = new DevExpress.XtraBars.Docking2010.WindowsUIButtonImageOptions(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCiudad)); DevExpress.XtraBars.Docking2010.WindowsUIButtonImageOptions windowsUIButtonImageOptions2 = new DevExpress.XtraBars.Docking2010.WindowsUIButtonImageOptions(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.windowsUIButtonPanel2 = new DevExpress.XtraBars.Docking2010.WindowsUIButtonPanel(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.textEdit1 = new DevExpress.XtraEditors.TextEdit(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.alertControl1 = new DevExpress.XtraBars.Alerter.AlertControl(this.components); ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // windowsUIButtonPanel2 // this.windowsUIButtonPanel2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(30)))), ((int)(((byte)(40))))); this.windowsUIButtonPanel2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; windowsUIButtonImageOptions1.Image = ((System.Drawing.Image)(resources.GetObject("windowsUIButtonImageOptions1.Image"))); windowsUIButtonImageOptions2.Image = ((System.Drawing.Image)(resources.GetObject("windowsUIButtonImageOptions2.Image"))); this.windowsUIButtonPanel2.Buttons.AddRange(new DevExpress.XtraEditors.ButtonPanel.IBaseButton[] { new DevExpress.XtraBars.Docking2010.WindowsUIButton("Crear", true, windowsUIButtonImageOptions1, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, null, true, false, true, "Crear", -1, false), new DevExpress.XtraBars.Docking2010.WindowsUISeparator(), new DevExpress.XtraBars.Docking2010.WindowsUIButton("Salir", true, windowsUIButtonImageOptions2, DevExpress.XtraBars.Docking2010.ButtonStyle.PushButton, "", -1, true, null, true, false, true, "Salir", -1, false) }); this.windowsUIButtonPanel2.CausesValidation = true; this.windowsUIButtonPanel2.Dock = System.Windows.Forms.DockStyle.Bottom; this.windowsUIButtonPanel2.EnableImageTransparency = true; this.windowsUIButtonPanel2.ForeColor = System.Drawing.Color.White; this.windowsUIButtonPanel2.Location = new System.Drawing.Point(0, 162); this.windowsUIButtonPanel2.Name = "windowsUIButtonPanel2"; this.windowsUIButtonPanel2.Size = new System.Drawing.Size(258, 73); this.windowsUIButtonPanel2.TabIndex = 5; // // label1 // this.label1.AutoSize = true; this.label1.Font = new System.Drawing.Font("Times New Roman", 16.2F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.label1.Location = new System.Drawing.Point(-6, 23); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(216, 33); this.label1.TabIndex = 6; this.label1.Text = "NUEVA CIUDAD"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(12, 87); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(62, 17); this.label2.TabIndex = 7; this.label2.Text = "NOMBRE"; // // textEdit1 // this.textEdit1.Location = new System.Drawing.Point(15, 117); this.textEdit1.Name = "textEdit1"; this.textEdit1.Size = new System.Drawing.Size(230, 22); this.textEdit1.TabIndex = 8; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Campo vacio"; this.dxValidationProvider1.SetValidationRule(this.textEdit1, conditionValidationRule1); // // frmCiudad // this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(258, 235); this.Controls.Add(this.textEdit1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.Controls.Add(this.windowsUIButtonPanel2); this.Name = "frmCiudad"; this.Text = "frmCiudad"; ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(Login)); 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 conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule6 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); this.panel2 = new System.Windows.Forms.Panel(); this.newPassLabel = new DevExpress.XtraEditors.LabelControl(); this.currentPassLabel = new DevExpress.XtraEditors.LabelControl(); this.loginLabel = new DevExpress.XtraEditors.LabelControl(); this.pictureEdit1 = new DevExpress.XtraEditors.PictureEdit(); this.newPassBox = new DevExpress.XtraEditors.TextEdit(); this.passBox = new DevExpress.XtraEditors.TextEdit(); this.loginBox = new DevExpress.XtraEditors.TextEdit(); this.panel1 = new System.Windows.Forms.Panel(); this.loginButton = new DevExpress.XtraEditors.SimpleButton(); this.changePasswordControl = new DevExpress.XtraEditors.HyperlinkLabelControl(); this.dxValidationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.dxValidationUpdatePassword = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.poradniaDataSet = new StudentDatabase.PoradniaDataSet(); this.uzytkownikTableAdapter = new StudentDatabase.PoradniaDataSetTableAdapters.UZYTKOWNIKTableAdapter(); this.tyP_KONTATableAdapter = new StudentDatabase.PoradniaDataSetTableAdapters.TYP_KONTATableAdapter(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.newPassBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.passBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.loginBox.Properties)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationUpdatePassword)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.poradniaDataSet)).BeginInit(); this.SuspendLayout(); // // defaultLookAndFeel1 // this.defaultLookAndFeel1.LookAndFeel.SkinName = "Office 2013 Dark Gray"; // // panel2 // this.panel2.BackColor = System.Drawing.Color.Transparent; this.panel2.Controls.Add(this.newPassLabel); this.panel2.Controls.Add(this.currentPassLabel); this.panel2.Controls.Add(this.loginLabel); this.panel2.Controls.Add(this.pictureEdit1); this.panel2.Controls.Add(this.newPassBox); this.panel2.Controls.Add(this.passBox); this.panel2.Controls.Add(this.loginBox); this.panel2.Location = new System.Drawing.Point(0, 0); this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(285, 303); this.panel2.TabIndex = 1; // // newPassLabel // this.newPassLabel.Location = new System.Drawing.Point(113, 259); this.newPassLabel.Name = "newPassLabel"; this.newPassLabel.Size = new System.Drawing.Size(60, 13); this.newPassLabel.TabIndex = 12; this.newPassLabel.Text = "Nowe hasło:"; this.newPassLabel.Visible = false; // // currentPassLabel // this.currentPassLabel.Location = new System.Drawing.Point(125, 213); this.currentPassLabel.Name = "currentPassLabel"; this.currentPassLabel.Size = new System.Drawing.Size(31, 13); this.currentPassLabel.TabIndex = 11; this.currentPassLabel.Text = "Hasło:"; // // loginLabel // this.loginLabel.Location = new System.Drawing.Point(125, 168); this.loginLabel.Name = "loginLabel"; this.loginLabel.Size = new System.Drawing.Size(29, 13); this.loginLabel.TabIndex = 10; this.loginLabel.Text = "Login:"******"pictureEdit1.EditValue"))); this.pictureEdit1.Location = new System.Drawing.Point(97, 12); this.pictureEdit1.Name = "pictureEdit1"; this.pictureEdit1.Properties.Appearance.BackColor = System.Drawing.Color.Transparent; this.pictureEdit1.Properties.Appearance.Options.UseBackColor = true; this.pictureEdit1.Properties.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder; this.pictureEdit1.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto; this.pictureEdit1.Properties.SizeMode = DevExpress.XtraEditors.Controls.PictureSizeMode.Stretch; this.pictureEdit1.Properties.ZoomAccelerationFactor = 1D; this.pictureEdit1.Size = new System.Drawing.Size(92, 150); this.pictureEdit1.TabIndex = 9; // // newPassBox // this.newPassBox.Location = new System.Drawing.Point(42, 278); this.newPassBox.Name = "newPassBox"; this.newPassBox.Properties.PasswordChar = '*'; this.newPassBox.Properties.UseSystemPasswordChar = true; this.newPassBox.Size = new System.Drawing.Size(200, 20); this.newPassBox.TabIndex = 6; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "Pole nowe hasło nie może być puste"; this.dxValidationUpdatePassword.SetValidationRule(this.newPassBox, conditionValidationRule3); this.newPassBox.Visible = false; // // passBox // this.passBox.Location = new System.Drawing.Point(42, 232); this.passBox.Name = "passBox"; this.passBox.Properties.PasswordChar = '*'; this.passBox.Properties.UseSystemPasswordChar = true; this.passBox.Size = new System.Drawing.Size(200, 20); this.passBox.TabIndex = 2; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule4.ErrorText = "Pole stare hasło nie może być puste"; this.dxValidationUpdatePassword.SetValidationRule(this.passBox, conditionValidationRule4); conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule5.ErrorText = "Pole hasło nie może być puste"; this.dxValidationProvider.SetValidationRule(this.passBox, conditionValidationRule5); // // loginBox // this.loginBox.Location = new System.Drawing.Point(42, 187); this.loginBox.Name = "loginBox"; this.loginBox.Size = new System.Drawing.Size(200, 20); this.loginBox.TabIndex = 1; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Pole login nie może być puste"; this.dxValidationUpdatePassword.SetValidationRule(this.loginBox, conditionValidationRule1); conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule6.ErrorText = "Pole login nie może być puste!"; this.dxValidationProvider.SetValidationRule(this.loginBox, conditionValidationRule6); // // panel1 // this.panel1.BackColor = System.Drawing.SystemColors.ActiveBorder; this.panel1.Controls.Add(this.loginButton); this.panel1.Controls.Add(this.changePasswordControl); this.panel1.Location = new System.Drawing.Point(0, 304); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(285, 55); this.panel1.TabIndex = 0; // // loginButton // this.loginButton.Location = new System.Drawing.Point(42, 5); this.loginButton.Name = "loginButton"; this.loginButton.Size = new System.Drawing.Size(200, 23); this.loginButton.TabIndex = 5; this.loginButton.Text = "Zaloguj się"; this.loginButton.Click += new System.EventHandler(this.loginButton_Click); // // changePasswordControl // this.changePasswordControl.Cursor = System.Windows.Forms.Cursors.Hand; this.changePasswordControl.Location = new System.Drawing.Point(116, 34); this.changePasswordControl.Name = "changePasswordControl"; this.changePasswordControl.Size = new System.Drawing.Size(57, 13); this.changePasswordControl.TabIndex = 4; this.changePasswordControl.Text = "Zmień hasło"; this.changePasswordControl.Click += new System.EventHandler(this.changePasswordControl_Click); // // poradniaDataSet // this.poradniaDataSet.DataSetName = "PoradniaDataSet"; this.poradniaDataSet.Locale = new System.Globalization.CultureInfo("pl"); this.poradniaDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // uzytkownikTableAdapter // this.uzytkownikTableAdapter.ClearBeforeFill = true; // // tyP_KONTATableAdapter // this.tyP_KONTATableAdapter.ClearBeforeFill = true; // // Login // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(284, 358); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.FormBorderEffect = DevExpress.XtraEditors.FormBorderEffect.Shadow; this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "Login"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "Logowanie"; this.Load += new System.EventHandler(this.Login_Load); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.newPassBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.passBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.loginBox.Properties)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationUpdatePassword)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.poradniaDataSet)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.layoutMain = new DevExpress.XtraLayout.LayoutControl(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.ddlEmployee = new DevExpress.XtraEditors.LookUpEdit(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.txtOnDate = new DevExpress.XtraEditors.DateEdit(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.txtDistance = new DevExpress.XtraEditors.SpinEdit(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutMain)).BeginInit(); this.layoutMain.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ddlEmployee.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDistance.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); this.SuspendLayout(); // // layoutMain // this.layoutMain.Controls.Add(this.txtDistance); this.layoutMain.Controls.Add(this.txtOnDate); this.layoutMain.Controls.Add(this.ddlEmployee); this.layoutMain.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutMain.Location = new System.Drawing.Point(0, 0); this.layoutMain.Name = "layoutMain"; this.layoutMain.Root = this.layoutControlGroup1; this.layoutMain.Size = new System.Drawing.Size(384, 93); this.layoutMain.TabIndex = 1; this.layoutMain.Text = "layoutControl2"; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.OptionsItemText.TextToControlDistance = 10; this.layoutControlGroup1.Size = new System.Drawing.Size(384, 93); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // ddlEmployee // this.ddlEmployee.Location = new System.Drawing.Point(107, 12); this.ddlEmployee.Name = "ddlEmployee"; this.ddlEmployee.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ddlEmployee.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("DisplayName", "Name1")}); this.ddlEmployee.Properties.DisplayMember = "DisplayName"; this.ddlEmployee.Properties.NullText = "Оберіть землеупорядника"; this.ddlEmployee.Properties.ShowFooter = false; this.ddlEmployee.Properties.ShowHeader = false; this.ddlEmployee.Properties.ValueMember = "ID"; this.ddlEmployee.Size = new System.Drawing.Size(265, 20); this.ddlEmployee.StyleController = this.layoutMain; this.ddlEmployee.TabIndex = 4; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Оберіть землеупорядника"; this.validationProvider.SetValidationRule(this.ddlEmployee, conditionValidationRule2); // // layoutControlItem1 // this.layoutControlItem1.Control = this.ddlEmployee; this.layoutControlItem1.CustomizationFormText = "Землеупорядник"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(364, 24); this.layoutControlItem1.Text = "Землеупорядник"; this.layoutControlItem1.TextSize = new System.Drawing.Size(85, 13); // // txtOnDate // this.txtOnDate.EditValue = null; this.txtOnDate.Location = new System.Drawing.Point(107, 36); this.txtOnDate.Name = "txtOnDate"; this.txtOnDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.txtOnDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtOnDate.Size = new System.Drawing.Size(265, 20); this.txtOnDate.StyleController = this.layoutMain; this.txtOnDate.TabIndex = 5; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Вкажіть дату"; this.validationProvider.SetValidationRule(this.txtOnDate, conditionValidationRule1); // // layoutControlItem2 // this.layoutControlItem2.Control = this.txtOnDate; this.layoutControlItem2.CustomizationFormText = "Дата"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(364, 24); this.layoutControlItem2.Text = "Дата"; this.layoutControlItem2.TextSize = new System.Drawing.Size(85, 13); // // txtDistance // this.txtDistance.EditValue = new decimal(new int[] { 0, 0, 0, 0}); this.txtDistance.Location = new System.Drawing.Point(107, 60); this.txtDistance.Name = "txtDistance"; this.txtDistance.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.txtDistance.Properties.IsFloatValue = false; this.txtDistance.Properties.Mask.EditMask = "d"; this.txtDistance.Size = new System.Drawing.Size(265, 20); this.txtDistance.StyleController = this.layoutMain; this.txtDistance.TabIndex = 6; // // layoutControlItem3 // this.layoutControlItem3.Control = this.txtDistance; this.layoutControlItem3.CustomizationFormText = "Дистанція, км"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 48); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(364, 25); this.layoutControlItem3.Text = "Дистанція, км"; this.layoutControlItem3.TextSize = new System.Drawing.Size(85, 13); // // frmExpenseEdit // this.ClientSize = new System.Drawing.Size(384, 129); this.Controls.Add(this.layoutMain); this.Name = "frmExpenseEdit"; this.Text = "Реєстрація витрат"; this.Controls.SetChildIndex(this.layoutMain, 0); ((System.ComponentModel.ISupportInitialize)(this.validationProvider)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutMain)).EndInit(); this.layoutMain.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ddlEmployee.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtOnDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDistance.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(CustomAppointmentForm)); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.luePTN = new DevExpress.XtraEditors.SearchLookUpEdit(); this.searchLookUpEdit1View = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colPID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colPNM = new DevExpress.XtraGrid.Columns.GridColumn(); this.colADR = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnPTN = new DevExpress.XtraEditors.SimpleButton(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.dxVP = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.chkAllDay.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtStartDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtStartDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtEndDate.Properties.CalendarTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtEndDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtStartTime.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtEndTime.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtLabel.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtShowTimeAs.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbSubject.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtResource.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtResources.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.edtResources.ResourcesCheckedListBoxControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.chkReminder.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbDescription.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cbReminder.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbLocation.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.panel1)).BeginInit(); this.panel1.SuspendLayout(); this.progressPanel.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbProgress)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbProgress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.luePTN.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxVP)).BeginInit(); this.SuspendLayout(); // // lblLabel // this.lblLabel.Appearance.BackColor = System.Drawing.Color.Transparent; // // chkAllDay // // // edtStartDate // this.edtStartDate.EditValue = new System.DateTime(2005, 3, 31, 0, 0, 0, 0); // // edtEndDate // this.edtEndDate.EditValue = new System.DateTime(2005, 3, 31, 0, 0, 0, 0); // // edtStartTime // this.edtStartTime.EditValue = new System.DateTime(2005, 3, 31, 0, 0, 0, 0); this.edtStartTime.Properties.Mask.EditMask = "t"; // // edtEndTime // this.edtEndTime.EditValue = new System.DateTime(2005, 3, 31, 0, 0, 0, 0); this.edtEndTime.Properties.Mask.EditMask = "t"; // // edtLabel // // // edtShowTimeAs // // // tbSubject // // // edtResource // // // edtResources // // // // this.edtResources.ResourcesCheckedListBoxControl.CheckOnClick = true; this.edtResources.ResourcesCheckedListBoxControl.Dock = System.Windows.Forms.DockStyle.Fill; this.edtResources.ResourcesCheckedListBoxControl.Location = new System.Drawing.Point(0, 0); this.edtResources.ResourcesCheckedListBoxControl.Name = ""; this.edtResources.ResourcesCheckedListBoxControl.Size = new System.Drawing.Size(200, 100); this.edtResources.ResourcesCheckedListBoxControl.TabIndex = 0; // // chkReminder // // // tbDescription // this.tbDescription.Location = new System.Drawing.Point(16, 263); this.tbDescription.Size = new System.Drawing.Size(496, 76); // // cbReminder // // // tbLocation // // // tbProgress // this.tbProgress.Properties.LabelAppearance.Options.UseTextOptions = true; this.tbProgress.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; // // lblPercentComplete // this.lblPercentComplete.Appearance.BackColor = System.Drawing.Color.Transparent; // // lblPercentCompleteValue // this.lblPercentCompleteValue.Appearance.BackColor = System.Drawing.Color.Transparent; // // luePTN // this.luePTN.Location = new System.Drawing.Point(96, 207); this.luePTN.Name = "luePTN"; this.luePTN.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo), new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "New", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("luePTN.Properties.Buttons"))), new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, "", null, null, true) }); this.luePTN.Properties.NullText = "[Select Patient]"; this.luePTN.Properties.View = this.searchLookUpEdit1View; this.luePTN.Size = new System.Drawing.Size(216, 22); this.luePTN.TabIndex = 29; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Please enter Patient Name"; this.dxVP.SetValidationRule(this.luePTN, conditionValidationRule1); this.luePTN.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.luePTN_ButtonClick); this.luePTN.EditValueChanged += new System.EventHandler(this.luePTN_EditValueChanged); // // searchLookUpEdit1View // this.searchLookUpEdit1View.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colPID, this.colPNM, this.colADR }); this.searchLookUpEdit1View.FocusRectStyle = DevExpress.XtraGrid.Views.Grid.DrawFocusRectStyle.RowFocus; this.searchLookUpEdit1View.Name = "searchLookUpEdit1View"; this.searchLookUpEdit1View.OptionsSelection.EnableAppearanceFocusedCell = false; this.searchLookUpEdit1View.OptionsView.ShowGroupPanel = false; // // colPID // this.colPID.Caption = "Patient ID"; this.colPID.FieldName = "ID"; this.colPID.Name = "colPID"; this.colPID.OptionsColumn.AllowEdit = false; this.colPID.OptionsColumn.AllowFocus = false; this.colPID.OptionsColumn.ReadOnly = true; this.colPID.Visible = true; this.colPID.VisibleIndex = 0; this.colPID.Width = 190; // // colPNM // this.colPNM.Caption = "Name"; this.colPNM.FieldName = "PatientName"; this.colPNM.Name = "colPNM"; this.colPNM.OptionsColumn.AllowEdit = false; this.colPNM.OptionsColumn.AllowFocus = false; this.colPNM.OptionsColumn.ReadOnly = true; this.colPNM.Visible = true; this.colPNM.VisibleIndex = 1; this.colPNM.Width = 443; // // colADR // this.colADR.Caption = "Address"; this.colADR.FieldName = "Address"; this.colADR.Name = "colADR"; this.colADR.OptionsColumn.AllowEdit = false; this.colADR.OptionsColumn.AllowFocus = false; this.colADR.OptionsColumn.ReadOnly = true; this.colADR.Visible = true; this.colADR.VisibleIndex = 2; this.colADR.Width = 445; // // btnPTN // this.btnPTN.Location = new System.Drawing.Point(367, 348); this.btnPTN.Name = "btnPTN"; this.btnPTN.Size = new System.Drawing.Size(75, 23); this.btnPTN.TabIndex = 30; this.btnPTN.Text = "Patient Data"; this.btnPTN.Click += new System.EventHandler(this.btnPTN_Click); // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(16, 210); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(68, 13); this.labelControl1.TabIndex = 31; this.labelControl1.Text = "Patient Name:"; // // CustomAppointmentForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(528, 382); this.Controls.Add(this.labelControl1); this.Controls.Add(this.btnPTN); this.Controls.Add(this.luePTN); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimumSize = new System.Drawing.Size(518, 307); this.Name = "CustomAppointmentForm"; this.Controls.SetChildIndex(this.edtShowTimeAs, 0); this.Controls.SetChildIndex(this.edtEndTime, 0); this.Controls.SetChildIndex(this.edtEndDate, 0); this.Controls.SetChildIndex(this.btnRecurrence, 0); this.Controls.SetChildIndex(this.btnDelete, 0); this.Controls.SetChildIndex(this.btnCancel, 0); this.Controls.SetChildIndex(this.lblShowTimeAs, 0); this.Controls.SetChildIndex(this.lblEndTime, 0); this.Controls.SetChildIndex(this.tbLocation, 0); this.Controls.SetChildIndex(this.lblSubject, 0); this.Controls.SetChildIndex(this.lblLocation, 0); this.Controls.SetChildIndex(this.tbSubject, 0); this.Controls.SetChildIndex(this.lblStartTime, 0); this.Controls.SetChildIndex(this.btnOk, 0); this.Controls.SetChildIndex(this.edtStartDate, 0); this.Controls.SetChildIndex(this.edtStartTime, 0); this.Controls.SetChildIndex(this.panel1, 0); this.Controls.SetChildIndex(this.progressPanel, 0); this.Controls.SetChildIndex(this.tbDescription, 0); this.Controls.SetChildIndex(this.luePTN, 0); this.Controls.SetChildIndex(this.btnPTN, 0); this.Controls.SetChildIndex(this.labelControl1, 0); ((System.ComponentModel.ISupportInitialize)(this.chkAllDay.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtStartDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtStartDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtEndDate.Properties.CalendarTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtEndDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtStartTime.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtEndTime.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtLabel.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtShowTimeAs.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbSubject.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtResource.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtResources.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.edtResources.ResourcesCheckedListBoxControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.chkReminder.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbDescription.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cbReminder.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbLocation.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.panel1)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.progressPanel.ResumeLayout(false); this.progressPanel.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbProgress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbProgress)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.luePTN.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.searchLookUpEdit1View)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxVP)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SpecialSparepartEditorForm)); this.gcSparepartInfo = new DevExpress.XtraEditors.GroupControl(); this.lookUpCategory = new DevExpress.XtraEditors.LookUpEdit(); this.lookUpSparepart = new DevExpress.XtraEditors.LookUpEdit(); this.lblCodeValue = new DevExpress.XtraEditors.LabelControl(); this.lblUnitValue = new DevExpress.XtraEditors.LabelControl(); this.lblUnit = new DevExpress.XtraEditors.LabelControl(); this.lblCode = new DevExpress.XtraEditors.LabelControl(); this.lblSparepart = new DevExpress.XtraEditors.LabelControl(); this.lblCategory = new DevExpress.XtraEditors.LabelControl(); this.valSparepart = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.gcSparepartInfo)).BeginInit(); this.gcSparepartInfo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.lookUpCategory.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpSparepart.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.valSparepart)).BeginInit(); this.SuspendLayout(); // // gcSparepartInfo // this.gcSparepartInfo.Controls.Add(this.lookUpCategory); this.gcSparepartInfo.Controls.Add(this.lookUpSparepart); this.gcSparepartInfo.Controls.Add(this.lblCodeValue); this.gcSparepartInfo.Controls.Add(this.lblUnitValue); this.gcSparepartInfo.Controls.Add(this.lblUnit); this.gcSparepartInfo.Controls.Add(this.lblCode); this.gcSparepartInfo.Controls.Add(this.lblSparepart); this.gcSparepartInfo.Controls.Add(this.lblCategory); this.gcSparepartInfo.Dock = System.Windows.Forms.DockStyle.Fill; this.gcSparepartInfo.Location = new System.Drawing.Point(0, 0); this.gcSparepartInfo.Name = "gcSparepartInfo"; this.gcSparepartInfo.Size = new System.Drawing.Size(316, 149); this.gcSparepartInfo.TabIndex = 2; this.gcSparepartInfo.Text = "Informasi Sparepart Spesial"; // // lookUpCategory // this.lookUpCategory.Location = new System.Drawing.Point(113, 59); this.lookUpCategory.Name = "lookUpCategory"; this.lookUpCategory.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.lookUpCategory.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.lookUpCategory.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Sparepart"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Code", "Kode") }); this.lookUpCategory.Properties.DisplayMember = "Name"; this.lookUpCategory.Properties.HideSelection = false; this.lookUpCategory.Properties.NullText = "-- Pilih Kategori --"; this.lookUpCategory.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.lookUpCategory.Properties.ValueMember = "Id"; this.lookUpCategory.Size = new System.Drawing.Size(186, 20); this.lookUpCategory.TabIndex = 13; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Sparepart harus dipilih!"; this.valSparepart.SetValidationRule(this.lookUpCategory, conditionValidationRule1); // // lookUpSparepart // this.lookUpSparepart.Location = new System.Drawing.Point(113, 29); this.lookUpSparepart.Name = "lookUpSparepart"; this.lookUpSparepart.Properties.BestFitMode = DevExpress.XtraEditors.Controls.BestFitMode.BestFitResizePopup; this.lookUpSparepart.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.lookUpSparepart.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Sparepart"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Code", "Kode") }); this.lookUpSparepart.Properties.DisplayMember = "Name"; this.lookUpSparepart.Properties.HideSelection = false; this.lookUpSparepart.Properties.NullText = "-- Pilih Sparepart --"; this.lookUpSparepart.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.lookUpSparepart.Properties.ValueMember = "Id"; this.lookUpSparepart.Size = new System.Drawing.Size(186, 20); this.lookUpSparepart.TabIndex = 12; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Sparepart harus dipilih!"; this.valSparepart.SetValidationRule(this.lookUpSparepart, conditionValidationRule2); this.lookUpSparepart.EditValueChanged += new System.EventHandler(this.lookUpSparepart_EditValueChanged); // // lblCodeValue // this.lblCodeValue.Location = new System.Drawing.Point(113, 92); this.lblCodeValue.Name = "lblCodeValue"; this.lblCodeValue.Size = new System.Drawing.Size(8, 13); this.lblCodeValue.TabIndex = 11; this.lblCodeValue.Text = "--"; // // lblUnitValue // this.lblUnitValue.Location = new System.Drawing.Point(113, 122); this.lblUnitValue.Name = "lblUnitValue"; this.lblUnitValue.Size = new System.Drawing.Size(8, 13); this.lblUnitValue.TabIndex = 10; this.lblUnitValue.Text = "--"; // // lblUnit // this.lblUnit.Location = new System.Drawing.Point(13, 122); this.lblUnit.Name = "lblUnit"; this.lblUnit.Size = new System.Drawing.Size(57, 13); this.lblUnit.TabIndex = 8; this.lblUnit.Text = "Unit/Satuan"; // // lblCode // this.lblCode.Location = new System.Drawing.Point(13, 92); this.lblCode.Name = "lblCode"; this.lblCode.Size = new System.Drawing.Size(24, 13); this.lblCode.TabIndex = 6; this.lblCode.Text = "Kode"; // // lblSparepart // this.lblSparepart.Location = new System.Drawing.Point(13, 32); this.lblSparepart.Name = "lblSparepart"; this.lblSparepart.Size = new System.Drawing.Size(48, 13); this.lblSparepart.TabIndex = 4; this.lblSparepart.Text = "Sparepart"; // // lblCategory // this.lblCategory.Location = new System.Drawing.Point(13, 62); this.lblCategory.Name = "lblCategory"; this.lblCategory.Size = new System.Drawing.Size(40, 13); this.lblCategory.TabIndex = 2; this.lblCategory.Text = "Kategori"; // // valSparepart // this.valSparepart.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Manual; // // SpecialSparepartEditorForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(316, 198); this.Controls.Add(this.gcSparepartInfo); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "SpecialSparepartEditorForm"; this.Text = "Sparepart Spesial Editor"; this.Controls.SetChildIndex(this.gcSparepartInfo, 0); ((System.ComponentModel.ISupportInitialize)(this.gcSparepartInfo)).EndInit(); this.gcSparepartInfo.ResumeLayout(false); this.gcSparepartInfo.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.lookUpCategory.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lookUpSparepart.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.valSparepart)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule3 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.dSFellowship = new Fellowship.DataSources.DSFellowship(); this.tbMNAME = new DevExpress.XtraEditors.TextEdit(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.btnClose = new DevExpress.XtraEditors.SimpleButton(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.tbmembernid = new DevExpress.XtraEditors.TextEdit(); this.tbaddress = new DevExpress.XtraEditors.TextEdit(); this.tbMobile = new DevExpress.XtraEditors.TextEdit(); this.lueschoolcode = new DevExpress.XtraEditors.LookUpEdit(); this.schoolBindingSource = new System.Windows.Forms.BindingSource(this.components); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); 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.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.dxvp = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.schoolTableAdapter = new Fellowship.DataSources.DSFellowshipTableAdapters.schoolTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.dSFellowship)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMNAME.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tbmembernid.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbaddress.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMobile.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lueschoolcode.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.schoolBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).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.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxvp)).BeginInit(); this.SuspendLayout(); // // dSFellowship // this.dSFellowship.DataSetName = "DSFellowship"; this.dSFellowship.Locale = new System.Globalization.CultureInfo("en-US"); this.dSFellowship.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // tbMNAME // this.tbMNAME.EditValue = ""; this.tbMNAME.Location = new System.Drawing.Point(12, 12); this.tbMNAME.Name = "tbMNAME"; this.tbMNAME.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.tbMNAME.Properties.Appearance.Options.UseFont = true; this.tbMNAME.Size = new System.Drawing.Size(404, 26); this.tbMNAME.StyleController = this.layoutControl1; this.tbMNAME.TabIndex = 1; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "This value is not valid"; this.dxvp.SetValidationRule(this.tbMNAME, conditionValidationRule3); // // layoutControl1 // this.layoutControl1.Controls.Add(this.btnClose); this.layoutControl1.Controls.Add(this.btnSave); this.layoutControl1.Controls.Add(this.tbmembernid); this.layoutControl1.Controls.Add(this.tbMNAME); this.layoutControl1.Controls.Add(this.tbaddress); this.layoutControl1.Controls.Add(this.tbMobile); this.layoutControl1.Controls.Add(this.lueschoolcode); this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.layoutControl1.Location = new System.Drawing.Point(0, 0); this.layoutControl1.Name = "layoutControl1"; this.layoutControl1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(492, 213); this.layoutControl1.TabIndex = 2; this.layoutControl1.Text = "layoutControl1"; // // btnClose // this.btnClose.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.btnClose.Image = global::Fellowship.Properties.Resources.Delete; this.btnClose.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleRight; this.btnClose.Location = new System.Drawing.Point(12, 156); this.btnClose.Name = "btnClose"; this.btnClose.Size = new System.Drawing.Size(143, 38); this.btnClose.StyleController = this.layoutControl1; this.btnClose.TabIndex = 1; this.btnClose.Text = "اغلاق"; this.btnClose.Click += new System.EventHandler(this.btnClose_Click); // // btnSave // this.btnSave.Image = global::Fellowship.Properties.Resources.Save; this.btnSave.ImageLocation = DevExpress.XtraEditors.ImageLocation.MiddleRight; this.btnSave.Location = new System.Drawing.Point(159, 156); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(321, 38); this.btnSave.StyleController = this.layoutControl1; this.btnSave.TabIndex = 0; this.btnSave.Text = "حفـــــــــــــــــــــــــظ"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // tbmembernid // this.tbmembernid.Location = new System.Drawing.Point(12, 72); this.tbmembernid.Name = "tbmembernid"; this.tbmembernid.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.tbmembernid.Properties.Appearance.Options.UseFont = true; this.tbmembernid.Size = new System.Drawing.Size(404, 26); this.tbmembernid.StyleController = this.layoutControl1; this.tbmembernid.TabIndex = 4; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxvp.SetValidationRule(this.tbmembernid, conditionValidationRule1); // // tbaddress // this.tbaddress.Location = new System.Drawing.Point(12, 132); this.tbaddress.Name = "tbaddress"; this.tbaddress.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.tbaddress.Properties.Appearance.Options.UseFont = true; this.tbaddress.Size = new System.Drawing.Size(404, 26); this.tbaddress.StyleController = this.layoutControl1; this.tbaddress.TabIndex = 9; // // tbMobile // this.tbMobile.Location = new System.Drawing.Point(12, 102); this.tbMobile.Name = "tbMobile"; this.tbMobile.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.tbMobile.Properties.Appearance.Options.UseFont = true; this.tbMobile.Size = new System.Drawing.Size(404, 26); this.tbMobile.StyleController = this.layoutControl1; this.tbMobile.TabIndex = 8; // // lueschoolcode // this.lueschoolcode.Location = new System.Drawing.Point(12, 42); this.lueschoolcode.Name = "lueschoolcode"; this.lueschoolcode.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F); this.lueschoolcode.Properties.Appearance.Options.UseFont = true; this.lueschoolcode.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lueschoolcode.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("School", "الاسم", 57, DevExpress.Utils.FormatType.None, "", true, DevExpress.Utils.HorzAlignment.Near)}); this.lueschoolcode.Properties.DataSource = this.schoolBindingSource; this.lueschoolcode.Properties.DisplayMember = "School"; this.lueschoolcode.Properties.NullText = ""; this.lueschoolcode.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard; this.lueschoolcode.Properties.ValueMember = "schoolcode"; this.lueschoolcode.Size = new System.Drawing.Size(404, 26); this.lueschoolcode.StyleController = this.layoutControl1; this.lueschoolcode.TabIndex = 6; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "This value is not valid"; this.dxvp.SetValidationRule(this.lueschoolcode, conditionValidationRule2); // // schoolBindingSource // this.schoolBindingSource.DataMember = "school"; this.schoolBindingSource.DataSource = this.dSFellowship; // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem6, this.layoutControlItem7}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "layoutControlGroup1"; this.layoutControlGroup1.Size = new System.Drawing.Size(492, 213); this.layoutControlGroup1.Text = "layoutControlGroup1"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem1.Control = this.tbMNAME; this.layoutControlItem1.CustomizationFormText = "الاسم"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(472, 30); this.layoutControlItem1.Text = "الاسم"; this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem1.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem2 // this.layoutControlItem2.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem2.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem2.Control = this.tbMobile; this.layoutControlItem2.CustomizationFormText = "الموبيل"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 90); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(472, 30); this.layoutControlItem2.Text = "الموبيل"; this.layoutControlItem2.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem2.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem3 // this.layoutControlItem3.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem3.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem3.Control = this.tbaddress; this.layoutControlItem3.CustomizationFormText = "العنوان"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 120); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(472, 24); this.layoutControlItem3.Text = "العنوان"; this.layoutControlItem3.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem3.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem4 // this.layoutControlItem4.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem4.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem4.Control = this.lueschoolcode; this.layoutControlItem4.CustomizationFormText = "المدرسة"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 30); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(472, 30); this.layoutControlItem4.Text = "المدرسة"; this.layoutControlItem4.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem4.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem5 // this.layoutControlItem5.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem5.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem5.Control = this.tbmembernid; this.layoutControlItem5.CustomizationFormText = "الرقم القومي"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 60); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(472, 30); this.layoutControlItem5.Text = "الرقم القومي"; this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem5.TextSize = new System.Drawing.Size(61, 13); // // layoutControlItem6 // this.layoutControlItem6.Control = this.btnSave; this.layoutControlItem6.CustomizationFormText = "layoutControlItem6"; this.layoutControlItem6.Location = new System.Drawing.Point(147, 144); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(325, 49); this.layoutControlItem6.Text = "layoutControlItem6"; this.layoutControlItem6.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem6.TextToControlDistance = 0; this.layoutControlItem6.TextVisible = false; // // layoutControlItem7 // this.layoutControlItem7.Control = this.btnClose; this.layoutControlItem7.CustomizationFormText = "layoutControlItem7"; this.layoutControlItem7.Location = new System.Drawing.Point(0, 144); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(147, 49); this.layoutControlItem7.Text = "layoutControlItem7"; this.layoutControlItem7.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem7.TextToControlDistance = 0; this.layoutControlItem7.TextVisible = false; // // schoolTableAdapter // this.schoolTableAdapter.ClearBeforeFill = true; // // tblmembersp_schoolsWFrm // this.AcceptButton = this.btnSave; this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.CancelButton = this.btnClose; this.ClientSize = new System.Drawing.Size(492, 213); this.Controls.Add(this.layoutControl1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow; this.MaximizeBox = false; this.Name = "tblmembersp_schoolsWFrm"; this.ShowIcon = false; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "تحرير"; this.Load += new System.EventHandler(this.TBLSheekWaredWFrm_Load); ((System.ComponentModel.ISupportInitialize)(this.dSFellowship)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMNAME.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.tbmembernid.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbaddress.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tbMobile.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lueschoolcode.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.schoolBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).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.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxvp)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.Duplicate = new DevExpress.XtraEditors.CheckEdit(); this.btnCancel = new DevExpress.XtraEditors.SimpleButton(); this.textActivity = new DevExpress.XtraEditors.TextEdit(); this.textStore = new DevExpress.XtraEditors.TextEdit(); this.lkCategory = new DevExpress.XtraEditors.LookUpEdit(); this.btnSave = new DevExpress.XtraEditors.SimpleButton(); this.txtExpiredQty = new DevExpress.XtraEditors.TextEdit(); this.txtDamagedQty = new DevExpress.XtraEditors.TextEdit(); this.txtSoundQty = new DevExpress.XtraEditors.TextEdit(); this.dtExpiryDate = new DevExpress.XtraEditors.DateEdit(); this.txtBatchNo = new DevExpress.XtraEditors.TextEdit(); this.lkManufacturer = new DevExpress.XtraEditors.LookUpEdit(); this.lkUnit = new DevExpress.XtraEditors.LookUpEdit(); this.lkItem = new DevExpress.XtraEditors.LookUpEdit(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup3 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlGroup4 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem13 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem14 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem15 = new DevExpress.XtraLayout.LayoutControlItem(); this.simpleLabelItem1 = new DevExpress.XtraLayout.SimpleLabelItem(); this.layoutControlItem16 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem12 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutQuantity = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.Duplicate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textActivity.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.textStore.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkCategory.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtExpiredQty.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDamagedQty.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSoundQty.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtExpiryDate.Properties.VistaTimeProperties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtExpiryDate.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBatchNo.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkManufacturer.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkUnit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.lkItem.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutQuantity)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); this.SuspendLayout(); // // layoutControl1 // this.layoutControl1.Controls.Add(this.Duplicate); this.layoutControl1.Controls.Add(this.btnCancel); this.layoutControl1.Controls.Add(this.textActivity); this.layoutControl1.Controls.Add(this.textStore); this.layoutControl1.Controls.Add(this.lkCategory); this.layoutControl1.Controls.Add(this.btnSave); this.layoutControl1.Controls.Add(this.txtExpiredQty); this.layoutControl1.Controls.Add(this.txtDamagedQty); this.layoutControl1.Controls.Add(this.txtSoundQty); this.layoutControl1.Controls.Add(this.dtExpiryDate); this.layoutControl1.Controls.Add(this.txtBatchNo); this.layoutControl1.Controls.Add(this.lkManufacturer); this.layoutControl1.Controls.Add(this.lkUnit); this.layoutControl1.Controls.Add(this.lkItem); 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(790, 180, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(658, 500); this.layoutControl1.TabIndex = 0; this.layoutControl1.Text = "layoutControl1"; // // Duplicate // this.Duplicate.Location = new System.Drawing.Point(378, 466); this.Duplicate.Name = "Duplicate"; this.Duplicate.Properties.Caption = "Duplicate"; this.Duplicate.Size = new System.Drawing.Size(67, 19); this.Duplicate.StyleController = this.layoutControl1; this.Duplicate.TabIndex = 17; // // btnCancel // this.btnCancel.Location = new System.Drawing.Point(547, 466); this.btnCancel.Name = "btnCancel"; this.btnCancel.Size = new System.Drawing.Size(99, 22); this.btnCancel.StyleController = this.layoutControl1; this.btnCancel.TabIndex = 16; this.btnCancel.Text = "Cancel"; this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click); // // textActivity // this.textActivity.Enabled = false; this.textActivity.Location = new System.Drawing.Point(119, 100); this.textActivity.Name = "textActivity"; this.textActivity.Size = new System.Drawing.Size(515, 20); this.textActivity.StyleController = this.layoutControl1; this.textActivity.TabIndex = 15; // // textStore // this.textStore.Enabled = false; this.textStore.Location = new System.Drawing.Point(119, 76); this.textStore.Name = "textStore"; this.textStore.Size = new System.Drawing.Size(515, 20); this.textStore.StyleController = this.layoutControl1; this.textStore.TabIndex = 14; // // lkCategory // this.lkCategory.Location = new System.Drawing.Point(119, 167); this.lkCategory.Name = "lkCategory"; this.lkCategory.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkCategory.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.lkCategory.Properties.DisplayMember = "Name"; this.lkCategory.Properties.NullText = "Select Commodity Type"; this.lkCategory.Properties.ValueMember = "ID"; this.lkCategory.Size = new System.Drawing.Size(515, 20); this.lkCategory.StyleController = this.layoutControl1; this.lkCategory.TabIndex = 13; this.lkCategory.EditValueChanged += new System.EventHandler(this.lkCategory_EditValueChanged); // // btnSave // this.btnSave.Location = new System.Drawing.Point(449, 466); this.btnSave.Name = "btnSave"; this.btnSave.Size = new System.Drawing.Size(94, 22); this.btnSave.StyleController = this.layoutControl1; this.btnSave.TabIndex = 12; this.btnSave.Text = "Save"; this.btnSave.Click += new System.EventHandler(this.btnSave_Click); // // txtExpiredQty // this.txtExpiredQty.EditValue = "0"; this.txtExpiredQty.Location = new System.Drawing.Point(119, 422); this.txtExpiredQty.Name = "txtExpiredQty"; this.txtExpiredQty.Properties.Mask.EditMask = "n4"; this.txtExpiredQty.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.txtExpiredQty.Size = new System.Drawing.Size(116, 20); this.txtExpiredQty.StyleController = this.layoutControl1; this.txtExpiredQty.TabIndex = 11; // // txtDamagedQty // this.txtDamagedQty.EditValue = "0"; this.txtDamagedQty.Location = new System.Drawing.Point(119, 387); this.txtDamagedQty.Name = "txtDamagedQty"; this.txtDamagedQty.Properties.Mask.EditMask = "n4"; this.txtDamagedQty.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.txtDamagedQty.Size = new System.Drawing.Size(116, 20); this.txtDamagedQty.StyleController = this.layoutControl1; this.txtDamagedQty.TabIndex = 10; // // txtSoundQty // this.txtSoundQty.EditValue = "0"; this.txtSoundQty.Location = new System.Drawing.Point(119, 355); this.txtSoundQty.Name = "txtSoundQty"; this.txtSoundQty.Properties.Mask.EditMask = "n4"; this.txtSoundQty.Properties.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.txtSoundQty.Size = new System.Drawing.Size(116, 20); this.txtSoundQty.StyleController = this.layoutControl1; this.txtSoundQty.TabIndex = 9; // // dtExpiryDate // this.dtExpiryDate.EditValue = null; this.dtExpiryDate.Location = new System.Drawing.Point(119, 288); this.dtExpiryDate.Name = "dtExpiryDate"; this.dtExpiryDate.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.dtExpiryDate.Properties.VistaTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton()}); this.dtExpiryDate.Size = new System.Drawing.Size(289, 20); this.dtExpiryDate.StyleController = this.layoutControl1; this.dtExpiryDate.TabIndex = 8; // // txtBatchNo // this.txtBatchNo.Location = new System.Drawing.Point(119, 264); this.txtBatchNo.Name = "txtBatchNo"; this.txtBatchNo.Size = new System.Drawing.Size(289, 20); this.txtBatchNo.StyleController = this.layoutControl1; this.txtBatchNo.TabIndex = 7; // // lkManufacturer // this.lkManufacturer.Location = new System.Drawing.Point(119, 239); this.lkManufacturer.Name = "lkManufacturer"; this.lkManufacturer.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkManufacturer.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Name", "Name")}); this.lkManufacturer.Properties.DisplayMember = "Name"; this.lkManufacturer.Properties.NullText = "Select Manufacturer"; this.lkManufacturer.Properties.ValueMember = "ID"; this.lkManufacturer.Size = new System.Drawing.Size(289, 20); this.lkManufacturer.StyleController = this.layoutControl1; this.lkManufacturer.TabIndex = 6; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.lkManufacturer, conditionValidationRule1); // // lkUnit // this.lkUnit.Location = new System.Drawing.Point(119, 215); this.lkUnit.Name = "lkUnit"; this.lkUnit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkUnit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Text", "Unit")}); this.lkUnit.Properties.DisplayMember = "Text"; this.lkUnit.Properties.NullText = "Select Unit"; this.lkUnit.Properties.ValueMember = "ID"; this.lkUnit.Size = new System.Drawing.Size(289, 20); this.lkUnit.StyleController = this.layoutControl1; this.lkUnit.TabIndex = 5; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.lkUnit, conditionValidationRule2); // // lkItem // this.lkItem.Location = new System.Drawing.Point(119, 191); this.lkItem.Name = "lkItem"; this.lkItem.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.lkItem.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("FullItemName", "FullItemName"), new DevExpress.XtraEditors.Controls.LookUpColumnInfo("StockCode", "StockCode")}); this.lkItem.Properties.DisplayMember = "FullItemName"; this.lkItem.Properties.NullText = "Select Item"; this.lkItem.Properties.ValueMember = "ID"; this.lkItem.Size = new System.Drawing.Size(515, 20); this.lkItem.StyleController = this.layoutControl1; this.lkItem.TabIndex = 4; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule3.ErrorText = "This value is not valid"; this.dxValidationProvider1.SetValidationRule(this.lkItem, conditionValidationRule3); this.lkItem.EditValueChanged += new System.EventHandler(this.lkItem_EditValueChanged); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "layoutControlGroup1"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem9, this.layoutControlGroup2, this.emptySpaceItem3, this.layoutControlGroup3, this.layoutControlGroup4, this.layoutControlItem15, this.simpleLabelItem1, this.layoutControlItem16}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(658, 500); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem9 // this.layoutControlItem9.Control = this.btnSave; this.layoutControlItem9.CustomizationFormText = "layoutControlItem9"; this.layoutControlItem9.Location = new System.Drawing.Point(437, 454); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(98, 26); this.layoutControlItem9.Text = "layoutControlItem9"; this.layoutControlItem9.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem9.TextToControlDistance = 0; this.layoutControlItem9.TextVisible = false; // // layoutControlGroup2 // this.layoutControlGroup2.CustomizationFormText = "Item Detail"; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem4, this.layoutControlItem5, this.layoutControlItem1, this.layoutControlItem2, this.layoutControlItem3, this.emptySpaceItem4, this.layoutControlItem10}); this.layoutControlGroup2.Location = new System.Drawing.Point(0, 124); this.layoutControlGroup2.Name = "layoutControlGroup2"; this.layoutControlGroup2.Size = new System.Drawing.Size(638, 188); this.layoutControlGroup2.Text = "Item Detail"; // // layoutControlItem4 // this.layoutControlItem4.Control = this.txtBatchNo; this.layoutControlItem4.CustomizationFormText = "Batch No"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 97); this.layoutControlItem4.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(388, 24); this.layoutControlItem4.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem4.Text = "Batch No"; this.layoutControlItem4.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem4.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem4.TextToControlDistance = 5; // // layoutControlItem5 // this.layoutControlItem5.Control = this.dtExpiryDate; this.layoutControlItem5.CustomizationFormText = "Expiry Date"; this.layoutControlItem5.Location = new System.Drawing.Point(0, 121); this.layoutControlItem5.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(388, 24); this.layoutControlItem5.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem5.Text = "Expiry Date"; this.layoutControlItem5.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem5.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem5.TextToControlDistance = 5; // // layoutControlItem1 // this.layoutControlItem1.Control = this.lkItem; this.layoutControlItem1.CustomizationFormText = "Item"; this.layoutControlItem1.Location = new System.Drawing.Point(0, 24); this.layoutControlItem1.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(614, 24); this.layoutControlItem1.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem1.Text = "Item"; this.layoutControlItem1.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem1.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem1.TextToControlDistance = 5; // // layoutControlItem2 // this.layoutControlItem2.Control = this.lkUnit; this.layoutControlItem2.CustomizationFormText = "Unit"; this.layoutControlItem2.Location = new System.Drawing.Point(0, 48); this.layoutControlItem2.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(388, 24); this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem2.Text = "Unit"; this.layoutControlItem2.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem2.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem2.TextToControlDistance = 5; // // layoutControlItem3 // this.layoutControlItem3.Control = this.lkManufacturer; this.layoutControlItem3.CustomizationFormText = "Manufacturer"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 72); this.layoutControlItem3.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(388, 25); this.layoutControlItem3.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem3.Text = "Manufacturer"; this.layoutControlItem3.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem3.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem3.TextToControlDistance = 5; // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.CustomizationFormText = "emptySpaceItem4"; this.emptySpaceItem4.Location = new System.Drawing.Point(388, 48); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(226, 97); this.emptySpaceItem4.Text = "emptySpaceItem4"; this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem10 // this.layoutControlItem10.Control = this.lkCategory; this.layoutControlItem10.CustomizationFormText = "Commodity Type"; this.layoutControlItem10.Location = new System.Drawing.Point(0, 0); this.layoutControlItem10.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem10.Name = "layoutControlItem10"; this.layoutControlItem10.Size = new System.Drawing.Size(614, 24); this.layoutControlItem10.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem10.Text = "Commodity Type"; this.layoutControlItem10.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem10.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem10.TextToControlDistance = 5; // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.CustomizationFormText = "emptySpaceItem3"; this.emptySpaceItem3.Location = new System.Drawing.Point(0, 454); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(366, 26); this.emptySpaceItem3.Text = "emptySpaceItem3"; this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup3 // this.layoutControlGroup3.CustomizationFormText = "Quantity"; this.layoutControlGroup3.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem6, this.layoutControlItem7, this.layoutControlItem8, this.emptySpaceItem1}); this.layoutControlGroup3.Location = new System.Drawing.Point(0, 312); this.layoutControlGroup3.Name = "layoutControlGroup3"; this.layoutControlGroup3.Size = new System.Drawing.Size(638, 142); this.layoutControlGroup3.Text = "Quantity"; // // layoutControlItem6 // this.layoutControlItem6.Control = this.txtSoundQty; this.layoutControlItem6.CustomizationFormText = "Sound Quantity"; this.layoutControlItem6.Location = new System.Drawing.Point(0, 0); this.layoutControlItem6.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(215, 32); this.layoutControlItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem6.Text = "Sound Quantity"; this.layoutControlItem6.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem6.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem6.TextToControlDistance = 5; // // layoutControlItem7 // this.layoutControlItem7.Control = this.txtDamagedQty; this.layoutControlItem7.CustomizationFormText = "Damaged Quantity"; this.layoutControlItem7.Location = new System.Drawing.Point(0, 32); this.layoutControlItem7.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(215, 35); this.layoutControlItem7.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem7.Text = "Damaged Quantity"; this.layoutControlItem7.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize; this.layoutControlItem7.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem7.TextToControlDistance = 5; // // layoutControlItem8 // this.layoutControlItem8.Control = this.txtExpiredQty; this.layoutControlItem8.CustomizationFormText = "Expired Quantity"; this.layoutControlItem8.Location = new System.Drawing.Point(0, 67); this.layoutControlItem8.MinSize = new System.Drawing.Size(147, 24); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(215, 32); this.layoutControlItem8.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom; this.layoutControlItem8.Text = "Expired Quantity"; this.layoutControlItem8.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem8.TextSize = new System.Drawing.Size(90, 13); this.layoutControlItem8.TextToControlDistance = 5; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(215, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(399, 99); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlGroup4 // this.layoutControlGroup4.CustomizationFormText = "Selected Store and Activiy detail"; this.layoutControlGroup4.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem13, this.layoutControlItem14}); this.layoutControlGroup4.Location = new System.Drawing.Point(0, 33); this.layoutControlGroup4.Name = "layoutControlGroup4"; this.layoutControlGroup4.Size = new System.Drawing.Size(638, 91); this.layoutControlGroup4.Text = "Selected Store and Activiy detail"; // // layoutControlItem13 // this.layoutControlItem13.Control = this.textStore; this.layoutControlItem13.CustomizationFormText = "Store"; this.layoutControlItem13.Location = new System.Drawing.Point(0, 0); this.layoutControlItem13.Name = "layoutControlItem13"; this.layoutControlItem13.Size = new System.Drawing.Size(614, 24); this.layoutControlItem13.Text = "Store"; this.layoutControlItem13.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem13.TextSize = new System.Drawing.Size(90, 20); this.layoutControlItem13.TextToControlDistance = 5; // // layoutControlItem14 // this.layoutControlItem14.Control = this.textActivity; this.layoutControlItem14.CustomizationFormText = "Activity"; this.layoutControlItem14.Location = new System.Drawing.Point(0, 24); this.layoutControlItem14.Name = "layoutControlItem14"; this.layoutControlItem14.Size = new System.Drawing.Size(614, 24); this.layoutControlItem14.Text = "Activity"; this.layoutControlItem14.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.CustomSize; this.layoutControlItem14.TextSize = new System.Drawing.Size(90, 20); this.layoutControlItem14.TextToControlDistance = 5; // // layoutControlItem15 // this.layoutControlItem15.Control = this.btnCancel; this.layoutControlItem15.CustomizationFormText = "layoutControlItem15"; this.layoutControlItem15.Location = new System.Drawing.Point(535, 454); this.layoutControlItem15.Name = "layoutControlItem15"; this.layoutControlItem15.Size = new System.Drawing.Size(103, 26); this.layoutControlItem15.Text = "layoutControlItem15"; this.layoutControlItem15.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem15.TextToControlDistance = 0; this.layoutControlItem15.TextVisible = false; // // simpleLabelItem1 // this.simpleLabelItem1.AllowHotTrack = false; this.simpleLabelItem1.AppearanceItemCaption.Options.UseTextOptions = true; this.simpleLabelItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.simpleLabelItem1.CustomizationFormText = "Please use this form to add a new inventory item."; this.simpleLabelItem1.Location = new System.Drawing.Point(0, 0); this.simpleLabelItem1.Name = "simpleLabelItem1"; this.simpleLabelItem1.Padding = new DevExpress.XtraLayout.Utils.Padding(10, 10, 10, 10); this.simpleLabelItem1.Size = new System.Drawing.Size(638, 33); this.simpleLabelItem1.Text = "Please use this form to add a new inventory item."; this.simpleLabelItem1.TextSize = new System.Drawing.Size(238, 13); // // layoutControlItem16 // this.layoutControlItem16.Control = this.Duplicate; this.layoutControlItem16.CustomizationFormText = "layoutControlItem16"; this.layoutControlItem16.Location = new System.Drawing.Point(366, 454); this.layoutControlItem16.Name = "layoutControlItem16"; this.layoutControlItem16.Size = new System.Drawing.Size(71, 26); this.layoutControlItem16.Text = "layoutControlItem16"; this.layoutControlItem16.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem16.TextToControlDistance = 0; this.layoutControlItem16.TextVisible = false; // // layoutControlItem12 // this.layoutControlItem12.CustomizationFormText = "Manufacturer"; this.layoutControlItem12.Location = new System.Drawing.Point(0, 96); this.layoutControlItem12.Name = "layoutControlItem12"; this.layoutControlItem12.Size = new System.Drawing.Size(414, 24); this.layoutControlItem12.Text = "Manufacturer"; this.layoutControlItem12.TextSize = new System.Drawing.Size(66, 13); this.layoutControlItem12.TextToControlDistance = 5; // // layoutQuantity // this.layoutQuantity.CustomizationFormText = "Quantity"; this.layoutQuantity.Location = new System.Drawing.Point(0, 120); this.layoutQuantity.Name = "layoutQuantity"; this.layoutQuantity.Size = new System.Drawing.Size(414, 24); this.layoutQuantity.Text = "Quantity"; this.layoutQuantity.TextSize = new System.Drawing.Size(66, 13); this.layoutQuantity.TextToControlDistance = 5; // // layoutControlItem11 // this.layoutControlItem11.CustomizationFormText = "Supplier"; this.layoutControlItem11.Location = new System.Drawing.Point(0, 144); this.layoutControlItem11.Name = "layoutControlItem11"; this.layoutControlItem11.Size = new System.Drawing.Size(414, 24); this.layoutControlItem11.Text = "Supplier"; this.layoutControlItem11.TextSize = new System.Drawing.Size(66, 13); this.layoutControlItem11.TextToControlDistance = 5; // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem2.Location = new System.Drawing.Point(0, 144); this.emptySpaceItem2.Name = "emptySpaceItem1"; this.emptySpaceItem2.Size = new System.Drawing.Size(267, 112); this.emptySpaceItem2.Text = "emptySpaceItem1"; this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // NewInventoryEntry // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(658, 500); this.Controls.Add(this.layoutControl1); this.Name = "NewInventoryEntry"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Add New Inventory Line Item"; this.Load += new System.EventHandler(this.NewInventoryEntry_Load); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.Duplicate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textActivity.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.textStore.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkCategory.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtExpiredQty.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtDamagedQty.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtSoundQty.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtExpiryDate.Properties.VistaTimeProperties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtExpiryDate.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtBatchNo.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkManufacturer.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkUnit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.lkItem.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem13)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem14)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem15)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem16)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem12)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutQuantity)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { 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(); this.gridControlData = new DevExpress.XtraGrid.GridControl(); this.sp001BindingSource = new System.Windows.Forms.BindingSource(this.components); this.dsQueries = new RetirementCenter.DataSources.dsQueries(); this.gridViewData = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colTotal = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemTextEditn2 = new DevExpress.XtraEditors.Repository.RepositoryItemTextEdit(); this.colBankMoney = new DevExpress.XtraGrid.Columns.GridColumn(); this.colAmantaMoney = new DevExpress.XtraGrid.Columns.GridColumn(); this.colMMashatId = new DevExpress.XtraGrid.Columns.GridColumn(); this.colpersonName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSyndicate = new DevExpress.XtraGrid.Columns.GridColumn(); this.colSubCommitte = new DevExpress.XtraGrid.Columns.GridColumn(); this.btnSearch = new DevExpress.XtraEditors.SimpleButton(); this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl(); this.ccbeSarfType = new DevExpress.XtraEditors.CheckedComboBoxEdit(); this.cDSarfTypeedadBindingSource = new System.Windows.Forms.BindingSource(this.components); this.ccbeDof = new DevExpress.XtraEditors.CheckedComboBoxEdit(); this.tBLDofatSarfBindingSource = new System.Windows.Forms.BindingSource(this.components); this.btnPrintExport = new DevExpress.XtraEditors.SimpleButton(); this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem5 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.tBLDofatSarfTableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.TBLDofatSarfTableAdapter(); this.dxvp = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.sp_001TableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.sp_001TableAdapter(); this.cDSarfTypeedadTableAdapter = new RetirementCenter.DataSources.dsQueriesTableAdapters.CDSarfTypeedadTableAdapter(); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.sp001BindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dsQueries)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditn2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit(); this.layoutControl1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.ccbeSarfType.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cDSarfTypeedadBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.ccbeDof.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxvp)).BeginInit(); this.SuspendLayout(); // // gridControlData // this.gridControlData.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.gridControlData.DataSource = this.sp001BindingSource; this.gridControlData.EmbeddedNavigator.Buttons.CancelEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Edit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.EndEdit.Visible = false; this.gridControlData.EmbeddedNavigator.Buttons.Remove.Visible = false; this.gridControlData.EmbeddedNavigator.TextStringFormat = "صف {0} من {1}"; this.gridControlData.Location = new System.Drawing.Point(12, 38); this.gridControlData.MainView = this.gridViewData; this.gridControlData.Name = "gridControlData"; this.gridControlData.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemTextEditn2}); this.gridControlData.Size = new System.Drawing.Size(914, 523); this.gridControlData.TabIndex = 1; this.gridControlData.UseEmbeddedNavigator = true; this.gridControlData.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewData}); // // sp001BindingSource // this.sp001BindingSource.DataMember = "sp_001"; this.sp001BindingSource.DataSource = this.dsQueries; // // dsQueries // this.dsQueries.DataSetName = "dsQueries"; this.dsQueries.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // gridViewData // this.gridViewData.Appearance.ColumnFilterButton.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButton.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButton.Options.UseForeColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.ColumnFilterButtonActive.ForeColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBackColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseBorderColor = true; this.gridViewData.Appearance.ColumnFilterButtonActive.Options.UseForeColor = true; this.gridViewData.Appearance.Empty.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Empty.GradientMode = System.Drawing.Drawing2D.LinearGradientMode.BackwardDiagonal; this.gridViewData.Appearance.Empty.Options.UseBackColor = true; this.gridViewData.Appearance.EvenRow.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.EvenRow.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.BorderColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterCloseButton.Options.UseBackColor = true; this.gridViewData.Appearance.FilterCloseButton.Options.UseBorderColor = true; this.gridViewData.Appearance.FilterPanel.BackColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.FilterPanel.ForeColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FilterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FilterPanel.Options.UseForeColor = true; this.gridViewData.Appearance.FocusedRow.BackColor = System.Drawing.Color.Black; this.gridViewData.Appearance.FocusedRow.ForeColor = System.Drawing.Color.White; this.gridViewData.Appearance.FocusedRow.Options.UseBackColor = true; this.gridViewData.Appearance.FocusedRow.Options.UseForeColor = true; this.gridViewData.Appearance.FooterPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.FooterPanel.Options.UseBackColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.FooterPanel.Options.UseTextOptions = true; this.gridViewData.Appearance.FooterPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewData.Appearance.GroupButton.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupButton.Options.UseBackColor = true; this.gridViewData.Appearance.GroupButton.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupFooter.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.BorderColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupFooter.Options.UseBackColor = true; this.gridViewData.Appearance.GroupFooter.Options.UseBorderColor = true; this.gridViewData.Appearance.GroupPanel.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.GroupPanel.ForeColor = System.Drawing.Color.Gray; this.gridViewData.Appearance.GroupPanel.Options.UseBackColor = true; this.gridViewData.Appearance.GroupPanel.Options.UseForeColor = true; this.gridViewData.Appearance.GroupRow.BackColor = System.Drawing.Color.Silver; this.gridViewData.Appearance.GroupRow.Font = new System.Drawing.Font("Tahoma", 8F, System.Drawing.FontStyle.Bold); this.gridViewData.Appearance.GroupRow.Options.UseBackColor = true; this.gridViewData.Appearance.GroupRow.Options.UseFont = true; this.gridViewData.Appearance.HeaderPanel.BackColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.BorderColor = System.Drawing.Color.DarkGray; this.gridViewData.Appearance.HeaderPanel.Options.UseBackColor = true; this.gridViewData.Appearance.HeaderPanel.Options.UseBorderColor = true; this.gridViewData.Appearance.HideSelectionRow.BackColor = System.Drawing.Color.LightSlateGray; this.gridViewData.Appearance.HideSelectionRow.Options.UseBackColor = true; this.gridViewData.Appearance.HorzLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.HorzLine.Options.UseBackColor = true; this.gridViewData.Appearance.OddRow.BackColor = System.Drawing.Color.WhiteSmoke; this.gridViewData.Appearance.OddRow.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.BackColor = System.Drawing.Color.Gainsboro; this.gridViewData.Appearance.Preview.ForeColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.Preview.Options.UseBackColor = true; this.gridViewData.Appearance.Preview.Options.UseForeColor = true; this.gridViewData.Appearance.Row.BackColor = System.Drawing.Color.White; this.gridViewData.Appearance.Row.Options.UseBackColor = true; this.gridViewData.Appearance.RowSeparator.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.RowSeparator.Options.UseBackColor = true; this.gridViewData.Appearance.SelectedRow.BackColor = System.Drawing.Color.DimGray; this.gridViewData.Appearance.SelectedRow.Options.UseBackColor = true; this.gridViewData.Appearance.VertLine.BackColor = System.Drawing.Color.LightGray; this.gridViewData.Appearance.VertLine.Options.UseBackColor = true; this.gridViewData.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colTotal, this.colBankMoney, this.colAmantaMoney, this.colMMashatId, this.colpersonName, this.colSyndicate, this.colSubCommitte}); this.gridViewData.GridControl = this.gridControlData; this.gridViewData.Name = "gridViewData"; this.gridViewData.OptionsBehavior.ReadOnly = true; this.gridViewData.OptionsCustomization.AllowRowSizing = true; this.gridViewData.OptionsFind.AlwaysVisible = true; this.gridViewData.OptionsPrint.EnableAppearanceEvenRow = true; this.gridViewData.OptionsPrint.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ColumnAutoWidth = false; this.gridViewData.OptionsView.EnableAppearanceEvenRow = true; this.gridViewData.OptionsView.EnableAppearanceOddRow = true; this.gridViewData.OptionsView.ShowAutoFilterRow = true; this.gridViewData.OptionsView.ShowDetailButtons = false; this.gridViewData.OptionsView.ShowFooter = true; // // colTotal // this.colTotal.AppearanceCell.Options.UseTextOptions = true; this.colTotal.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTotal.AppearanceHeader.Options.UseTextOptions = true; this.colTotal.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colTotal.Caption = "اجمالي الدفعات"; this.colTotal.ColumnEdit = this.repositoryItemTextEditn2; this.colTotal.FieldName = "Total"; this.colTotal.Name = "colTotal"; this.colTotal.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "Total", "{0:0.##}")}); this.colTotal.Visible = true; this.colTotal.VisibleIndex = 4; this.colTotal.Width = 91; // // repositoryItemTextEditn2 // this.repositoryItemTextEditn2.AutoHeight = false; this.repositoryItemTextEditn2.DisplayFormat.FormatString = "n2"; this.repositoryItemTextEditn2.DisplayFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEditn2.EditFormat.FormatString = "n2"; this.repositoryItemTextEditn2.EditFormat.FormatType = DevExpress.Utils.FormatType.Numeric; this.repositoryItemTextEditn2.Mask.EditMask = "n2"; this.repositoryItemTextEditn2.Mask.MaskType = DevExpress.XtraEditors.Mask.MaskType.Numeric; this.repositoryItemTextEditn2.Name = "repositoryItemTextEditn2"; // // colBankMoney // this.colBankMoney.AppearanceCell.Options.UseTextOptions = true; this.colBankMoney.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colBankMoney.AppearanceHeader.Options.UseTextOptions = true; this.colBankMoney.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colBankMoney.Caption = "اجمالي البنك"; this.colBankMoney.ColumnEdit = this.repositoryItemTextEditn2; this.colBankMoney.FieldName = "BankMoney"; this.colBankMoney.Name = "colBankMoney"; this.colBankMoney.OptionsColumn.ReadOnly = true; this.colBankMoney.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "BankMoney", "{0:0.##}")}); this.colBankMoney.Visible = true; this.colBankMoney.VisibleIndex = 5; this.colBankMoney.Width = 79; // // colAmantaMoney // this.colAmantaMoney.AppearanceCell.Options.UseTextOptions = true; this.colAmantaMoney.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colAmantaMoney.AppearanceHeader.Options.UseTextOptions = true; this.colAmantaMoney.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colAmantaMoney.Caption = "اجمالي الامانات"; this.colAmantaMoney.ColumnEdit = this.repositoryItemTextEditn2; this.colAmantaMoney.FieldName = "AmantaMoney"; this.colAmantaMoney.Name = "colAmantaMoney"; this.colAmantaMoney.OptionsColumn.ReadOnly = true; this.colAmantaMoney.Summary.AddRange(new DevExpress.XtraGrid.GridSummaryItem[] { new DevExpress.XtraGrid.GridColumnSummaryItem(DevExpress.Data.SummaryItemType.Sum, "AmantaMoney", "{0:0.##}")}); this.colAmantaMoney.Visible = true; this.colAmantaMoney.VisibleIndex = 6; this.colAmantaMoney.Width = 90; // // colMMashatId // this.colMMashatId.AppearanceCell.Options.UseTextOptions = true; this.colMMashatId.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.AppearanceHeader.Options.UseTextOptions = true; this.colMMashatId.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colMMashatId.Caption = "كود"; this.colMMashatId.FieldName = "MMashatId"; this.colMMashatId.Name = "colMMashatId"; this.colMMashatId.Visible = true; this.colMMashatId.VisibleIndex = 0; // // colpersonName // this.colpersonName.AppearanceCell.Options.UseTextOptions = true; this.colpersonName.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colpersonName.AppearanceHeader.Options.UseTextOptions = true; this.colpersonName.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colpersonName.Caption = "الاسم"; this.colpersonName.FieldName = "MMashatName"; this.colpersonName.Name = "colpersonName"; this.colpersonName.Visible = true; this.colpersonName.VisibleIndex = 1; // // colSyndicate // this.colSyndicate.AppearanceCell.Options.UseTextOptions = true; this.colSyndicate.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.AppearanceHeader.Options.UseTextOptions = true; this.colSyndicate.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSyndicate.Caption = "الفرعية"; this.colSyndicate.FieldName = "Syndicate"; this.colSyndicate.Name = "colSyndicate"; this.colSyndicate.Visible = true; this.colSyndicate.VisibleIndex = 2; // // colSubCommitte // this.colSubCommitte.AppearanceCell.Options.UseTextOptions = true; this.colSubCommitte.AppearanceCell.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.AppearanceHeader.Options.UseTextOptions = true; this.colSubCommitte.AppearanceHeader.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.colSubCommitte.Caption = "اللجنة"; this.colSubCommitte.FieldName = "SubCommitte"; this.colSubCommitte.Name = "colSubCommitte"; this.colSubCommitte.Visible = true; this.colSubCommitte.VisibleIndex = 3; // // btnSearch // this.btnSearch.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); this.btnSearch.Image = global::RetirementCenter.Properties.Resources.apply_16x16; this.btnSearch.Location = new System.Drawing.Point(252, 12); this.btnSearch.Name = "btnSearch"; this.btnSearch.Size = new System.Drawing.Size(114, 22); this.btnSearch.StyleController = this.layoutControl1; this.btnSearch.TabIndex = 4; this.btnSearch.Text = "تنفيذ"; this.btnSearch.Click += new System.EventHandler(this.btnSearch_Click); // // layoutControl1 // this.layoutControl1.Controls.Add(this.ccbeSarfType); this.layoutControl1.Controls.Add(this.ccbeDof); this.layoutControl1.Controls.Add(this.btnSearch); this.layoutControl1.Controls.Add(this.btnPrintExport); this.layoutControl1.Controls.Add(this.gridControlData); 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(982, 382, 250, 350); this.layoutControl1.Root = this.layoutControlGroup1; this.layoutControl1.Size = new System.Drawing.Size(938, 573); this.layoutControl1.TabIndex = 5; this.layoutControl1.Text = "layoutControl1"; // // ccbeSarfType // this.ccbeSarfType.Location = new System.Drawing.Point(370, 12); this.ccbeSarfType.Name = "ccbeSarfType"; this.ccbeSarfType.Properties.AllowMultiSelect = true; this.ccbeSarfType.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.ccbeSarfType.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ccbeSarfType.Properties.DataSource = this.cDSarfTypeedadBindingSource; this.ccbeSarfType.Properties.DisplayMember = "SarfTypeedad"; this.ccbeSarfType.Properties.ValueMember = "SarfTypeedadId"; this.ccbeSarfType.Size = new System.Drawing.Size(205, 20); this.ccbeSarfType.StyleController = this.layoutControl1; this.ccbeSarfType.TabIndex = 5; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "This value is not valid"; this.dxvp.SetValidationRule(this.ccbeSarfType, conditionValidationRule1); this.ccbeSarfType.EditValueChanged += new System.EventHandler(this.ccbeDof_EditValueChanged); // // cDSarfTypeedadBindingSource // this.cDSarfTypeedadBindingSource.DataMember = "CDSarfTypeedad"; this.cDSarfTypeedadBindingSource.DataSource = this.dsQueries; // // ccbeDof // this.ccbeDof.Location = new System.Drawing.Point(611, 12); this.ccbeDof.Name = "ccbeDof"; this.ccbeDof.Properties.AllowMultiSelect = true; this.ccbeDof.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.False; this.ccbeDof.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)}); this.ccbeDof.Properties.DataSource = this.tBLDofatSarfBindingSource; this.ccbeDof.Properties.DisplayMember = "DofatSarf"; this.ccbeDof.Properties.ValueMember = "DofatSarfId"; this.ccbeDof.Size = new System.Drawing.Size(283, 20); this.ccbeDof.StyleController = this.layoutControl1; this.ccbeDof.TabIndex = 5; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "This value is not valid"; this.dxvp.SetValidationRule(this.ccbeDof, conditionValidationRule2); this.ccbeDof.EditValueChanged += new System.EventHandler(this.ccbeDof_EditValueChanged); // // tBLDofatSarfBindingSource // this.tBLDofatSarfBindingSource.DataMember = "TBLDofatSarf"; this.tBLDofatSarfBindingSource.DataSource = this.dsQueries; // // btnPrintExport // this.btnPrintExport.Image = global::RetirementCenter.Properties.Resources.Print; this.btnPrintExport.Location = new System.Drawing.Point(12, 12); this.btnPrintExport.Name = "btnPrintExport"; this.btnPrintExport.Size = new System.Drawing.Size(94, 22); this.btnPrintExport.StyleController = this.layoutControl1; this.btnPrintExport.TabIndex = 0; this.btnPrintExport.Text = "طباعه و تصدير"; this.btnPrintExport.Click += new System.EventHandler(this.btnPrintExport_Click); // // layoutControlGroup1 // this.layoutControlGroup1.CustomizationFormText = "Root"; this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup1.GroupBordersVisible = false; this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem2, this.layoutControlItem3, this.layoutControlItem4, this.emptySpaceItem1, this.layoutControlItem5, this.layoutControlItem1}); this.layoutControlGroup1.Location = new System.Drawing.Point(0, 0); this.layoutControlGroup1.Name = "Root"; this.layoutControlGroup1.Size = new System.Drawing.Size(938, 573); this.layoutControlGroup1.Text = "Root"; this.layoutControlGroup1.TextVisible = false; // // layoutControlItem2 // this.layoutControlItem2.Control = this.btnSearch; this.layoutControlItem2.CustomizationFormText = "layoutControlItem2"; this.layoutControlItem2.Location = new System.Drawing.Point(240, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(118, 26); this.layoutControlItem2.Text = "layoutControlItem2"; this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem2.TextToControlDistance = 0; this.layoutControlItem2.TextVisible = false; // // layoutControlItem3 // this.layoutControlItem3.Control = this.btnPrintExport; this.layoutControlItem3.CustomizationFormText = "layoutControlItem3"; this.layoutControlItem3.Location = new System.Drawing.Point(0, 0); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(98, 26); this.layoutControlItem3.Text = "layoutControlItem3"; this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem3.TextToControlDistance = 0; this.layoutControlItem3.TextVisible = false; // // layoutControlItem4 // this.layoutControlItem4.Control = this.gridControlData; this.layoutControlItem4.CustomizationFormText = "layoutControlItem4"; this.layoutControlItem4.Location = new System.Drawing.Point(0, 26); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(918, 527); this.layoutControlItem4.Text = "layoutControlItem4"; this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0); this.layoutControlItem4.TextToControlDistance = 0; this.layoutControlItem4.TextVisible = false; // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.CustomizationFormText = "emptySpaceItem1"; this.emptySpaceItem1.Location = new System.Drawing.Point(98, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(142, 26); this.emptySpaceItem1.Text = "emptySpaceItem1"; this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem5 // this.layoutControlItem5.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem5.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.layoutControlItem5.Control = this.ccbeDof; this.layoutControlItem5.CustomizationFormText = "الدفعة"; this.layoutControlItem5.Location = new System.Drawing.Point(599, 0); this.layoutControlItem5.Name = "layoutControlItem5"; this.layoutControlItem5.Size = new System.Drawing.Size(319, 26); this.layoutControlItem5.Text = "الدفعة"; this.layoutControlItem5.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem5.TextSize = new System.Drawing.Size(29, 13); // // layoutControlItem1 // this.layoutControlItem1.AppearanceItemCaption.Options.UseTextOptions = true; this.layoutControlItem1.AppearanceItemCaption.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far; this.layoutControlItem1.Control = this.ccbeSarfType; this.layoutControlItem1.CustomizationFormText = "layoutControlItem1"; this.layoutControlItem1.Location = new System.Drawing.Point(358, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(241, 26); this.layoutControlItem1.Text = "النوع"; this.layoutControlItem1.TextLocation = DevExpress.Utils.Locations.Right; this.layoutControlItem1.TextSize = new System.Drawing.Size(29, 13); // // tBLDofatSarfTableAdapter // this.tBLDofatSarfTableAdapter.ClearBeforeFill = true; // // sp_001TableAdapter // this.sp_001TableAdapter.ClearBeforeFill = true; // // cDSarfTypeedadTableAdapter // this.cDSarfTypeedadTableAdapter.ClearBeforeFill = true; // // Qry101Frm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(938, 573); this.Controls.Add(this.layoutControl1); this.Name = "Qry101Frm"; this.Text = "اجمالي الدفعات و الامانات و البنك - ورثة"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.Qry06Frm_Load); ((System.ComponentModel.ISupportInitialize)(this.gridControlData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.sp001BindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dsQueries)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewData)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemTextEditn2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit(); this.layoutControl1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.ccbeSarfType.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cDSarfTypeedadBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.ccbeDof.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.tBLDofatSarfBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxvp)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule2 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmCatalogoCategoria)); this.spCatCategoriaBindingSource = new System.Windows.Forms.BindingSource(this.components); this.spCatCategoriaDS = new RPSuite.Datasets.Catalogos.spCatCategoriaDS(); this.colCategoriaID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colNombre = new DevExpress.XtraGrid.Columns.GridColumn(); this.gcDatos = new DevExpress.XtraEditors.GroupControl(); this.txtCategoria = new DevExpress.XtraEditors.TextEdit(); this.txtCategoriaID = new DevExpress.XtraEditors.TextEdit(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); ((System.ComponentModel.ISupportInitialize)(this.tcCatalogo)).BeginInit(); this.tcCatalogo.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.gcBusqueda)).BeginInit(); this.gcBusqueda.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDatosBusqueda.Properties)).BeginInit(); this.tpBuscar.SuspendLayout(); this.tpDatos.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgcCatalogo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gvCatalogo)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.vpValidador)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spCatCategoriaBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spCatCategoriaDS)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gcDatos)).BeginInit(); this.gcDatos.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtCategoria.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCategoriaID.Properties)).BeginInit(); this.SuspendLayout(); // // btnBuscar // this.btnBuscar.ImageOptions.ImageIndex = 0; // // txtDatosBusqueda // // // tpDatos // this.tpDatos.Controls.Add(this.gcDatos); // // dgcCatalogo // this.dgcCatalogo.DataSource = this.spCatCategoriaBindingSource; // // gvCatalogo // this.gvCatalogo.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colCategoriaID, this.colNombre }); this.gvCatalogo.OptionsBehavior.Editable = false; this.gvCatalogo.OptionsFind.AlwaysVisible = true; this.gvCatalogo.OptionsFind.SearchInPreview = true; this.gvCatalogo.OptionsFind.ShowClearButton = false; this.gvCatalogo.OptionsFind.ShowCloseButton = false; this.gvCatalogo.OptionsFind.ShowFindButton = false; this.gvCatalogo.OptionsSelection.MultiSelect = true; this.gvCatalogo.OptionsView.ColumnAutoWidth = false; // // vpValidador // this.vpValidador.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; // // spCatCategoriaBindingSource // this.spCatCategoriaBindingSource.DataMember = "spCatCategoria"; this.spCatCategoriaBindingSource.DataSource = this.spCatCategoriaDS; this.spCatCategoriaBindingSource.Sort = ""; // // spCatCategoriaDS // this.spCatCategoriaDS.DataSetName = "spCatCategoriaDS"; this.spCatCategoriaDS.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema; // // colCategoriaID // this.colCategoriaID.FieldName = "CategoriaID"; this.colCategoriaID.Name = "colCategoriaID"; this.colCategoriaID.Visible = true; this.colCategoriaID.VisibleIndex = 0; // // colNombre // this.colNombre.FieldName = "Nombre"; this.colNombre.Name = "colNombre"; this.colNombre.Visible = true; this.colNombre.VisibleIndex = 1; // // gcDatos // this.gcDatos.Controls.Add(this.txtCategoria); this.gcDatos.Controls.Add(this.txtCategoriaID); this.gcDatos.Controls.Add(this.labelControl2); this.gcDatos.Controls.Add(this.labelControl1); this.gcDatos.Location = new System.Drawing.Point(34, 24); this.gcDatos.Name = "gcDatos"; this.gcDatos.Size = new System.Drawing.Size(449, 194); this.gcDatos.TabIndex = 0; this.gcDatos.Text = "Datos"; // // txtCategoria // this.txtCategoria.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.spCatCategoriaBindingSource, "Nombre", true)); this.txtCategoria.Location = new System.Drawing.Point(38, 104); this.txtCategoria.Name = "txtCategoria"; this.txtCategoria.Properties.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.txtCategoria.Size = new System.Drawing.Size(350, 20); this.txtCategoria.TabIndex = 3; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule2.ErrorText = "Falta agregar Categoria"; this.vpValidador.SetValidationRule(this.txtCategoria, conditionValidationRule2); // // txtCategoriaID // this.txtCategoriaID.DataBindings.Add(new System.Windows.Forms.Binding("EditValue", this.spCatCategoriaBindingSource, "CategoriaID", true)); this.txtCategoriaID.Location = new System.Drawing.Point(38, 59); this.txtCategoriaID.Name = "txtCategoriaID"; this.txtCategoriaID.Properties.ReadOnly = true; this.txtCategoriaID.Size = new System.Drawing.Size(100, 20); this.txtCategoriaID.TabIndex = 2; // // labelControl2 // this.labelControl2.Location = new System.Drawing.Point(38, 85); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(47, 13); this.labelControl2.TabIndex = 1; this.labelControl2.Text = "Categoria"; // // labelControl1 // this.labelControl1.Location = new System.Drawing.Point(38, 40); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(10, 13); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "Id"; // // frmCatalogoCategoria // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.ClientSize = new System.Drawing.Size(680, 307); this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); this.Name = "frmCatalogoCategoria"; this.Text = "Catalogo Categoria"; ((System.ComponentModel.ISupportInitialize)(this.tcCatalogo)).EndInit(); this.tcCatalogo.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.gcBusqueda)).EndInit(); this.gcBusqueda.ResumeLayout(false); this.gcBusqueda.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtDatosBusqueda.Properties)).EndInit(); this.tpBuscar.ResumeLayout(false); this.tpDatos.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgcCatalogo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gvCatalogo)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.vpValidador)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spCatCategoriaBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spCatCategoriaDS)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gcDatos)).EndInit(); this.gcDatos.ResumeLayout(false); this.gcDatos.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtCategoria.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.txtCategoriaID.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(RibbonFormAddGiaoDich)); DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule conditionValidationRule1 = new DevExpress.XtraEditors.DXErrorProvider.ConditionValidationRule(); this.mainRibbonControl = new DevExpress.XtraBars.Ribbon.RibbonControl(); this.bbiSave = new DevExpress.XtraBars.BarButtonItem(); this.bbiSaveAndClose = new DevExpress.XtraBars.BarButtonItem(); this.bbiSaveAndNew = new DevExpress.XtraBars.BarButtonItem(); this.bbiReset = new DevExpress.XtraBars.BarButtonItem(); this.bbiDelete = new DevExpress.XtraBars.BarButtonItem(); this.bbiClose = new DevExpress.XtraBars.BarButtonItem(); this.barButtonItem1 = new DevExpress.XtraBars.BarButtonItem(); this.mainRibbonPage = new DevExpress.XtraBars.Ribbon.RibbonPage(); this.mainRibbonPageGroup = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup1 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup2 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup3 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.ribbonPageGroup4 = new DevExpress.XtraBars.Ribbon.RibbonPageGroup(); this.dxValidationProvider1 = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); this.comboBoxEditMaNV = new DevExpress.XtraEditors.ComboBoxEdit(); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout = new DevExpress.XtraLayout.LayoutControl(); this.memoEditNoiDungGiaoDich = new DevExpress.XtraEditors.MemoEdit(); this.comboBoxEditLoaiGiaoDich = new DevExpress.XtraEditors.ComboBoxEdit(); this.spinEditTienTra = new DevExpress.XtraEditors.SpinEdit(); this.spinEditTienThu = new DevExpress.XtraEditors.SpinEdit(); this.comboBoxEditMaKhuyenMai = new DevExpress.XtraEditors.ComboBoxEdit(); this.comboBoxEditMaThietBi = new DevExpress.XtraEditors.ComboBoxEdit(); this.comboBoxEditMaTK = new DevExpress.XtraEditors.ComboBoxEdit(); this.layoutControlGroup2 = new DevExpress.XtraLayout.LayoutControlGroup(); this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem7 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem2 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem3 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem9 = new DevExpress.XtraLayout.LayoutControlItem(); this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem4 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem5 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem6 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem7 = new DevExpress.XtraLayout.EmptySpaceItem(); this.emptySpaceItem8 = new DevExpress.XtraLayout.EmptySpaceItem(); this.layoutControlItem6 = new DevExpress.XtraLayout.LayoutControlItem(); this.layoutControlItem8 = new DevExpress.XtraLayout.LayoutControlItem(); ((System.ComponentModel.ISupportInitialize)(this.mainRibbonControl)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaNV.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout)).BeginInit(); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.memoEditNoiDungGiaoDich.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditLoaiGiaoDich.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditTienTra.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditTienThu.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaKhuyenMai.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaThietBi.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaTK.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).BeginInit(); this.SuspendLayout(); // // mainRibbonControl // this.mainRibbonControl.ExpandCollapseItem.Id = 0; this.mainRibbonControl.Items.AddRange(new DevExpress.XtraBars.BarItem[] { this.mainRibbonControl.ExpandCollapseItem, this.mainRibbonControl.SearchEditItem, this.bbiSave, this.bbiSaveAndClose, this.bbiSaveAndNew, this.bbiReset, this.bbiDelete, this.bbiClose, this.barButtonItem1 }); this.mainRibbonControl.Location = new System.Drawing.Point(0, 0); this.mainRibbonControl.MaxItemId = 11; this.mainRibbonControl.Name = "mainRibbonControl"; this.mainRibbonControl.Pages.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPage[] { this.mainRibbonPage }); this.mainRibbonControl.RibbonStyle = DevExpress.XtraBars.Ribbon.RibbonControlStyle.Office2013; this.mainRibbonControl.ShowApplicationButton = DevExpress.Utils.DefaultBoolean.False; this.mainRibbonControl.Size = new System.Drawing.Size(735, 143); this.mainRibbonControl.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden; // // bbiSave // this.bbiSave.Caption = "Lưu"; this.bbiSave.Id = 2; this.bbiSave.ImageOptions.ImageUri.Uri = "Save"; this.bbiSave.Name = "bbiSave"; this.bbiSave.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSave_ItemClick); // // bbiSaveAndClose // this.bbiSaveAndClose.Caption = "Lưu và đóng"; this.bbiSaveAndClose.Id = 3; this.bbiSaveAndClose.ImageOptions.ImageUri.Uri = "SaveAndClose"; this.bbiSaveAndClose.Name = "bbiSaveAndClose"; this.bbiSaveAndClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSaveAndClose_ItemClick); // // bbiSaveAndNew // this.bbiSaveAndNew.Caption = "Lưu và Mới"; this.bbiSaveAndNew.Id = 4; this.bbiSaveAndNew.ImageOptions.ImageUri.Uri = "SaveAndNew"; this.bbiSaveAndNew.Name = "bbiSaveAndNew"; this.bbiSaveAndNew.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiSaveAndNew_ItemClick); // // bbiReset // this.bbiReset.Caption = "Nhập mới"; this.bbiReset.Id = 5; this.bbiReset.ImageOptions.ImageUri.Uri = "Reset"; this.bbiReset.Name = "bbiReset"; this.bbiReset.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiReset_ItemClick); // // bbiDelete // this.bbiDelete.Caption = "Xóa"; this.bbiDelete.Id = 6; this.bbiDelete.ImageOptions.ImageUri.Uri = "Delete"; this.bbiDelete.Name = "bbiDelete"; this.bbiDelete.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiDelete_ItemClick); // // bbiClose // this.bbiClose.Caption = "Đóng"; this.bbiClose.Id = 7; this.bbiClose.ImageOptions.ImageUri.Uri = "Close"; this.bbiClose.Name = "bbiClose"; this.bbiClose.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.bbiClose_ItemClick); // // barButtonItem1 // this.barButtonItem1.Caption = "In"; this.barButtonItem1.Id = 10; this.barButtonItem1.ImageOptions.SvgImage = ((DevExpress.Utils.Svg.SvgImage)(resources.GetObject("barButtonItem1.ImageOptions.SvgImage"))); this.barButtonItem1.Name = "barButtonItem1"; // // mainRibbonPage // this.mainRibbonPage.Groups.AddRange(new DevExpress.XtraBars.Ribbon.RibbonPageGroup[] { this.mainRibbonPageGroup, this.ribbonPageGroup1, this.ribbonPageGroup2, this.ribbonPageGroup3, this.ribbonPageGroup4 }); this.mainRibbonPage.MergeOrder = 0; this.mainRibbonPage.Name = "mainRibbonPage"; this.mainRibbonPage.Text = "Trang chính"; // // mainRibbonPageGroup // this.mainRibbonPageGroup.AllowTextClipping = false; this.mainRibbonPageGroup.CaptionButtonVisible = DevExpress.Utils.DefaultBoolean.False; this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSave); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSaveAndClose); this.mainRibbonPageGroup.ItemLinks.Add(this.bbiSaveAndNew); this.mainRibbonPageGroup.Name = "mainRibbonPageGroup"; this.mainRibbonPageGroup.Text = "Lưu"; // // ribbonPageGroup1 // this.ribbonPageGroup1.ItemLinks.Add(this.bbiReset); this.ribbonPageGroup1.Name = "ribbonPageGroup1"; this.ribbonPageGroup1.Text = "Sửa"; // // ribbonPageGroup2 // this.ribbonPageGroup2.ItemLinks.Add(this.bbiDelete); this.ribbonPageGroup2.Name = "ribbonPageGroup2"; this.ribbonPageGroup2.Text = "Xóa"; // // ribbonPageGroup3 // this.ribbonPageGroup3.ItemLinks.Add(this.barButtonItem1); this.ribbonPageGroup3.Name = "ribbonPageGroup3"; this.ribbonPageGroup3.Text = "Hành động"; // // ribbonPageGroup4 // this.ribbonPageGroup4.ItemLinks.Add(this.bbiClose); this.ribbonPageGroup4.Name = "ribbonPageGroup4"; this.ribbonPageGroup4.Text = "Đóng"; // // dxValidationProvider1 // this.dxValidationProvider1.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; this.dxValidationProvider1.ValidationFailed += new DevExpress.XtraEditors.DXErrorProvider.ValidationFailedEventHandler(this.dxValidationProvider1_ValidationFailed); this.dxValidationProvider1.ValidationSucceeded += new DevExpress.XtraEditors.DXErrorProvider.ValidationSucceededEventHandler(this.dxValidationProvider1_ValidationSucceeded); // // comboBoxEditMaNV // this.comboBoxEditMaNV.Location = new System.Drawing.Point(102, 12); this.comboBoxEditMaNV.MenuManager = this.mainRibbonControl; this.comboBoxEditMaNV.Name = "comboBoxEditMaNV"; this.comboBoxEditMaNV.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditMaNV.Size = new System.Drawing.Size(231, 20); this.comboBoxEditMaNV.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditMaNV.TabIndex = 4; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule1.ErrorText = "Mã nhân viên còn trống!"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.dxValidationProvider1.SetValidationRule(this.comboBoxEditMaNV, conditionValidationRule1); this.comboBoxEditMaNV.TextChanged += new System.EventHandler(this.textEditValidate_EditValueChanged); // // RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout // this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.memoEditNoiDungGiaoDich); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditLoaiGiaoDich); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.spinEditTienTra); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.spinEditTienThu); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditMaKhuyenMai); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditMaThietBi); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditMaTK); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Controls.Add(this.comboBoxEditMaNV); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Dock = System.Windows.Forms.DockStyle.Fill; this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Location = new System.Drawing.Point(0, 143); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Name = "RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout"; this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(716, 91, 650, 400); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Root = this.layoutControlGroup2; this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.Size = new System.Drawing.Size(735, 306); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.TabIndex = 2; // // memoEditNoiDungGiaoDich // this.memoEditNoiDungGiaoDich.Location = new System.Drawing.Point(102, 156); this.memoEditNoiDungGiaoDich.MenuManager = this.mainRibbonControl; this.memoEditNoiDungGiaoDich.Name = "memoEditNoiDungGiaoDich"; this.memoEditNoiDungGiaoDich.Size = new System.Drawing.Size(621, 138); this.memoEditNoiDungGiaoDich.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.memoEditNoiDungGiaoDich.TabIndex = 12; // // comboBoxEditLoaiGiaoDich // this.comboBoxEditLoaiGiaoDich.Location = new System.Drawing.Point(102, 117); this.comboBoxEditLoaiGiaoDich.MenuManager = this.mainRibbonControl; this.comboBoxEditLoaiGiaoDich.Name = "comboBoxEditLoaiGiaoDich"; this.comboBoxEditLoaiGiaoDich.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditLoaiGiaoDich.Size = new System.Drawing.Size(231, 20); this.comboBoxEditLoaiGiaoDich.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditLoaiGiaoDich.TabIndex = 11; // // spinEditTienTra // this.spinEditTienTra.EditValue = new decimal(new int[] { 0, 0, 0, 0 }); this.spinEditTienTra.Location = new System.Drawing.Point(491, 83); this.spinEditTienTra.MenuManager = this.mainRibbonControl; this.spinEditTienTra.Name = "spinEditTienTra"; this.spinEditTienTra.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.spinEditTienTra.Size = new System.Drawing.Size(232, 20); this.spinEditTienTra.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.spinEditTienTra.TabIndex = 10; // // spinEditTienThu // this.spinEditTienThu.EditValue = new decimal(new int[] { 0, 0, 0, 0 }); this.spinEditTienThu.Location = new System.Drawing.Point(102, 82); this.spinEditTienThu.MenuManager = this.mainRibbonControl; this.spinEditTienThu.Name = "spinEditTienThu"; this.spinEditTienThu.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.spinEditTienThu.Size = new System.Drawing.Size(231, 20); this.spinEditTienThu.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.spinEditTienThu.TabIndex = 9; // // comboBoxEditMaKhuyenMai // this.comboBoxEditMaKhuyenMai.Location = new System.Drawing.Point(491, 48); this.comboBoxEditMaKhuyenMai.MenuManager = this.mainRibbonControl; this.comboBoxEditMaKhuyenMai.Name = "comboBoxEditMaKhuyenMai"; this.comboBoxEditMaKhuyenMai.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditMaKhuyenMai.Size = new System.Drawing.Size(232, 20); this.comboBoxEditMaKhuyenMai.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditMaKhuyenMai.TabIndex = 7; // // comboBoxEditMaThietBi // this.comboBoxEditMaThietBi.Location = new System.Drawing.Point(102, 47); this.comboBoxEditMaThietBi.MenuManager = this.mainRibbonControl; this.comboBoxEditMaThietBi.Name = "comboBoxEditMaThietBi"; this.comboBoxEditMaThietBi.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditMaThietBi.Size = new System.Drawing.Size(231, 20); this.comboBoxEditMaThietBi.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditMaThietBi.TabIndex = 6; // // comboBoxEditMaTK // this.comboBoxEditMaTK.Location = new System.Drawing.Point(491, 12); this.comboBoxEditMaTK.MenuManager = this.mainRibbonControl; this.comboBoxEditMaTK.Name = "comboBoxEditMaTK"; this.comboBoxEditMaTK.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.comboBoxEditMaTK.Size = new System.Drawing.Size(232, 20); this.comboBoxEditMaTK.StyleController = this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout; this.comboBoxEditMaTK.TabIndex = 5; // // layoutControlGroup2 // this.layoutControlGroup2.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True; this.layoutControlGroup2.GroupBordersVisible = false; this.layoutControlGroup2.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] { this.layoutControlItem1, this.layoutControlItem3, this.layoutControlItem2, this.layoutControlItem4, this.layoutControlItem7, this.emptySpaceItem2, this.emptySpaceItem3, this.layoutControlItem9, this.emptySpaceItem1, this.emptySpaceItem4, this.emptySpaceItem5, this.emptySpaceItem6, this.emptySpaceItem7, this.emptySpaceItem8, this.layoutControlItem6, this.layoutControlItem8 }); this.layoutControlGroup2.Name = "Root"; this.layoutControlGroup2.Size = new System.Drawing.Size(735, 306); this.layoutControlGroup2.TextVisible = false; // // layoutControlItem1 // this.layoutControlItem1.AllowHtmlStringInCaption = true; this.layoutControlItem1.Control = this.comboBoxEditMaNV; this.layoutControlItem1.Location = new System.Drawing.Point(0, 0); this.layoutControlItem1.Name = "layoutControlItem1"; this.layoutControlItem1.Size = new System.Drawing.Size(325, 24); this.layoutControlItem1.Text = "Mã nhân viên <b><color=red>*</color></b>"; this.layoutControlItem1.TextSize = new System.Drawing.Size(87, 13); // // layoutControlItem3 // this.layoutControlItem3.Control = this.comboBoxEditMaThietBi; this.layoutControlItem3.Location = new System.Drawing.Point(0, 35); this.layoutControlItem3.Name = "layoutControlItem3"; this.layoutControlItem3.Size = new System.Drawing.Size(325, 24); this.layoutControlItem3.Text = "Mã thiết bị"; this.layoutControlItem3.TextSize = new System.Drawing.Size(87, 13); // // layoutControlItem2 // this.layoutControlItem2.Control = this.comboBoxEditMaTK; this.layoutControlItem2.Location = new System.Drawing.Point(389, 0); this.layoutControlItem2.Name = "layoutControlItem2"; this.layoutControlItem2.Size = new System.Drawing.Size(326, 24); this.layoutControlItem2.Text = "Mã tài khoản"; this.layoutControlItem2.TextSize = new System.Drawing.Size(87, 13); // // layoutControlItem4 // this.layoutControlItem4.Control = this.comboBoxEditMaKhuyenMai; this.layoutControlItem4.Location = new System.Drawing.Point(389, 36); this.layoutControlItem4.Name = "layoutControlItem4"; this.layoutControlItem4.Size = new System.Drawing.Size(326, 24); this.layoutControlItem4.Text = "Mã khuyến mãi"; this.layoutControlItem4.TextSize = new System.Drawing.Size(87, 13); // // layoutControlItem7 // this.layoutControlItem7.Control = this.spinEditTienTra; this.layoutControlItem7.Location = new System.Drawing.Point(389, 71); this.layoutControlItem7.Name = "layoutControlItem7"; this.layoutControlItem7.Size = new System.Drawing.Size(326, 24); this.layoutControlItem7.Text = "Tiền trả"; this.layoutControlItem7.TextSize = new System.Drawing.Size(87, 13); // // emptySpaceItem2 // this.emptySpaceItem2.AllowHotTrack = false; this.emptySpaceItem2.Location = new System.Drawing.Point(389, 95); this.emptySpaceItem2.Name = "emptySpaceItem2"; this.emptySpaceItem2.Size = new System.Drawing.Size(326, 49); this.emptySpaceItem2.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem3 // this.emptySpaceItem3.AllowHotTrack = false; this.emptySpaceItem3.Location = new System.Drawing.Point(0, 129); this.emptySpaceItem3.Name = "emptySpaceItem3"; this.emptySpaceItem3.Size = new System.Drawing.Size(325, 15); this.emptySpaceItem3.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem9 // this.layoutControlItem9.Control = this.memoEditNoiDungGiaoDich; this.layoutControlItem9.Location = new System.Drawing.Point(0, 144); this.layoutControlItem9.Name = "layoutControlItem9"; this.layoutControlItem9.Size = new System.Drawing.Size(715, 142); this.layoutControlItem9.Text = "Nội dung giao dịch"; this.layoutControlItem9.TextSize = new System.Drawing.Size(87, 13); // // emptySpaceItem1 // this.emptySpaceItem1.AllowHotTrack = false; this.emptySpaceItem1.Location = new System.Drawing.Point(325, 0); this.emptySpaceItem1.Name = "emptySpaceItem1"; this.emptySpaceItem1.Size = new System.Drawing.Size(64, 144); this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem4 // this.emptySpaceItem4.AllowHotTrack = false; this.emptySpaceItem4.Location = new System.Drawing.Point(0, 24); this.emptySpaceItem4.Name = "emptySpaceItem4"; this.emptySpaceItem4.Size = new System.Drawing.Size(325, 11); this.emptySpaceItem4.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem5 // this.emptySpaceItem5.AllowHotTrack = false; this.emptySpaceItem5.Location = new System.Drawing.Point(0, 59); this.emptySpaceItem5.Name = "emptySpaceItem5"; this.emptySpaceItem5.Size = new System.Drawing.Size(325, 11); this.emptySpaceItem5.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem6 // this.emptySpaceItem6.AllowHotTrack = false; this.emptySpaceItem6.Location = new System.Drawing.Point(0, 94); this.emptySpaceItem6.Name = "emptySpaceItem6"; this.emptySpaceItem6.Size = new System.Drawing.Size(325, 11); this.emptySpaceItem6.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem7 // this.emptySpaceItem7.AllowHotTrack = false; this.emptySpaceItem7.Location = new System.Drawing.Point(389, 24); this.emptySpaceItem7.Name = "emptySpaceItem7"; this.emptySpaceItem7.Size = new System.Drawing.Size(326, 12); this.emptySpaceItem7.TextSize = new System.Drawing.Size(0, 0); // // emptySpaceItem8 // this.emptySpaceItem8.AllowHotTrack = false; this.emptySpaceItem8.Location = new System.Drawing.Point(389, 60); this.emptySpaceItem8.Name = "emptySpaceItem8"; this.emptySpaceItem8.Size = new System.Drawing.Size(326, 11); this.emptySpaceItem8.TextSize = new System.Drawing.Size(0, 0); // // layoutControlItem6 // this.layoutControlItem6.Control = this.spinEditTienThu; this.layoutControlItem6.Location = new System.Drawing.Point(0, 70); this.layoutControlItem6.Name = "layoutControlItem6"; this.layoutControlItem6.Size = new System.Drawing.Size(325, 24); this.layoutControlItem6.Text = "Tiền thu"; this.layoutControlItem6.TextSize = new System.Drawing.Size(87, 13); // // layoutControlItem8 // this.layoutControlItem8.Control = this.comboBoxEditLoaiGiaoDich; this.layoutControlItem8.Location = new System.Drawing.Point(0, 105); this.layoutControlItem8.Name = "layoutControlItem8"; this.layoutControlItem8.Size = new System.Drawing.Size(325, 24); this.layoutControlItem8.Text = "Loại giao dịch"; this.layoutControlItem8.TextSize = new System.Drawing.Size(87, 13); // // RibbonFormAddGiaoDich // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.ClientSize = new System.Drawing.Size(735, 449); this.Controls.Add(this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout); this.Controls.Add(this.mainRibbonControl); this.Name = "RibbonFormAddGiaoDich"; this.Ribbon = this.mainRibbonControl; this.Text = "Quản lí tiệm nét - "; this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.RibbonFormAddGiaoDich_FormClosing); this.Load += new System.EventHandler(this.RibbonFormAddGiaoDich_Load); ((System.ComponentModel.ISupportInitialize)(this.mainRibbonControl)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dxValidationProvider1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaNV.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout)).EndInit(); this.RibbonFormAddNguoiDungNhanVienlayoutControl1ConvertedLayout.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.memoEditNoiDungGiaoDich.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditLoaiGiaoDich.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditTienTra.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.spinEditTienThu.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaKhuyenMai.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaThietBi.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.comboBoxEditMaTK.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem7)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem8)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem6)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem8)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }
/// <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(); this.label13 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.baudRateEdit = new DevExpress.XtraEditors.LookUpEdit(); this.dataBitsEdit = new DevExpress.XtraEditors.LookUpEdit(); this.parityEdit = new DevExpress.XtraEditors.LookUpEdit(); this.stopBitsEdit = new DevExpress.XtraEditors.LookUpEdit(); this.portNameEdit = new DevExpress.XtraEditors.LookUpEdit(); this.label1 = new System.Windows.Forms.Label(); this.nameTBox = new DevExpress.XtraEditors.TextEdit(); this.saveBtn = new DevExpress.XtraEditors.SimpleButton(); this.closeBtn = new DevExpress.XtraEditors.SimpleButton(); this.validateLbl = new DevExpress.XtraEditors.LabelControl(); this.scannerSettingValidationProvider = new DevExpress.XtraEditors.DXErrorProvider.DXValidationProvider(this.components); ((System.ComponentModel.ISupportInitialize)(this.baudRateEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dataBitsEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.parityEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.stopBitsEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.portNameEdit.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.nameTBox.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.scannerSettingValidationProvider)).BeginInit(); this.SuspendLayout(); // // label13 // this.label13.AutoSize = true; this.label13.Location = new System.Drawing.Point(4, 146); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(87, 13); this.label13.TabIndex = 48; this.label13.Text = "Стоповые биты"; // // label12 // this.label12.AutoSize = true; this.label12.Location = new System.Drawing.Point(36, 120); this.label12.Name = "label12"; this.label12.Size = new System.Drawing.Size(55, 13); this.label12.TabIndex = 46; this.label12.Text = "Четность"; // // label11 // this.label11.AutoSize = true; this.label11.Location = new System.Drawing.Point(16, 94); this.label11.Name = "label11"; this.label11.Size = new System.Drawing.Size(75, 13); this.label11.TabIndex = 44; this.label11.Text = "Биты данных"; // // label8 // this.label8.AutoSize = true; this.label8.Location = new System.Drawing.Point(12, 68); this.label8.Name = "label8"; this.label8.Size = new System.Drawing.Size(79, 13); this.label8.TabIndex = 42; this.label8.Text = "Бит в секунду"; // // label7 // this.label7.AutoSize = true; this.label7.Location = new System.Drawing.Point(34, 42); this.label7.Name = "label7"; this.label7.Size = new System.Drawing.Size(57, 13); this.label7.TabIndex = 40; this.label7.Text = "COM порт"; // // baudRateEdit // this.baudRateEdit.Location = new System.Drawing.Point(97, 65); this.baudRateEdit.Name = "baudRateEdit"; this.baudRateEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.baudRateEdit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Column", "BaudRate") }); this.baudRateEdit.Properties.NullText = ""; this.baudRateEdit.Properties.PopupSizeable = false; this.baudRateEdit.Properties.ShowHeader = false; this.baudRateEdit.Size = new System.Drawing.Size(352, 20); this.baudRateEdit.TabIndex = 3; conditionValidationRule1.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule1.ErrorText = "Выберите скорость порта"; conditionValidationRule1.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; conditionValidationRule1.Value1 = 0; this.scannerSettingValidationProvider.SetValidationRule(this.baudRateEdit, conditionValidationRule1); this.baudRateEdit.EditValueChanged += new System.EventHandler(this.baudRateEdit_EditValueChanged); // // dataBitsEdit // this.dataBitsEdit.Location = new System.Drawing.Point(97, 91); this.dataBitsEdit.Name = "dataBitsEdit"; this.dataBitsEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.dataBitsEdit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Column", "DataBits") }); this.dataBitsEdit.Properties.NullText = ""; this.dataBitsEdit.Properties.PopupSizeable = false; this.dataBitsEdit.Properties.ShowHeader = false; this.dataBitsEdit.Size = new System.Drawing.Size(352, 20); this.dataBitsEdit.TabIndex = 4; conditionValidationRule2.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule2.ErrorText = "Виберите биты данных"; conditionValidationRule2.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; conditionValidationRule2.Value1 = 0; this.scannerSettingValidationProvider.SetValidationRule(this.dataBitsEdit, conditionValidationRule2); this.dataBitsEdit.EditValueChanged += new System.EventHandler(this.dataBitsEdit_EditValueChanged); // // parityEdit // this.parityEdit.Location = new System.Drawing.Point(97, 117); this.parityEdit.Name = "parityEdit"; this.parityEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.parityEdit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Column", "Parity") }); this.parityEdit.Properties.NullText = ""; this.parityEdit.Properties.PopupSizeable = false; this.parityEdit.Properties.ShowHeader = false; this.parityEdit.Size = new System.Drawing.Size(352, 20); this.parityEdit.TabIndex = 5; conditionValidationRule3.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual; conditionValidationRule3.ErrorText = "Выберите четность порта"; conditionValidationRule3.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; conditionValidationRule3.Value1 = 0; this.scannerSettingValidationProvider.SetValidationRule(this.parityEdit, conditionValidationRule3); this.parityEdit.EditValueChanged += new System.EventHandler(this.parityEdit_EditValueChanged); // // stopBitsEdit // this.stopBitsEdit.Location = new System.Drawing.Point(97, 143); this.stopBitsEdit.Name = "stopBitsEdit"; this.stopBitsEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.stopBitsEdit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Column", "StopBits") }); this.stopBitsEdit.Properties.NullText = ""; this.stopBitsEdit.Properties.PopupSizeable = false; this.stopBitsEdit.Properties.ShowHeader = false; this.stopBitsEdit.Size = new System.Drawing.Size(352, 20); this.stopBitsEdit.TabIndex = 6; conditionValidationRule4.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.GreaterOrEqual; conditionValidationRule4.ErrorText = "Выберите стоповые биты"; conditionValidationRule4.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; conditionValidationRule4.Value1 = 0; this.scannerSettingValidationProvider.SetValidationRule(this.stopBitsEdit, conditionValidationRule4); this.stopBitsEdit.EditValueChanged += new System.EventHandler(this.stopBitsEdit_EditValueChanged); // // portNameEdit // this.portNameEdit.Location = new System.Drawing.Point(97, 39); this.portNameEdit.Name = "portNameEdit"; this.portNameEdit.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.portNameEdit.Properties.Columns.AddRange(new DevExpress.XtraEditors.Controls.LookUpColumnInfo[] { new DevExpress.XtraEditors.Controls.LookUpColumnInfo("Column", "COM порт") }); this.portNameEdit.Properties.NullText = ""; this.portNameEdit.Properties.PopupSizeable = false; this.portNameEdit.Properties.ShowHeader = false; this.portNameEdit.Size = new System.Drawing.Size(352, 20); this.portNameEdit.TabIndex = 2; conditionValidationRule5.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.Greater; conditionValidationRule5.ErrorText = "Выберите COM порт"; conditionValidationRule5.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; conditionValidationRule5.Value1 = 0; this.scannerSettingValidationProvider.SetValidationRule(this.portNameEdit, conditionValidationRule5); this.portNameEdit.EditValueChanged += new System.EventHandler(this.portNameEdit_EditValueChanged); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(11, 16); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(80, 13); this.label1.TabIndex = 49; this.label1.Text = "Наименование"; // // nameTBox // this.nameTBox.Location = new System.Drawing.Point(97, 13); this.nameTBox.Name = "nameTBox"; this.nameTBox.Properties.Mask.IgnoreMaskBlank = false; this.nameTBox.Properties.Mask.ShowPlaceHolders = false; this.nameTBox.Size = new System.Drawing.Size(352, 20); this.nameTBox.TabIndex = 1; conditionValidationRule6.ConditionOperator = DevExpress.XtraEditors.DXErrorProvider.ConditionOperator.IsNotBlank; conditionValidationRule6.ErrorText = "Введите наименование сканера"; conditionValidationRule6.ErrorType = DevExpress.XtraEditors.DXErrorProvider.ErrorType.Critical; this.scannerSettingValidationProvider.SetValidationRule(this.nameTBox, conditionValidationRule6); this.nameTBox.TextChanged += new System.EventHandler(this.nameTBox_TextChanged); // // saveBtn // this.saveBtn.Location = new System.Drawing.Point(293, 198); this.saveBtn.Name = "saveBtn"; this.saveBtn.Size = new System.Drawing.Size(75, 23); this.saveBtn.TabIndex = 7; this.saveBtn.Text = "Сохранить"; this.saveBtn.Click += new System.EventHandler(this.saveBtn_Click); // // closeBtn // this.closeBtn.DialogResult = System.Windows.Forms.DialogResult.Cancel; this.closeBtn.Location = new System.Drawing.Point(374, 198); this.closeBtn.Name = "closeBtn"; this.closeBtn.Size = new System.Drawing.Size(75, 23); this.closeBtn.TabIndex = 8; this.closeBtn.Text = "Отмена"; this.closeBtn.Click += new System.EventHandler(this.closeBtn_Click); // // validateLbl // this.validateLbl.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom))); this.validateLbl.Appearance.BackColor = System.Drawing.SystemColors.Info; this.validateLbl.Appearance.ForeColor = System.Drawing.Color.OrangeRed; this.validateLbl.Location = new System.Drawing.Point(7, 202); this.validateLbl.Name = "validateLbl"; this.validateLbl.Size = new System.Drawing.Size(263, 13); this.validateLbl.TabIndex = 53; this.validateLbl.Text = "*Для сохранения заполните все необходимые поля"; // // scannerSettingValidationProvider // this.scannerSettingValidationProvider.ValidationMode = DevExpress.XtraEditors.DXErrorProvider.ValidationMode.Auto; this.scannerSettingValidationProvider.ValidationFailed += new DevExpress.XtraEditors.DXErrorProvider.ValidationFailedEventHandler(this.scannerSettingValidationProvider_ValidationFailed); this.scannerSettingValidationProvider.ValidationSucceeded += new DevExpress.XtraEditors.DXErrorProvider.ValidationSucceededEventHandler(this.scannerSettingValidationProvider_ValidationSucceeded); // // SettingScannerEditFm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.AutoValidate = System.Windows.Forms.AutoValidate.EnableAllowFocusChange; this.ClientSize = new System.Drawing.Size(461, 233); this.Controls.Add(this.validateLbl); this.Controls.Add(this.saveBtn); this.Controls.Add(this.closeBtn); this.Controls.Add(this.nameTBox); this.Controls.Add(this.label1); this.Controls.Add(this.label13); this.Controls.Add(this.label12); this.Controls.Add(this.label11); this.Controls.Add(this.label8); this.Controls.Add(this.label7); this.Controls.Add(this.baudRateEdit); this.Controls.Add(this.dataBitsEdit); this.Controls.Add(this.parityEdit); this.Controls.Add(this.stopBitsEdit); this.Controls.Add(this.portNameEdit); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "SettingScannerEditFm"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent; this.Text = "Редактировать настройки"; ((System.ComponentModel.ISupportInitialize)(this.baudRateEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dataBitsEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.parityEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.stopBitsEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.portNameEdit.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.nameTBox.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.scannerSettingValidationProvider)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); }