/// <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.KeyShortcut keyShortcut1 = new DevExpress.Utils.KeyShortcut(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.BreadCrumbNode breadCrumbNode1 = new DevExpress.XtraEditors.BreadCrumbNode(); DevExpress.Utils.KeyShortcut keyShortcut2 = new DevExpress.Utils.KeyShortcut(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); this.main_tlp = new System.Windows.Forms.TableLayoutPanel(); this.groupControl2 = new DevExpress.XtraEditors.GroupControl(); this.textBoxX_autolj = new DevComponents.DotNetBar.Controls.TextBoxX(); this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.del_bt = new DevComponents.DotNetBar.ButtonX(); this.add_bt = new DevComponents.DotNetBar.ButtonX(); this.query_bt = new DevComponents.DotNetBar.ButtonX(); this.groupControl1 = new DevExpress.XtraEditors.GroupControl(); this.button1 = new System.Windows.Forms.Button(); this.expend_line_bt = new DevComponents.DotNetBar.ButtonX(); this.import_bt = new DevComponents.DotNetBar.ButtonX(); this.main_gc = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.ljh = new DevExpress.XtraGrid.Columns.GridColumn(); this.mc = new DevExpress.XtraGrid.Columns.GridColumn(); this.gdh = new DevExpress.XtraGrid.Columns.GridColumn(); this.scbh = new DevExpress.XtraGrid.Columns.GridColumn(); this.cc = new DevExpress.XtraGrid.Columns.GridColumn(); this.sandsm = new DevExpress.XtraGrid.Columns.GridColumn(); this.tm = new DevExpress.XtraGrid.Columns.GridColumn(); this.XH = new DevExpress.XtraGrid.Columns.GridColumn(); this.clbz = new DevExpress.XtraGrid.Columns.GridColumn(); this.clsj = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.repositoryItemBreadCrumbEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemBreadCrumbEdit(); this.repositoryItemButtonEdit2 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.panel1 = new System.Windows.Forms.Panel(); this.labelX1 = new DevComponents.DotNetBar.LabelX(); this.button2 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button(); this.defaultLookAndFeel1 = new DevExpress.LookAndFeel.DefaultLookAndFeel(this.components); this.openFileDialog1 = new System.Windows.Forms.OpenFileDialog(); this.main_tlp.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.main_gc)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemBreadCrumbEdit1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).BeginInit(); this.panel1.SuspendLayout(); this.SuspendLayout(); // // main_tlp // this.main_tlp.BackColor = System.Drawing.Color.Transparent; this.main_tlp.ColumnCount = 1; this.main_tlp.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.main_tlp.Controls.Add(this.groupControl2, 0, 1); this.main_tlp.Controls.Add(this.groupControl1, 0, 0); this.main_tlp.Controls.Add(this.main_gc, 0, 2); this.main_tlp.Controls.Add(this.panel1, 0, 3); this.main_tlp.Dock = System.Windows.Forms.DockStyle.Fill; this.main_tlp.ForeColor = System.Drawing.Color.Black; this.main_tlp.Location = new System.Drawing.Point(0, 0); this.main_tlp.Name = "main_tlp"; this.main_tlp.RowCount = 4; this.main_tlp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 85F)); this.main_tlp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 85F)); this.main_tlp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.main_tlp.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F)); this.main_tlp.Size = new System.Drawing.Size(747, 608); this.main_tlp.TabIndex = 0; // // groupControl2 // this.groupControl2.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.groupControl2.Appearance.ForeColor = System.Drawing.Color.Black; this.groupControl2.Appearance.Options.UseBackColor = true; this.groupControl2.Appearance.Options.UseForeColor = true; this.groupControl2.Controls.Add(this.textBoxX_autolj); this.groupControl2.Controls.Add(this.buttonX1); this.groupControl2.Controls.Add(this.del_bt); this.groupControl2.Controls.Add(this.add_bt); this.groupControl2.Controls.Add(this.query_bt); this.groupControl2.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl2.Location = new System.Drawing.Point(3, 88); this.groupControl2.Name = "groupControl2"; this.groupControl2.Size = new System.Drawing.Size(741, 79); this.groupControl2.TabIndex = 3; this.groupControl2.Text = "数据基础操作"; // // textBoxX_autolj // this.textBoxX_autolj.AutoCompleteCustomSource.AddRange(new string[] { "111111111", "222222222", "1213123121", "324312121", "434123132", "31211", "111223", "3333", "22234" }); this.textBoxX_autolj.AutoCompleteMode = System.Windows.Forms.AutoCompleteMode.SuggestAppend; this.textBoxX_autolj.AutoCompleteSource = System.Windows.Forms.AutoCompleteSource.CustomSource; this.textBoxX_autolj.BackColor = System.Drawing.Color.White; // // // this.textBoxX_autolj.Border.Class = "TextBoxBorder"; this.textBoxX_autolj.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.textBoxX_autolj.DisabledBackColor = System.Drawing.Color.White; this.textBoxX_autolj.ForeColor = System.Drawing.Color.Black; this.textBoxX_autolj.Location = new System.Drawing.Point(9, 39); this.textBoxX_autolj.Name = "textBoxX_autolj"; this.textBoxX_autolj.PreventEnterBeep = true; this.textBoxX_autolj.Size = new System.Drawing.Size(269, 22); this.textBoxX_autolj.TabIndex = 6; this.textBoxX_autolj.WatermarkText = "输入零件号或者名称或者条码都可以查询"; // // buttonX1 // this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.buttonX1.Location = new System.Drawing.Point(643, 39); this.buttonX1.Name = "buttonX1"; this.buttonX1.Size = new System.Drawing.Size(75, 27); this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.buttonX1.TabIndex = 5; this.buttonX1.Text = "修改"; this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click); // // del_bt // this.del_bt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.del_bt.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.del_bt.Location = new System.Drawing.Point(545, 39); this.del_bt.Name = "del_bt"; this.del_bt.Size = new System.Drawing.Size(75, 27); this.del_bt.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.del_bt.TabIndex = 4; this.del_bt.Text = "删除"; this.del_bt.Click += new System.EventHandler(this.del_bt_Click); // // add_bt // this.add_bt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.add_bt.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.add_bt.Location = new System.Drawing.Point(446, 39); this.add_bt.Name = "add_bt"; this.add_bt.Size = new System.Drawing.Size(75, 27); this.add_bt.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.add_bt.TabIndex = 3; this.add_bt.Text = "添加"; this.add_bt.Click += new System.EventHandler(this.add_bt_Click); // // query_bt // this.query_bt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.query_bt.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.query_bt.Location = new System.Drawing.Point(347, 39); this.query_bt.Name = "query_bt"; this.query_bt.Size = new System.Drawing.Size(75, 27); this.query_bt.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.query_bt.TabIndex = 1; this.query_bt.Text = "查询"; this.query_bt.Click += new System.EventHandler(this.query_bt_Click); // // groupControl1 // this.groupControl1.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.groupControl1.Appearance.ForeColor = System.Drawing.Color.Black; this.groupControl1.Appearance.Options.UseBackColor = true; this.groupControl1.Appearance.Options.UseForeColor = true; this.groupControl1.Controls.Add(this.button1); this.groupControl1.Controls.Add(this.expend_line_bt); this.groupControl1.Controls.Add(this.import_bt); this.groupControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.groupControl1.Location = new System.Drawing.Point(3, 3); this.groupControl1.Name = "groupControl1"; this.groupControl1.Size = new System.Drawing.Size(741, 79); this.groupControl1.TabIndex = 0; this.groupControl1.Text = "持久化操作"; // // button1 // this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.button1.ForeColor = System.Drawing.Color.Black; this.button1.Location = new System.Drawing.Point(643, 40); this.button1.Name = "button1"; this.button1.Size = new System.Drawing.Size(75, 23); this.button1.TabIndex = 2; this.button1.Text = "退出"; this.button1.UseVisualStyleBackColor = false; this.button1.Click += new System.EventHandler(this.button1_Click); // // expend_line_bt // this.expend_line_bt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.expend_line_bt.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.expend_line_bt.Location = new System.Drawing.Point(172, 40); this.expend_line_bt.Name = "expend_line_bt"; this.expend_line_bt.Size = new System.Drawing.Size(131, 23); this.expend_line_bt.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.expend_line_bt.TabIndex = 1; this.expend_line_bt.Text = "导出至Excel"; this.expend_line_bt.Click += new System.EventHandler(this.expend_line_bt_Click); // // import_bt // this.import_bt.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; this.import_bt.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; this.import_bt.Location = new System.Drawing.Point(34, 41); this.import_bt.Name = "import_bt"; this.import_bt.Size = new System.Drawing.Size(117, 23); this.import_bt.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; this.import_bt.TabIndex = 0; this.import_bt.Text = "通过excel导入"; this.import_bt.Click += new System.EventHandler(this.import_bt_Click); // // main_gc // this.main_gc.Dock = System.Windows.Forms.DockStyle.Fill; // // // this.main_gc.EmbeddedNavigator.Appearance.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255))))); this.main_gc.EmbeddedNavigator.Appearance.ForeColor = System.Drawing.Color.Black; this.main_gc.EmbeddedNavigator.Appearance.Options.UseBackColor = true; this.main_gc.EmbeddedNavigator.Appearance.Options.UseForeColor = true; this.main_gc.Location = new System.Drawing.Point(3, 173); this.main_gc.LookAndFeel.UseDefaultLookAndFeel = false; this.main_gc.MainView = this.gridView1; this.main_gc.Name = "main_gc"; this.main_gc.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEdit1, this.repositoryItemBreadCrumbEdit1, this.repositoryItemButtonEdit2 }); this.main_gc.Size = new System.Drawing.Size(741, 392); this.main_gc.TabIndex = 4; this.main_gc.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.ljh, this.mc, this.gdh, this.scbh, this.cc, this.sandsm, this.tm, this.XH, this.clbz, this.clsj }); this.gridView1.GridControl = this.main_gc; this.gridView1.Name = "gridView1"; // // ljh // this.ljh.Caption = "零件号"; this.ljh.FieldName = "PN"; this.ljh.Name = "ljh"; this.ljh.Visible = true; this.ljh.VisibleIndex = 0; this.ljh.Width = 78; // // mc // this.mc.Caption = "名称"; this.mc.FieldName = "name"; this.mc.Name = "mc"; this.mc.Visible = true; this.mc.VisibleIndex = 1; this.mc.Width = 78; // // gdh // this.gdh.Caption = "工单号"; this.gdh.FieldName = "jobnum"; this.gdh.Name = "gdh"; this.gdh.Visible = true; this.gdh.VisibleIndex = 2; this.gdh.Width = 78; // // scbh // this.scbh.Caption = "生产编号"; this.scbh.FieldName = "ARef"; this.scbh.Name = "scbh"; this.scbh.Visible = true; this.scbh.VisibleIndex = 3; this.scbh.Width = 78; // // cc // this.cc.Caption = "尺寸"; this.cc.FieldName = "size"; this.cc.Name = "cc"; this.cc.Visible = true; this.cc.VisibleIndex = 4; this.cc.Width = 78; // // sandsm // this.sandsm.Caption = "3D数模"; this.sandsm.FieldName = "sm"; this.sandsm.Name = "sandsm"; this.sandsm.Visible = true; this.sandsm.VisibleIndex = 5; this.sandsm.Width = 80; // // tm // this.tm.Caption = "条码"; this.tm.FieldName = "Barcode"; this.tm.Name = "tm"; this.tm.Visible = true; this.tm.VisibleIndex = 6; this.tm.Width = 77; // // XH // this.XH.Caption = "序号"; this.XH.FieldName = "id"; this.XH.Name = "XH"; // // clbz // this.clbz.Caption = "标准管理"; this.clbz.FieldName = "clbz"; this.clbz.Name = "clbz"; this.clbz.Visible = true; this.clbz.VisibleIndex = 7; this.clbz.Width = 77; // // clsj // this.clsj.Caption = "测量数据管理"; this.clsj.FieldName = "clsj"; this.clsj.Name = "clsj"; this.clsj.Visible = true; this.clsj.VisibleIndex = 8; this.clsj.Width = 86; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "测量标准管理", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, keyShortcut1, serializableAppearanceObject1, "", null, null, true) }); this.repositoryItemButtonEdit1.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.Simple; this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit1.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit1_ButtonClick); this.repositoryItemButtonEdit1.Click += new System.EventHandler(this.repositoryItemButtonEdit1_Click); // // repositoryItemBreadCrumbEdit1 // this.repositoryItemBreadCrumbEdit1.AutoHeight = false; this.repositoryItemBreadCrumbEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo) }); this.repositoryItemBreadCrumbEdit1.Name = "repositoryItemBreadCrumbEdit1"; breadCrumbNode1.Caption = "string"; breadCrumbNode1.Value = "string"; this.repositoryItemBreadCrumbEdit1.Nodes.AddRange(new DevExpress.XtraEditors.BreadCrumbNode[] { breadCrumbNode1 }); // // repositoryItemButtonEdit2 // this.repositoryItemButtonEdit2.AutoHeight = false; this.repositoryItemButtonEdit2.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "测量试图", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, null, keyShortcut2, serializableAppearanceObject2, "", null, null, true) }); this.repositoryItemButtonEdit2.ButtonsStyle = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat; this.repositoryItemButtonEdit2.Name = "repositoryItemButtonEdit2"; this.repositoryItemButtonEdit2.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit2.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEdit2_ButtonClick); // // panel1 // this.panel1.Controls.Add(this.labelX1); this.panel1.Controls.Add(this.button2); this.panel1.Controls.Add(this.button3); this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; this.panel1.ForeColor = System.Drawing.Color.Black; this.panel1.Location = new System.Drawing.Point(3, 571); this.panel1.Name = "panel1"; this.panel1.Size = new System.Drawing.Size(741, 34); this.panel1.TabIndex = 5; // // labelX1 // // // // this.labelX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; this.labelX1.ForeColor = System.Drawing.Color.Black; this.labelX1.Location = new System.Drawing.Point(87, 5); this.labelX1.Name = "labelX1"; this.labelX1.Size = new System.Drawing.Size(75, 23); this.labelX1.TabIndex = 6; this.labelX1.Text = "0/10"; // // button2 // this.button2.ForeColor = System.Drawing.Color.Black; this.button2.Location = new System.Drawing.Point(172, 5); this.button2.Name = "button2"; this.button2.Size = new System.Drawing.Size(75, 23); this.button2.TabIndex = 5; this.button2.Text = "下一页"; this.button2.UseVisualStyleBackColor = true; this.button2.Click += new System.EventHandler(this.button2_Click); // // button3 // this.button3.ForeColor = System.Drawing.Color.Black; this.button3.Location = new System.Drawing.Point(6, 5); this.button3.Name = "button3"; this.button3.Size = new System.Drawing.Size(75, 23); this.button3.TabIndex = 4; this.button3.Text = "上一页"; this.button3.UseVisualStyleBackColor = true; this.button3.Click += new System.EventHandler(this.button3_Click); // // defaultLookAndFeel1 // this.defaultLookAndFeel1.LookAndFeel.SkinName = "iMaginary"; // // openFileDialog1 // this.openFileDialog1.FileName = "openFileDialog1"; // // BomFrom // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(747, 608); this.Controls.Add(this.main_tlp); this.DoubleBuffered = true; this.Font = new System.Drawing.Font("Segoe UI", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.Name = "BomFrom"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "零件管理"; this.Load += new System.EventHandler(this.BomFrom_Load); this.main_tlp.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.groupControl2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.groupControl1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.main_gc)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemBreadCrumbEdit1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit2)).EndInit(); this.panel1.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() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Principal)); DevExpress.Utils.KeyShortcut keyShortcut1 = new DevExpress.Utils.KeyShortcut(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); this.txtISBN = new MetroFramework.Controls.MetroTextBox(); this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.txtNombre = new MetroFramework.Controls.MetroTextBox(); this.label3 = new System.Windows.Forms.Label(); this.txtAutor = new MetroFramework.Controls.MetroTextBox(); this.label4 = new System.Windows.Forms.Label(); this.txtEditorial = new MetroFramework.Controls.MetroTextBox(); this.label5 = new System.Windows.Forms.Label(); this.txtPrecio = new MetroFramework.Controls.MetroTextBox(); this.dgListado = new DevExpress.XtraGrid.GridControl(); this.gridView1 = new DevExpress.XtraGrid.Views.Grid.GridView(); this.ISBN = new DevExpress.XtraGrid.Columns.GridColumn(); this.Nombre = new DevExpress.XtraGrid.Columns.GridColumn(); this.Autor = new DevExpress.XtraGrid.Columns.GridColumn(); this.Editorial = new DevExpress.XtraGrid.Columns.GridColumn(); this.Precio = new DevExpress.XtraGrid.Columns.GridColumn(); this.Editar = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.btnNuevo = new MetroFramework.Controls.MetroTile(); this.btnBuscar = new MetroFramework.Controls.MetroTile(); this.btnLimpiar = new MetroFramework.Controls.MetroTile(); this.btnImprimir = new MetroFramework.Controls.MetroTile(); this.metroTile1 = new MetroFramework.Controls.MetroTile(); ((System.ComponentModel.ISupportInitialize)(this.dgListado)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit(); this.SuspendLayout(); // // txtISBN // this.txtISBN.Location = new System.Drawing.Point(43, 91); this.txtISBN.Name = "txtISBN"; this.txtISBN.Size = new System.Drawing.Size(98, 23); this.txtISBN.TabIndex = 1; this.txtISBN.UseStyleColors = true; // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(40, 75); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(32, 13); this.label1.TabIndex = 2; this.label1.Text = "ISBN"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(144, 75); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(44, 13); this.label2.TabIndex = 4; this.label2.Text = "Nombre"; // // txtNombre // this.txtNombre.Location = new System.Drawing.Point(147, 92); this.txtNombre.Name = "txtNombre"; this.txtNombre.Size = new System.Drawing.Size(217, 23); this.txtNombre.TabIndex = 3; this.txtNombre.UseStyleColors = true; // // label3 // this.label3.AutoSize = true; this.label3.Location = new System.Drawing.Point(367, 75); this.label3.Name = "label3"; this.label3.Size = new System.Drawing.Size(32, 13); this.label3.TabIndex = 6; this.label3.Text = "Autor"; // // txtAutor // this.txtAutor.Location = new System.Drawing.Point(370, 91); this.txtAutor.Name = "txtAutor"; this.txtAutor.Size = new System.Drawing.Size(217, 23); this.txtAutor.TabIndex = 5; this.txtAutor.UseStyleColors = true; // // label4 // this.label4.AutoSize = true; this.label4.Location = new System.Drawing.Point(590, 75); this.label4.Name = "label4"; this.label4.Size = new System.Drawing.Size(44, 13); this.label4.TabIndex = 8; this.label4.Text = "Editorial"; // // txtEditorial // this.txtEditorial.Location = new System.Drawing.Point(593, 91); this.txtEditorial.Name = "txtEditorial"; this.txtEditorial.Size = new System.Drawing.Size(137, 23); this.txtEditorial.TabIndex = 7; this.txtEditorial.Text = " "; this.txtEditorial.UseStyleColors = true; // // label5 // this.label5.AutoSize = true; this.label5.Location = new System.Drawing.Point(733, 75); this.label5.Name = "label5"; this.label5.Size = new System.Drawing.Size(37, 13); this.label5.TabIndex = 10; this.label5.Text = "Precio"; // // txtPrecio // this.txtPrecio.Location = new System.Drawing.Point(736, 91); this.txtPrecio.Name = "txtPrecio"; this.txtPrecio.Size = new System.Drawing.Size(78, 23); this.txtPrecio.TabIndex = 9; this.txtPrecio.Text = " "; this.txtPrecio.UseStyleColors = true; // // dgListado // this.dgListado.Dock = System.Windows.Forms.DockStyle.Bottom; this.dgListado.Location = new System.Drawing.Point(20, 196); this.dgListado.LookAndFeel.SkinMaskColor = System.Drawing.SystemColors.HotTrack; this.dgListado.LookAndFeel.UseDefaultLookAndFeel = false; this.dgListado.MainView = this.gridView1; this.dgListado.Name = "dgListado"; this.dgListado.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEdit1 }); this.dgListado.Size = new System.Drawing.Size(801, 225); this.dgListado.TabIndex = 11; this.dgListado.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView1 }); // // gridView1 // this.gridView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.ISBN, this.Nombre, this.Autor, this.Editorial, this.Precio, this.Editar }); this.gridView1.GridControl = this.dgListado; this.gridView1.Name = "gridView1"; // // ISBN // this.ISBN.Caption = "ISBN"; this.ISBN.FieldName = "ISBN"; this.ISBN.Name = "ISBN"; this.ISBN.Visible = true; this.ISBN.VisibleIndex = 0; this.ISBN.Width = 130; // // Nombre // this.Nombre.Caption = "Nombre"; this.Nombre.FieldName = "Nombre"; this.Nombre.Name = "Nombre"; this.Nombre.Visible = true; this.Nombre.VisibleIndex = 1; this.Nombre.Width = 130; // // Autor // this.Autor.Caption = "Autor"; this.Autor.FieldName = "Autor"; this.Autor.Name = "Autor"; this.Autor.Visible = true; this.Autor.VisibleIndex = 2; this.Autor.Width = 130; // // Editorial // this.Editorial.Caption = "Editorial"; this.Editorial.FieldName = "Editorial"; this.Editorial.Name = "Editorial"; this.Editorial.Visible = true; this.Editorial.VisibleIndex = 3; this.Editorial.Width = 130; // // Precio // this.Precio.Caption = "Precio"; this.Precio.FieldName = "Precio"; this.Precio.Name = "Precio"; this.Precio.Visible = true; this.Precio.VisibleIndex = 4; this.Precio.Width = 222; // // Editar // this.Editar.Caption = "Editar"; this.Editar.ColumnEdit = this.repositoryItemButtonEdit1; this.Editar.Name = "Editar"; this.Editar.Visible = true; this.Editar.VisibleIndex = 5; this.Editar.Width = 41; // // repositoryItemButtonEdit1 // this.repositoryItemButtonEdit1.AutoHeight = false; this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, DevExpress.XtraEditors.ImageLocation.MiddleCenter, ((System.Drawing.Image)(resources.GetObject("repositoryItemButtonEdit1.Buttons"))), keyShortcut1, serializableAppearanceObject1, "", null, null, true) }); this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1"; this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEdit1.Click += new System.EventHandler(this.repositoryItemButtonEdit1_Click); // // btnNuevo // this.btnNuevo.Location = new System.Drawing.Point(43, 147); this.btnNuevo.Name = "btnNuevo"; this.btnNuevo.Size = new System.Drawing.Size(100, 31); this.btnNuevo.TabIndex = 12; this.btnNuevo.Text = "Nuevo"; this.btnNuevo.Click += new System.EventHandler(this.btnNuevo_Click); // // btnBuscar // this.btnBuscar.Location = new System.Drawing.Point(167, 147); this.btnBuscar.Name = "btnBuscar"; this.btnBuscar.Size = new System.Drawing.Size(100, 31); this.btnBuscar.TabIndex = 13; this.btnBuscar.Text = "Buscar"; this.btnBuscar.Click += new System.EventHandler(this.btnBuscar_Click); // // btnLimpiar // this.btnLimpiar.Location = new System.Drawing.Point(289, 147); this.btnLimpiar.Name = "btnLimpiar"; this.btnLimpiar.Size = new System.Drawing.Size(100, 31); this.btnLimpiar.TabIndex = 14; this.btnLimpiar.Text = "Limpiar"; this.btnLimpiar.Click += new System.EventHandler(this.btnLimpiar_Click); // // btnImprimir // this.btnImprimir.Location = new System.Drawing.Point(408, 147); this.btnImprimir.Name = "btnImprimir"; this.btnImprimir.Size = new System.Drawing.Size(100, 31); this.btnImprimir.TabIndex = 15; this.btnImprimir.Text = "Imprimir"; this.btnImprimir.Click += new System.EventHandler(this.btnImprimir_Click); // // metroTile1 // this.metroTile1.Location = new System.Drawing.Point(534, 147); this.metroTile1.Name = "metroTile1"; this.metroTile1.Size = new System.Drawing.Size(100, 31); this.metroTile1.TabIndex = 16; this.metroTile1.Text = "Imprimir"; this.metroTile1.Click += new System.EventHandler(this.metroTile1_Click); // // Principal // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(841, 441); this.Controls.Add(this.metroTile1); this.Controls.Add(this.btnImprimir); this.Controls.Add(this.btnLimpiar); this.Controls.Add(this.btnBuscar); this.Controls.Add(this.btnNuevo); this.Controls.Add(this.dgListado); this.Controls.Add(this.label5); this.Controls.Add(this.txtPrecio); this.Controls.Add(this.label4); this.Controls.Add(this.txtEditorial); this.Controls.Add(this.label3); this.Controls.Add(this.txtAutor); this.Controls.Add(this.label2); this.Controls.Add(this.txtNombre); this.Controls.Add(this.label1); this.Controls.Add(this.txtISBN); this.Name = "Principal"; this.ShadowType = MetroFramework.Forms.MetroForm.MetroFormShadowType.SystemShadow; this.Text = "Principal"; this.Load += new System.EventHandler(this.Principal_Load); ((System.ComponentModel.ISupportInitialize)(this.dgListado)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView1)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).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.Controls.EditorButtonImageOptions editorButtonImageOptions1 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FRM_Code)); DevExpress.Utils.KeyShortcut keyShortcut1 = new DevExpress.Utils.KeyShortcut(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject1 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject2 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject3 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject4 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions2 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.KeyShortcut keyShortcut2 = new DevExpress.Utils.KeyShortcut(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject5 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject6 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject7 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject8 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions3 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.KeyShortcut keyShortcut3 = new DevExpress.Utils.KeyShortcut(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject9 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject10 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject11 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject12 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions4 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions(); DevExpress.Utils.KeyShortcut keyShortcut4 = new DevExpress.Utils.KeyShortcut(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject13 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject14 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject15 = new DevExpress.Utils.SerializableAppearanceObject(); DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject16 = new DevExpress.Utils.SerializableAppearanceObject(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPage1 = new DevExpress.XtraTab.XtraTabPage(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.labelControl1 = new DevExpress.XtraEditors.LabelControl(); this.txtCategoryName = new DevExpress.XtraEditors.ButtonEdit(); this.gridControl_Category = new DevExpress.XtraGrid.GridControl(); this.cLSCategoryBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridView_Category = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colCategoryID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colCategoryName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDelete = new DevExpress.XtraGrid.Columns.GridColumn(); this.repositoryItemButtonEditDelete = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.labelControl2 = new DevExpress.XtraEditors.LabelControl(); this.txtUnitName = new DevExpress.XtraEditors.ButtonEdit(); this.gridControlUnitCard = new DevExpress.XtraGrid.GridControl(); this.cLSUnitCardBindingSource = new System.Windows.Forms.BindingSource(this.components); this.gridViewUnitCard = new DevExpress.XtraGrid.Views.Grid.GridView(); this.colUnitID = new DevExpress.XtraGrid.Columns.GridColumn(); this.colUnitName = new DevExpress.XtraGrid.Columns.GridColumn(); this.colDeleteUnit = new DevExpress.XtraGrid.Columns.GridColumn(); this.repDeleteUnitCard = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit(); this.tableLayoutPanel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtCategoryName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_Category)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cLSCategoryBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView_Category)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDelete)).BeginInit(); this.tableLayoutPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtUnitName.Properties)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControlUnitCard)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.cLSUnitCardBindingSource)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewUnitCard)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.repDeleteUnitCard)).BeginInit(); this.SuspendLayout(); // // tableLayoutPanel1 // this.tableLayoutPanel1.ColumnCount = 1; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Controls.Add(this.xtraTabControl1, 0, 0); this.tableLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.RowCount = 1; this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.tableLayoutPanel1.Size = new System.Drawing.Size(460, 495); this.tableLayoutPanel1.TabIndex = 0; // // xtraTabControl1 // this.xtraTabControl1.Appearance.Options.UseTextOptions = true; this.xtraTabControl1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.xtraTabControl1.Appearance.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControl1.HeaderAutoFill = DevExpress.Utils.DefaultBoolean.True; this.xtraTabControl1.Location = new System.Drawing.Point(3, 3); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.SelectedTabPage = this.xtraTabPage1; this.xtraTabControl1.Size = new System.Drawing.Size(454, 489); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPage1, this.xtraTabPage2 }); // // xtraTabPage1 // this.xtraTabPage1.Appearance.Header.Font = new System.Drawing.Font("Cambria", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xtraTabPage1.Appearance.Header.Options.UseFont = true; this.xtraTabPage1.Controls.Add(this.tableLayoutPanel2); this.xtraTabPage1.Enabled = true; this.xtraTabPage1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("xtraTabPage1.ImageOptions.Image"))); this.xtraTabPage1.Name = "xtraTabPage1"; this.xtraTabPage1.Size = new System.Drawing.Size(452, 441); this.xtraTabPage1.Text = "الاصناف"; // // tableLayoutPanel2 // this.tableLayoutPanel2.ColumnCount = 2; this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.37173F)); this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80.62827F)); this.tableLayoutPanel2.Controls.Add(this.labelControl1, 0, 0); this.tableLayoutPanel2.Controls.Add(this.txtCategoryName, 1, 0); this.tableLayoutPanel2.Controls.Add(this.gridControl_Category, 0, 1); this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.tableLayoutPanel2.RowCount = 2; this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.923664F)); this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 90.07633F)); this.tableLayoutPanel2.Size = new System.Drawing.Size(452, 441); this.tableLayoutPanel2.TabIndex = 0; // // labelControl1 // this.labelControl1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.labelControl1.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl1.Appearance.Options.UseFont = true; this.labelControl1.Location = new System.Drawing.Point(368, 11); this.labelControl1.Name = "labelControl1"; this.labelControl1.Size = new System.Drawing.Size(53, 20); this.labelControl1.TabIndex = 0; this.labelControl1.Text = "الصنف :"; // // txtCategoryName // this.txtCategoryName.Dock = System.Windows.Forms.DockStyle.Fill; this.txtCategoryName.Location = new System.Drawing.Point(3, 3); this.txtCategoryName.Name = "txtCategoryName"; // // // this.txtCategoryName.Properties.Appearance.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtCategoryName.Properties.Appearance.Options.UseFont = true; this.txtCategoryName.Properties.AutoHeight = false; editorButtonImageOptions1.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions1.Image"))); this.txtCategoryName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions1, keyShortcut1, serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); this.txtCategoryName.Size = new System.Drawing.Size(359, 37); this.txtCategoryName.TabIndex = 1; this.txtCategoryName.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtCategoryName_ButtonClick); this.txtCategoryName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtCategoryName_KeyDown); // // gridControl_Category // this.tableLayoutPanel2.SetColumnSpan(this.gridControl_Category, 2); this.gridControl_Category.DataSource = this.cLSCategoryBindingSource; this.gridControl_Category.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControl_Category.Location = new System.Drawing.Point(3, 46); this.gridControl_Category.MainView = this.gridView_Category; this.gridControl_Category.Name = "gridControl_Category"; this.gridControl_Category.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repositoryItemButtonEditDelete }); this.gridControl_Category.Size = new System.Drawing.Size(446, 392); this.gridControl_Category.TabIndex = 2; this.gridControl_Category.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridView_Category }); // // cLSCategoryBindingSource // this.cLSCategoryBindingSource.DataSource = typeof(CasherApp.Model.CLS_Category); // // gridView_Category // this.gridView_Category.Appearance.FooterPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView_Category.Appearance.FooterPanel.Options.UseFont = true; this.gridView_Category.Appearance.GroupPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView_Category.Appearance.GroupPanel.Options.UseFont = true; this.gridView_Category.Appearance.HeaderPanel.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView_Category.Appearance.HeaderPanel.Options.UseFont = true; this.gridView_Category.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridView_Category.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridView_Category.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gridView_Category.Appearance.Row.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridView_Category.Appearance.Row.Options.UseFont = true; this.gridView_Category.Appearance.Row.Options.UseTextOptions = true; this.gridView_Category.Appearance.Row.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gridView_Category.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colCategoryID, this.colCategoryName, this.colDelete }); this.gridView_Category.GridControl = this.gridControl_Category; this.gridView_Category.GroupPanelText = "اسحب الحقل هنا للتجميع"; this.gridView_Category.Name = "gridView_Category"; this.gridView_Category.OptionsCustomization.AllowColumnResizing = false; this.gridView_Category.OptionsMenu.EnableColumnMenu = false; this.gridView_Category.OptionsMenu.EnableFooterMenu = false; this.gridView_Category.OptionsView.ShowAutoFilterRow = true; this.gridView_Category.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.ShowAlways; this.gridView_Category.RowHeight = 30; // // colCategoryID // this.colCategoryID.AppearanceHeader.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colCategoryID.AppearanceHeader.Options.UseFont = true; this.colCategoryID.FieldName = "CategoryID"; this.colCategoryID.Name = "colCategoryID"; this.colCategoryID.OptionsFilter.AllowFilter = false; // // colCategoryName // this.colCategoryName.AppearanceHeader.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colCategoryName.AppearanceHeader.Options.UseFont = true; this.colCategoryName.Caption = "الاصناف"; this.colCategoryName.FieldName = "CategoryName"; this.colCategoryName.Name = "colCategoryName"; this.colCategoryName.OptionsColumn.AllowEdit = false; this.colCategoryName.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colCategoryName.OptionsFilter.FilterPopupMode = DevExpress.XtraGrid.Columns.FilterPopupMode.CheckedList; this.colCategoryName.Visible = true; this.colCategoryName.VisibleIndex = 0; this.colCategoryName.Width = 384; // // colDelete // this.colDelete.AppearanceHeader.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colDelete.AppearanceHeader.Options.UseFont = true; this.colDelete.Caption = "حذف"; this.colDelete.ColumnEdit = this.repositoryItemButtonEditDelete; this.colDelete.Name = "colDelete"; this.colDelete.OptionsFilter.AllowAutoFilter = false; this.colDelete.OptionsFilter.AllowFilter = false; this.colDelete.Visible = true; this.colDelete.VisibleIndex = 1; this.colDelete.Width = 122; // // repositoryItemButtonEditDelete // this.repositoryItemButtonEditDelete.AutoHeight = false; editorButtonImageOptions2.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions2.Image"))); serializableAppearanceObject5.BackColor = System.Drawing.Color.Transparent; serializableAppearanceObject5.Options.UseBackColor = true; this.repositoryItemButtonEditDelete.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions2, keyShortcut2, serializableAppearanceObject5, serializableAppearanceObject6, serializableAppearanceObject7, serializableAppearanceObject8, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); this.repositoryItemButtonEditDelete.CharacterCasing = System.Windows.Forms.CharacterCasing.Upper; this.repositoryItemButtonEditDelete.Name = "repositoryItemButtonEditDelete"; this.repositoryItemButtonEditDelete.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repositoryItemButtonEditDelete.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repositoryItemButtonEditDelete_ButtonClick); // // xtraTabPage2 // this.xtraTabPage2.Appearance.Header.Font = new System.Drawing.Font("Cambria", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.xtraTabPage2.Appearance.Header.Options.UseFont = true; this.xtraTabPage2.Controls.Add(this.tableLayoutPanel3); this.xtraTabPage2.Enabled = true; this.xtraTabPage2.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("xtraTabPage2.ImageOptions.Image"))); this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(452, 441); this.xtraTabPage2.Text = "الوحدات"; // // tableLayoutPanel3 // this.tableLayoutPanel3.ColumnCount = 2; this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 19.37173F)); this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 80.62827F)); this.tableLayoutPanel3.Controls.Add(this.labelControl2, 0, 0); this.tableLayoutPanel3.Controls.Add(this.txtUnitName, 1, 0); this.tableLayoutPanel3.Controls.Add(this.gridControlUnitCard, 0, 1); this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel3.Location = new System.Drawing.Point(0, 0); this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel3.RowCount = 2; this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 9.923664F)); this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 90.07633F)); this.tableLayoutPanel3.Size = new System.Drawing.Size(452, 441); this.tableLayoutPanel3.TabIndex = 1; // // labelControl2 // this.labelControl2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right))); this.labelControl2.Appearance.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.labelControl2.Appearance.Options.UseFont = true; this.labelControl2.Location = new System.Drawing.Point(368, 11); this.labelControl2.Name = "labelControl2"; this.labelControl2.Size = new System.Drawing.Size(81, 20); this.labelControl2.TabIndex = 0; this.labelControl2.Text = "الوحدة :"; // // txtUnitName // this.txtUnitName.Dock = System.Windows.Forms.DockStyle.Fill; this.txtUnitName.Location = new System.Drawing.Point(3, 3); this.txtUnitName.Name = "txtUnitName"; // // // this.txtUnitName.Properties.Appearance.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.txtUnitName.Properties.Appearance.Options.UseFont = true; this.txtUnitName.Properties.AutoHeight = false; editorButtonImageOptions3.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions3.Image"))); this.txtUnitName.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions3, keyShortcut3, serializableAppearanceObject9, serializableAppearanceObject10, serializableAppearanceObject11, serializableAppearanceObject12, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); this.txtUnitName.Size = new System.Drawing.Size(359, 37); this.txtUnitName.TabIndex = 1; this.txtUnitName.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.txtUnitName_ButtonClick); this.txtUnitName.KeyDown += new System.Windows.Forms.KeyEventHandler(this.txtUnitName_KeyDown); // // gridControlUnitCard // this.tableLayoutPanel3.SetColumnSpan(this.gridControlUnitCard, 2); this.gridControlUnitCard.DataSource = this.cLSUnitCardBindingSource; this.gridControlUnitCard.Dock = System.Windows.Forms.DockStyle.Fill; this.gridControlUnitCard.Location = new System.Drawing.Point(3, 46); this.gridControlUnitCard.MainView = this.gridViewUnitCard; this.gridControlUnitCard.Name = "gridControlUnitCard"; this.gridControlUnitCard.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] { this.repDeleteUnitCard }); this.gridControlUnitCard.Size = new System.Drawing.Size(446, 392); this.gridControlUnitCard.TabIndex = 2; this.gridControlUnitCard.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] { this.gridViewUnitCard }); // // cLSUnitCardBindingSource // this.cLSUnitCardBindingSource.DataSource = typeof(CasherApp.Model.CLS_UnitCard); // // gridViewUnitCard // this.gridViewUnitCard.Appearance.FooterPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridViewUnitCard.Appearance.FooterPanel.Options.UseFont = true; this.gridViewUnitCard.Appearance.GroupPanel.Font = new System.Drawing.Font("Microsoft Sans Serif", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridViewUnitCard.Appearance.GroupPanel.Options.UseFont = true; this.gridViewUnitCard.Appearance.HeaderPanel.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridViewUnitCard.Appearance.HeaderPanel.Options.UseFont = true; this.gridViewUnitCard.Appearance.HeaderPanel.Options.UseTextOptions = true; this.gridViewUnitCard.Appearance.HeaderPanel.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewUnitCard.Appearance.HeaderPanel.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gridViewUnitCard.Appearance.Row.Font = new System.Drawing.Font("Times New Roman", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.gridViewUnitCard.Appearance.Row.Options.UseFont = true; this.gridViewUnitCard.Appearance.Row.Options.UseTextOptions = true; this.gridViewUnitCard.Appearance.Row.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewUnitCard.Appearance.Row.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gridViewUnitCard.AppearancePrint.Row.Options.UseTextOptions = true; this.gridViewUnitCard.AppearancePrint.Row.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center; this.gridViewUnitCard.AppearancePrint.Row.TextOptions.VAlignment = DevExpress.Utils.VertAlignment.Center; this.gridViewUnitCard.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] { this.colUnitID, this.colUnitName, this.colDeleteUnit }); this.gridViewUnitCard.GridControl = this.gridControlUnitCard; this.gridViewUnitCard.GroupPanelText = "اسحب الحقل هنا للتجميع"; this.gridViewUnitCard.Name = "gridViewUnitCard"; this.gridViewUnitCard.OptionsCustomization.AllowColumnResizing = false; this.gridViewUnitCard.OptionsMenu.EnableColumnMenu = false; this.gridViewUnitCard.OptionsMenu.EnableFooterMenu = false; this.gridViewUnitCard.OptionsView.ShowAutoFilterRow = true; this.gridViewUnitCard.OptionsView.ShowFilterPanelMode = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.ShowAlways; this.gridViewUnitCard.RowHeight = 30; // // colUnitID // this.colUnitID.AppearanceHeader.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colUnitID.AppearanceHeader.Options.UseFont = true; this.colUnitID.FieldName = "UnitID"; this.colUnitID.Name = "colUnitID"; this.colUnitID.OptionsColumn.AllowEdit = false; this.colUnitID.OptionsFilter.AllowAutoFilter = false; this.colUnitID.OptionsFilter.AllowFilter = false; // // colUnitName // this.colUnitName.AppearanceHeader.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colUnitName.AppearanceHeader.Options.UseFont = true; this.colUnitName.Caption = "الوحدة"; this.colUnitName.FieldName = "UnitName"; this.colUnitName.Name = "colUnitName"; this.colUnitName.OptionsFilter.AutoFilterCondition = DevExpress.XtraGrid.Columns.AutoFilterCondition.Contains; this.colUnitName.OptionsFilter.FilterPopupMode = DevExpress.XtraGrid.Columns.FilterPopupMode.CheckedList; this.colUnitName.Visible = true; this.colUnitName.VisibleIndex = 0; this.colUnitName.Width = 384; // // colDeleteUnit // this.colDeleteUnit.AppearanceHeader.Font = new System.Drawing.Font("Times New Roman", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.colDeleteUnit.AppearanceHeader.Options.UseFont = true; this.colDeleteUnit.Caption = "حذف"; this.colDeleteUnit.ColumnEdit = this.repDeleteUnitCard; this.colDeleteUnit.Name = "colDeleteUnit"; this.colDeleteUnit.Visible = true; this.colDeleteUnit.VisibleIndex = 1; this.colDeleteUnit.Width = 122; // // repDeleteUnitCard // this.repDeleteUnitCard.AutoHeight = false; editorButtonImageOptions4.Image = ((System.Drawing.Image)(resources.GetObject("editorButtonImageOptions4.Image"))); serializableAppearanceObject13.BackColor = System.Drawing.Color.Transparent; serializableAppearanceObject13.Options.UseBackColor = true; this.repDeleteUnitCard.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] { new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Glyph, "", -1, true, true, false, editorButtonImageOptions4, keyShortcut4, serializableAppearanceObject13, serializableAppearanceObject14, serializableAppearanceObject15, serializableAppearanceObject16, "", null, null, DevExpress.Utils.ToolTipAnchor.Default) }); this.repDeleteUnitCard.Name = "repDeleteUnitCard"; this.repDeleteUnitCard.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.HideTextEditor; this.repDeleteUnitCard.ButtonClick += new DevExpress.XtraEditors.Controls.ButtonPressedEventHandler(this.repDeleteUnitCard_ButtonClick); // // FRM_Code // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(460, 495); this.Controls.Add(this.tableLayoutPanel1); this.LookAndFeel.SkinName = "The Bezier"; this.LookAndFeel.UseDefaultLookAndFeel = false; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "FRM_Code"; this.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.RightToLeftLayout = true; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "الاصناف والوحدات"; this.tableLayoutPanel1.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtCategoryName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControl_Category)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cLSCategoryBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridView_Category)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEditDelete)).EndInit(); this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtUnitName.Properties)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridControlUnitCard)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.cLSUnitCardBindingSource)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.gridViewUnitCard)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.repDeleteUnitCard)).EndInit(); this.ResumeLayout(false); }