Ejemplo n.º 1
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.CheckContextButton             checkContextButton1 = new DevExpress.Utils.CheckContextButton();
     DevExpress.Utils.CheckContextButton             checkContextButton2 = new DevExpress.Utils.CheckContextButton();
     DevExpress.Utils.CheckContextButton             checkContextButton3 = new DevExpress.Utils.CheckContextButton();
     DevExpress.XtraPrinting.BarCode.QRCodeGenerator qrCodeGenerator1    = new DevExpress.XtraPrinting.BarCode.QRCodeGenerator();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.Btn_Export        = new DevExpress.XtraEditors.SimpleButton();
     this.flowLayoutPanel1  = new System.Windows.Forms.FlowLayoutPanel();
     this.label1            = new System.Windows.Forms.Label();
     this.radioGroup1       = new DevExpress.XtraEditors.RadioGroup();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.Pic_zhuotie1      = new DevExpress.XtraEditors.PictureEdit();
     this.Pic_zhuotie3      = new DevExpress.XtraEditors.PictureEdit();
     this.Pic_zhuotie2      = new DevExpress.XtraEditors.PictureEdit();
     this.label2            = new System.Windows.Forms.Label();
     this.barCodeControl1   = new DevExpress.XtraEditors.BarCodeControl();
     this.tableLayoutPanel1.SuspendLayout();
     this.flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).BeginInit();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Pic_zhuotie1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Pic_zhuotie3.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Pic_zhuotie2.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.Btn_Export, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 0, 1);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 3;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
     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, 40F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(874, 369);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // Btn_Export
     //
     this.Btn_Export.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
     this.Btn_Export.Appearance.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(252)))), ((int)(((byte)(104)))), ((int)(((byte)(18)))));
     this.Btn_Export.Appearance.Font                 = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Btn_Export.Appearance.ForeColor            = System.Drawing.Color.White;
     this.Btn_Export.Appearance.Options.UseBackColor = true;
     this.Btn_Export.Appearance.Options.UseFont      = true;
     this.Btn_Export.Appearance.Options.UseForeColor = true;
     this.Btn_Export.ButtonStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.Btn_Export.Location    = new System.Drawing.Point(384, 332);
     this.Btn_Export.Name        = "Btn_Export";
     this.Btn_Export.Size        = new System.Drawing.Size(106, 34);
     this.Btn_Export.TabIndex    = 19;
     this.Btn_Export.Text        = "导出";
     this.Btn_Export.Click      += new System.EventHandler(this.Btn_Export_Click);
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Controls.Add(this.label1);
     this.flowLayoutPanel1.Controls.Add(this.radioGroup1);
     this.flowLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(868, 34);
     this.flowLayoutPanel1.TabIndex = 0;
     //
     // label1
     //
     this.label1.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(3, 8);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(74, 21);
     this.label1.TabIndex = 0;
     this.label1.Text     = "使用方式";
     //
     // radioGroup1
     //
     this.radioGroup1.Location = new System.Drawing.Point(83, 3);
     this.radioGroup1.Name     = "radioGroup1";
     this.radioGroup1.Properties.Appearance.BackColor            = System.Drawing.Color.Transparent;
     this.radioGroup1.Properties.Appearance.Font                 = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.radioGroup1.Properties.Appearance.Options.UseBackColor = true;
     this.radioGroup1.Properties.Appearance.Options.UseFont      = true;
     this.radioGroup1.Properties.Items.AddRange(new DevExpress.XtraEditors.Controls.RadioGroupItem[] {
         new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "桌贴"),
         new DevExpress.XtraEditors.Controls.RadioGroupItem(null, "桌牌")
     });
     this.radioGroup1.Properties.ItemsLayout = DevExpress.XtraEditors.RadioGroupItemsLayout.Flow;
     this.radioGroup1.Size                  = new System.Drawing.Size(266, 31);
     this.radioGroup1.TabIndex              = 1;
     this.radioGroup1.SelectedIndexChanged += new System.EventHandler(this.radioGroup1_SelectedIndexChanged);
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 3;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 33.33333F));
     this.tableLayoutPanel2.Controls.Add(this.Pic_zhuotie1, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.Pic_zhuotie3, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.Pic_zhuotie2, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.label2, 1, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 43);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 2;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 40F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(868, 283);
     this.tableLayoutPanel2.TabIndex = 1;
     //
     // Pic_zhuotie1
     //
     this.Pic_zhuotie1.Cursor   = System.Windows.Forms.Cursors.Default;
     this.Pic_zhuotie1.Location = new System.Drawing.Point(3, 43);
     this.Pic_zhuotie1.Name     = "Pic_zhuotie1";
     this.Pic_zhuotie1.Properties.Appearance.BackColor                  = System.Drawing.Color.Transparent;
     this.Pic_zhuotie1.Properties.Appearance.Options.UseBackColor       = true;
     this.Pic_zhuotie1.Properties.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     checkContextButton1.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Bottom;
     checkContextButton1.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
     checkContextButton1.Caption    = null;
     checkContextButton1.Id         = new System.Guid("4a9bb2d6-31b3-425f-9da9-cfc0128f311b");
     checkContextButton1.Name       = "checkContextButton1";
     checkContextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.Pic_zhuotie1.Properties.ContextButtons.Add(checkContextButton1);
     this.Pic_zhuotie1.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
     this.Pic_zhuotie1.Properties.SizeMode           = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.Pic_zhuotie1.Size                = new System.Drawing.Size(283, 217);
     this.Pic_zhuotie1.TabIndex            = 4;
     this.Pic_zhuotie1.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.Pic_zhuotie1_ContextButtonClick);
     this.Pic_zhuotie1.Click              += new System.EventHandler(this.Pic_zhuotie1_Click);
     //
     // Pic_zhuotie3
     //
     this.Pic_zhuotie3.Cursor   = System.Windows.Forms.Cursors.Default;
     this.Pic_zhuotie3.Location = new System.Drawing.Point(581, 43);
     this.Pic_zhuotie3.Name     = "Pic_zhuotie3";
     this.Pic_zhuotie3.Properties.Appearance.BackColor                  = System.Drawing.Color.Transparent;
     this.Pic_zhuotie3.Properties.Appearance.Options.UseBackColor       = true;
     this.Pic_zhuotie3.Properties.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     checkContextButton2.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Bottom;
     checkContextButton2.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
     checkContextButton2.Caption    = null;
     checkContextButton2.Id         = new System.Guid("4a9bb2d6-31b3-425f-9da9-cfc0128f311b");
     checkContextButton2.Name       = "checkContextButton1";
     checkContextButton2.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.Pic_zhuotie3.Properties.ContextButtons.Add(checkContextButton2);
     this.Pic_zhuotie3.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
     this.Pic_zhuotie3.Properties.SizeMode           = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.Pic_zhuotie3.Size                = new System.Drawing.Size(283, 217);
     this.Pic_zhuotie3.TabIndex            = 3;
     this.Pic_zhuotie3.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.Pic_zhuotie3_ContextButtonClick);
     this.Pic_zhuotie3.Click              += new System.EventHandler(this.Pic_zhuotie3_Click);
     //
     // Pic_zhuotie2
     //
     this.Pic_zhuotie2.Cursor   = System.Windows.Forms.Cursors.Default;
     this.Pic_zhuotie2.Location = new System.Drawing.Point(292, 43);
     this.Pic_zhuotie2.Name     = "Pic_zhuotie2";
     this.Pic_zhuotie2.Properties.Appearance.BackColor                  = System.Drawing.Color.Transparent;
     this.Pic_zhuotie2.Properties.Appearance.Options.UseBackColor       = true;
     this.Pic_zhuotie2.Properties.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     checkContextButton3.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Bottom;
     checkContextButton3.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
     checkContextButton3.Caption    = null;
     checkContextButton3.Id         = new System.Guid("4a9bb2d6-31b3-425f-9da9-cfc0128f311b");
     checkContextButton3.Name       = "checkContextButton1";
     checkContextButton3.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.Pic_zhuotie2.Properties.ContextButtons.Add(checkContextButton3);
     this.Pic_zhuotie2.Properties.ShowCameraMenuItem = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
     this.Pic_zhuotie2.Properties.SizeMode           = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.Pic_zhuotie2.Size                = new System.Drawing.Size(283, 217);
     this.Pic_zhuotie2.TabIndex            = 2;
     this.Pic_zhuotie2.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.Pic_zhuotie2_ContextButtonClick);
     this.Pic_zhuotie2.Click              += new System.EventHandler(this.Pic_zhuotie2_Click);
     //
     // label2
     //
     this.label2.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label2.Location = new System.Drawing.Point(396, 9);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(74, 21);
     this.label2.TabIndex = 1;
     this.label2.Text     = "选择模板";
     //
     // barCodeControl1
     //
     this.barCodeControl1.AutoModule = true;
     this.barCodeControl1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.barCodeControl1.BackColor  = System.Drawing.Color.White;
     this.barCodeControl1.Location   = new System.Drawing.Point(3, 352);
     this.barCodeControl1.Name       = "barCodeControl1";
     this.barCodeControl1.Padding    = new System.Windows.Forms.Padding(10, 2, 10, 0);
     this.barCodeControl1.ShowText   = false;
     this.barCodeControl1.Size       = new System.Drawing.Size(392, 395);
     qrCodeGenerator1.Version        = DevExpress.XtraPrinting.BarCode.QRCodeVersion.Version1;
     this.barCodeControl1.Symbology  = qrCodeGenerator1;
     this.barCodeControl1.TabIndex   = 20;
     //
     // ExportControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name = "ExportControl";
     this.Size = new System.Drawing.Size(874, 369);
     this.tableLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).EndInit();
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.Pic_zhuotie1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Pic_zhuotie3.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Pic_zhuotie2.Properties)).EndInit();
     this.ResumeLayout(false);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.Utils.CheckContextButton            checkContextButton1 = new DevExpress.Utils.CheckContextButton();
     DevExpress.XtraBars.Ribbon.GalleryItemGroup    galleryItemGroup1   = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
     DevExpress.XtraBars.Ribbon.GalleryItem         galleryItem1        = new DevExpress.XtraBars.Ribbon.GalleryItem();
     System.ComponentModel.ComponentResourceManager resources           = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
     DevExpress.XtraBars.Ribbon.GalleryItem         galleryItem2        = new DevExpress.XtraBars.Ribbon.GalleryItem();
     DevExpress.XtraBars.Ribbon.GalleryItem         galleryItem3        = new DevExpress.XtraBars.Ribbon.GalleryItem();
     DevExpress.Utils.CheckContextButton            checkContextButton2 = new DevExpress.Utils.CheckContextButton();
     DevExpress.XtraBars.Ribbon.GalleryItemGroup    galleryItemGroup2   = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
     this.galleryDropDown1      = new DevExpress.XtraBars.Ribbon.GalleryDropDown(this.components);
     this.barManager1           = new DevExpress.XtraBars.BarManager(this.components);
     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.barButtonItem1        = new DevExpress.XtraBars.BarButtonItem();
     this.barButtonItem2        = new DevExpress.XtraBars.BarButtonItem();
     this.galleryControl1       = new DevExpress.XtraBars.Ribbon.GalleryControl();
     this.galleryControlClient1 = new DevExpress.XtraBars.Ribbon.GalleryControlClient();
     ((System.ComponentModel.ISupportInitialize)(this.galleryDropDown1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.galleryControl1)).BeginInit();
     this.galleryControl1.SuspendLayout();
     this.SuspendLayout();
     //
     // galleryDropDown1
     //
     //
     //
     //
     checkContextButton1.Checked    = true;
     checkContextButton1.Id         = new System.Guid("c849249b-dc14-40ad-8a7e-fe13cf7990c8");
     checkContextButton1.Name       = "CheckContextButton";
     checkContextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.galleryDropDown1.Gallery.ContextButtons.Add(checkContextButton1);
     galleryItemGroup1.Caption = "Group1";
     galleryItem1.Caption      = "Item1";
     galleryItem1.Checked      = true;
     galleryItem1.Image        = ((System.Drawing.Image)(resources.GetObject("galleryItem1.Image")));
     galleryItem1.Value        = 0;
     galleryItem2.Caption      = "Item2";
     galleryItem2.Checked      = true;
     galleryItem2.Image        = ((System.Drawing.Image)(resources.GetObject("galleryItem2.Image")));
     galleryItem2.Value        = 1;
     galleryItem3.Caption      = "Item3";
     galleryItem3.Image        = ((System.Drawing.Image)(resources.GetObject("galleryItem3.Image")));
     galleryItem3.Value        = 2;
     galleryItemGroup1.Items.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItem[] {
         galleryItem1,
         galleryItem2,
         galleryItem3
     });
     this.galleryDropDown1.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] {
         galleryItemGroup1
     });
     this.galleryDropDown1.Gallery.ImageSize     = new System.Drawing.Size(90, 120);
     this.galleryDropDown1.Gallery.ItemCheckMode = DevExpress.XtraBars.Ribbon.Gallery.ItemCheckMode.Multiple;
     this.galleryDropDown1.Gallery.ShowItemText  = true;
     this.galleryDropDown1.Manager     = this.barManager1;
     this.galleryDropDown1.Name        = "galleryDropDown1";
     this.galleryDropDown1.ShowCaption = true;
     //
     // barManager1
     //
     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.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.barButtonItem1,
         this.barButtonItem2
     });
     this.barManager1.MaxItemId = 2;
     //
     // 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(374, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 406);
     // this.barDockControlBottom.Manager = this.barManager1;
     this.barDockControlBottom.Size = new System.Drawing.Size(374, 0);
     //
     // 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, 406);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(374, 0);
     //  this.barDockControlRight.Manager = this.barManager1;
     this.barDockControlRight.Size = new System.Drawing.Size(0, 406);
     //
     // barButtonItem1
     //
     this.barButtonItem1.Caption = "barButtonItem1";
     this.barButtonItem1.Id      = 0;
     this.barButtonItem1.Name    = "barButtonItem1";
     //
     // barButtonItem2
     //
     this.barButtonItem2.Caption = "barButtonItem2";
     this.barButtonItem2.Id      = 1;
     this.barButtonItem2.Name    = "barButtonItem2";
     //
     // galleryControl1
     //
     this.galleryControl1.Controls.Add(this.galleryControlClient1);
     this.galleryControl1.Cursor = System.Windows.Forms.Cursors.Default;
     this.galleryControl1.DesignGalleryGroupIndex = 0;
     this.galleryControl1.DesignGalleryItemIndex  = 0;
     this.galleryControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     //
     //
     //
     checkContextButton2.Id         = new System.Guid("1976cde2-0fca-4666-b1fc-7a8d4762b2e3");
     checkContextButton2.Name       = "CheckContextButton";
     checkContextButton2.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.galleryControl1.Gallery.ContextButtons.Add(checkContextButton2);
     galleryItemGroup2.Caption = "Group2";
     this.galleryControl1.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] {
         galleryItemGroup2
     });
     this.galleryControl1.Gallery.ImageSize               = new System.Drawing.Size(120, 90);
     this.galleryControl1.Gallery.ItemCheckMode           = DevExpress.XtraBars.Ribbon.Gallery.ItemCheckMode.Multiple;
     this.galleryControl1.Gallery.ItemImageLayout         = DevExpress.Utils.Drawing.ImageLayoutMode.Stretch;
     this.galleryControl1.Gallery.ItemSize                = new System.Drawing.Size(50, 50);
     this.galleryControl1.Gallery.ContextButtonCustomize += new DevExpress.XtraBars.Ribbon.Gallery.GalleryContextButtonCustomizeEventHandler(this.galleryControl1_Gallery_ContextButtonCustomize);
     this.galleryControl1.Gallery.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.galleryControl1_Gallery_ContextButtonClick);
     this.galleryControl1.Location = new System.Drawing.Point(0, 0);
     this.galleryControl1.Name     = "galleryControl1";
     this.galleryControl1.Size     = new System.Drawing.Size(374, 406);
     this.galleryControl1.TabIndex = 4;
     this.galleryControl1.Text     = "galleryControl1";
     //
     // galleryControlClient1
     //
     this.galleryControlClient1.GalleryControl = this.galleryControl1;
     this.galleryControlClient1.Location       = new System.Drawing.Point(2, 2);
     this.galleryControlClient1.Size           = new System.Drawing.Size(353, 402);
     //
     // Form1
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(374, 406);
     this.Controls.Add(this.galleryControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name = "Form1";
     this.Text = "Form1";
     ((System.ComponentModel.ISupportInitialize)(this.galleryDropDown1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.galleryControl1)).EndInit();
     this.galleryControl1.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     DevExpress.Utils.CheckContextButton            checkContextButton1 = new DevExpress.Utils.CheckContextButton();
     System.ComponentModel.ComponentResourceManager resources           = new System.ComponentModel.ComponentResourceManager(typeof(frmHinh));
     this.pictureEdit1     = new DevExpress.XtraEditors.PictureEdit();
     this.panelControl1    = new DevExpress.XtraEditors.PanelControl();
     this.simpleButton1    = new DevExpress.XtraEditors.SimpleButton();
     this.behaviorManager1 = new DevExpress.Utils.Behaviors.BehaviorManager(this.components);
     this.simpleButton2    = new DevExpress.XtraEditors.SimpleButton();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).BeginInit();
     this.panelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).BeginInit();
     this.SuspendLayout();
     //
     // pictureEdit1
     //
     this.pictureEdit1.Cursor   = System.Windows.Forms.Cursors.Default;
     this.pictureEdit1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.pictureEdit1.Location = new System.Drawing.Point(0, 53);
     this.pictureEdit1.Name     = "pictureEdit1";
     this.pictureEdit1.Properties.AllowScrollOnMouseWheel = DevExpress.Utils.DefaultBoolean.True;
     this.pictureEdit1.Properties.AllowScrollViaMouseDrag = true;
     this.pictureEdit1.Properties.AllowZoomOnMouseWheel   = DevExpress.Utils.DefaultBoolean.True;
     checkContextButton1.Id   = new System.Guid("413ae748-610b-4fd8-83fe-a0a57d71d20e");
     checkContextButton1.Name = "checkContextButton1";
     this.pictureEdit1.Properties.ContextButtons.Add(checkContextButton1);
     this.pictureEdit1.Properties.ShowCameraMenuItem     = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
     this.pictureEdit1.Properties.ShowZoomSubMenu        = DevExpress.Utils.DefaultBoolean.True;
     this.pictureEdit1.Properties.SizeMode               = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.pictureEdit1.Properties.ZoomAccelerationFactor = 1D;
     this.pictureEdit1.Size     = new System.Drawing.Size(779, 539);
     this.pictureEdit1.TabIndex = 0;
     //
     // procDanhSachSanPhamTableAdapter1
     //
     //
     // panelControl1
     //
     this.panelControl1.Controls.Add(this.simpleButton2);
     this.panelControl1.Controls.Add(this.simpleButton1);
     this.panelControl1.Dock     = System.Windows.Forms.DockStyle.Top;
     this.panelControl1.Location = new System.Drawing.Point(0, 0);
     this.panelControl1.Name     = "panelControl1";
     this.panelControl1.Size     = new System.Drawing.Size(779, 53);
     this.panelControl1.TabIndex = 1;
     //
     // simpleButton1
     //
     this.simpleButton1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton1.ImageOptions.Image")));
     this.simpleButton1.Location           = new System.Drawing.Point(394, 11);
     this.simpleButton1.Name     = "simpleButton1";
     this.simpleButton1.Size     = new System.Drawing.Size(89, 35);
     this.simpleButton1.TabIndex = 0;
     this.simpleButton1.Text     = "XOAY 90";
     this.simpleButton1.Click   += new System.EventHandler(this.simpleButton1_Click);
     //
     // simpleButton2
     //
     this.simpleButton2.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("simpleButton2.ImageOptions.Image")));
     this.simpleButton2.Location           = new System.Drawing.Point(299, 11);
     this.simpleButton2.Name     = "simpleButton2";
     this.simpleButton2.Size     = new System.Drawing.Size(89, 35);
     this.simpleButton2.TabIndex = 0;
     this.simpleButton2.Text     = "XOAY -90";
     this.simpleButton2.Click   += new System.EventHandler(this.simpleButton1_Click);
     //
     // frmHinh
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.AutoSizeMode        = System.Windows.Forms.AutoSizeMode.GrowAndShrink;
     this.ClientSize          = new System.Drawing.Size(779, 592);
     this.Controls.Add(this.pictureEdit1);
     this.Controls.Add(this.panelControl1);
     this.MinimizeBox   = false;
     this.Name          = "frmHinh";
     this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
     this.Text          = "HÌNH ẢNH";
     this.Load         += new System.EventHandler(this.frmHinh_Load);
     ((System.ComponentModel.ISupportInitialize)(this.pictureEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.panelControl1)).EndInit();
     this.panelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.behaviorManager1)).EndInit();
     this.ResumeLayout(false);
 }