コード例 #1
0
 private void tileView1_ContextButtonCustomize(object sender, DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventArgs e)
 {
     if (e.Item.Name == "contextButton1" && this.tileView1.IsRowSelected(e.RowHandle))
     {
         DevExpress.Utils.ContextButton contextButton = e.Item as DevExpress.Utils.ContextButton;
         contextButton.Caption = "呼叫";
         contextButton.AppearanceNormal.Font = new Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
         contextButton.AppearanceHover.Font  = new Font("微软雅黑", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
         // contextButton.AppearanceNormal.ForeColor = Color.Red;
         //// this.tileView1.ContextButtonOptions.FarPanelColor = Color.FromArgb(250,180,116);
         //contextButton.AppearanceHover.BackColor= Color.FromArgb(250, 180, 116);
         //contextButton.AppearanceNormal.BackColor = Color.FromArgb(250, 180, 116);
     }
 }
コード例 #2
0
        private void tileView1_ContextButtonClick(object sender, DevExpress.Utils.ContextItemClickEventArgs e)
        {
            DevExpress.XtraGrid.Views.Tile.TileViewItem tileViewItem = (DevExpress.XtraGrid.Views.Tile.TileViewItem)e.DataItem;
            int    id  = Convert.ToInt32(this.tileView1.GetRowCellValue(tileViewItem.RowHandle, "id"));
            string str = Convert.ToString(this.tileView1.GetRowCellValue(tileViewItem.RowHandle, "str"));

            if (e.Item.Name == "contextButton1")
            {
                this.tileView1.FocusedRowHandle = tileViewItem.RowHandle;
                DevExpress.Utils.ContextButton contextButton = e.Item as DevExpress.Utils.ContextButton;
                if (contextButton.Caption == "呼叫")
                {
                    MessageBox.Show("你呼叫了第" + str);
                }
            }
            if (e.Item.Name == "contextButton2")
            {
                list.Remove(list.Find(o => o.id == id));
                this.tileView1.RefreshData();
            }
        }
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2 = new DevExpress.Utils.ContextButton();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition1    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement1   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     this.str               = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.g1_pic            = new System.Windows.Forms.PictureBox();
     this.g1_lab2           = new DevExpress.XtraEditors.LabelControl();
     this.g1_lab1           = new DevExpress.XtraEditors.LabelControl();
     this.g2_pic            = new System.Windows.Forms.PictureBox();
     this.g2_lab2           = new DevExpress.XtraEditors.LabelControl();
     this.g2_lab1           = new DevExpress.XtraEditors.LabelControl();
     this.g3_pic            = new System.Windows.Forms.PictureBox();
     this.g3_lab2           = new DevExpress.XtraEditors.LabelControl();
     this.g3_lab1           = new DevExpress.XtraEditors.LabelControl();
     this.g4_pic            = new System.Windows.Forms.PictureBox();
     this.g4_lab2           = new DevExpress.XtraEditors.LabelControl();
     this.g4_lab1           = new DevExpress.XtraEditors.LabelControl();
     this.g5_pic            = new System.Windows.Forms.PictureBox();
     this.g5_lab2           = new DevExpress.XtraEditors.LabelControl();
     this.g5_lab1           = new DevExpress.XtraEditors.LabelControl();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.gridControl1      = new DevExpress.XtraGrid.GridControl();
     this.tileView1         = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.id = new DevExpress.XtraGrid.Columns.TileViewColumn();
     ((System.ComponentModel.ISupportInitialize)(this.g1_pic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.g2_pic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.g3_pic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.g4_pic)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.g5_pic)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
     this.SuspendLayout();
     //
     // str
     //
     this.str.Caption      = "str";
     this.str.FieldName    = "str";
     this.str.Name         = "str";
     this.str.Visible      = true;
     this.str.VisibleIndex = 0;
     //
     // g1_pic
     //
     this.g1_pic.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.g1_pic.Location = new System.Drawing.Point(3, 36);
     this.g1_pic.Name     = "g1_pic";
     this.g1_pic.Size     = new System.Drawing.Size(77, 5);
     this.g1_pic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.g1_pic.TabIndex = 16;
     this.g1_pic.TabStop  = false;
     //
     // g1_lab2
     //
     this.g1_lab2.Appearance.Options.UseTextOptions = true;
     this.g1_lab2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g1_lab2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g1_lab2.Location = new System.Drawing.Point(0, 19);
     this.g1_lab2.Margin   = new System.Windows.Forms.Padding(0);
     this.g1_lab2.Name     = "g1_lab2";
     this.g1_lab2.Size     = new System.Drawing.Size(84, 14);
     this.g1_lab2.TabIndex = 15;
     this.g1_lab2.Text     = "未分配";
     //
     // g1_lab1
     //
     this.g1_lab1.Appearance.Font                   = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.g1_lab1.Appearance.Options.UseFont        = true;
     this.g1_lab1.Appearance.Options.UseTextOptions = true;
     this.g1_lab1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g1_lab1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g1_lab1.Location = new System.Drawing.Point(0, 0);
     this.g1_lab1.Margin   = new System.Windows.Forms.Padding(0);
     this.g1_lab1.Name     = "g1_lab1";
     this.g1_lab1.Size     = new System.Drawing.Size(84, 19);
     this.g1_lab1.TabIndex = 20;
     this.g1_lab1.Text     = "未分配";
     //
     // g2_pic
     //
     this.g2_pic.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.g2_pic.Location = new System.Drawing.Point(87, 36);
     this.g2_pic.Name     = "g2_pic";
     this.g2_pic.Size     = new System.Drawing.Size(77, 5);
     this.g2_pic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.g2_pic.TabIndex = 19;
     this.g2_pic.TabStop  = false;
     //
     // g2_lab2
     //
     this.g2_lab2.Appearance.Options.UseTextOptions = true;
     this.g2_lab2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g2_lab2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g2_lab2.Location = new System.Drawing.Point(84, 19);
     this.g2_lab2.Margin   = new System.Windows.Forms.Padding(0);
     this.g2_lab2.Name     = "g2_lab2";
     this.g2_lab2.Size     = new System.Drawing.Size(84, 14);
     this.g2_lab2.TabIndex = 21;
     this.g2_lab2.Text     = "未分配";
     //
     // g2_lab1
     //
     this.g2_lab1.Appearance.Font                   = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.g2_lab1.Appearance.Options.UseFont        = true;
     this.g2_lab1.Appearance.Options.UseTextOptions = true;
     this.g2_lab1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g2_lab1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g2_lab1.Location = new System.Drawing.Point(84, 0);
     this.g2_lab1.Margin   = new System.Windows.Forms.Padding(0);
     this.g2_lab1.Name     = "g2_lab1";
     this.g2_lab1.Size     = new System.Drawing.Size(84, 19);
     this.g2_lab1.TabIndex = 17;
     this.g2_lab1.Text     = "未分配";
     //
     // g3_pic
     //
     this.g3_pic.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.g3_pic.Location = new System.Drawing.Point(171, 36);
     this.g3_pic.Name     = "g3_pic";
     this.g3_pic.Size     = new System.Drawing.Size(77, 5);
     this.g3_pic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.g3_pic.TabIndex = 22;
     this.g3_pic.TabStop  = false;
     //
     // g3_lab2
     //
     this.g3_lab2.Appearance.Options.UseTextOptions = true;
     this.g3_lab2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g3_lab2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g3_lab2.Location = new System.Drawing.Point(168, 19);
     this.g3_lab2.Margin   = new System.Windows.Forms.Padding(0);
     this.g3_lab2.Name     = "g3_lab2";
     this.g3_lab2.Size     = new System.Drawing.Size(84, 14);
     this.g3_lab2.TabIndex = 18;
     this.g3_lab2.Text     = "未分配";
     //
     // g3_lab1
     //
     this.g3_lab1.Appearance.Font                   = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.g3_lab1.Appearance.Options.UseFont        = true;
     this.g3_lab1.Appearance.Options.UseTextOptions = true;
     this.g3_lab1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g3_lab1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g3_lab1.Location = new System.Drawing.Point(168, 0);
     this.g3_lab1.Margin   = new System.Windows.Forms.Padding(0);
     this.g3_lab1.Name     = "g3_lab1";
     this.g3_lab1.Size     = new System.Drawing.Size(84, 19);
     this.g3_lab1.TabIndex = 14;
     this.g3_lab1.Text     = "未分配";
     //
     // g4_pic
     //
     this.g4_pic.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.g4_pic.Location = new System.Drawing.Point(255, 36);
     this.g4_pic.Name     = "g4_pic";
     this.g4_pic.Size     = new System.Drawing.Size(77, 5);
     this.g4_pic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.g4_pic.TabIndex = 26;
     this.g4_pic.TabStop  = false;
     //
     // g4_lab2
     //
     this.g4_lab2.Appearance.Options.UseTextOptions = true;
     this.g4_lab2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g4_lab2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g4_lab2.Location = new System.Drawing.Point(252, 19);
     this.g4_lab2.Margin   = new System.Windows.Forms.Padding(0);
     this.g4_lab2.Name     = "g4_lab2";
     this.g4_lab2.Size     = new System.Drawing.Size(84, 14);
     this.g4_lab2.TabIndex = 25;
     this.g4_lab2.Text     = "未分配";
     //
     // g4_lab1
     //
     this.g4_lab1.Appearance.Font                   = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.g4_lab1.Appearance.Options.UseFont        = true;
     this.g4_lab1.Appearance.Options.UseTextOptions = true;
     this.g4_lab1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g4_lab1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g4_lab1.Location = new System.Drawing.Point(252, 0);
     this.g4_lab1.Margin   = new System.Windows.Forms.Padding(0);
     this.g4_lab1.Name     = "g4_lab1";
     this.g4_lab1.Size     = new System.Drawing.Size(84, 19);
     this.g4_lab1.TabIndex = 20;
     this.g4_lab1.Text     = "未分配";
     //
     // g5_pic
     //
     this.g5_pic.Anchor   = System.Windows.Forms.AnchorStyles.Top;
     this.g5_pic.Location = new System.Drawing.Point(340, 36);
     this.g5_pic.Name     = "g5_pic";
     this.g5_pic.Size     = new System.Drawing.Size(77, 5);
     this.g5_pic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
     this.g5_pic.TabIndex = 29;
     this.g5_pic.TabStop  = false;
     //
     // g5_lab2
     //
     this.g5_lab2.Appearance.Options.UseTextOptions = true;
     this.g5_lab2.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g5_lab2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g5_lab2.Location = new System.Drawing.Point(336, 19);
     this.g5_lab2.Margin   = new System.Windows.Forms.Padding(0);
     this.g5_lab2.Name     = "g5_lab2";
     this.g5_lab2.Size     = new System.Drawing.Size(86, 14);
     this.g5_lab2.TabIndex = 28;
     this.g5_lab2.Text     = "未分配";
     //
     // g5_lab1
     //
     this.g5_lab1.Appearance.Font                   = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.g5_lab1.Appearance.Options.UseFont        = true;
     this.g5_lab1.Appearance.Options.UseTextOptions = true;
     this.g5_lab1.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.g5_lab1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.g5_lab1.Location = new System.Drawing.Point(336, 0);
     this.g5_lab1.Margin   = new System.Windows.Forms.Padding(0);
     this.g5_lab1.Name     = "g5_lab1";
     this.g5_lab1.Size     = new System.Drawing.Size(86, 19);
     this.g5_lab1.TabIndex = 27;
     this.g5_lab1.Text     = "未分配";
     //
     // 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.tableLayoutPanel2, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.gridControl1, 0, 1);
     this.tableLayoutPanel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel1.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel1.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel1.Name     = "tableLayoutPanel1";
     this.tableLayoutPanel1.RowCount = 2;
     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.Size     = new System.Drawing.Size(422, 551);
     this.tableLayoutPanel1.TabIndex = 2;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.BackColor   = System.Drawing.Color.White;
     this.tableLayoutPanel2.ColumnCount = 5;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
     this.tableLayoutPanel2.Controls.Add(this.g1_pic, 0, 2);
     this.tableLayoutPanel2.Controls.Add(this.g1_lab2, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.g1_lab1, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.g2_pic, 1, 2);
     this.tableLayoutPanel2.Controls.Add(this.g2_lab2, 1, 1);
     this.tableLayoutPanel2.Controls.Add(this.g2_lab1, 1, 0);
     this.tableLayoutPanel2.Controls.Add(this.g3_pic, 2, 2);
     this.tableLayoutPanel2.Controls.Add(this.g3_lab2, 2, 1);
     this.tableLayoutPanel2.Controls.Add(this.g3_lab1, 2, 0);
     this.tableLayoutPanel2.Controls.Add(this.g4_pic, 3, 2);
     this.tableLayoutPanel2.Controls.Add(this.g4_lab2, 3, 1);
     this.tableLayoutPanel2.Controls.Add(this.g4_lab1, 3, 0);
     this.tableLayoutPanel2.Controls.Add(this.g5_pic, 4, 2);
     this.tableLayoutPanel2.Controls.Add(this.g5_lab2, 4, 1);
     this.tableLayoutPanel2.Controls.Add(this.g5_lab1, 4, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel2.Margin   = new System.Windows.Forms.Padding(0);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 3;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(422, 40);
     this.tableLayoutPanel2.TabIndex = 16;
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(0, 40);
     this.gridControl1.MainView = this.tileView1;
     this.gridControl1.Margin   = new System.Windows.Forms.Padding(0);
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(422, 511);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView1
     });
     //
     // tileView1
     //
     this.tileView1.Appearance.ItemFocused.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(122)))), ((int)(((byte)(0)))));
     this.tileView1.Appearance.ItemFocused.Options.UseBackColor = true;
     this.tileView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.str,
         this.id
     });
     this.tileView1.ContextButtonOptions.FarPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(122)))), ((int)(((byte)(0)))));
     contextButton1.AlignmentOptions.Panel             = DevExpress.Utils.ContextItemPanel.Right;
     contextButton1.AlignmentOptions.Position          = DevExpress.Utils.ContextItemPosition.Center;
     contextButton1.Id = new System.Guid("403ef3b2-72e1-4896-9536-67e587756f49");
     contextButton1.ImageOptions.Image = global::DianDianClient.Properties.Resources.close;
     contextButton1.Name                                  = "contextButton2";
     contextButton1.Padding                               = new System.Windows.Forms.Padding(0, 0, 0, 20);
     contextButton1.Visibility                            = DevExpress.Utils.ContextItemVisibility.Visible;
     contextButton2.AlignmentOptions.Panel                = DevExpress.Utils.ContextItemPanel.Right;
     contextButton2.AlignmentOptions.Position             = DevExpress.Utils.ContextItemPosition.Center;
     contextButton2.AppearanceHover.Font                  = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     contextButton2.AppearanceHover.ForeColor             = System.Drawing.Color.White;
     contextButton2.AppearanceHover.Options.UseFont       = true;
     contextButton2.AppearanceHover.Options.UseForeColor  = true;
     contextButton2.AppearanceNormal.Font                 = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     contextButton2.AppearanceNormal.ForeColor            = System.Drawing.Color.White;
     contextButton2.AppearanceNormal.Options.UseFont      = true;
     contextButton2.AppearanceNormal.Options.UseForeColor = true;
     contextButton2.Caption                               = "分配";
     contextButton2.Id         = new System.Guid("5acec329-1363-44ea-81d7-16c267bac6a7");
     contextButton2.Name       = "contextButton1";
     contextButton2.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.tileView1.ContextButtons.Add(contextButton1);
     this.tileView1.ContextButtons.Add(contextButton2);
     this.tileView1.GridControl = this.gridControl1;
     this.tileView1.Name        = "tileView1";
     this.tileView1.OptionsTiles.GroupTextPadding    = new System.Windows.Forms.Padding(12, 8, 12, 8);
     this.tileView1.OptionsTiles.IndentBetweenGroups = 0;
     this.tileView1.OptionsTiles.IndentBetweenItems  = 0;
     this.tileView1.OptionsTiles.LayoutMode          = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
     this.tileView1.OptionsTiles.Orientation         = System.Windows.Forms.Orientation.Vertical;
     this.tileView1.OptionsTiles.Padding             = new System.Windows.Forms.Padding(0);
     this.tileView1.OptionsTiles.RowCount            = 0;
     this.tileView1.OptionsView.BackgroundColorMode  = DevExpress.XtraGrid.Views.Tile.BackgroundColorMode.Skin;
     tableColumnDefinition1.Length.Value             = 173D;
     this.tileView1.TileColumns.Add(tableColumnDefinition1);
     this.tileView1.TileRows.Add(tableRowDefinition1);
     tileViewItemElement1.Appearance.Normal.Font            = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     tileViewItemElement1.Appearance.Normal.Options.UseFont = true;
     tileViewItemElement1.Column         = this.str;
     tileViewItemElement1.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement1.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement1.Text           = "str";
     tileViewItemElement1.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     this.tileView1.TileTemplate.Add(tileViewItemElement1);
     this.tileView1.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.tileView1_ContextButtonClick);
     this.tileView1.ContextButtonCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventHandler(this.tileView1_ContextButtonCustomize);
     //
     // id
     //
     this.id.Caption   = "id";
     this.id.FieldName = "id";
     this.id.Name      = "id";
     //
     // PaiDuiListControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Margin = new System.Windows.Forms.Padding(0);
     this.Name   = "PaiDuiListControl";
     this.Size   = new System.Drawing.Size(422, 551);
     ((System.ComponentModel.ISupportInitialize)(this.g1_pic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.g2_pic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.g3_pic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.g4_pic)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.g5_pic)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2 = new DevExpress.Utils.ContextButton();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition2 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition1    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition2    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition3    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition4    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition5    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition6    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement1   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement2   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement3   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement4   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement5   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement6   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement7   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement8   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement9   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     this.tileViewColumn4   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn1   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn2   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn6   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn7   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn8   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn9   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn10  = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn3   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.gridControl1      = new DevExpress.XtraGrid.GridControl();
     this.tileView1         = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.tileViewColumn5   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn11  = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.toolStrip1        = new System.Windows.Forms.ToolStrip();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // tileViewColumn4
     //
     this.tileViewColumn4.Caption      = "类型";
     this.tileViewColumn4.Name         = "tileViewColumn4";
     this.tileViewColumn4.Visible      = true;
     this.tileViewColumn4.VisibleIndex = 1;
     //
     // tileViewColumn1
     //
     this.tileViewColumn1.Caption      = "规则";
     this.tileViewColumn1.Name         = "tileViewColumn1";
     this.tileViewColumn1.Visible      = true;
     this.tileViewColumn1.VisibleIndex = 2;
     //
     // tileViewColumn2
     //
     this.tileViewColumn2.Caption      = "日期";
     this.tileViewColumn2.Name         = "tileViewColumn2";
     this.tileViewColumn2.Visible      = true;
     this.tileViewColumn2.VisibleIndex = 3;
     //
     // tileViewColumn6
     //
     this.tileViewColumn6.Caption      = "tileViewColumn6";
     this.tileViewColumn6.FieldName    = "Title";
     this.tileViewColumn6.Name         = "tileViewColumn6";
     this.tileViewColumn6.Visible      = true;
     this.tileViewColumn6.VisibleIndex = 5;
     //
     // tileViewColumn7
     //
     this.tileViewColumn7.Caption      = "tileViewColumn7";
     this.tileViewColumn7.FieldName    = "Type";
     this.tileViewColumn7.Name         = "tileViewColumn7";
     this.tileViewColumn7.Visible      = true;
     this.tileViewColumn7.VisibleIndex = 6;
     //
     // tileViewColumn8
     //
     this.tileViewColumn8.Caption      = "tileViewColumn8";
     this.tileViewColumn8.FieldName    = "Rule";
     this.tileViewColumn8.Name         = "tileViewColumn8";
     this.tileViewColumn8.Visible      = true;
     this.tileViewColumn8.VisibleIndex = 7;
     //
     // tileViewColumn9
     //
     this.tileViewColumn9.Caption      = "tileViewColumn9";
     this.tileViewColumn9.FieldName    = "DateTime";
     this.tileViewColumn9.Name         = "tileViewColumn9";
     this.tileViewColumn9.Visible      = true;
     this.tileViewColumn9.VisibleIndex = 8;
     //
     // tileViewColumn10
     //
     this.tileViewColumn10.Caption      = "tileViewColumn10";
     this.tileViewColumn10.Name         = "tileViewColumn10";
     this.tileViewColumn10.Visible      = true;
     this.tileViewColumn10.VisibleIndex = 9;
     //
     // tileViewColumn3
     //
     this.tileViewColumn3.Caption      = "减";
     this.tileViewColumn3.Name         = "tileViewColumn3";
     this.tileViewColumn3.Visible      = true;
     this.tileViewColumn3.VisibleIndex = 0;
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(3, 52);
     this.gridControl1.MainView = this.tileView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(799, 443);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView1
     });
     //
     // tileView1
     //
     this.tileView1.Appearance.ItemNormal.BackColor            = System.Drawing.Color.WhiteSmoke;
     this.tileView1.Appearance.ItemNormal.Options.UseBackColor = true;
     this.tileView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.tileViewColumn3,
         this.tileViewColumn4,
         this.tileViewColumn1,
         this.tileViewColumn2,
         this.tileViewColumn5,
         this.tileViewColumn6,
         this.tileViewColumn7,
         this.tileViewColumn8,
         this.tileViewColumn9,
         this.tileViewColumn10,
         this.tileViewColumn11
     });
     this.tileView1.ContextButtonOptions.BottomPanelPadding = new System.Windows.Forms.Padding(5, 5, 5, 20);
     contextButton1.AlignmentOptions.Panel = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton1.Id = new System.Guid("b905e43c-4296-4653-a943-bfc03272c1ab");
     contextButton1.ImageOptions.Image = global::DianDianClient.Properties.Resources.detail;
     contextButton1.Name                   = "contextButton1";
     contextButton1.Visibility             = DevExpress.Utils.ContextItemVisibility.Visible;
     contextButton2.AlignmentOptions.Panel = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton2.Id = new System.Guid("5b99be03-b1b0-4462-b4a4-f7dcdf428be4");
     contextButton2.ImageOptions.Image = global::DianDianClient.Properties.Resources.cancle;
     contextButton2.Name       = "contextButton2";
     contextButton2.Padding    = new System.Windows.Forms.Padding(20, 0, 0, 0);
     contextButton2.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.tileView1.ContextButtons.Add(contextButton1);
     this.tileView1.ContextButtons.Add(contextButton2);
     this.tileView1.GridControl = this.gridControl1;
     this.tileView1.Name        = "tileView1";
     this.tileView1.OptionsTiles.GroupTextPadding    = new System.Windows.Forms.Padding(12, 8, 12, 8);
     this.tileView1.OptionsTiles.IndentBetweenGroups = 0;
     this.tileView1.OptionsTiles.IndentBetweenItems  = 0;
     this.tileView1.OptionsTiles.ItemSize            = new System.Drawing.Size(550, 282);
     this.tileView1.OptionsTiles.LayoutMode          = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
     this.tileView1.OptionsTiles.Orientation         = System.Windows.Forms.Orientation.Vertical;
     this.tileView1.OptionsTiles.Padding             = new System.Windows.Forms.Padding(0);
     this.tileView1.OptionsTiles.RowCount            = 0;
     tableColumnDefinition1.Length.Value             = 454D;
     tableColumnDefinition2.Length.Value             = 72D;
     this.tileView1.TileColumns.Add(tableColumnDefinition1);
     this.tileView1.TileColumns.Add(tableColumnDefinition2);
     tableRowDefinition1.Length.Value = 150D;
     tableRowDefinition2.Length.Value = 29D;
     tableRowDefinition3.Length.Value = 150D;
     tableRowDefinition4.Length.Value = 150D;
     tableRowDefinition5.Length.Value = 150D;
     tableRowDefinition6.Length.Value = 200D;
     this.tileView1.TileRows.Add(tableRowDefinition1);
     this.tileView1.TileRows.Add(tableRowDefinition2);
     this.tileView1.TileRows.Add(tableRowDefinition3);
     this.tileView1.TileRows.Add(tableRowDefinition4);
     this.tileView1.TileRows.Add(tableRowDefinition5);
     this.tileView1.TileRows.Add(tableRowDefinition6);
     tileViewItemElement1.Appearance.Normal.Font            = new System.Drawing.Font("Tahoma", 21.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     tileViewItemElement1.Appearance.Normal.Options.UseFont = true;
     tileViewItemElement1.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement1.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement1.Text                                   = "tileViewColumn3";
     tileViewItemElement1.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft;
     tileViewItemElement2.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F);
     tileViewItemElement2.Appearance.Normal.ForeColor            = System.Drawing.Color.Black;
     tileViewItemElement2.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement2.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement2.Column                                 = this.tileViewColumn4;
     tileViewItemElement2.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement2.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement2.RowIndex                               = 2;
     tileViewItemElement2.Text                                   = "tileViewColumn4";
     tileViewItemElement2.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft;
     tileViewItemElement3.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F);
     tileViewItemElement3.Appearance.Normal.ForeColor            = System.Drawing.Color.Black;
     tileViewItemElement3.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement3.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement3.Column                                 = this.tileViewColumn1;
     tileViewItemElement3.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement3.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement3.RowIndex                               = 3;
     tileViewItemElement3.Text                                   = "tileViewColumn1";
     tileViewItemElement3.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft;
     tileViewItemElement4.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F);
     tileViewItemElement4.Appearance.Normal.ForeColor            = System.Drawing.Color.Black;
     tileViewItemElement4.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement4.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement4.Column                                 = this.tileViewColumn2;
     tileViewItemElement4.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement4.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement4.RowIndex                               = 4;
     tileViewItemElement4.Text                                   = "tileViewColumn2";
     tileViewItemElement4.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft;
     tileViewItemElement5.AnchorAlignment                        = DevExpress.Utils.AnchorAlignment.Right;
     tileViewItemElement5.AnchorElementIndex                     = 0;
     tileViewItemElement5.AnchorOffset                           = new System.Drawing.Point(0, 5);
     tileViewItemElement5.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 15F);
     tileViewItemElement5.Appearance.Normal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
     tileViewItemElement5.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement5.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement5.Column                                 = this.tileViewColumn6;
     tileViewItemElement5.ColumnIndex                            = 1;
     tileViewItemElement5.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement5.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement5.Text                                   = "tileViewColumn6";
     tileViewItemElement5.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement6.AnchorAlignment                        = DevExpress.Utils.AnchorAlignment.Right;
     tileViewItemElement6.AnchorElementIndex                     = 1;
     tileViewItemElement6.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F);
     tileViewItemElement6.Appearance.Normal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
     tileViewItemElement6.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement6.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement6.Column                                 = this.tileViewColumn7;
     tileViewItemElement6.ColumnIndex                            = 1;
     tileViewItemElement6.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement6.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement6.RowIndex                               = 2;
     tileViewItemElement6.Text                                   = "tileViewColumn7";
     tileViewItemElement6.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement7.AnchorAlignment                        = DevExpress.Utils.AnchorAlignment.Right;
     tileViewItemElement7.AnchorElementIndex                     = 2;
     tileViewItemElement7.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F);
     tileViewItemElement7.Appearance.Normal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
     tileViewItemElement7.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement7.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement7.Column                                 = this.tileViewColumn8;
     tileViewItemElement7.ColumnIndex                            = 1;
     tileViewItemElement7.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement7.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement7.RowIndex                               = 3;
     tileViewItemElement7.Text                                   = "tileViewColumn8";
     tileViewItemElement7.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement8.AnchorAlignment                        = DevExpress.Utils.AnchorAlignment.Right;
     tileViewItemElement8.AnchorElementIndex                     = 3;
     tileViewItemElement8.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F);
     tileViewItemElement8.Appearance.Normal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(153)))), ((int)(((byte)(153)))));
     tileViewItemElement8.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement8.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement8.Column                                 = this.tileViewColumn9;
     tileViewItemElement8.ColumnIndex                            = 1;
     tileViewItemElement8.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement8.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement8.RowIndex                               = 4;
     tileViewItemElement8.Text                                   = "tileViewColumn9";
     tileViewItemElement8.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement9.Column                                 = this.tileViewColumn10;
     tileViewItemElement9.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement9.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement9.RowIndex                               = 1;
     tileViewItemElement9.Text                                   = "tileViewColumn10";
     tileViewItemElement9.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft;
     this.tileView1.TileTemplate.Add(tileViewItemElement1);
     this.tileView1.TileTemplate.Add(tileViewItemElement2);
     this.tileView1.TileTemplate.Add(tileViewItemElement3);
     this.tileView1.TileTemplate.Add(tileViewItemElement4);
     this.tileView1.TileTemplate.Add(tileViewItemElement5);
     this.tileView1.TileTemplate.Add(tileViewItemElement6);
     this.tileView1.TileTemplate.Add(tileViewItemElement7);
     this.tileView1.TileTemplate.Add(tileViewItemElement8);
     this.tileView1.TileTemplate.Add(tileViewItemElement9);
     this.tileView1.ContextButtonCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventHandler(this.tileView1_ContextButtonCustomize);
     //
     // tileViewColumn5
     //
     this.tileViewColumn5.Caption      = "tileViewColumn5";
     this.tileViewColumn5.FieldName    = "StateGroup";
     this.tileViewColumn5.Name         = "tileViewColumn5";
     this.tileViewColumn5.Visible      = true;
     this.tileViewColumn5.VisibleIndex = 4;
     //
     // tileViewColumn11
     //
     this.tileViewColumn11.Caption   = "tileViewColumn11";
     this.tileViewColumn11.FieldName = "couponid";
     this.tileViewColumn11.Name      = "tileViewColumn11";
     //
     // 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.toolStrip1, 0, 0);
     this.tableLayoutPanel1.Controls.Add(this.gridControl1, 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 = 2;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 10F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 90F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(805, 498);
     this.tableLayoutPanel1.TabIndex = 1;
     //
     // toolStrip1
     //
     this.toolStrip1.BackColor = System.Drawing.Color.Transparent;
     this.tableLayoutPanel1.SetColumnSpan(this.toolStrip1, 2);
     this.toolStrip1.Dock       = System.Windows.Forms.DockStyle.Fill;
     this.toolStrip1.GripMargin = new System.Windows.Forms.Padding(0);
     this.toolStrip1.GripStyle  = System.Windows.Forms.ToolStripGripStyle.Hidden;
     this.toolStrip1.Location   = new System.Drawing.Point(0, 0);
     this.toolStrip1.Name       = "toolStrip1";
     this.toolStrip1.Padding    = new System.Windows.Forms.Padding(0);
     this.toolStrip1.Size       = new System.Drawing.Size(805, 49);
     this.toolStrip1.TabIndex   = 6;
     this.toolStrip1.Text       = "toolStrip1";
     //
     // ActivityManageControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name = "ActivityManageControl";
     this.Size = new System.Drawing.Size(805, 498);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel1.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #5
0
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
			this.pbLogo = new System.Windows.Forms.PictureBox();
			this.laTitle = new System.Windows.Forms.Label();
			this.buttonXSave = new DevComponents.DotNetBar.ButtonX();
			this.buttonXCancel = new DevComponents.DotNetBar.ButtonX();
			this.calendarControlDateStart = new DevExpress.XtraEditors.Controls.CalendarControl();
			this.styleController = new DevExpress.XtraEditors.StyleController();
			this.labelControlStartTitle = new DevExpress.XtraEditors.LabelControl();
			this.pnTop = new System.Windows.Forms.Panel();
			this.pnBottomButtons = new System.Windows.Forms.Panel();
			this.pnCalendars = new System.Windows.Forms.Panel();
			this.labelControlEndTitle = new DevExpress.XtraEditors.LabelControl();
			this.calendarControlDateEnd = new DevExpress.XtraEditors.Controls.CalendarControl();
			this.labelControlWarnings = new DevExpress.XtraEditors.LabelControl();
			((System.ComponentModel.ISupportInitialize)(this.pbLogo)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.calendarControlDateStart.CalendarTimeProperties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit();
			this.pnTop.SuspendLayout();
			this.pnBottomButtons.SuspendLayout();
			this.pnCalendars.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.calendarControlDateEnd.CalendarTimeProperties)).BeginInit();
			this.SuspendLayout();
			// 
			// pbLogo
			// 
			this.pbLogo.ForeColor = System.Drawing.Color.Black;
			this.pbLogo.Image = global::Asa.Media.Controls.Properties.Resources.FlightDatesFormEditLogo;
			this.pbLogo.Location = new System.Drawing.Point(20, 13);
			this.pbLogo.Name = "pbLogo";
			this.pbLogo.Size = new System.Drawing.Size(66, 65);
			this.pbLogo.TabIndex = 0;
			this.pbLogo.TabStop = false;
			// 
			// laTitle
			// 
			this.laTitle.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
			this.laTitle.Font = new System.Drawing.Font("Arial", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
			this.laTitle.ForeColor = System.Drawing.Color.Black;
			this.laTitle.Location = new System.Drawing.Point(92, 13);
			this.laTitle.Name = "laTitle";
			this.laTitle.Size = new System.Drawing.Size(459, 65);
			this.laTitle.TabIndex = 1;
			this.laTitle.Text = "Select your campaign dates:";
			this.laTitle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
			// 
			// buttonXSave
			// 
			this.buttonXSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
			this.buttonXSave.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.buttonXSave.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
			this.buttonXSave.DialogResult = System.Windows.Forms.DialogResult.OK;
			this.buttonXSave.Location = new System.Drawing.Point(343, 7);
			this.buttonXSave.Name = "buttonXSave";
			this.buttonXSave.Size = new System.Drawing.Size(85, 36);
			this.buttonXSave.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
			this.buttonXSave.TabIndex = 2;
			this.buttonXSave.Text = "Save";
			// 
			// buttonXCancel
			// 
			this.buttonXCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
			this.buttonXCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
			this.buttonXCancel.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
			this.buttonXCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
			this.buttonXCancel.Location = new System.Drawing.Point(458, 7);
			this.buttonXCancel.Name = "buttonXCancel";
			this.buttonXCancel.Size = new System.Drawing.Size(85, 36);
			this.buttonXCancel.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
			this.buttonXCancel.TabIndex = 3;
			this.buttonXCancel.Text = "Cancel";
			// 
			// calendarControlDateStart
			// 
			this.calendarControlDateStart.Appearance.BackColor = System.Drawing.Color.White;
			this.calendarControlDateStart.Appearance.ForeColor = System.Drawing.Color.Black;
			this.calendarControlDateStart.Appearance.Options.UseBackColor = true;
			this.calendarControlDateStart.Appearance.Options.UseForeColor = true;
			this.calendarControlDateStart.CalendarTimeEditing = DevExpress.Utils.DefaultBoolean.False;
			this.calendarControlDateStart.CalendarTimeProperties.AllowFocused = false;
			this.calendarControlDateStart.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
			this.calendarControlDateStart.Cursor = System.Windows.Forms.Cursors.Hand;
			this.calendarControlDateStart.DateTime = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
			this.calendarControlDateStart.EditValue = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
			this.calendarControlDateStart.FirstDayOfWeek = System.DayOfWeek.Monday;
			this.calendarControlDateStart.HighlightTodayCell = DevExpress.Utils.DefaultBoolean.False;
			this.calendarControlDateStart.Location = new System.Drawing.Point(20, 38);
			this.calendarControlDateStart.Name = "calendarControlDateStart";
			this.calendarControlDateStart.ShowFooter = false;
			this.calendarControlDateStart.ShowMonthHeaders = false;
			this.calendarControlDateStart.ShowMonthNavigationButtons = DevExpress.Utils.DefaultBoolean.True;
			this.calendarControlDateStart.ShowTodayButton = false;
			this.calendarControlDateStart.Size = new System.Drawing.Size(232, 204);
			this.calendarControlDateStart.StyleController = this.styleController;
			this.calendarControlDateStart.TabIndex = 0;
			this.calendarControlDateStart.TodayDate = new System.DateTime(2016, 3, 5, 0, 0, 0, 0);
			this.calendarControlDateStart.UpdateDateTimeWhenNavigating = false;
			this.calendarControlDateStart.DateTimeChanged += new System.EventHandler(this.OnDateStartChanged);
			// 
			// styleController
			// 
			this.styleController.Appearance.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
			this.styleController.Appearance.Options.UseFont = true;
			this.styleController.AppearanceDisabled.Font = new System.Drawing.Font("Arial", 9.75F);
			this.styleController.AppearanceDisabled.Options.UseFont = true;
			this.styleController.AppearanceDropDown.Font = new System.Drawing.Font("Arial", 9.75F);
			this.styleController.AppearanceDropDown.Options.UseFont = true;
			this.styleController.AppearanceDropDownHeader.Font = new System.Drawing.Font("Arial", 9.75F);
			this.styleController.AppearanceDropDownHeader.Options.UseFont = true;
			this.styleController.AppearanceFocused.Font = new System.Drawing.Font("Arial", 9.75F);
			this.styleController.AppearanceFocused.Options.UseFont = true;
			this.styleController.AppearanceReadOnly.Font = new System.Drawing.Font("Arial", 9.75F);
			this.styleController.AppearanceReadOnly.Options.UseFont = true;
			// 
			// labelControlStartTitle
			// 
			this.labelControlStartTitle.AllowHtmlString = true;
			this.labelControlStartTitle.Appearance.BackColor = System.Drawing.Color.White;
			this.labelControlStartTitle.Appearance.ForeColor = System.Drawing.Color.Black;
			this.labelControlStartTitle.Location = new System.Drawing.Point(20, 16);
			this.labelControlStartTitle.Name = "labelControlStartTitle";
			this.labelControlStartTitle.Size = new System.Drawing.Size(32, 16);
			this.labelControlStartTitle.StyleController = this.styleController;
			this.labelControlStartTitle.TabIndex = 4;
			this.labelControlStartTitle.Text = "<color=\"gray\">Start:</color>";
			// 
			// pnTop
			// 
			this.pnTop.BackColor = System.Drawing.Color.Transparent;
			this.pnTop.Controls.Add(this.pbLogo);
			this.pnTop.Controls.Add(this.laTitle);
			this.pnTop.Dock = System.Windows.Forms.DockStyle.Top;
			this.pnTop.ForeColor = System.Drawing.Color.Black;
			this.pnTop.Location = new System.Drawing.Point(0, 0);
			this.pnTop.Name = "pnTop";
			this.pnTop.Size = new System.Drawing.Size(563, 90);
			this.pnTop.TabIndex = 5;
			// 
			// pnBottomButtons
			// 
			this.pnBottomButtons.BackColor = System.Drawing.Color.Transparent;
			this.pnBottomButtons.Controls.Add(this.buttonXSave);
			this.pnBottomButtons.Controls.Add(this.buttonXCancel);
			this.pnBottomButtons.Dock = System.Windows.Forms.DockStyle.Bottom;
			this.pnBottomButtons.ForeColor = System.Drawing.Color.Black;
			this.pnBottomButtons.Location = new System.Drawing.Point(0, 380);
			this.pnBottomButtons.Name = "pnBottomButtons";
			this.pnBottomButtons.Size = new System.Drawing.Size(563, 51);
			this.pnBottomButtons.TabIndex = 6;
			// 
			// pnCalendars
			// 
			this.pnCalendars.BackColor = System.Drawing.Color.Transparent;
			this.pnCalendars.Controls.Add(this.labelControlEndTitle);
			this.pnCalendars.Controls.Add(this.calendarControlDateEnd);
			this.pnCalendars.Controls.Add(this.labelControlWarnings);
			this.pnCalendars.Controls.Add(this.labelControlStartTitle);
			this.pnCalendars.Controls.Add(this.calendarControlDateStart);
			this.pnCalendars.Dock = System.Windows.Forms.DockStyle.Fill;
			this.pnCalendars.ForeColor = System.Drawing.Color.Black;
			this.pnCalendars.Location = new System.Drawing.Point(0, 90);
			this.pnCalendars.Name = "pnCalendars";
			this.pnCalendars.Size = new System.Drawing.Size(563, 290);
			this.pnCalendars.TabIndex = 8;
			// 
			// labelControlEndTitle
			// 
			this.labelControlEndTitle.AllowHtmlString = true;
			this.labelControlEndTitle.Appearance.BackColor = System.Drawing.Color.White;
			this.labelControlEndTitle.Appearance.ForeColor = System.Drawing.Color.Black;
			this.labelControlEndTitle.Location = new System.Drawing.Point(311, 16);
			this.labelControlEndTitle.Name = "labelControlEndTitle";
			this.labelControlEndTitle.Size = new System.Drawing.Size(27, 16);
			this.labelControlEndTitle.StyleController = this.styleController;
			this.labelControlEndTitle.TabIndex = 7;
			this.labelControlEndTitle.Text = "<color=\"gray\">End:</color>";
			// 
			// calendarControlDateEnd
			// 
			this.calendarControlDateEnd.Appearance.BackColor = System.Drawing.Color.White;
			this.calendarControlDateEnd.Appearance.ForeColor = System.Drawing.Color.Black;
			this.calendarControlDateEnd.Appearance.Options.UseBackColor = true;
			this.calendarControlDateEnd.Appearance.Options.UseForeColor = true;
			this.calendarControlDateEnd.CalendarTimeEditing = DevExpress.Utils.DefaultBoolean.False;
			this.calendarControlDateEnd.CalendarTimeProperties.AllowFocused = false;
			this.calendarControlDateEnd.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
			contextButton1.Id = new System.Guid("c3c4a178-7140-43d4-add7-2c7d02fb2cae");
			contextButton1.Name = "ContextButton";
			this.calendarControlDateEnd.ContextButtons.Add(contextButton1);
			this.calendarControlDateEnd.Cursor = System.Windows.Forms.Cursors.Hand;
			this.calendarControlDateEnd.DateTime = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
			this.calendarControlDateEnd.EditValue = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
			this.calendarControlDateEnd.FirstDayOfWeek = System.DayOfWeek.Monday;
			this.calendarControlDateEnd.HighlightTodayCell = DevExpress.Utils.DefaultBoolean.False;
			this.calendarControlDateEnd.Location = new System.Drawing.Point(311, 38);
			this.calendarControlDateEnd.Name = "calendarControlDateEnd";
			this.calendarControlDateEnd.ShowFooter = false;
			this.calendarControlDateEnd.ShowMonthHeaders = false;
			this.calendarControlDateEnd.ShowMonthNavigationButtons = DevExpress.Utils.DefaultBoolean.True;
			this.calendarControlDateEnd.ShowTodayButton = false;
			this.calendarControlDateEnd.Size = new System.Drawing.Size(232, 204);
			this.calendarControlDateEnd.StyleController = this.styleController;
			this.calendarControlDateEnd.TabIndex = 6;
			this.calendarControlDateEnd.TodayDate = new System.DateTime(2016, 3, 5, 0, 0, 0, 0);
			this.calendarControlDateEnd.UpdateDateTimeWhenNavigating = false;
			this.calendarControlDateEnd.DateTimeChanged += new System.EventHandler(this.OnDateEndChanged);
			// 
			// labelControlWarnings
			// 
			this.labelControlWarnings.AllowHtmlString = true;
			this.labelControlWarnings.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
			this.labelControlWarnings.Appearance.BackColor = System.Drawing.Color.White;
			this.labelControlWarnings.Appearance.ForeColor = System.Drawing.Color.Black;
			this.labelControlWarnings.Appearance.TextOptions.WordWrap = DevExpress.Utils.WordWrap.Wrap;
			this.labelControlWarnings.AutoSizeMode = DevExpress.XtraEditors.LabelAutoSizeMode.None;
			this.labelControlWarnings.Location = new System.Drawing.Point(20, 242);
			this.labelControlWarnings.Name = "labelControlWarnings";
			this.labelControlWarnings.Size = new System.Drawing.Size(523, 44);
			this.labelControlWarnings.StyleController = this.styleController;
			this.labelControlWarnings.TabIndex = 5;
			this.labelControlWarnings.Text = "labelControl1";
			this.labelControlWarnings.Visible = false;
			// 
			// FormFlightDatesEdit
			// 
			this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
			this.ClientSize = new System.Drawing.Size(563, 431);
			this.Controls.Add(this.pnCalendars);
			this.Controls.Add(this.pnBottomButtons);
			this.Controls.Add(this.pnTop);
			this.DoubleBuffered = true;
			this.Font = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
			this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
			this.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
			this.MaximizeBox = false;
			this.MinimizeBox = false;
			this.Name = "FormFlightDatesEdit";
			this.ShowInTaskbar = false;
			this.StartPosition = System.Windows.Forms.FormStartPosition.CenterParent;
			this.Text = "Campaign Dates";
			this.Load += new System.EventHandler(this.OnFormLoad);
			((System.ComponentModel.ISupportInitialize)(this.pbLogo)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.calendarControlDateStart.CalendarTimeProperties)).EndInit();
			((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit();
			this.pnTop.ResumeLayout(false);
			this.pnBottomButtons.ResumeLayout(false);
			this.pnCalendars.ResumeLayout(false);
			this.pnCalendars.PerformLayout();
			((System.ComponentModel.ISupportInitialize)(this.calendarControlDateEnd.CalendarTimeProperties)).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.ContextButton contextButton3            = new DevExpress.Utils.ContextButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(WatermarkPropertyControl));
     DevExpress.Utils.SuperToolTip     superToolTip3          = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem3      = new DevExpress.Utils.ToolTipTitleItem();
     DevExpress.Utils.ContextButton    contextButton4         = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.SuperToolTip     superToolTip4          = new DevExpress.Utils.SuperToolTip();
     DevExpress.Utils.ToolTipTitleItem toolTipTitleItem4      = new DevExpress.Utils.ToolTipTitleItem();
     this.layoutControl1      = new DevExpress.XtraLayout.LayoutControl();
     this.ceShowWatermark     = new DevExpress.XtraEditors.CheckEdit();
     this.ceLayout            = new DevExpress.XtraEditors.ComboBoxEdit();
     this.tcFontSize          = new DevExpress.XtraEditors.TrackBarControl();
     this.tcIndent            = new DevExpress.XtraEditors.TrackBarControl();
     this.cpeFontColor        = new DevExpress.XtraEditors.ColorPickEdit();
     this.simpleButton1       = new DevExpress.XtraEditors.SimpleButton();
     this.tcOpacity           = new DevExpress.XtraEditors.TrackBarControl();
     this.ceImageToTextAlign  = new DevExpress.XtraEditors.ComboBoxEdit();
     this.peImage             = new DevExpress.XtraEditors.PictureEdit();
     this.teText              = new DevExpress.XtraEditors.TextEdit();
     this.tcRotate            = new DevExpress.XtraEditors.ZoomTrackBarControl();
     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.layoutControlItem8  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem9  = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem10 = new DevExpress.XtraLayout.LayoutControlItem();
     this.lciShowWatermark    = new DevExpress.XtraLayout.LayoutControlItem();
     this.openFileDialog1     = new System.Windows.Forms.OpenFileDialog();
     this.fontDialog1         = new System.Windows.Forms.FontDialog();
     this.tbImageSize         = new DevExpress.XtraEditors.TrackBarControl();
     this.layoutControlItem11 = new DevExpress.XtraLayout.LayoutControlItem();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.ceShowWatermark.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ceLayout.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcFontSize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcFontSize.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcIndent)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcIndent.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpeFontColor.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcOpacity)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcOpacity.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.ceImageToTextAlign.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.peImage.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.teText.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcRotate)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcRotate.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.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.layoutControlItem9)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciShowWatermark)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbImageSize)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbImageSize.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).BeginInit();
     this.SuspendLayout();
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.tbImageSize);
     this.layoutControl1.Controls.Add(this.ceShowWatermark);
     this.layoutControl1.Controls.Add(this.ceLayout);
     this.layoutControl1.Controls.Add(this.tcFontSize);
     this.layoutControl1.Controls.Add(this.tcIndent);
     this.layoutControl1.Controls.Add(this.cpeFontColor);
     this.layoutControl1.Controls.Add(this.simpleButton1);
     this.layoutControl1.Controls.Add(this.tcOpacity);
     this.layoutControl1.Controls.Add(this.ceImageToTextAlign);
     this.layoutControl1.Controls.Add(this.peImage);
     this.layoutControl1.Controls.Add(this.teText);
     this.layoutControl1.Controls.Add(this.tcRotate);
     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(779, 256, 972, 654);
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(422, 588);
     this.layoutControl1.TabIndex = 0;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // ceShowWatermark
     //
     this.ceShowWatermark.Location                  = new System.Drawing.Point(12, 12);
     this.ceShowWatermark.Name                      = "ceShowWatermark";
     this.ceShowWatermark.Properties.Caption        = "Show Watermark";
     this.ceShowWatermark.Properties.GlyphAlignment = DevExpress.Utils.HorzAlignment.Far;
     this.ceShowWatermark.Size                      = new System.Drawing.Size(398, 21);
     this.ceShowWatermark.StyleController           = this.layoutControl1;
     this.ceShowWatermark.TabIndex                  = 19;
     this.ceShowWatermark.CheckedChanged           += new System.EventHandler(this.ceShowWatermark_CheckedChanged);
     //
     // ceLayout
     //
     this.ceLayout.Location = new System.Drawing.Point(119, 301);
     this.ceLayout.Name     = "ceLayout";
     this.ceLayout.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.ceLayout.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.ceLayout.Size                  = new System.Drawing.Size(291, 24);
     this.ceLayout.StyleController       = this.layoutControl1;
     this.ceLayout.TabIndex              = 13;
     this.ceLayout.SelectedIndexChanged += new System.EventHandler(this.ceLayout_SelectedIndexChanged);
     //
     // tcFontSize
     //
     this.tcFontSize.EditValue = 6;
     this.tcFontSize.Location  = new System.Drawing.Point(119, 482);
     this.tcFontSize.Name      = "tcFontSize";
     this.tcFontSize.Properties.LabelAppearance.Options.UseTextOptions = true;
     this.tcFontSize.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tcFontSize.Properties.Maximum       = 300;
     this.tcFontSize.Properties.Minimum       = 6;
     this.tcFontSize.Properties.TickFrequency = 5;
     this.tcFontSize.Properties.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.tcFontSize.Size              = new System.Drawing.Size(291, 45);
     this.tcFontSize.StyleController   = this.layoutControl1;
     this.tcFontSize.TabIndex          = 12;
     this.tcFontSize.Value             = 6;
     this.tcFontSize.EditValueChanged += new System.EventHandler(this.tcFontSize_EditValueChanged);
     //
     // tcIndent
     //
     this.tcIndent.EditValue = 1;
     this.tcIndent.Location  = new System.Drawing.Point(119, 531);
     this.tcIndent.Name      = "tcIndent";
     this.tcIndent.Properties.LabelAppearance.Options.UseTextOptions = true;
     this.tcIndent.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tcIndent.Properties.Maximum       = 200;
     this.tcIndent.Properties.TickFrequency = 50;
     this.tcIndent.Properties.TickStyle     = System.Windows.Forms.TickStyle.Both;
     this.tcIndent.Size              = new System.Drawing.Size(291, 45);
     this.tcIndent.StyleController   = this.layoutControl1;
     this.tcIndent.TabIndex          = 11;
     this.tcIndent.Value             = 1;
     this.tcIndent.EditValueChanged += new System.EventHandler(this.tcRepeat_EditValueChanged);
     //
     // cpeFontColor
     //
     this.cpeFontColor.EditValue = System.Drawing.Color.Empty;
     this.cpeFontColor.Location  = new System.Drawing.Point(119, 454);
     this.cpeFontColor.Name      = "cpeFontColor";
     this.cpeFontColor.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.cpeFontColor.Size              = new System.Drawing.Size(291, 24);
     this.cpeFontColor.StyleController   = this.layoutControl1;
     this.cpeFontColor.TabIndex          = 10;
     this.cpeFontColor.EditValueChanged += new System.EventHandler(this.cpeFontColor_EditValueChanged);
     //
     // simpleButton1
     //
     this.simpleButton1.Location        = new System.Drawing.Point(12, 428);
     this.simpleButton1.Name            = "simpleButton1";
     this.simpleButton1.Size            = new System.Drawing.Size(398, 22);
     this.simpleButton1.StyleController = this.layoutControl1;
     this.simpleButton1.TabIndex        = 9;
     this.simpleButton1.Text            = "Select Font...";
     this.simpleButton1.Click          += new System.EventHandler(this.simpleButton1_Click);
     //
     // tcOpacity
     //
     this.tcOpacity.EditValue = 100;
     this.tcOpacity.Location  = new System.Drawing.Point(119, 379);
     this.tcOpacity.Name      = "tcOpacity";
     this.tcOpacity.Properties.LabelAppearance.Options.UseTextOptions = true;
     this.tcOpacity.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tcOpacity.Properties.Maximum          = 100;
     this.tcOpacity.Properties.ShowValueToolTip = true;
     this.tcOpacity.Properties.TickFrequency    = 5;
     this.tcOpacity.Properties.TickStyle        = System.Windows.Forms.TickStyle.Both;
     this.tcOpacity.Size              = new System.Drawing.Size(291, 45);
     this.tcOpacity.StyleController   = this.layoutControl1;
     this.tcOpacity.TabIndex          = 8;
     this.tcOpacity.Value             = 100;
     this.tcOpacity.EditValueChanged += new System.EventHandler(this.tcOpacity_EditValueChanged);
     //
     // ceImageToTextAlign
     //
     this.ceImageToTextAlign.Location = new System.Drawing.Point(119, 329);
     this.ceImageToTextAlign.Name     = "ceImageToTextAlign";
     this.ceImageToTextAlign.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.ceImageToTextAlign.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.ceImageToTextAlign.Size                  = new System.Drawing.Size(291, 24);
     this.ceImageToTextAlign.StyleController       = this.layoutControl1;
     this.ceImageToTextAlign.TabIndex              = 6;
     this.ceImageToTextAlign.SelectedIndexChanged += new System.EventHandler(this.ceImageToTextAlign_SelectedIndexChanged);
     //
     // peImage
     //
     this.peImage.Location = new System.Drawing.Point(119, 65);
     this.peImage.Name     = "peImage";
     this.peImage.Properties.AllowScrollOnMouseWheel = DevExpress.Utils.DefaultBoolean.False;
     this.peImage.Properties.AllowZoomOnMouseWheel   = DevExpress.Utils.DefaultBoolean.False;
     this.peImage.Properties.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.peImage.Properties.ContextButtonOptions.Indent           = 5;
     contextButton3.Alignment                             = DevExpress.Utils.ContextItemAlignment.TopFar;
     contextButton3.AllowGlyphSkinning                    = DevExpress.Utils.DefaultBoolean.True;
     contextButton3.AppearanceHover.ForeColor             = System.Drawing.Color.White;
     contextButton3.AppearanceHover.Options.UseForeColor  = true;
     contextButton3.AppearanceNormal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     contextButton3.AppearanceNormal.Options.UseForeColor = true;
     contextButton3.Glyph   = ((System.Drawing.Image)(resources.GetObject("contextButton3.Glyph")));
     contextButton3.Id      = new System.Guid("f0ff9fd7-cb9e-4078-84bc-b89f7fa16d87");
     contextButton3.Name    = "cbDelete";
     toolTipTitleItem3.Text = "Clear";
     superToolTip3.Items.Add(toolTipTitleItem3);
     contextButton3.SuperTip                              = superToolTip3;
     contextButton4.Alignment                             = DevExpress.Utils.ContextItemAlignment.BottomNear;
     contextButton4.AllowGlyphSkinning                    = DevExpress.Utils.DefaultBoolean.True;
     contextButton4.AppearanceHover.ForeColor             = System.Drawing.Color.White;
     contextButton4.AppearanceHover.Options.UseForeColor  = true;
     contextButton4.AppearanceNormal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(224)))), ((int)(((byte)(224)))), ((int)(((byte)(224)))));
     contextButton4.AppearanceNormal.Options.UseForeColor = true;
     contextButton4.Caption = "Load Image";
     contextButton4.Glyph   = ((System.Drawing.Image)(resources.GetObject("contextButton4.Glyph")));
     contextButton4.Id      = new System.Guid("f3c781cf-f387-48b8-9c95-f21f6cb5bb40");
     contextButton4.Name    = "cbLoad";
     toolTipTitleItem4.Text = "Load Image";
     superToolTip4.Items.Add(toolTipTitleItem4);
     contextButton4.SuperTip = superToolTip4;
     this.peImage.Properties.ContextButtons.Add(contextButton3);
     this.peImage.Properties.ContextButtons.Add(contextButton4);
     this.peImage.Properties.NullText        = "No Image Data. ";
     this.peImage.Properties.ShowMenu        = false;
     this.peImage.Properties.ShowZoomSubMenu = DevExpress.Utils.DefaultBoolean.False;
     this.peImage.Properties.SizeMode        = DevExpress.XtraEditors.Controls.PictureSizeMode.Squeeze;
     this.peImage.Size                = new System.Drawing.Size(291, 183);
     this.peImage.StyleController     = this.layoutControl1;
     this.peImage.TabIndex            = 5;
     this.peImage.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.peImage_ContextButtonClick);
     this.peImage.MouseClick         += new System.Windows.Forms.MouseEventHandler(this.peImage_MouseClick);
     //
     // teText
     //
     this.teText.Location          = new System.Drawing.Point(119, 37);
     this.teText.Name              = "teText";
     this.teText.Size              = new System.Drawing.Size(291, 24);
     this.teText.StyleController   = this.layoutControl1;
     this.teText.TabIndex          = 4;
     this.teText.EditValueChanged += new System.EventHandler(this.teText_EditValueChanged);
     //
     // tcRotate
     //
     this.tcRotate.EditValue = -90;
     this.tcRotate.Location  = new System.Drawing.Point(119, 357);
     this.tcRotate.Name      = "tcRotate";
     this.tcRotate.Properties.AllowUseMiddleValue        = true;
     this.tcRotate.Properties.EditValueChangedFiringMode = DevExpress.XtraEditors.Controls.EditValueChangedFiringMode.Buffered;
     this.tcRotate.Properties.Maximum          = 90;
     this.tcRotate.Properties.Middle           = 0;
     this.tcRotate.Properties.Minimum          = -90;
     this.tcRotate.Properties.ScrollThumbStyle = DevExpress.XtraEditors.Repository.ScrollThumbStyle.Bar;
     this.tcRotate.Properties.ShowValueToolTip = true;
     this.tcRotate.Size              = new System.Drawing.Size(291, 16);
     this.tcRotate.StyleController   = this.layoutControl1;
     this.tcRotate.TabIndex          = 7;
     this.tcRotate.Value             = -90;
     this.tcRotate.EditValueChanged += new System.EventHandler(this.tcRotate_EditValueChanged);
     //
     // 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.layoutControlItem8,
         this.layoutControlItem9,
         this.layoutControlItem10,
         this.lciShowWatermark,
         this.layoutControlItem11
     });
     this.layoutControlGroup1.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name        = "Root";
     this.layoutControlGroup1.Size        = new System.Drawing.Size(422, 588);
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control  = this.teText;
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 25);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.Size     = new System.Drawing.Size(402, 28);
     this.layoutControlItem1.Text     = "Text";
     this.layoutControlItem1.TextSize = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control             = this.peImage;
     this.layoutControlItem2.Location            = new System.Drawing.Point(0, 53);
     this.layoutControlItem2.MinSize             = new System.Drawing.Size(131, 100);
     this.layoutControlItem2.Name                = "layoutControlItem2";
     this.layoutControlItem2.Size                = new System.Drawing.Size(402, 187);
     this.layoutControlItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItem2.Text                = "Image";
     this.layoutControlItem2.TextSize            = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control  = this.ceImageToTextAlign;
     this.layoutControlItem3.Location = new System.Drawing.Point(0, 317);
     this.layoutControlItem3.Name     = "layoutControlItem3";
     this.layoutControlItem3.Size     = new System.Drawing.Size(402, 28);
     this.layoutControlItem3.Text     = "ImageToTextAlign";
     this.layoutControlItem3.TextSize = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem4
     //
     this.layoutControlItem4.Control  = this.tcRotate;
     this.layoutControlItem4.Location = new System.Drawing.Point(0, 345);
     this.layoutControlItem4.Name     = "layoutControlItem4";
     this.layoutControlItem4.Size     = new System.Drawing.Size(402, 22);
     this.layoutControlItem4.Text     = "Rotate";
     this.layoutControlItem4.TextSize = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem5
     //
     this.layoutControlItem5.Control  = this.tcOpacity;
     this.layoutControlItem5.Location = new System.Drawing.Point(0, 367);
     this.layoutControlItem5.Name     = "layoutControlItem5";
     this.layoutControlItem5.Size     = new System.Drawing.Size(402, 49);
     this.layoutControlItem5.Text     = "Opacity";
     this.layoutControlItem5.TextSize = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem6
     //
     this.layoutControlItem6.Control     = this.simpleButton1;
     this.layoutControlItem6.Location    = new System.Drawing.Point(0, 416);
     this.layoutControlItem6.Name        = "layoutControlItem6";
     this.layoutControlItem6.Size        = new System.Drawing.Size(402, 26);
     this.layoutControlItem6.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem6.TextVisible = false;
     //
     // layoutControlItem7
     //
     this.layoutControlItem7.Control  = this.cpeFontColor;
     this.layoutControlItem7.Location = new System.Drawing.Point(0, 442);
     this.layoutControlItem7.Name     = "layoutControlItem7";
     this.layoutControlItem7.Size     = new System.Drawing.Size(402, 28);
     this.layoutControlItem7.Text     = "Font Color";
     this.layoutControlItem7.TextSize = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem8
     //
     this.layoutControlItem8.Control  = this.tcIndent;
     this.layoutControlItem8.Location = new System.Drawing.Point(0, 519);
     this.layoutControlItem8.Name     = "layoutControlItem8";
     this.layoutControlItem8.Size     = new System.Drawing.Size(402, 49);
     this.layoutControlItem8.Text     = "Indent";
     this.layoutControlItem8.TextSize = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem9
     //
     this.layoutControlItem9.Control  = this.tcFontSize;
     this.layoutControlItem9.Location = new System.Drawing.Point(0, 470);
     this.layoutControlItem9.Name     = "layoutControlItem9";
     this.layoutControlItem9.Size     = new System.Drawing.Size(402, 49);
     this.layoutControlItem9.Text     = "Font Size";
     this.layoutControlItem9.TextSize = new System.Drawing.Size(104, 17);
     //
     // layoutControlItem10
     //
     this.layoutControlItem10.Control  = this.ceLayout;
     this.layoutControlItem10.Location = new System.Drawing.Point(0, 289);
     this.layoutControlItem10.Name     = "layoutControlItem10";
     this.layoutControlItem10.Size     = new System.Drawing.Size(402, 28);
     this.layoutControlItem10.Text     = "Layout";
     this.layoutControlItem10.TextSize = new System.Drawing.Size(104, 17);
     //
     // lciShowWatermark
     //
     this.lciShowWatermark.Control     = this.ceShowWatermark;
     this.lciShowWatermark.Location    = new System.Drawing.Point(0, 0);
     this.lciShowWatermark.Name        = "lciShowWatermark";
     this.lciShowWatermark.Size        = new System.Drawing.Size(402, 25);
     this.lciShowWatermark.TextSize    = new System.Drawing.Size(0, 0);
     this.lciShowWatermark.TextVisible = false;
     //
     // openFileDialog1
     //
     this.openFileDialog1.FileName = "openFileDialog1";
     //
     // tbImageSize
     //
     this.tbImageSize.EditValue = 100;
     this.tbImageSize.Location  = new System.Drawing.Point(119, 252);
     this.tbImageSize.Name      = "tbImageSize";
     this.tbImageSize.Properties.LabelAppearance.Options.UseTextOptions = true;
     this.tbImageSize.Properties.LabelAppearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.tbImageSize.Properties.Maximum          = 100;
     this.tbImageSize.Properties.Minimum          = 1;
     this.tbImageSize.Properties.ShowValueToolTip = true;
     this.tbImageSize.Properties.TickFrequency    = 5;
     this.tbImageSize.Properties.TickStyle        = System.Windows.Forms.TickStyle.Both;
     this.tbImageSize.Size            = new System.Drawing.Size(291, 45);
     this.tbImageSize.StyleController = this.layoutControl1;
     this.tbImageSize.TabIndex        = 20;
     this.tbImageSize.Value           = 100;
     this.tbImageSize.ValueChanged   += new System.EventHandler(this.tbImageSize_ValueChanged);
     //
     // layoutControlItem11
     //
     this.layoutControlItem11.Control  = this.tbImageSize;
     this.layoutControlItem11.Location = new System.Drawing.Point(0, 240);
     this.layoutControlItem11.Name     = "layoutControlItem11";
     this.layoutControlItem11.Size     = new System.Drawing.Size(402, 49);
     this.layoutControlItem11.Text     = "Image Size";
     this.layoutControlItem11.TextSize = new System.Drawing.Size(104, 17);
     //
     // WatermarkPropertyControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.layoutControl1);
     this.Name = "WatermarkPropertyControl";
     this.Size = new System.Drawing.Size(422, 588);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.ceShowWatermark.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ceLayout.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcFontSize.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcFontSize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcIndent.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcIndent)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.cpeFontColor.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcOpacity.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcOpacity)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.ceImageToTextAlign.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.peImage.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.teText.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcRotate.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tcRotate)).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.layoutControlItem8)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem9)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem10)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.lciShowWatermark)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbImageSize.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tbImageSize)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem11)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #7
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton3 = new DevExpress.Utils.ContextButton();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1        = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition2        = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition3        = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition1           = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition2           = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableSpan             tableSpan1                    = new DevExpress.XtraEditors.TableLayout.TableSpan();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement1          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement2          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement3          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1     = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
     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();
     this.sPrint            = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.Paperwidth        = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.cishu             = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.gridControl1      = new DevExpress.XtraGrid.GridControl();
     this.tileView1         = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.isdefault         = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.status            = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.id = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.flowLayoutPanel1          = new System.Windows.Forms.FlowLayoutPanel();
     this.btn_save = new DevExpress.XtraEditors.SimpleButton();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
     this.flowLayoutPanel1.SuspendLayout();
     this.SuspendLayout();
     //
     // sPrint
     //
     this.sPrint.Caption   = "打印机名称";
     this.sPrint.FieldName = "sPrint";
     this.sPrint.Name      = "sPrint";
     this.sPrint.OptionsColumn.ShowCaption = true;
     this.sPrint.Visible      = true;
     this.sPrint.VisibleIndex = 0;
     //
     // Paperwidth
     //
     this.Paperwidth.Caption   = "纸张宽度";
     this.Paperwidth.FieldName = "Paperwidth";
     this.Paperwidth.Name      = "Paperwidth";
     this.Paperwidth.OptionsColumn.ShowCaption = true;
     this.Paperwidth.Visible      = true;
     this.Paperwidth.VisibleIndex = 1;
     //
     // cishu
     //
     this.cishu.Caption   = "打印次数";
     this.cishu.FieldName = "cishu";
     this.cishu.Name      = "cishu";
     this.cishu.OptionsColumn.ShowCaption = true;
     this.cishu.Visible      = true;
     this.cishu.VisibleIndex = 2;
     //
     // 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.gridControl1, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 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 = 2;
     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.Size     = new System.Drawing.Size(1077, 557);
     this.tableLayoutPanel1.TabIndex = 0;
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(3, 43);
     this.gridControl1.MainView = this.tileView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemButtonEdit1
     });
     this.gridControl1.Size     = new System.Drawing.Size(1071, 511);
     this.gridControl1.TabIndex = 2;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView1
     });
     //
     // tileView1
     //
     this.tileView1.Appearance.GroupText.ForeColor            = System.Drawing.SystemColors.ControlLight;
     this.tileView1.Appearance.GroupText.Options.UseForeColor = true;
     this.tileView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.sPrint,
         this.Paperwidth,
         this.cishu,
         this.isdefault,
         this.status,
         this.id
     });
     this.tileView1.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.LightGray;
     contextButton1.AlignmentOptions.Panel                = DevExpress.Utils.ContextItemPanel.Right;
     contextButton1.AlignmentOptions.Position             = DevExpress.Utils.ContextItemPosition.Center;
     contextButton1.AppearanceNormal.Font                 = new System.Drawing.Font("微软雅黑", 18F);
     contextButton1.AppearanceNormal.ForeColor            = System.Drawing.Color.White;
     contextButton1.AppearanceNormal.Options.UseFont      = true;
     contextButton1.AppearanceNormal.Options.UseForeColor = true;
     contextButton1.Id = new System.Guid("3fddd98a-3764-49f1-9257-69ac041d2adc");
     contextButton1.ImageOptions.Image = global::DianDianClient.Properties.Resources.kaishishiyong;
     contextButton1.Name                                  = "contextButton1";
     contextButton1.Padding                               = new System.Windows.Forms.Padding(0, 0, 0, 5);
     contextButton1.Visibility                            = DevExpress.Utils.ContextItemVisibility.Visible;
     contextButton2.AlignmentOptions.Panel                = DevExpress.Utils.ContextItemPanel.Right;
     contextButton2.AlignmentOptions.Position             = DevExpress.Utils.ContextItemPosition.Center;
     contextButton2.AppearanceNormal.Font                 = new System.Drawing.Font("Tahoma", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     contextButton2.AppearanceNormal.ForeColor            = System.Drawing.Color.Transparent;
     contextButton2.AppearanceNormal.Options.UseFont      = true;
     contextButton2.AppearanceNormal.Options.UseForeColor = true;
     contextButton2.Id                                    = new System.Guid("2f1d2bcc-abf8-4bfc-9d38-60d96c48bdd0");
     contextButton2.Name                                  = "contextButton3";
     contextButton2.Padding                               = new System.Windows.Forms.Padding(0, 0, 0, 5);
     contextButton2.Visibility                            = DevExpress.Utils.ContextItemVisibility.Visible;
     contextButton3.AlignmentOptions.Panel                = DevExpress.Utils.ContextItemPanel.Right;
     contextButton3.AlignmentOptions.Position             = DevExpress.Utils.ContextItemPosition.Center;
     contextButton3.AppearanceNormal.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(128)))), ((int)(((byte)(63)))));
     contextButton3.AppearanceNormal.Font                 = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     contextButton3.AppearanceNormal.ForeColor            = System.Drawing.Color.White;
     contextButton3.AppearanceNormal.Options.UseBackColor = true;
     contextButton3.AppearanceNormal.Options.UseFont      = true;
     contextButton3.AppearanceNormal.Options.UseForeColor = true;
     contextButton3.Id                                    = new System.Guid("785298ec-ccb6-4371-a7e7-948ab62a8f27");
     contextButton3.ImageOptions.Image                    = global::DianDianClient.Properties.Resources.printtest;
     contextButton3.Name                                  = "contextButton2";
     contextButton3.Visibility                            = DevExpress.Utils.ContextItemVisibility.Visible;
     this.tileView1.ContextButtons.Add(contextButton1);
     this.tileView1.ContextButtons.Add(contextButton2);
     this.tileView1.ContextButtons.Add(contextButton3);
     this.tileView1.GridControl = this.gridControl1;
     this.tileView1.Name        = "tileView1";
     this.tileView1.OptionsTiles.GroupTextPadding    = new System.Windows.Forms.Padding(12, 8, 12, 8);
     this.tileView1.OptionsTiles.IndentBetweenGroups = 0;
     this.tileView1.OptionsTiles.IndentBetweenItems  = 0;
     this.tileView1.OptionsTiles.ItemSize            = new System.Drawing.Size(414, 110);
     this.tileView1.OptionsTiles.LayoutMode          = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
     this.tileView1.OptionsTiles.Orientation         = System.Windows.Forms.Orientation.Vertical;
     this.tileView1.OptionsTiles.Padding             = new System.Windows.Forms.Padding(0);
     this.tileView1.OptionsTiles.RowCount            = 0;
     tableColumnDefinition1.Length.Value             = 82D;
     tableColumnDefinition2.Length.Value             = 77D;
     tableColumnDefinition3.Length.Value             = 231D;
     this.tileView1.TileColumns.Add(tableColumnDefinition1);
     this.tileView1.TileColumns.Add(tableColumnDefinition2);
     this.tileView1.TileColumns.Add(tableColumnDefinition3);
     tableRowDefinition1.Length.Value = 105D;
     tableRowDefinition2.Length.Value = 99D;
     this.tileView1.TileRows.Add(tableRowDefinition1);
     this.tileView1.TileRows.Add(tableRowDefinition2);
     tableSpan1.ColumnSpan = 2;
     this.tileView1.TileSpans.Add(tableSpan1);
     tileViewItemElement1.Column         = this.sPrint;
     tileViewItemElement1.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement1.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement1.Text           = "sPrint";
     tileViewItemElement1.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement2.Column         = this.Paperwidth;
     tileViewItemElement2.ColumnIndex    = 1;
     tileViewItemElement2.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement2.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement2.RowIndex       = 1;
     tileViewItemElement2.Text           = "Paperwidth";
     tileViewItemElement2.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement3.Column         = this.cishu;
     tileViewItemElement3.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement3.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement3.RowIndex       = 1;
     tileViewItemElement3.Text           = "cishu";
     tileViewItemElement3.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     this.tileView1.TileTemplate.Add(tileViewItemElement1);
     this.tileView1.TileTemplate.Add(tileViewItemElement2);
     this.tileView1.TileTemplate.Add(tileViewItemElement3);
     this.tileView1.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.tileView1_ContextButtonClick);
     this.tileView1.ContextButtonCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventHandler(this.tileView1_ContextButtonCustomize);
     //
     // isdefault
     //
     this.isdefault.Caption   = "isdefault";
     this.isdefault.FieldName = "isdefault";
     this.isdefault.Name      = "isdefault";
     //
     // status
     //
     this.status.Caption   = "status";
     this.status.FieldName = "status";
     this.status.Name      = "status";
     //
     // id
     //
     this.id.Caption   = "id";
     this.id.FieldName = "id";
     this.id.Name      = "id";
     //
     // repositoryItemButtonEdit1
     //
     this.repositoryItemButtonEdit1.AutoHeight = false;
     this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "moremore", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)
     });
     this.repositoryItemButtonEdit1.Name          = "repositoryItemButtonEdit1";
     this.repositoryItemButtonEdit1.NullText      = "点击显示更多";
     this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Controls.Add(this.btn_save);
     this.flowLayoutPanel1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.flowLayoutPanel1.Location    = new System.Drawing.Point(3, 3);
     this.flowLayoutPanel1.Name        = "flowLayoutPanel1";
     this.flowLayoutPanel1.RightToLeft = System.Windows.Forms.RightToLeft.Yes;
     this.flowLayoutPanel1.Size        = new System.Drawing.Size(1071, 34);
     this.flowLayoutPanel1.TabIndex    = 1;
     //
     // 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(962, 3);
     this.btn_save.Name        = "btn_save";
     this.btn_save.Size        = new System.Drawing.Size(106, 29);
     this.btn_save.TabIndex    = 28;
     this.btn_save.Text        = "新增";
     this.btn_save.Click      += new System.EventHandler(this.btn_save_Click);
     //
     // PrintSetUpControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name = "PrintSetUpControl";
     this.Size = new System.Drawing.Size(1077, 557);
     this.tableLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
     this.flowLayoutPanel1.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #8
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.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     System.ComponentModel.ComponentResourceManager     resources            = new System.ComponentModel.ComponentResourceManager(typeof(NewFolderView));
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement1 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraLayout.ColumnDefinition             columnDefinition1    = new DevExpress.XtraLayout.ColumnDefinition();
     DevExpress.XtraLayout.ColumnDefinition             columnDefinition2    = new DevExpress.XtraLayout.ColumnDefinition();
     DevExpress.XtraLayout.ColumnDefinition             columnDefinition3    = new DevExpress.XtraLayout.ColumnDefinition();
     DevExpress.XtraLayout.RowDefinition rowDefinition1 = new DevExpress.XtraLayout.RowDefinition();
     DevExpress.XtraLayout.RowDefinition rowDefinition2 = new DevExpress.XtraLayout.RowDefinition();
     DevExpress.XtraLayout.RowDefinition rowDefinition3 = new DevExpress.XtraLayout.RowDefinition();
     DevExpress.XtraLayout.RowDefinition rowDefinition4 = new DevExpress.XtraLayout.RowDefinition();
     this.colName             = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.colPath             = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.layoutControl1      = new DevExpress.XtraLayout.LayoutControl();
     this.gridControl         = new DevExpress.XtraGrid.GridControl();
     this.tileView            = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.colImage            = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.progress            = new DevExpress.XtraWaitForm.ProgressPanel();
     this.searchControl       = new DevExplorer.Views.CustomSearchControl();
     this.layoutControlGroup1 = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem2  = new DevExpress.XtraLayout.LayoutControlItem();
     this.itemForProgress     = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem1  = new DevExpress.XtraLayout.LayoutControlItem();
     this.mvvmContext         = new DevExpress.Utils.MVVM.MVVMContext(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.searchControl.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.itemForProgress)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.mvvmContext)).BeginInit();
     this.SuspendLayout();
     //
     // colName
     //
     this.colName.FieldName = "Name";
     this.colName.Name      = "colName";
     this.colName.OptionsColumn.ReadOnly = true;
     this.colName.Visible      = true;
     this.colName.VisibleIndex = 0;
     //
     // colPath
     //
     this.colPath.FieldName = "Path";
     this.colPath.Name      = "colPath";
     this.colPath.OptionsColumn.ReadOnly = true;
     this.colPath.Visible      = true;
     this.colPath.VisibleIndex = 1;
     //
     // layoutControl1
     //
     this.layoutControl1.AllowCustomization = false;
     this.layoutControl1.Controls.Add(this.gridControl);
     this.layoutControl1.Controls.Add(this.progress);
     this.layoutControl1.Controls.Add(this.searchControl);
     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(1101, 95, 450, 350);
     this.layoutControl1.Root     = this.layoutControlGroup1;
     this.layoutControl1.Size     = new System.Drawing.Size(800, 400);
     this.layoutControl1.TabIndex = 0;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // gridControl
     //
     this.gridControl.Location = new System.Drawing.Point(0, 115);
     this.gridControl.MainView = this.tileView;
     this.gridControl.Name     = "gridControl";
     this.gridControl.Size     = new System.Drawing.Size(800, 285);
     this.gridControl.TabIndex = 7;
     this.gridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView
     });
     //
     // tileView
     //
     this.tileView.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.colName,
         this.colPath,
         this.colImage
     });
     this.tileView.ColumnSet.BackgroundImageColumn = this.colImage;
     contextButton1.Alignment  = DevExpress.Utils.ContextItemAlignment.BottomFar;
     contextButton1.Glyph      = ((System.Drawing.Image)(resources.GetObject("contextButton1.Glyph")));
     contextButton1.Id         = new System.Guid("4a46a1a0-bca5-45b6-9f4a-97e30baeb4ae");
     contextButton1.Name       = "ContextButton";
     contextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.tileView.ContextButtons.Add(contextButton1);
     this.tileView.GridControl = this.gridControl;
     this.tileView.Name        = "tileView";
     this.tileView.OptionsFind.AllowFindPanel = false;
     this.tileView.OptionsTiles.ColumnCount   = 4;
     this.tileView.OptionsTiles.HorizontalContentAlignment   = DevExpress.Utils.HorzAlignment.Center;
     this.tileView.OptionsTiles.ItemBackgroundImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     this.tileView.OptionsTiles.ItemBackgroundImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.NoScale;
     this.tileView.OptionsTiles.ItemBorderVisibility         = DevExpress.XtraEditors.TileItemBorderVisibility.Never;
     this.tileView.OptionsTiles.ItemPadding                 = new System.Windows.Forms.Padding(8);
     this.tileView.OptionsTiles.ItemSize                    = new System.Drawing.Size(120, 120);
     this.tileView.OptionsTiles.RowCount                    = 2;
     this.tileView.OptionsTiles.ScrollMode                  = DevExpress.XtraEditors.TileControlScrollMode.ScrollButtons;
     this.tileView.OptionsTiles.ShowGroupText               = false;
     this.tileView.OptionsTiles.VerticalContentAlignment    = DevExpress.Utils.VertAlignment.Top;
     this.tileView.OptionsView.ShowFilterPanelMode          = DevExpress.XtraGrid.Views.Base.ShowFilterPanelMode.Never;
     tileViewItemElement1.Appearance.Normal.FontSizeDelta   = 2;
     tileViewItemElement1.Appearance.Normal.Options.UseFont = true;
     tileViewItemElement1.Column        = this.colName;
     tileViewItemElement1.Text          = "colName";
     tileViewItemElement1.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomCenter;
     this.tileView.TileTemplate.Add(tileViewItemElement1);
     //
     // colImage
     //
     this.colImage.FieldName    = "Image";
     this.colImage.Name         = "colImage";
     this.colImage.Visible      = true;
     this.colImage.VisibleIndex = 2;
     //
     // progress
     //
     this.progress.Appearance.BackColor            = System.Drawing.Color.Transparent;
     this.progress.Appearance.Options.UseBackColor = true;
     this.progress.AutoHeight                 = true;
     this.progress.ContentAlignment           = System.Drawing.ContentAlignment.MiddleCenter;
     this.progress.LineAnimationElementHeight = 2;
     this.progress.LineAnimationElementType   = DevExpress.Utils.Animation.LineAnimationElementType.Rectangle;
     this.progress.Location = new System.Drawing.Point(162, 97);
     this.progress.Name     = "progress";
     this.progress.RangeAnimationElementThickness = 2;
     this.progress.ShowCaption       = false;
     this.progress.ShowDescription   = false;
     this.progress.Size              = new System.Drawing.Size(476, 8);
     this.progress.StyleController   = this.layoutControl1;
     this.progress.TabIndex          = 6;
     this.progress.Text              = "progressPanel1";
     this.progress.Visible           = false;
     this.progress.WaitAnimationType = DevExpress.Utils.Animation.WaitingAnimatorType.Line;
     //
     // searchControl
     //
     this.searchControl.Client   = this.gridControl;
     this.searchControl.Location = new System.Drawing.Point(162, 73);
     this.searchControl.Name     = "searchControl";
     this.searchControl.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Repository.ClearButton(),
         new DevExpress.XtraEditors.Repository.SearchButton()
     });
     this.searchControl.Properties.Client    = this.gridControl;
     this.searchControl.Properties.FindDelay = 250;
     this.searchControl.Size            = new System.Drawing.Size(476, 20);
     this.searchControl.StyleController = this.layoutControl1;
     this.searchControl.TabIndex        = 5;
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible         = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem2,
         this.itemForProgress,
         this.layoutControlItem1
     });
     this.layoutControlGroup1.LayoutMode = DevExpress.XtraLayout.Utils.LayoutMode.Table;
     this.layoutControlGroup1.Location   = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name       = "Root";
     columnDefinition1.SizeType          = System.Windows.Forms.SizeType.Percent;
     columnDefinition1.Width             = 20D;
     columnDefinition2.SizeType          = System.Windows.Forms.SizeType.Percent;
     columnDefinition2.Width             = 60D;
     columnDefinition3.SizeType          = System.Windows.Forms.SizeType.Percent;
     columnDefinition3.Width             = 20D;
     this.layoutControlGroup1.OptionsTableLayoutGroup.ColumnDefinitions.AddRange(new DevExpress.XtraLayout.ColumnDefinition[] {
         columnDefinition1,
         columnDefinition2,
         columnDefinition3
     });
     rowDefinition1.Height   = 20D;
     rowDefinition1.SizeType = System.Windows.Forms.SizeType.Percent;
     rowDefinition2.Height   = 24D;
     rowDefinition2.SizeType = System.Windows.Forms.SizeType.AutoSize;
     rowDefinition3.Height   = 20D;
     rowDefinition3.SizeType = System.Windows.Forms.SizeType.AutoSize;
     rowDefinition4.Height   = 80D;
     rowDefinition4.SizeType = System.Windows.Forms.SizeType.Percent;
     this.layoutControlGroup1.OptionsTableLayoutGroup.RowDefinitions.AddRange(new DevExpress.XtraLayout.RowDefinition[] {
         rowDefinition1,
         rowDefinition2,
         rowDefinition3,
         rowDefinition4
     });
     this.layoutControlGroup1.Padding     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlGroup1.Size        = new System.Drawing.Size(800, 400);
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control  = this.searchControl;
     this.layoutControlItem2.Location = new System.Drawing.Point(160, 71);
     this.layoutControlItem2.Name     = "layoutControlItem2";
     this.layoutControlItem2.OptionsTableLayoutItem.ColumnIndex = 1;
     this.layoutControlItem2.OptionsTableLayoutItem.RowIndex    = 1;
     this.layoutControlItem2.Size        = new System.Drawing.Size(480, 24);
     this.layoutControlItem2.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextVisible = false;
     //
     // itemForProgress
     //
     this.itemForProgress.Control  = this.progress;
     this.itemForProgress.Location = new System.Drawing.Point(160, 95);
     this.itemForProgress.Name     = "itemForProgress";
     this.itemForProgress.OptionsTableLayoutItem.ColumnIndex = 1;
     this.itemForProgress.OptionsTableLayoutItem.RowIndex    = 2;
     this.itemForProgress.Size        = new System.Drawing.Size(480, 20);
     this.itemForProgress.TextSize    = new System.Drawing.Size(0, 0);
     this.itemForProgress.TextVisible = false;
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control  = this.gridControl;
     this.layoutControlItem1.Location = new System.Drawing.Point(0, 115);
     this.layoutControlItem1.Name     = "layoutControlItem1";
     this.layoutControlItem1.OptionsTableLayoutItem.ColumnSpan = 3;
     this.layoutControlItem1.OptionsTableLayoutItem.RowIndex   = 3;
     this.layoutControlItem1.Padding     = new DevExpress.XtraLayout.Utils.Padding(0, 0, 0, 0);
     this.layoutControlItem1.Size        = new System.Drawing.Size(800, 285);
     this.layoutControlItem1.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextVisible = false;
     //
     // mvvmContext
     //
     this.mvvmContext.ContainerControl = this;
     this.mvvmContext.ViewModelType    = typeof(DevExplorer.ViewModels.NewFolderViewModel);
     //
     // NewFolderView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.layoutControl1);
     this.Name = "NewFolderView";
     this.Size = new System.Drawing.Size(800, 400);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.searchControl.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.itemForProgress)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.mvvmContext)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #9
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();
     System.ComponentModel.ComponentResourceManager resources      = new System.ComponentModel.ComponentResourceManager(typeof(PluginsSettingsControl));
     DevExpress.Utils.ContextButton contextButton1                 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2                 = new DevExpress.Utils.ContextButton();
     DevExpress.XtraBars.Ribbon.GalleryItemGroup galleryItemGroup1 = new DevExpress.XtraBars.Ribbon.GalleryItemGroup();
     DevExpress.XtraBars.Ribbon.GalleryItem      galleryItem1      = new DevExpress.XtraBars.Ribbon.GalleryItem();
     DevExpress.XtraBars.Ribbon.GalleryItem      galleryItem2      = new DevExpress.XtraBars.Ribbon.GalleryItem();
     this.imlIcons                  = new DevExpress.Utils.ImageCollection(this.components);
     this.lblTitle                  = new DevExpress.XtraEditors.LabelControl();
     this.barManager                = new DevExpress.XtraBars.BarManager(this.components);
     this.tbrPlugins                = new DevExpress.XtraBars.Bar();
     this.cmdPluginAdd              = new DevExpress.XtraBars.BarButtonItem();
     this.cmdPluginEdit             = new DevExpress.XtraBars.BarButtonItem();
     this.cmdPluginDelete           = new DevExpress.XtraBars.BarButtonItem();
     this.standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl();
     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.gcPlugins                 = new DevExpress.XtraBars.Ribbon.GalleryControl();
     this.galleryControlClient1     = new DevExpress.XtraBars.Ribbon.GalleryControlClient();
     ((System.ComponentModel.ISupportInitialize)(this.imlIcons)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcPlugins)).BeginInit();
     this.gcPlugins.SuspendLayout();
     this.SuspendLayout();
     //
     // imlIcons
     //
     this.imlIcons.ImageStream = ((DevExpress.Utils.ImageCollectionStreamer)(resources.GetObject("imlIcons.ImageStream")));
     //
     // lblTitle
     //
     this.lblTitle.Appearance.FontSizeDelta = 3;
     this.lblTitle.Dock     = System.Windows.Forms.DockStyle.Top;
     this.lblTitle.Location = new System.Drawing.Point(10, 10);
     this.lblTitle.Margin   = new System.Windows.Forms.Padding(0);
     this.lblTitle.Name     = "lblTitle";
     this.lblTitle.Padding  = new System.Windows.Forms.Padding(0, 0, 0, 15);
     this.lblTitle.Size     = new System.Drawing.Size(43, 33);
     this.lblTitle.TabIndex = 1;
     this.lblTitle.Text     = "Plugins";
     //
     // barManager
     //
     this.barManager.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.tbrPlugins
     });
     this.barManager.DockControls.Add(this.barDockControlTop);
     this.barManager.DockControls.Add(this.barDockControlBottom);
     this.barManager.DockControls.Add(this.barDockControlLeft);
     this.barManager.DockControls.Add(this.barDockControlRight);
     this.barManager.DockControls.Add(this.standaloneBarDockControl1);
     this.barManager.Form = this;
     this.barManager.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.cmdPluginAdd,
         this.cmdPluginEdit,
         this.cmdPluginDelete
     });
     this.barManager.MaxItemId = 3;
     //
     // tbrPlugins
     //
     this.tbrPlugins.BarName       = "Plugins";
     this.tbrPlugins.DockCol       = 0;
     this.tbrPlugins.DockRow       = 0;
     this.tbrPlugins.DockStyle     = DevExpress.XtraBars.BarDockStyle.Standalone;
     this.tbrPlugins.FloatLocation = new System.Drawing.Point(1436, 150);
     this.tbrPlugins.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.cmdPluginAdd),
         new DevExpress.XtraBars.LinkPersistInfo(this.cmdPluginEdit),
         new DevExpress.XtraBars.LinkPersistInfo(this.cmdPluginDelete)
     });
     this.tbrPlugins.OptionsBar.AllowQuickCustomization = false;
     this.tbrPlugins.OptionsBar.AllowRename             = true;
     this.tbrPlugins.OptionsBar.DisableClose            = true;
     this.tbrPlugins.OptionsBar.DisableCustomization    = true;
     this.tbrPlugins.OptionsBar.DrawBorder    = false;
     this.tbrPlugins.OptionsBar.UseWholeRow   = true;
     this.tbrPlugins.StandaloneBarDockControl = this.standaloneBarDockControl1;
     this.tbrPlugins.Text = "Plugins";
     //
     // cmdPluginAdd
     //
     this.cmdPluginAdd.Caption    = "Register plugin";
     this.cmdPluginAdd.Glyph      = global::Rwm.Studio.Properties.Resources.ICO_PLUGIN_ADD_16;
     this.cmdPluginAdd.Id         = 0;
     this.cmdPluginAdd.LargeGlyph = global::Rwm.Studio.Properties.Resources.ICO_PLUGIN_ADD_32;
     this.cmdPluginAdd.Name       = "cmdPluginAdd";
     this.cmdPluginAdd.ItemClick += new DevExpress.XtraBars.ItemClickEventHandler(this.cmdPluginAdd_ItemClick);
     //
     // cmdPluginEdit
     //
     this.cmdPluginEdit.Caption    = "Edit plugin properties";
     this.cmdPluginEdit.Glyph      = global::Rwm.Studio.Properties.Resources.ICO_PLUGIN_EDIT_16;
     this.cmdPluginEdit.Id         = 1;
     this.cmdPluginEdit.LargeGlyph = global::Rwm.Studio.Properties.Resources.ICO_PLUGIN_EDIT_32;
     this.cmdPluginEdit.Name       = "cmdPluginEdit";
     //
     // cmdPluginDelete
     //
     this.cmdPluginDelete.Caption    = "Delete plugin";
     this.cmdPluginDelete.Glyph      = global::Rwm.Studio.Properties.Resources.ICO_PLUGIN_DELETE_16;
     this.cmdPluginDelete.Id         = 2;
     this.cmdPluginDelete.LargeGlyph = global::Rwm.Studio.Properties.Resources.ICO_PLUGIN_DELETE_32;
     this.cmdPluginDelete.Name       = "cmdPluginDelete";
     //
     // standaloneBarDockControl1
     //
     this.standaloneBarDockControl1.CausesValidation = false;
     this.standaloneBarDockControl1.Dock             = System.Windows.Forms.DockStyle.Top;
     this.standaloneBarDockControl1.Location         = new System.Drawing.Point(10, 43);
     this.standaloneBarDockControl1.Name             = "standaloneBarDockControl1";
     this.standaloneBarDockControl1.Size             = new System.Drawing.Size(615, 31);
     this.standaloneBarDockControl1.Text             = "standaloneBarDockControl1";
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(10, 10);
     this.barDockControlTop.Size             = new System.Drawing.Size(615, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(10, 515);
     this.barDockControlBottom.Size             = new System.Drawing.Size(615, 0);
     //
     // barDockControlLeft
     //
     this.barDockControlLeft.CausesValidation = false;
     this.barDockControlLeft.Dock             = System.Windows.Forms.DockStyle.Left;
     this.barDockControlLeft.Location         = new System.Drawing.Point(10, 10);
     this.barDockControlLeft.Size             = new System.Drawing.Size(0, 505);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(625, 10);
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 505);
     //
     // gcPlugins
     //
     this.gcPlugins.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.gcPlugins.Controls.Add(this.galleryControlClient1);
     this.gcPlugins.DesignGalleryGroupIndex = 0;
     this.gcPlugins.DesignGalleryItemIndex  = 0;
     //
     //
     //
     this.gcPlugins.Gallery.AllowFilter = false;
     this.gcPlugins.Gallery.ContextButtonOptions.TopPanelPadding = new System.Windows.Forms.Padding(5, 5, -240, 5);
     contextButton1.Alignment = DevExpress.Utils.ContextItemAlignment.TopFar;
     contextButton1.Glyph     = global::Rwm.Studio.Properties.Resources.ICO_EDIT_16;
     contextButton1.Id        = new System.Guid("4b04d652-5480-4936-8e66-e98c02b8a9b8");
     contextButton1.Name      = "cbEdit";
     contextButton2.Alignment = DevExpress.Utils.ContextItemAlignment.TopFar;
     contextButton2.Glyph     = global::Rwm.Studio.Properties.Resources.cross;
     contextButton2.Id        = new System.Guid("210e500a-3827-4eff-997e-3a22b9aadf60");
     contextButton2.Name      = "cbDelete";
     this.gcPlugins.Gallery.ContextButtons.Add(contextButton1);
     this.gcPlugins.Gallery.ContextButtons.Add(contextButton2);
     galleryItemGroup1.Caption = "Group1";
     galleryItem1.Caption      = "Railway Collection";
     galleryItem1.Description  = "A model collection manager.";
     galleryItem1.Image        = ((System.Drawing.Image)(resources.GetObject("galleryItem1.Image")));
     galleryItem2.Caption      = "Item2";
     galleryItemGroup1.Items.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItem[] {
         galleryItem1,
         galleryItem2
     });
     this.gcPlugins.Gallery.Groups.AddRange(new DevExpress.XtraBars.Ribbon.GalleryItemGroup[] {
         galleryItemGroup1
     });
     this.gcPlugins.Gallery.ImageSize           = new System.Drawing.Size(32, 32);
     this.gcPlugins.Gallery.ItemImageLayout     = DevExpress.Utils.Drawing.ImageLayoutMode.MiddleLeft;
     this.gcPlugins.Gallery.ItemImageLocation   = DevExpress.Utils.Locations.Left;
     this.gcPlugins.Gallery.ShowGroupCaption    = false;
     this.gcPlugins.Gallery.ShowItemText        = true;
     this.gcPlugins.Gallery.ShowScrollBar       = DevExpress.XtraBars.Ribbon.Gallery.ShowScrollBar.Auto;
     this.gcPlugins.Gallery.StretchItems        = true;
     this.gcPlugins.Gallery.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.gcPlugins_Gallery_ContextButtonClick);
     this.gcPlugins.Location = new System.Drawing.Point(16, 80);
     this.gcPlugins.Name     = "gcPlugins";
     this.gcPlugins.Size     = new System.Drawing.Size(292, 435);
     this.gcPlugins.TabIndex = 8;
     this.gcPlugins.Text     = "galleryControl1";
     //
     // galleryControlClient1
     //
     this.galleryControlClient1.GalleryControl = this.gcPlugins;
     this.galleryControlClient1.Location       = new System.Drawing.Point(1, 1);
     this.galleryControlClient1.Size           = new System.Drawing.Size(290, 433);
     //
     // PluginsSettingsControl
     //
     this.Appearance.BackColor            = System.Drawing.Color.Transparent;
     this.Appearance.Options.UseBackColor = true;
     this.AutoScaleDimensions             = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gcPlugins);
     this.Controls.Add(this.standaloneBarDockControl1);
     this.Controls.Add(this.lblTitle);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Name    = "PluginsSettingsControl";
     this.Padding = new System.Windows.Forms.Padding(10);
     this.Size    = new System.Drawing.Size(635, 525);
     ((System.ComponentModel.ISupportInitialize)(this.imlIcons)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gcPlugins)).EndInit();
     this.gcPlugins.ResumeLayout(false);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #10
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton3 = new DevExpress.Utils.ContextButton();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition2 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition3 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition4 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition1    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition2    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition3    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement1   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement2   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement3   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement4   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition5 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition6 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition7 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition4    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement5   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement6   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     this.FoodName                  = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.State                     = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.Price                     = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.Number                    = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn3           = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tileViewColumn2           = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.gridControl1              = new DevExpress.XtraGrid.GridControl();
     this.tileView1                 = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.label4                    = new System.Windows.Forms.Label();
     this.label3                    = new System.Windows.Forms.Label();
     this.label2                    = new System.Windows.Forms.Label();
     this.label1                    = new System.Windows.Forms.Label();
     this.tileViewColumn1           = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.gridControl2              = new DevExpress.XtraGrid.GridControl();
     this.tileView2                 = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.tableLayoutPanel1         = new System.Windows.Forms.TableLayoutPanel();
     this.tableLayoutPanel2         = new System.Windows.Forms.TableLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView2)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     this.SuspendLayout();
     //
     // FoodName
     //
     this.FoodName.Caption      = "FoodName";
     this.FoodName.FieldName    = "FoodName";
     this.FoodName.Name         = "FoodName";
     this.FoodName.Visible      = true;
     this.FoodName.VisibleIndex = 0;
     //
     // State
     //
     this.State.Caption      = "State";
     this.State.FieldName    = "State";
     this.State.Name         = "State";
     this.State.Visible      = true;
     this.State.VisibleIndex = 1;
     //
     // Price
     //
     this.Price.Caption      = "Price";
     this.Price.FieldName    = "Price";
     this.Price.Name         = "Price";
     this.Price.Visible      = true;
     this.Price.VisibleIndex = 2;
     //
     // Number
     //
     this.Number.Caption      = "Number";
     this.Number.FieldName    = "Number";
     this.Number.Name         = "Number";
     this.Number.Visible      = true;
     this.Number.VisibleIndex = 3;
     //
     // tileViewColumn3
     //
     this.tileViewColumn3.Caption      = "tileViewColumn3";
     this.tileViewColumn3.FieldName    = "ItemValue";
     this.tileViewColumn3.Name         = "tileViewColumn3";
     this.tileViewColumn3.Visible      = true;
     this.tileViewColumn3.VisibleIndex = 1;
     //
     // tileViewColumn2
     //
     this.tileViewColumn2.Caption      = "tileViewColumn2";
     this.tileViewColumn2.FieldName    = "ItemName";
     this.tileViewColumn2.Name         = "tileViewColumn2";
     this.tileViewColumn2.Visible      = true;
     this.tileViewColumn2.VisibleIndex = 0;
     //
     // repositoryItemButtonEdit1
     //
     this.repositoryItemButtonEdit1.AutoHeight = false;
     this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton()
     });
     this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
     //
     // gridControl1
     //
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.EmbeddedNavigator.Appearance.ForeColor            = System.Drawing.Color.Transparent;
     this.gridControl1.EmbeddedNavigator.Appearance.Options.UseForeColor = true;
     this.gridControl1.Location = new System.Drawing.Point(3, 53);
     this.gridControl1.MainView = this.tileView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemButtonEdit1
     });
     this.gridControl1.Size     = new System.Drawing.Size(353, 365);
     this.gridControl1.TabIndex = 35;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView1
     });
     //
     // tileView1
     //
     this.tileView1.Appearance.EmptySpace.BackColor             = System.Drawing.SystemColors.Control;
     this.tileView1.Appearance.EmptySpace.Options.UseBackColor  = true;
     this.tileView1.Appearance.ItemPressed.BackColor            = System.Drawing.SystemColors.Control;
     this.tileView1.Appearance.ItemPressed.Options.UseBackColor = true;
     this.tileView1.Appearance.ViewCaption.Font            = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tileView1.Appearance.ViewCaption.Options.UseFont = true;
     this.tileView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.FoodName,
         this.State,
         this.Price,
         this.Number
     });
     this.tileView1.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.White;
     contextButton1.AlignmentOptions.Panel = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton1.Id = new System.Guid("0ae3c74b-ccd5-4a1f-a501-7356a0e6f203");
     contextButton1.ImageOptions.Image = global::DianDianClient.Properties.Resources.tuicai;
     contextButton1.Name = "contextButton1";
     contextButton2.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton2.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
     contextButton2.Id = new System.Guid("d47e2d6f-e060-41d3-9ac2-ceaead236a0f");
     contextButton2.ImageOptions.Image = global::DianDianClient.Properties.Resources.sale;
     contextButton2.Name = "contextButton2";
     contextButton3.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton3.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Far;
     contextButton3.Id = new System.Guid("34f6b15d-91af-4f5d-9c9a-06ea7ba0dbf1");
     contextButton3.ImageOptions.Image = global::DianDianClient.Properties.Resources.wait;
     contextButton3.Name = "contextButton3";
     contextButton3.Tag  = true;
     this.tileView1.ContextButtons.Add(contextButton1);
     this.tileView1.ContextButtons.Add(contextButton2);
     this.tileView1.ContextButtons.Add(contextButton3);
     this.tileView1.GridControl = this.gridControl1;
     this.tileView1.Name        = "tileView1";
     this.tileView1.OptionsTiles.GroupTextPadding    = new System.Windows.Forms.Padding(12, 8, 12, 8);
     this.tileView1.OptionsTiles.IndentBetweenGroups = 0;
     this.tileView1.OptionsTiles.IndentBetweenItems  = 0;
     this.tileView1.OptionsTiles.ItemSize            = new System.Drawing.Size(400, 140);
     this.tileView1.OptionsTiles.LayoutMode          = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
     this.tileView1.OptionsTiles.Orientation         = System.Windows.Forms.Orientation.Vertical;
     this.tileView1.OptionsTiles.Padding             = new System.Windows.Forms.Padding(0);
     this.tileView1.OptionsTiles.RowCount            = 0;
     this.tileView1.OptionsView.ShowViewCaption      = true;
     tableColumnDefinition1.Length.Value             = 94D;
     tableColumnDefinition2.Length.Value             = 157D;
     tableColumnDefinition3.Length.Value             = 69D;
     tableColumnDefinition4.Length.Value             = 56D;
     this.tileView1.TileColumns.Add(tableColumnDefinition1);
     this.tileView1.TileColumns.Add(tableColumnDefinition2);
     this.tileView1.TileColumns.Add(tableColumnDefinition3);
     this.tileView1.TileColumns.Add(tableColumnDefinition4);
     this.tileView1.TileRows.Add(tableRowDefinition1);
     this.tileView1.TileRows.Add(tableRowDefinition2);
     this.tileView1.TileRows.Add(tableRowDefinition3);
     tileViewItemElement1.Appearance.Normal.Font            = new System.Drawing.Font("Tahoma", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     tileViewItemElement1.Appearance.Normal.Options.UseFont = true;
     tileViewItemElement1.Column                                 = this.FoodName;
     tileViewItemElement1.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement1.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement1.Text                                   = "Cainame";
     tileViewItemElement1.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement2.Column                                 = this.State;
     tileViewItemElement2.ColumnIndex                            = 3;
     tileViewItemElement2.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement2.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement2.Text                                   = "State";
     tileViewItemElement2.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement3.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     tileViewItemElement3.Appearance.Normal.ForeColor            = System.Drawing.Color.Orange;
     tileViewItemElement3.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement3.Appearance.Normal.Options.UseForeColor = true;
     tileViewItemElement3.Column                                 = this.Price;
     tileViewItemElement3.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement3.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement3.RowIndex                               = 2;
     tileViewItemElement3.Text                                   = "Price";
     tileViewItemElement3.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement4.Appearance.Normal.Font                 = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     tileViewItemElement4.Appearance.Normal.Options.UseFont      = true;
     tileViewItemElement4.Column                                 = this.Number;
     tileViewItemElement4.ColumnIndex                            = 2;
     tileViewItemElement4.ImageAlignment                         = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement4.ImageScaleMode                         = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement4.RowIndex                               = 2;
     tileViewItemElement4.Text                                   = "Number";
     tileViewItemElement4.TextAlignment                          = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     this.tileView1.TileTemplate.Add(tileViewItemElement1);
     this.tileView1.TileTemplate.Add(tileViewItemElement2);
     this.tileView1.TileTemplate.Add(tileViewItemElement3);
     this.tileView1.TileTemplate.Add(tileViewItemElement4);
     this.tileView1.ViewCaption             = "用餐编号:1 已接单";
     this.tileView1.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.tileView1_ContextButtonClick);
     this.tileView1.ContextButtonCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventHandler(this.tileView1_ContextButtonCustomize);
     //
     // label4
     //
     this.label4.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.label4.AutoSize = true;
     this.label4.Location = new System.Drawing.Point(261, 32);
     this.label4.Name     = "label4";
     this.label4.Size     = new System.Drawing.Size(89, 12);
     this.label4.TabIndex = 3;
     this.label4.Text     = "开桌时间:3天前";
     //
     // label3
     //
     this.label3.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.label3.AutoSize = true;
     this.label3.Font     = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label3.Location = new System.Drawing.Point(234, 0);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(116, 20);
     this.label3.TabIndex = 2;
     this.label3.Text     = "验证码:293";
     //
     // label2
     //
     this.label2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(3, 32);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(107, 12);
     this.label2.TabIndex = 1;
     this.label2.Text     = "服务员:第一添加 ";
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("宋体", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(3, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(125, 20);
     this.label1.TabIndex = 0;
     this.label1.Text     = "桌号:8号桌";
     //
     // tileViewColumn1
     //
     this.tileViewColumn1.Caption      = "tileViewColumn1";
     this.tileViewColumn1.Name         = "tileViewColumn1";
     this.tileViewColumn1.Visible      = true;
     this.tileViewColumn1.VisibleIndex = 0;
     //
     // gridControl2
     //
     this.gridControl2.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
     this.gridControl2.Location = new System.Drawing.Point(3, 424);
     this.gridControl2.MainView = this.tileView2;
     this.gridControl2.Name     = "gridControl2";
     this.gridControl2.Size     = new System.Drawing.Size(353, 157);
     this.gridControl2.TabIndex = 0;
     this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView2
     });
     //
     // tileView2
     //
     this.tileView2.Appearance.ItemFocused.BackColor            = System.Drawing.Color.Transparent;
     this.tileView2.Appearance.ItemFocused.Options.UseBackColor = true;
     this.tileView2.Appearance.ItemHovered.BackColor            = System.Drawing.Color.Transparent;
     this.tileView2.Appearance.ItemHovered.Options.UseBackColor = true;
     this.tileView2.Appearance.ItemNormal.BackColor             = System.Drawing.Color.Transparent;
     this.tileView2.Appearance.ItemNormal.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tileView2.Appearance.ItemNormal.Options.UseBackColor   = true;
     this.tileView2.Appearance.ItemNormal.Options.UseFont        = true;
     this.tileView2.Appearance.ItemPressed.BackColor             = System.Drawing.Color.Transparent;
     this.tileView2.Appearance.ItemPressed.Options.UseBackColor  = true;
     this.tileView2.Appearance.ItemSelected.BackColor            = System.Drawing.Color.Transparent;
     this.tileView2.Appearance.ItemSelected.Options.UseBackColor = true;
     this.tileView2.Appearance.ViewCaption.Font            = new System.Drawing.Font("Tahoma", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.tileView2.Appearance.ViewCaption.Options.UseFont = true;
     this.tileView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.tileViewColumn2,
         this.tileViewColumn3
     });
     this.tileView2.GridControl = this.gridControl2;
     this.tileView2.Name        = "tileView2";
     this.tileView2.OptionsTiles.GroupTextPadding    = new System.Windows.Forms.Padding(12, 8, 12, 8);
     this.tileView2.OptionsTiles.IndentBetweenGroups = 0;
     this.tileView2.OptionsTiles.IndentBetweenItems  = 0;
     this.tileView2.OptionsTiles.ItemSize            = new System.Drawing.Size(248, 35);
     this.tileView2.OptionsTiles.LayoutMode          = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
     this.tileView2.OptionsTiles.Orientation         = System.Windows.Forms.Orientation.Vertical;
     this.tileView2.OptionsTiles.Padding             = new System.Windows.Forms.Padding(0);
     this.tileView2.OptionsTiles.RowCount            = 0;
     tableColumnDefinition5.Length.Value             = 92D;
     tableColumnDefinition6.Length.Value             = 49D;
     tableColumnDefinition7.Length.Value             = 95D;
     this.tileView2.TileColumns.Add(tableColumnDefinition5);
     this.tileView2.TileColumns.Add(tableColumnDefinition6);
     this.tileView2.TileColumns.Add(tableColumnDefinition7);
     this.tileView2.TileRows.Add(tableRowDefinition4);
     tileViewItemElement5.Column         = this.tileViewColumn3;
     tileViewItemElement5.ColumnIndex    = 3;
     tileViewItemElement5.Text           = "tileViewColumn3";
     tileViewItemElement5.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleRight;
     tileViewItemElement6.Column         = this.tileViewColumn2;
     tileViewItemElement6.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement6.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement6.Text           = "tileViewColumn2";
     tileViewItemElement6.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleLeft;
     this.tileView2.TileTemplate.Add(tileViewItemElement5);
     this.tileView2.TileTemplate.Add(tileViewItemElement6);
     this.tileView2.ItemCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewItemCustomizeEventHandler(this.tileView2_ItemCustomize);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.BackColor   = System.Drawing.Color.White;
     this.tableLayoutPanel1.ColumnCount = 1;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.Controls.Add(this.gridControl2, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.gridControl1, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 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 = 3;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(359, 584);
     this.tableLayoutPanel1.TabIndex = 28;
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 2;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
     this.tableLayoutPanel2.Controls.Add(this.label4, 1, 1);
     this.tableLayoutPanel2.Controls.Add(this.label1, 0, 0);
     this.tableLayoutPanel2.Controls.Add(this.label2, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.label3, 1, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(3, 3);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 2;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(353, 44);
     this.tableLayoutPanel2.TabIndex = 0;
     //
     // SelectedDetails
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name = "SelectedDetails";
     this.Size = new System.Drawing.Size(359, 584);
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView2)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     this.tableLayoutPanel2.PerformLayout();
     this.ResumeLayout(false);
 }
コード例 #11
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(EditMenu));
     DevExpress.Utils.ContextButton contextButton1            = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2            = new DevExpress.Utils.ContextButton();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition1    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement1   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     this.FoodGroup         = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.gridControl1      = new DevExpress.XtraGrid.GridControl();
     this.tileView1         = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.navigationPane1   = new DevExpress.XtraBars.Navigation.NavigationPane();
     this.navigationPage1   = new DevExpress.XtraBars.Navigation.NavigationPage();
     this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
     this.groupBox2         = new System.Windows.Forms.GroupBox();
     this.radioGroup1       = new DevExpress.XtraEditors.RadioGroup();
     this.groupBox1         = new System.Windows.Forms.GroupBox();
     this.Txt_FoodName      = new DevExpress.XtraEditors.TextEdit();
     this.navigationPage2   = new DevExpress.XtraBars.Navigation.NavigationPage();
     this.groupBox7         = new System.Windows.Forms.GroupBox();
     this.simpleButton1     = new DevExpress.XtraEditors.SimpleButton();
     this.groupBox5         = new System.Windows.Forms.GroupBox();
     this.btn_tuijian       = new DevExpress.XtraEditors.SimpleButton();
     this.groupBox4         = new System.Windows.Forms.GroupBox();
     this.btn_Import        = new DevExpress.XtraEditors.SimpleButton();
     this.btn_export        = new DevExpress.XtraEditors.SimpleButton();
     this.groupBox3         = new System.Windows.Forms.GroupBox();
     this.btn_addclass      = new DevExpress.XtraEditors.SimpleButton();
     this.btn_addfood       = new DevExpress.XtraEditors.SimpleButton();
     this.gridControl2      = new DevExpress.XtraGrid.GridControl();
     this.tileView2         = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.tileViewColumn1   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.panel1            = new System.Windows.Forms.Panel();
     this.btn_guqing        = new DevExpress.XtraEditors.SimpleButton();
     this.btn_shangjia      = new DevExpress.XtraEditors.SimpleButton();
     this.btn_all           = new DevExpress.XtraEditors.SimpleButton();
     this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.navigationPane1)).BeginInit();
     this.navigationPane1.SuspendLayout();
     this.navigationPage1.SuspendLayout();
     this.tableLayoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.Txt_FoodName.Properties)).BeginInit();
     this.navigationPage2.SuspendLayout();
     this.groupBox7.SuspendLayout();
     this.groupBox4.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView2)).BeginInit();
     this.panel1.SuspendLayout();
     this.tableLayoutPanel3.SuspendLayout();
     this.SuspendLayout();
     //
     // FoodGroup
     //
     this.FoodGroup.Caption      = "FoodGroup";
     this.FoodGroup.FieldName    = "FoodGroupName";
     this.FoodGroup.Name         = "FoodGroup";
     this.FoodGroup.Visible      = true;
     this.FoodGroup.VisibleIndex = 0;
     //
     // gridControl1
     //
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.EmbeddedNavigator.Appearance.BackColor            = System.Drawing.Color.Transparent;
     this.gridControl1.EmbeddedNavigator.Appearance.Options.UseBackColor = true;
     this.gridControl1.Location = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView = this.tileView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(812, 612);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView1
     });
     //
     // tileView1
     //
     this.tileView1.ContextButtonOptions.BottomPanelColor   = System.Drawing.Color.FromArgb(((int)(((byte)(70)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tileView1.ContextButtonOptions.BottomPanelPadding = new System.Windows.Forms.Padding(10);
     this.tileView1.GridControl             = this.gridControl1;
     this.tileView1.Name                    = "tileView1";
     this.tileView1.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.tileView1_ContextButtonClick);
     this.tileView1.ContextButtonCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventHandler(this.tileView1_ContextButtonCustomize);
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.BackColor             = System.Drawing.SystemColors.AppWorkspace;
     this.tableLayoutPanel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.tableLayoutPanel1.ColumnCount           = 3;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 12F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 88F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle());
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Controls.Add(this.navigationPane1, 2, 0);
     this.tableLayoutPanel1.Controls.Add(this.panel1, 1, 0);
     this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel3, 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, 100F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(980, 618);
     this.tableLayoutPanel1.TabIndex = 1;
     //
     // navigationPane1
     //
     this.navigationPane1.Controls.Add(this.navigationPage1);
     this.navigationPane1.Controls.Add(this.navigationPage2);
     this.navigationPane1.Dock            = System.Windows.Forms.DockStyle.Right;
     this.navigationPane1.ItemOrientation = System.Windows.Forms.Orientation.Vertical;
     this.navigationPane1.Location        = new System.Drawing.Point(933, 3);
     this.navigationPane1.Name            = "navigationPane1";
     this.navigationPane1.PageProperties.ShowExpandButton = false;
     this.navigationPane1.Pages.AddRange(new DevExpress.XtraBars.Navigation.NavigationPageBase[] {
         this.navigationPage1,
         this.navigationPage2
     });
     this.navigationPane1.RegularSize  = new System.Drawing.Size(331, 612);
     this.navigationPane1.SelectedPage = this.navigationPage1;
     this.navigationPane1.Size         = new System.Drawing.Size(44, 612);
     this.navigationPane1.State        = DevExpress.XtraBars.Navigation.NavigationPaneState.Collapsed;
     this.navigationPane1.TabIndex     = 5;
     this.navigationPane1.Text         = "操作";
     this.navigationPane1.Visible      = false;
     //
     // navigationPage1
     //
     this.navigationPage1.Caption = "筛选";
     this.navigationPage1.Controls.Add(this.tableLayoutPanel2);
     this.navigationPage1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("navigationPage1.ImageOptions.Image")));
     this.navigationPage1.Name = "navigationPage1";
     this.navigationPage1.Size = new System.Drawing.Size(269, 552);
     //
     // tableLayoutPanel2
     //
     this.tableLayoutPanel2.ColumnCount = 1;
     this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel2.Controls.Add(this.groupBox2, 0, 1);
     this.tableLayoutPanel2.Controls.Add(this.groupBox1, 0, 0);
     this.tableLayoutPanel2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
     this.tableLayoutPanel2.Name     = "tableLayoutPanel2";
     this.tableLayoutPanel2.RowCount = 3;
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel2.Size     = new System.Drawing.Size(269, 552);
     this.tableLayoutPanel2.TabIndex = 0;
     //
     // groupBox2
     //
     this.groupBox2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.groupBox2.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.groupBox2.Location = new System.Drawing.Point(3, 65);
     this.groupBox2.Name     = "groupBox2";
     this.groupBox2.Size     = new System.Drawing.Size(263, 464);
     this.groupBox2.TabIndex = 1;
     this.groupBox2.TabStop  = false;
     this.groupBox2.Text     = "根据状态";
     //
     // radioGroup1
     //
     this.radioGroup1.Location = new System.Drawing.Point(6, 14);
     this.radioGroup1.Name     = "radioGroup1";
     this.radioGroup1.Properties.Appearance.BackColor            = System.Drawing.Color.White;
     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(0, "全部"),
         new DevExpress.XtraEditors.Controls.RadioGroupItem(1, "只显示上架"),
         new DevExpress.XtraEditors.Controls.RadioGroupItem(2, "只显示估清")
     });
     this.radioGroup1.Size                  = new System.Drawing.Size(260, 138);
     this.radioGroup1.TabIndex              = 3;
     this.radioGroup1.SelectedIndexChanged += new System.EventHandler(this.radioGroup1_SelectedIndexChanged);
     //
     // groupBox1
     //
     this.groupBox1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox1.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.groupBox1.Location = new System.Drawing.Point(3, 3);
     this.groupBox1.Name     = "groupBox1";
     this.groupBox1.Size     = new System.Drawing.Size(263, 56);
     this.groupBox1.TabIndex = 0;
     this.groupBox1.TabStop  = false;
     this.groupBox1.Text     = "根据菜名";
     //
     // Txt_FoodName
     //
     this.Txt_FoodName.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.Txt_FoodName.Location = new System.Drawing.Point(3, 3);
     this.Txt_FoodName.Name     = "Txt_FoodName";
     this.Txt_FoodName.Properties.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.Txt_FoodName.Properties.Appearance.Options.UseFont = true;
     this.Txt_FoodName.Size              = new System.Drawing.Size(99, 26);
     this.Txt_FoodName.TabIndex          = 1;
     this.Txt_FoodName.EditValueChanged += new System.EventHandler(this.Txt_FoodName_EditValueChanged);
     //
     // navigationPage2
     //
     this.navigationPage2.Caption = "操作";
     this.navigationPage2.Controls.Add(this.groupBox7);
     this.navigationPage2.Controls.Add(this.groupBox5);
     this.navigationPage2.Controls.Add(this.groupBox4);
     this.navigationPage2.Controls.Add(this.groupBox3);
     this.navigationPage2.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("navigationPage2.ImageOptions.Image")));
     this.navigationPage2.Name = "navigationPage2";
     this.navigationPage2.Size = new System.Drawing.Size(269, 552);
     //
     // groupBox7
     //
     this.groupBox7.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox7.Controls.Add(this.simpleButton1);
     this.groupBox7.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.groupBox7.Location = new System.Drawing.Point(6, 411);
     this.groupBox7.Name     = "groupBox7";
     this.groupBox7.Size     = new System.Drawing.Size(263, 74);
     this.groupBox7.TabIndex = 5;
     this.groupBox7.TabStop  = false;
     this.groupBox7.Text     = "刷新";
     //
     // simpleButton1
     //
     this.simpleButton1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.simpleButton1.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.simpleButton1.Appearance.Options.UseFont = true;
     this.simpleButton1.Location = new System.Drawing.Point(0, 25);
     this.simpleButton1.Name     = "simpleButton1";
     this.simpleButton1.Size     = new System.Drawing.Size(266, 47);
     this.simpleButton1.TabIndex = 0;
     this.simpleButton1.Text     = "刷新";
     this.simpleButton1.Click   += new System.EventHandler(this.simpleButton1_Click);
     //
     // groupBox5
     //
     this.groupBox5.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox5.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.groupBox5.Location = new System.Drawing.Point(9, 331);
     this.groupBox5.Name     = "groupBox5";
     this.groupBox5.Size     = new System.Drawing.Size(263, 74);
     this.groupBox5.TabIndex = 4;
     this.groupBox5.TabStop  = false;
     this.groupBox5.Text     = "推荐设置";
     //
     // btn_tuijian
     //
     this.btn_tuijian.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_tuijian.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_tuijian.Appearance.Options.UseFont = true;
     this.btn_tuijian.Location                   = new System.Drawing.Point(625, 6);
     this.btn_tuijian.Name     = "btn_tuijian";
     this.btn_tuijian.Size     = new System.Drawing.Size(74, 28);
     this.btn_tuijian.TabIndex = 0;
     this.btn_tuijian.Text     = "推荐设置";
     this.btn_tuijian.Click   += new System.EventHandler(this.btn_tuijian_Click);
     //
     // groupBox4
     //
     this.groupBox4.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox4.Controls.Add(this.radioGroup1);
     this.groupBox4.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.groupBox4.Location = new System.Drawing.Point(6, 167);
     this.groupBox4.Name     = "groupBox4";
     this.groupBox4.Size     = new System.Drawing.Size(263, 158);
     this.groupBox4.TabIndex = 3;
     this.groupBox4.TabStop  = false;
     this.groupBox4.Text     = "导入导出";
     //
     // btn_Import
     //
     this.btn_Import.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_Import.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_Import.Appearance.Options.UseFont = true;
     this.btn_Import.Location                   = new System.Drawing.Point(305, 6);
     this.btn_Import.Name     = "btn_Import";
     this.btn_Import.Size     = new System.Drawing.Size(74, 28);
     this.btn_Import.TabIndex = 0;
     this.btn_Import.Text     = "导入";
     //
     // btn_export
     //
     this.btn_export.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     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.Options.UseFont = true;
     this.btn_export.Location                   = new System.Drawing.Point(385, 6);
     this.btn_export.Name     = "btn_export";
     this.btn_export.Size     = new System.Drawing.Size(74, 28);
     this.btn_export.TabIndex = 1;
     this.btn_export.Text     = "导出";
     //
     // groupBox3
     //
     this.groupBox3.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                   | System.Windows.Forms.AnchorStyles.Right)));
     this.groupBox3.Font     = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.groupBox3.Location = new System.Drawing.Point(3, 3);
     this.groupBox3.Name     = "groupBox3";
     this.groupBox3.Size     = new System.Drawing.Size(263, 158);
     this.groupBox3.TabIndex = 2;
     this.groupBox3.TabStop  = false;
     this.groupBox3.Text     = "新增";
     //
     // btn_addclass
     //
     this.btn_addclass.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_addclass.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_addclass.Appearance.Options.UseFont = true;
     this.btn_addclass.Location                   = new System.Drawing.Point(625, 416);
     this.btn_addclass.Name     = "btn_addclass";
     this.btn_addclass.Size     = new System.Drawing.Size(163, 47);
     this.btn_addclass.TabIndex = 0;
     this.btn_addclass.Text     = "新增分类";
     this.btn_addclass.Click   += new System.EventHandler(this.btn_addclass_Click);
     //
     // btn_addfood
     //
     this.btn_addfood.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_addfood.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_addfood.Appearance.Options.UseFont = true;
     this.btn_addfood.Location                   = new System.Drawing.Point(625, 488);
     this.btn_addfood.Name     = "btn_addfood";
     this.btn_addfood.Size     = new System.Drawing.Size(163, 47);
     this.btn_addfood.TabIndex = 1;
     this.btn_addfood.Text     = "新增菜品";
     this.btn_addfood.Click   += new System.EventHandler(this.btn_addfood_Click);
     //
     // gridControl2
     //
     this.gridControl2.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl2.Location = new System.Drawing.Point(3, 35);
     this.gridControl2.MainView = this.tileView2;
     this.gridControl2.Name     = "gridControl2";
     this.gridControl2.Size     = new System.Drawing.Size(99, 574);
     this.gridControl2.TabIndex = 1;
     this.gridControl2.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView2
     });
     //
     // tileView2
     //
     this.tileView2.Appearance.ItemFocused.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     this.tileView2.Appearance.ItemFocused.ForeColor            = System.Drawing.Color.Black;
     this.tileView2.Appearance.ItemFocused.Options.UseBackColor = true;
     this.tileView2.Appearance.ItemFocused.Options.UseForeColor = true;
     this.tileView2.Appearance.ItemNormal.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(80)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tileView2.Appearance.ItemNormal.ForeColor             = System.Drawing.Color.White;
     this.tileView2.Appearance.ItemNormal.Options.UseBackColor  = true;
     this.tileView2.Appearance.ItemNormal.Options.UseForeColor  = true;
     this.tileView2.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.FoodGroup,
         this.tileViewColumn1
     });
     this.tileView2.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.FromArgb(((int)(((byte)(100)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(192)))));
     contextButton1.AlignmentOptions.Panel = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton1.Id = new System.Guid("2cec6bfd-cc59-44fb-8436-00919669c25e");
     contextButton1.ImageOptions.Image = global::DianDianClient.Properties.Resources.itemedit;
     contextButton1.Name = "contextButton1";
     contextButton2.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton2.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Far;
     contextButton2.Id = new System.Guid("7e109b8f-e6e3-4905-acf8-c0baa2a400d9");
     contextButton2.ImageOptions.Image = global::DianDianClient.Properties.Resources.sort;
     contextButton2.Name = "contextButton2";
     this.tileView2.ContextButtons.Add(contextButton1);
     this.tileView2.ContextButtons.Add(contextButton2);
     this.tileView2.GridControl = this.gridControl2;
     this.tileView2.Name        = "tileView2";
     this.tileView2.OptionsTiles.GroupTextPadding    = new System.Windows.Forms.Padding(12, 8, 12, 8);
     this.tileView2.OptionsTiles.IndentBetweenGroups = 0;
     this.tileView2.OptionsTiles.IndentBetweenItems  = 0;
     this.tileView2.OptionsTiles.ItemSize            = new System.Drawing.Size(248, 88);
     this.tileView2.OptionsTiles.LayoutMode          = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
     this.tileView2.OptionsTiles.Orientation         = System.Windows.Forms.Orientation.Vertical;
     this.tileView2.OptionsTiles.Padding             = new System.Windows.Forms.Padding(0);
     this.tileView2.OptionsTiles.RowCount            = 0;
     tableColumnDefinition1.Length.Value             = 161D;
     this.tileView2.TileColumns.Add(tableColumnDefinition1);
     tableRowDefinition1.Length.Value = 26D;
     this.tileView2.TileRows.Add(tableRowDefinition1);
     tileViewItemElement1.Appearance.Normal.Font            = new System.Drawing.Font("Tahoma", 15F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     tileViewItemElement1.Appearance.Normal.Options.UseFont = true;
     tileViewItemElement1.Column        = this.FoodGroup;
     tileViewItemElement1.Text          = "FoodGroup";
     tileViewItemElement1.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     this.tileView2.TileTemplate.Add(tileViewItemElement1);
     this.tileView2.ItemClick              += new DevExpress.XtraGrid.Views.Tile.TileViewItemClickEventHandler(this.tileView2_ItemClick);
     this.tileView2.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.tileView2_ContextButtonClick);
     this.tileView2.ContextButtonCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventHandler(this.tileView2_ContextButtonCustomize);
     //
     // tileViewColumn1
     //
     this.tileViewColumn1.Caption   = "tileViewColumn1";
     this.tileViewColumn1.FieldName = "FoodGroupID";
     this.tileViewColumn1.Name      = "tileViewColumn1";
     //
     // panel1
     //
     this.panel1.Controls.Add(this.btn_addfood);
     this.panel1.Controls.Add(this.btn_addclass);
     this.panel1.Controls.Add(this.btn_Import);
     this.panel1.Controls.Add(this.btn_shangjia);
     this.panel1.Controls.Add(this.btn_export);
     this.panel1.Controls.Add(this.btn_guqing);
     this.panel1.Controls.Add(this.btn_tuijian);
     this.panel1.Controls.Add(this.btn_all);
     this.panel1.Controls.Add(this.gridControl1);
     this.panel1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.panel1.Location = new System.Drawing.Point(114, 3);
     this.panel1.Name     = "panel1";
     this.panel1.Size     = new System.Drawing.Size(812, 612);
     this.panel1.TabIndex = 6;
     //
     // btn_guqing
     //
     this.btn_guqing.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_guqing.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_guqing.Appearance.Options.UseFont = true;
     this.btn_guqing.Location                   = new System.Drawing.Point(545, 6);
     this.btn_guqing.Name     = "btn_guqing";
     this.btn_guqing.Size     = new System.Drawing.Size(74, 28);
     this.btn_guqing.TabIndex = 2;
     this.btn_guqing.Text     = "估清";
     this.btn_guqing.Click   += new System.EventHandler(this.btn_guqing_Click);
     //
     // btn_shangjia
     //
     this.btn_shangjia.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_shangjia.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_shangjia.Appearance.Options.UseFont = true;
     this.btn_shangjia.Location                   = new System.Drawing.Point(465, 6);
     this.btn_shangjia.Name     = "btn_shangjia";
     this.btn_shangjia.Size     = new System.Drawing.Size(74, 28);
     this.btn_shangjia.TabIndex = 3;
     this.btn_shangjia.Text     = "上架";
     this.btn_shangjia.Click   += new System.EventHandler(this.btn_shangjia_Click);
     //
     // btn_all
     //
     this.btn_all.Anchor                     = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.btn_all.Appearance.Font            = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     this.btn_all.Appearance.Options.UseFont = true;
     this.btn_all.Location                   = new System.Drawing.Point(705, 6);
     this.btn_all.Name     = "btn_all";
     this.btn_all.Size     = new System.Drawing.Size(74, 28);
     this.btn_all.TabIndex = 4;
     this.btn_all.Text     = "全部";
     this.btn_all.Click   += new System.EventHandler(this.btn_all_Click);
     //
     // tableLayoutPanel3
     //
     this.tableLayoutPanel3.ColumnCount = 1;
     this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel3.Controls.Add(this.Txt_FoodName, 0, 0);
     this.tableLayoutPanel3.Controls.Add(this.gridControl2, 0, 1);
     this.tableLayoutPanel3.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.tableLayoutPanel3.Location = new System.Drawing.Point(3, 3);
     this.tableLayoutPanel3.Name     = "tableLayoutPanel3";
     this.tableLayoutPanel3.RowCount = 2;
     this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel3.Size     = new System.Drawing.Size(105, 612);
     this.tableLayoutPanel3.TabIndex = 7;
     //
     // EditMenu
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name = "EditMenu";
     this.Size = new System.Drawing.Size(980, 618);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
     this.tableLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.navigationPane1)).EndInit();
     this.navigationPane1.ResumeLayout(false);
     this.navigationPage1.ResumeLayout(false);
     this.tableLayoutPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.radioGroup1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.Txt_FoodName.Properties)).EndInit();
     this.navigationPage2.ResumeLayout(false);
     this.groupBox7.ResumeLayout(false);
     this.groupBox4.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView2)).EndInit();
     this.panel1.ResumeLayout(false);
     this.tableLayoutPanel3.ResumeLayout(false);
     this.ResumeLayout(false);
 }
コード例 #12
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.ContextButton contextButton2            = new DevExpress.Utils.ContextButton();
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
            this.metroTile4     = new MetroFramework.Controls.MetroTile();
            this.button1        = new MetroFramework.Controls.MetroButton();
            this.button2        = new MetroFramework.Controls.MetroButton();
            this.label1         = new System.Windows.Forms.Label();
            this.metroComboBox1 = new MetroFramework.Controls.MetroComboBox();
            this.BTN_Sifirla    = new MetroFramework.Controls.MetroTile();
            this.timer1         = new System.Windows.Forms.Timer(this.components);
            this.timer2         = new System.Windows.Forms.Timer(this.components);
            this.BTN_AnimeIzle  = new MetroFramework.Controls.MetroTile();
            this.BTN_AnimeMuzik = new MetroFramework.Controls.MetroTile();
            this.pictureBox2    = new System.Windows.Forms.PictureBox();
            this.ımageSlider1   = new DevExpress.XtraEditors.Controls.ImageSlider();
            this.pictureBox1    = new System.Windows.Forms.PictureBox();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.ımageSlider1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
            this.SuspendLayout();
            //
            // metroTile4
            //
            this.metroTile4.ActiveControl  = null;
            this.metroTile4.Location       = new System.Drawing.Point(686, 522);
            this.metroTile4.Name           = "metroTile4";
            this.metroTile4.Size           = new System.Drawing.Size(148, 43);
            this.metroTile4.Style          = MetroFramework.MetroColorStyle.Green;
            this.metroTile4.TabIndex       = 3;
            this.metroTile4.Text           = "İletişim";
            this.metroTile4.TextAlign      = System.Drawing.ContentAlignment.MiddleCenter;
            this.metroTile4.TileImageAlign = System.Drawing.ContentAlignment.MiddleCenter;
            this.metroTile4.UseSelectable  = true;
            this.metroTile4.UseStyleColors = true;
            this.metroTile4.Click         += new System.EventHandler(this.metroTile4_Click);
            //
            // button1
            //
            this.button1.Location      = new System.Drawing.Point(607, 569);
            this.button1.Name          = "button1";
            this.button1.Size          = new System.Drawing.Size(72, 30);
            this.button1.TabIndex      = 4;
            this.button1.Text          = "İleri";
            this.button1.Theme         = MetroFramework.MetroThemeStyle.Dark;
            this.button1.UseSelectable = true;
            this.button1.Click        += new System.EventHandler(this.metroButton1_Click);
            //
            // button2
            //
            this.button2.Location      = new System.Drawing.Point(285, 569);
            this.button2.Name          = "button2";
            this.button2.Size          = new System.Drawing.Size(77, 30);
            this.button2.TabIndex      = 5;
            this.button2.Text          = "Geri";
            this.button2.Theme         = MetroFramework.MetroThemeStyle.Dark;
            this.button2.UseSelectable = true;
            this.button2.Click        += new System.EventHandler(this.metroButton1_Click_1);
            //
            // label1
            //
            this.label1.AutoSize  = true;
            this.label1.Font      = new System.Drawing.Font("Microsoft Sans Serif", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(162)));
            this.label1.ForeColor = System.Drawing.SystemColors.ControlText;
            this.label1.Location  = new System.Drawing.Point(246, 621);
            this.label1.Name      = "label1";
            this.label1.Size      = new System.Drawing.Size(0, 18);
            this.label1.TabIndex  = 6;
            //
            // metroComboBox1
            //
            this.metroComboBox1.FormattingEnabled = true;
            this.metroComboBox1.ItemHeight        = 23;
            this.metroComboBox1.Items.AddRange(new object[] {
                "DizinBrand",
                "DizinHibi",
                "DizinLove",
                "DizinFma",
                "DizinDie"
            });
            this.metroComboBox1.Location              = new System.Drawing.Point(685, 30);
            this.metroComboBox1.Name                  = "metroComboBox1";
            this.metroComboBox1.Size                  = new System.Drawing.Size(121, 29);
            this.metroComboBox1.TabIndex              = 8;
            this.metroComboBox1.UseSelectable         = true;
            this.metroComboBox1.SelectedIndexChanged += new System.EventHandler(this.metroComboBox1_SelectedIndexChanged);
            //
            // BTN_Sifirla
            //
            this.BTN_Sifirla.ActiveControl = null;
            this.BTN_Sifirla.Location      = new System.Drawing.Point(686, 473);
            this.BTN_Sifirla.Name          = "BTN_Sifirla";
            this.BTN_Sifirla.Size          = new System.Drawing.Size(148, 43);
            this.BTN_Sifirla.Style         = MetroFramework.MetroColorStyle.Silver;
            this.BTN_Sifirla.TabIndex      = 9;
            this.BTN_Sifirla.Text          = "Sıfırla";
            this.BTN_Sifirla.TextAlign     = System.Drawing.ContentAlignment.MiddleCenter;
            this.BTN_Sifirla.UseSelectable = true;
            this.BTN_Sifirla.Click        += new System.EventHandler(this.metroTile1_Click);
            //
            // BTN_AnimeIzle
            //
            this.BTN_AnimeIzle.ActiveControl = null;
            this.BTN_AnimeIzle.Location      = new System.Drawing.Point(686, 416);
            this.BTN_AnimeIzle.Name          = "BTN_AnimeIzle";
            this.BTN_AnimeIzle.Size          = new System.Drawing.Size(148, 51);
            this.BTN_AnimeIzle.Style         = MetroFramework.MetroColorStyle.Lime;
            this.BTN_AnimeIzle.TabIndex      = 21;
            this.BTN_AnimeIzle.Text          = "Anime İzle";
            this.BTN_AnimeIzle.TextAlign     = System.Drawing.ContentAlignment.MiddleCenter;
            this.BTN_AnimeIzle.UseSelectable = true;

            //
            // BTN_AnimeMuzik
            //
            this.BTN_AnimeMuzik.ActiveControl = null;
            this.BTN_AnimeMuzik.Location      = new System.Drawing.Point(684, 361);
            this.BTN_AnimeMuzik.Name          = "BTN_AnimeMuzik";
            this.BTN_AnimeMuzik.Size          = new System.Drawing.Size(150, 49);
            this.BTN_AnimeMuzik.Style         = MetroFramework.MetroColorStyle.Teal;
            this.BTN_AnimeMuzik.TabIndex      = 22;
            this.BTN_AnimeMuzik.Text          = "Anime Müzikleri İndir";
            this.BTN_AnimeMuzik.TextAlign     = System.Drawing.ContentAlignment.MiddleCenter;
            this.BTN_AnimeMuzik.UseSelectable = true;

            //
            // pictureBox2
            //
            this.pictureBox2.Location = new System.Drawing.Point(23, 30);
            this.pictureBox2.Name     = "pictureBox2";
            this.pictureBox2.Size     = new System.Drawing.Size(239, 198);
            this.pictureBox2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
            this.pictureBox2.TabIndex = 19;
            this.pictureBox2.TabStop  = false;
            //
            // ımageSlider1
            //
            this.ımageSlider1.AnimationTime = 1000;
            this.ımageSlider1.BorderStyle   = DevExpress.XtraEditors.Controls.BorderStyles.Style3D;
            contextButton2.Id   = new System.Guid("f8a7b57b-7ad1-4b4b-bf27-1bbc5cf3ae3f");
            contextButton2.Name = "ContextButton";
            this.ımageSlider1.ContextButtons.Add(contextButton2);
            this.ımageSlider1.CurrentImageIndex = 0;
            this.ımageSlider1.Images.Add(((System.Drawing.Image)(resources.GetObject("ımageSlider1.Images"))));
            this.ımageSlider1.Images.Add(((System.Drawing.Image)(resources.GetObject("ımageSlider1.Images1"))));
            this.ımageSlider1.Images.Add(((System.Drawing.Image)(resources.GetObject("ımageSlider1.Images2"))));
            this.ımageSlider1.ImeMode                 = System.Windows.Forms.ImeMode.HangulFull;
            this.ımageSlider1.LayoutMode              = DevExpress.Utils.Drawing.ImageLayoutMode.ZoomInside;
            this.ımageSlider1.Location                = new System.Drawing.Point(23, 210);
            this.ımageSlider1.Name                    = "ımageSlider1";
            this.ımageSlider1.Size                    = new System.Drawing.Size(239, 355);
            this.ımageSlider1.TabIndex                = 12;
            this.ımageSlider1.Text                    = "ımageSlider1";
            this.ımageSlider1.ToolTipIconType         = DevExpress.Utils.ToolTipIconType.Application;
            this.ımageSlider1.UseDisabledStatePainter = true;
            this.ımageSlider1.Click                  += new System.EventHandler(this.ımageSlider1_Click);
            //
            // pictureBox1
            //
            this.pictureBox1.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
            this.pictureBox1.Location    = new System.Drawing.Point(286, 30);
            this.pictureBox1.Name        = "pictureBox1";
            this.pictureBox1.Size        = new System.Drawing.Size(393, 533);
            this.pictureBox1.SizeMode    = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
            this.pictureBox1.TabIndex    = 0;
            this.pictureBox1.TabStop     = false;
            //
            // Form1
            //
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize          = new System.Drawing.Size(925, 621);
            this.Controls.Add(this.BTN_AnimeMuzik);
            this.Controls.Add(this.BTN_AnimeIzle);
            this.Controls.Add(this.pictureBox2);
            this.Controls.Add(this.ımageSlider1);
            this.Controls.Add(this.BTN_Sifirla);
            this.Controls.Add(this.metroComboBox1);
            this.Controls.Add(this.label1);
            this.Controls.Add(this.button2);
            this.Controls.Add(this.button1);
            this.Controls.Add(this.metroTile4);
            this.Controls.Add(this.pictureBox1);
            this.Name     = "Form1";
            this.Load    += new System.EventHandler(this.Form1_Load);
            this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown);
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.ımageSlider1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
            this.ResumeLayout(false);
            this.PerformLayout();
        }
コード例 #13
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.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     this.buttonXSave                = new DevComponents.DotNetBar.ButtonX();
     this.buttonXCancel              = new DevComponents.DotNetBar.ButtonX();
     this.calendarControlDateStart   = new DevExpress.XtraEditors.Controls.CalendarControl();
     this.layoutControl              = new DevExpress.XtraLayout.LayoutControl();
     this.calendarControlDateEnd     = new DevExpress.XtraEditors.Controls.CalendarControl();
     this.pictureEditLogo            = new DevExpress.XtraEditors.PictureEdit();
     this.layoutControlGroupRoot     = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItemLogo      = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem1            = new DevExpress.XtraLayout.EmptySpaceItem();
     this.simpleLabelItemTitle       = new DevExpress.XtraLayout.SimpleLabelItem();
     this.emptySpaceItem2            = new DevExpress.XtraLayout.EmptySpaceItem();
     this.emptySpaceItem3            = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItemDateStart = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem4            = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItemDateEnd   = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem5            = new DevExpress.XtraLayout.EmptySpaceItem();
     this.layoutControlItemCancel    = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItemOK        = new DevExpress.XtraLayout.LayoutControlItem();
     this.emptySpaceItem6            = new DevExpress.XtraLayout.EmptySpaceItem();
     this.styleController            = new DevExpress.XtraEditors.StyleController(this.components);
     ((System.ComponentModel.ISupportInitialize)(this.calendarControlDateStart.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl)).BeginInit();
     this.layoutControl.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.calendarControlDateEnd.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditLogo.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupRoot)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemLogo)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemTitle)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDateStart)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDateEnd)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemCancel)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemOK)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.styleController)).BeginInit();
     this.SuspendLayout();
     //
     // buttonXSave
     //
     this.buttonXSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonXSave.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonXSave.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonXSave.DialogResult   = System.Windows.Forms.DialogResult.OK;
     this.buttonXSave.Location       = new System.Drawing.Point(295, 298);
     this.buttonXSave.Name           = "buttonXSave";
     this.buttonXSave.Size           = new System.Drawing.Size(116, 36);
     this.buttonXSave.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonXSave.TabIndex       = 2;
     this.buttonXSave.Text           = "Save";
     //
     // buttonXCancel
     //
     this.buttonXCancel.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
     this.buttonXCancel.Anchor         = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
     this.buttonXCancel.ColorTable     = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
     this.buttonXCancel.DialogResult   = System.Windows.Forms.DialogResult.Cancel;
     this.buttonXCancel.Location       = new System.Drawing.Point(435, 298);
     this.buttonXCancel.Name           = "buttonXCancel";
     this.buttonXCancel.Size           = new System.Drawing.Size(116, 36);
     this.buttonXCancel.Style          = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
     this.buttonXCancel.TabIndex       = 3;
     this.buttonXCancel.Text           = "Cancel";
     //
     // calendarControlDateStart
     //
     this.calendarControlDateStart.AllowAnimatedContentChange      = true;
     this.calendarControlDateStart.Appearance.BackColor            = System.Drawing.Color.White;
     this.calendarControlDateStart.Appearance.ForeColor            = System.Drawing.Color.Black;
     this.calendarControlDateStart.Appearance.Options.UseBackColor = true;
     this.calendarControlDateStart.Appearance.Options.UseForeColor = true;
     this.calendarControlDateStart.AutoSize            = false;
     this.calendarControlDateStart.CalendarTimeEditing = DevExpress.Utils.DefaultBoolean.False;
     this.calendarControlDateStart.CalendarTimeProperties.AllowFocused = false;
     this.calendarControlDateStart.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.calendarControlDateStart.Cursor             = System.Windows.Forms.Cursors.Hand;
     this.calendarControlDateStart.DateTime           = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
     this.calendarControlDateStart.EditValue          = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
     this.calendarControlDateStart.FirstDayOfWeek     = System.DayOfWeek.Monday;
     this.calendarControlDateStart.HighlightSelection = false;
     this.calendarControlDateStart.HighlightTodayCell = DevExpress.Utils.DefaultBoolean.True;
     this.calendarControlDateStart.Location           = new System.Drawing.Point(12, 109);
     this.calendarControlDateStart.Name                         = "calendarControlDateStart";
     this.calendarControlDateStart.ShowFooter                   = false;
     this.calendarControlDateStart.ShowMonthHeaders             = false;
     this.calendarControlDateStart.ShowMonthNavigationButtons   = DevExpress.Utils.DefaultBoolean.True;
     this.calendarControlDateStart.ShowTodayButton              = false;
     this.calendarControlDateStart.Size                         = new System.Drawing.Size(246, 175);
     this.calendarControlDateStart.StyleController              = this.layoutControl;
     this.calendarControlDateStart.TabIndex                     = 0;
     this.calendarControlDateStart.TodayDate                    = new System.DateTime(2016, 3, 5, 0, 0, 0, 0);
     this.calendarControlDateStart.UpdateDateTimeWhenNavigating = false;
     this.calendarControlDateStart.DateTimeChanged             += new System.EventHandler(this.OnDateStartChanged);
     //
     // layoutControl
     //
     this.layoutControl.AllowCustomization                               = false;
     this.layoutControl.Appearance.Control.Font                          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.layoutControl.Appearance.Control.Options.UseFont               = true;
     this.layoutControl.Appearance.ControlDisabled.Font                  = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControl.Appearance.ControlDisabled.Options.UseFont       = true;
     this.layoutControl.Appearance.ControlDropDown.Font                  = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControl.Appearance.ControlDropDown.Options.UseFont       = true;
     this.layoutControl.Appearance.ControlDropDownHeader.Font            = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControl.Appearance.ControlDropDownHeader.Options.UseFont = true;
     this.layoutControl.Appearance.ControlFocused.Font                   = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControl.Appearance.ControlFocused.Options.UseFont        = true;
     this.layoutControl.Appearance.ControlReadOnly.Font                  = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControl.Appearance.ControlReadOnly.Options.UseFont       = true;
     this.layoutControl.BackColor = System.Drawing.Color.White;
     this.layoutControl.Controls.Add(this.buttonXSave);
     this.layoutControl.Controls.Add(this.buttonXCancel);
     this.layoutControl.Controls.Add(this.calendarControlDateEnd);
     this.layoutControl.Controls.Add(this.calendarControlDateStart);
     this.layoutControl.Controls.Add(this.pictureEditLogo);
     this.layoutControl.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.layoutControl.ForeColor = System.Drawing.Color.Black;
     this.layoutControl.Location  = new System.Drawing.Point(0, 0);
     this.layoutControl.Name      = "layoutControl";
     this.layoutControl.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(802, 383, 250, 350);
     this.layoutControl.Root     = this.layoutControlGroupRoot;
     this.layoutControl.Size     = new System.Drawing.Size(563, 346);
     this.layoutControl.TabIndex = 65;
     this.layoutControl.Text     = "layoutControl1";
     //
     // calendarControlDateEnd
     //
     this.calendarControlDateEnd.AllowAnimatedContentChange      = true;
     this.calendarControlDateEnd.Appearance.BackColor            = System.Drawing.Color.White;
     this.calendarControlDateEnd.Appearance.ForeColor            = System.Drawing.Color.Black;
     this.calendarControlDateEnd.Appearance.Options.UseBackColor = true;
     this.calendarControlDateEnd.Appearance.Options.UseForeColor = true;
     this.calendarControlDateEnd.AutoSize            = false;
     this.calendarControlDateEnd.CalendarTimeEditing = DevExpress.Utils.DefaultBoolean.False;
     this.calendarControlDateEnd.CalendarTimeProperties.AllowFocused = false;
     this.calendarControlDateEnd.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     contextButton1.Id   = new System.Guid("c3c4a178-7140-43d4-add7-2c7d02fb2cae");
     contextButton1.Name = "ContextButton";
     this.calendarControlDateEnd.ContextButtons.Add(contextButton1);
     this.calendarControlDateEnd.Cursor             = System.Windows.Forms.Cursors.Hand;
     this.calendarControlDateEnd.DateTime           = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
     this.calendarControlDateEnd.EditValue          = new System.DateTime(2016, 3, 6, 0, 0, 0, 0);
     this.calendarControlDateEnd.FirstDayOfWeek     = System.DayOfWeek.Monday;
     this.calendarControlDateEnd.HighlightSelection = false;
     this.calendarControlDateEnd.HighlightTodayCell = DevExpress.Utils.DefaultBoolean.True;
     this.calendarControlDateEnd.Location           = new System.Drawing.Point(305, 109);
     this.calendarControlDateEnd.Name                         = "calendarControlDateEnd";
     this.calendarControlDateEnd.ShowFooter                   = false;
     this.calendarControlDateEnd.ShowMonthHeaders             = false;
     this.calendarControlDateEnd.ShowMonthNavigationButtons   = DevExpress.Utils.DefaultBoolean.True;
     this.calendarControlDateEnd.ShowTodayButton              = false;
     this.calendarControlDateEnd.Size                         = new System.Drawing.Size(246, 175);
     this.calendarControlDateEnd.StyleController              = this.layoutControl;
     this.calendarControlDateEnd.TabIndex                     = 6;
     this.calendarControlDateEnd.TodayDate                    = new System.DateTime(2016, 3, 5, 0, 0, 0, 0);
     this.calendarControlDateEnd.UpdateDateTimeWhenNavigating = false;
     this.calendarControlDateEnd.DateTimeChanged             += new System.EventHandler(this.OnDateEndChanged);
     //
     // pictureEditLogo
     //
     this.pictureEditLogo.Cursor    = System.Windows.Forms.Cursors.Default;
     this.pictureEditLogo.EditValue = global::Asa.Media.Controls.Properties.Resources.FlightDatesFormEditLogo;
     this.pictureEditLogo.Location  = new System.Drawing.Point(12, 12);
     this.pictureEditLogo.Name      = "pictureEditLogo";
     this.pictureEditLogo.Properties.AllowFocused                    = false;
     this.pictureEditLogo.Properties.Appearance.BackColor            = System.Drawing.Color.White;
     this.pictureEditLogo.Properties.Appearance.ForeColor            = System.Drawing.Color.Black;
     this.pictureEditLogo.Properties.Appearance.Options.UseBackColor = true;
     this.pictureEditLogo.Properties.Appearance.Options.UseForeColor = true;
     this.pictureEditLogo.Properties.BorderStyle            = DevExpress.XtraEditors.Controls.BorderStyles.NoBorder;
     this.pictureEditLogo.Properties.ReadOnly               = true;
     this.pictureEditLogo.Properties.ShowCameraMenuItem     = DevExpress.XtraEditors.Controls.CameraMenuItemVisibility.Auto;
     this.pictureEditLogo.Properties.ShowMenu               = false;
     this.pictureEditLogo.Properties.ZoomAccelerationFactor = 1D;
     this.pictureEditLogo.Size            = new System.Drawing.Size(76, 61);
     this.pictureEditLogo.StyleController = this.layoutControl;
     this.pictureEditLogo.TabIndex        = 4;
     //
     // layoutControlGroupRoot
     //
     this.layoutControlGroupRoot.AllowHtmlStringInCaption                           = true;
     this.layoutControlGroupRoot.AppearanceGroup.Font                               = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControlGroupRoot.AppearanceGroup.Options.UseFont                    = true;
     this.layoutControlGroupRoot.AppearanceItemCaption.Font                         = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControlGroupRoot.AppearanceItemCaption.Options.UseFont              = true;
     this.layoutControlGroupRoot.AppearanceTabPage.Header.Font                      = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControlGroupRoot.AppearanceTabPage.Header.Options.UseFont           = true;
     this.layoutControlGroupRoot.AppearanceTabPage.HeaderActive.Font                = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControlGroupRoot.AppearanceTabPage.HeaderActive.Options.UseFont     = true;
     this.layoutControlGroupRoot.AppearanceTabPage.HeaderDisabled.Font              = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControlGroupRoot.AppearanceTabPage.HeaderDisabled.Options.UseFont   = true;
     this.layoutControlGroupRoot.AppearanceTabPage.HeaderHotTracked.Font            = new System.Drawing.Font("Arial", 9.75F);
     this.layoutControlGroupRoot.AppearanceTabPage.HeaderHotTracked.Options.UseFont = true;
     this.layoutControlGroupRoot.EnableIndentsWithoutBorders                        = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroupRoot.GroupBordersVisible = false;
     this.layoutControlGroupRoot.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItemLogo,
         this.emptySpaceItem1,
         this.simpleLabelItemTitle,
         this.emptySpaceItem2,
         this.emptySpaceItem3,
         this.layoutControlItemDateStart,
         this.emptySpaceItem4,
         this.layoutControlItemDateEnd,
         this.emptySpaceItem5,
         this.layoutControlItemCancel,
         this.layoutControlItemOK,
         this.emptySpaceItem6
     });
     this.layoutControlGroupRoot.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlGroupRoot.Name        = "Root";
     this.layoutControlGroupRoot.Size        = new System.Drawing.Size(563, 346);
     this.layoutControlGroupRoot.TextVisible = false;
     //
     // layoutControlItemLogo
     //
     this.layoutControlItemLogo.Control                 = this.pictureEditLogo;
     this.layoutControlItemLogo.ControlAlignment        = System.Drawing.ContentAlignment.MiddleCenter;
     this.layoutControlItemLogo.FillControlToClientArea = false;
     this.layoutControlItemLogo.Location                = new System.Drawing.Point(0, 0);
     this.layoutControlItemLogo.MaxSize                 = new System.Drawing.Size(80, 65);
     this.layoutControlItemLogo.MinSize                 = new System.Drawing.Size(80, 65);
     this.layoutControlItemLogo.Name = "layoutControlItemLogo";
     this.layoutControlItemLogo.Size = new System.Drawing.Size(80, 65);
     this.layoutControlItemLogo.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItemLogo.Text                    = "Logo";
     this.layoutControlItemLogo.TextSize                = new System.Drawing.Size(0, 0);
     this.layoutControlItemLogo.TextVisible             = false;
     this.layoutControlItemLogo.TrimClientAreaToControl = false;
     //
     // emptySpaceItem1
     //
     this.emptySpaceItem1.AllowHotTrack = false;
     this.emptySpaceItem1.Location      = new System.Drawing.Point(0, 65);
     this.emptySpaceItem1.Name          = "emptySpaceItem1";
     this.emptySpaceItem1.Size          = new System.Drawing.Size(543, 11);
     this.emptySpaceItem1.TextSize      = new System.Drawing.Size(0, 0);
     //
     // simpleLabelItemTitle
     //
     this.simpleLabelItemTitle.AllowHotTrack            = false;
     this.simpleLabelItemTitle.AllowHtmlStringInCaption = true;
     this.simpleLabelItemTitle.Location      = new System.Drawing.Point(100, 0);
     this.simpleLabelItemTitle.Name          = "simpleLabelItemTitle";
     this.simpleLabelItemTitle.Size          = new System.Drawing.Size(443, 65);
     this.simpleLabelItemTitle.Text          = "<size=+4>Select your campaign dates:</size>";
     this.simpleLabelItemTitle.TextAlignMode = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
     this.simpleLabelItemTitle.TextSize      = new System.Drawing.Size(226, 21);
     //
     // emptySpaceItem2
     //
     this.emptySpaceItem2.AllowHotTrack       = false;
     this.emptySpaceItem2.Location            = new System.Drawing.Point(80, 0);
     this.emptySpaceItem2.MaxSize             = new System.Drawing.Size(20, 0);
     this.emptySpaceItem2.MinSize             = new System.Drawing.Size(20, 10);
     this.emptySpaceItem2.Name                = "emptySpaceItem2";
     this.emptySpaceItem2.Size                = new System.Drawing.Size(20, 65);
     this.emptySpaceItem2.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.emptySpaceItem2.TextSize            = new System.Drawing.Size(0, 0);
     //
     // emptySpaceItem3
     //
     this.emptySpaceItem3.AllowHotTrack = false;
     this.emptySpaceItem3.Location      = new System.Drawing.Point(250, 76);
     this.emptySpaceItem3.Name          = "emptySpaceItem3";
     this.emptySpaceItem3.Size          = new System.Drawing.Size(43, 200);
     this.emptySpaceItem3.TextSize      = new System.Drawing.Size(0, 0);
     //
     // layoutControlItemDateStart
     //
     this.layoutControlItemDateStart.AllowHtmlStringInCaption = true;
     this.layoutControlItemDateStart.Control                 = this.calendarControlDateStart;
     this.layoutControlItemDateStart.ControlAlignment        = System.Drawing.ContentAlignment.TopCenter;
     this.layoutControlItemDateStart.CustomizationFormText   = "Date Start";
     this.layoutControlItemDateStart.FillControlToClientArea = false;
     this.layoutControlItemDateStart.Location                = new System.Drawing.Point(0, 76);
     this.layoutControlItemDateStart.MaxSize                 = new System.Drawing.Size(250, 200);
     this.layoutControlItemDateStart.MinSize                 = new System.Drawing.Size(250, 200);
     this.layoutControlItemDateStart.Name = "layoutControlItemDateStart";
     this.layoutControlItemDateStart.Size = new System.Drawing.Size(250, 200);
     this.layoutControlItemDateStart.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItemDateStart.Text                    = "<color=gray>Start:</color>";
     this.layoutControlItemDateStart.TextAlignMode           = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
     this.layoutControlItemDateStart.TextLocation            = DevExpress.Utils.Locations.Top;
     this.layoutControlItemDateStart.TextSize                = new System.Drawing.Size(32, 16);
     this.layoutControlItemDateStart.TextToControlDistance   = 5;
     this.layoutControlItemDateStart.TrimClientAreaToControl = false;
     //
     // emptySpaceItem4
     //
     this.emptySpaceItem4.AllowHotTrack = false;
     this.emptySpaceItem4.Location      = new System.Drawing.Point(0, 276);
     this.emptySpaceItem4.Name          = "emptySpaceItem4";
     this.emptySpaceItem4.Size          = new System.Drawing.Size(543, 10);
     this.emptySpaceItem4.TextSize      = new System.Drawing.Size(0, 0);
     //
     // layoutControlItemDateEnd
     //
     this.layoutControlItemDateEnd.AllowHtmlStringInCaption = true;
     this.layoutControlItemDateEnd.Control                 = this.calendarControlDateEnd;
     this.layoutControlItemDateEnd.ControlAlignment        = System.Drawing.ContentAlignment.TopCenter;
     this.layoutControlItemDateEnd.CustomizationFormText   = "Date End";
     this.layoutControlItemDateEnd.FillControlToClientArea = false;
     this.layoutControlItemDateEnd.Location                = new System.Drawing.Point(293, 76);
     this.layoutControlItemDateEnd.MaxSize                 = new System.Drawing.Size(250, 200);
     this.layoutControlItemDateEnd.MinSize                 = new System.Drawing.Size(250, 200);
     this.layoutControlItemDateEnd.Name = "layoutControlItemDateEnd";
     this.layoutControlItemDateEnd.Size = new System.Drawing.Size(250, 200);
     this.layoutControlItemDateEnd.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItemDateEnd.Text                    = "<color=gray>End:</color>";
     this.layoutControlItemDateEnd.TextAlignMode           = DevExpress.XtraLayout.TextAlignModeItem.AutoSize;
     this.layoutControlItemDateEnd.TextLocation            = DevExpress.Utils.Locations.Top;
     this.layoutControlItemDateEnd.TextSize                = new System.Drawing.Size(27, 16);
     this.layoutControlItemDateEnd.TextToControlDistance   = 5;
     this.layoutControlItemDateEnd.TrimClientAreaToControl = false;
     //
     // emptySpaceItem5
     //
     this.emptySpaceItem5.AllowHotTrack = false;
     this.emptySpaceItem5.Location      = new System.Drawing.Point(0, 286);
     this.emptySpaceItem5.Name          = "emptySpaceItem5";
     this.emptySpaceItem5.Size          = new System.Drawing.Size(283, 40);
     this.emptySpaceItem5.TextSize      = new System.Drawing.Size(0, 0);
     //
     // layoutControlItemCancel
     //
     this.layoutControlItemCancel.Control                 = this.buttonXCancel;
     this.layoutControlItemCancel.ControlAlignment        = System.Drawing.ContentAlignment.MiddleCenter;
     this.layoutControlItemCancel.FillControlToClientArea = false;
     this.layoutControlItemCancel.Location                = new System.Drawing.Point(423, 286);
     this.layoutControlItemCancel.MaxSize                 = new System.Drawing.Size(120, 40);
     this.layoutControlItemCancel.MinSize                 = new System.Drawing.Size(120, 40);
     this.layoutControlItemCancel.Name = "layoutControlItemCancel";
     this.layoutControlItemCancel.Size = new System.Drawing.Size(120, 40);
     this.layoutControlItemCancel.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItemCancel.Text                    = "Cancel";
     this.layoutControlItemCancel.TextSize                = new System.Drawing.Size(0, 0);
     this.layoutControlItemCancel.TextVisible             = false;
     this.layoutControlItemCancel.TrimClientAreaToControl = false;
     //
     // layoutControlItemOK
     //
     this.layoutControlItemOK.Control                 = this.buttonXSave;
     this.layoutControlItemOK.ControlAlignment        = System.Drawing.ContentAlignment.MiddleCenter;
     this.layoutControlItemOK.FillControlToClientArea = false;
     this.layoutControlItemOK.Location                = new System.Drawing.Point(283, 286);
     this.layoutControlItemOK.MaxSize                 = new System.Drawing.Size(120, 40);
     this.layoutControlItemOK.MinSize                 = new System.Drawing.Size(120, 40);
     this.layoutControlItemOK.Name = "layoutControlItemOK";
     this.layoutControlItemOK.Size = new System.Drawing.Size(120, 40);
     this.layoutControlItemOK.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.layoutControlItemOK.Text                    = "OK";
     this.layoutControlItemOK.TextSize                = new System.Drawing.Size(0, 0);
     this.layoutControlItemOK.TextVisible             = false;
     this.layoutControlItemOK.TrimClientAreaToControl = false;
     //
     // emptySpaceItem6
     //
     this.emptySpaceItem6.AllowHotTrack       = false;
     this.emptySpaceItem6.Location            = new System.Drawing.Point(403, 286);
     this.emptySpaceItem6.MaxSize             = new System.Drawing.Size(20, 0);
     this.emptySpaceItem6.MinSize             = new System.Drawing.Size(20, 10);
     this.emptySpaceItem6.Name                = "emptySpaceItem6";
     this.emptySpaceItem6.Size                = new System.Drawing.Size(20, 40);
     this.emptySpaceItem6.SizeConstraintsType = DevExpress.XtraLayout.SizeConstraintsType.Custom;
     this.emptySpaceItem6.TextSize            = new System.Drawing.Size(0, 0);
     //
     // styleController
     //
     this.styleController.Appearance.Font                          = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.styleController.Appearance.Options.UseFont               = true;
     this.styleController.AppearanceDisabled.Font                  = new System.Drawing.Font("Arial", 9.75F);
     this.styleController.AppearanceDisabled.Options.UseFont       = true;
     this.styleController.AppearanceDropDown.Font                  = new System.Drawing.Font("Arial", 9.75F);
     this.styleController.AppearanceDropDown.Options.UseFont       = true;
     this.styleController.AppearanceDropDownHeader.Font            = new System.Drawing.Font("Arial", 9.75F);
     this.styleController.AppearanceDropDownHeader.Options.UseFont = true;
     this.styleController.AppearanceFocused.Font                   = new System.Drawing.Font("Arial", 9.75F);
     this.styleController.AppearanceFocused.Options.UseFont        = true;
     this.styleController.AppearanceReadOnly.Font                  = new System.Drawing.Font("Arial", 9.75F);
     this.styleController.AppearanceReadOnly.Options.UseFont       = true;
     //
     // FormFlightDatesEdit
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Dpi;
     this.ClientSize          = new System.Drawing.Size(563, 346);
     this.Controls.Add(this.layoutControl);
     this.DoubleBuffered  = true;
     this.Font            = new System.Drawing.Font("Arial", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(204)));
     this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
     this.Margin          = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.MaximizeBox     = false;
     this.MinimizeBox     = false;
     this.Name            = "FormFlightDatesEdit";
     this.ShowInTaskbar   = false;
     this.StartPosition   = System.Windows.Forms.FormStartPosition.CenterParent;
     this.Text            = "Campaign Dates";
     this.Load           += new System.EventHandler(this.OnFormLoad);
     ((System.ComponentModel.ISupportInitialize)(this.calendarControlDateStart.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl)).EndInit();
     this.layoutControl.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.calendarControlDateEnd.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.pictureEditLogo.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroupRoot)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemLogo)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.simpleLabelItemTitle)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDateStart)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem4)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemDateEnd)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem5)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemCancel)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItemOK)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem6)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.styleController)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #14
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.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2 = new DevExpress.Utils.ContextButton();
     this.metroLabel1           = new MetroFramework.Controls.MetroLabel();
     this.metroTabPage2         = new MetroFramework.Controls.MetroTabPage();
     this.metroTabPage1         = new MetroFramework.Controls.MetroTabPage();
     this.textEdit1             = new DevExpress.XtraEditors.TextEdit();
     this.simpleButton1         = new DevExpress.XtraEditors.SimpleButton();
     this.metroTextBox1         = new MetroFramework.Controls.MetroTextBox();
     this.metroButton1          = new MetroFramework.Controls.MetroButton();
     this.metroLabel2           = new MetroFramework.Controls.MetroLabel();
     this.metroTabControl1      = new MetroFramework.Controls.MetroTabControl();
     this.colorPickEdit1        = new DevExpress.XtraEditors.ColorPickEdit();
     this.colorEdit1            = new DevExpress.XtraEditors.ColorEdit();
     this.winRTLiveTileManager1 = new DevExpress.XtraBars.WinRTLiveTiles.WinRTLiveTileManager(this.components);
     this.tileControl1          = new DevExpress.XtraEditors.TileControl();
     this.metroTabPage1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).BeginInit();
     this.metroTabControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.colorPickEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.colorEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.winRTLiveTileManager1)).BeginInit();
     this.SuspendLayout();
     //
     // metroLabel1
     //
     this.metroLabel1.AutoSize = true;
     this.metroLabel1.Location = new System.Drawing.Point(67, 230);
     this.metroLabel1.Name     = "metroLabel1";
     this.metroLabel1.Size     = new System.Drawing.Size(81, 19);
     this.metroLabel1.TabIndex = 1;
     this.metroLabel1.Text     = "metroLabel1";
     //
     // metroTabPage2
     //
     this.metroTabPage2.HorizontalScrollbarBarColor         = true;
     this.metroTabPage2.HorizontalScrollbarHighlightOnWheel = false;
     this.metroTabPage2.HorizontalScrollbarSize             = 10;
     this.metroTabPage2.Location = new System.Drawing.Point(4, 38);
     this.metroTabPage2.Name     = "metroTabPage2";
     this.metroTabPage2.Size     = new System.Drawing.Size(275, 127);
     this.metroTabPage2.TabIndex = 4;
     this.metroTabPage2.Text     = "metroTabPage2";
     this.metroTabPage2.VerticalScrollbarBarColor         = true;
     this.metroTabPage2.VerticalScrollbarHighlightOnWheel = false;
     this.metroTabPage2.VerticalScrollbarSize             = 10;
     //
     // metroTabPage1
     //
     this.metroTabPage1.Controls.Add(this.textEdit1);
     this.metroTabPage1.Controls.Add(this.metroTextBox1);
     this.metroTabPage1.Controls.Add(this.metroButton1);
     this.metroTabPage1.Controls.Add(this.metroLabel2);
     this.metroTabPage1.HorizontalScrollbarBarColor         = true;
     this.metroTabPage1.HorizontalScrollbarHighlightOnWheel = false;
     this.metroTabPage1.HorizontalScrollbarSize             = 10;
     this.metroTabPage1.Location = new System.Drawing.Point(4, 38);
     this.metroTabPage1.Name     = "metroTabPage1";
     this.metroTabPage1.Size     = new System.Drawing.Size(275, 127);
     this.metroTabPage1.TabIndex = 3;
     this.metroTabPage1.Text     = "metroTabPage1";
     this.metroTabPage1.VerticalScrollbarBarColor         = true;
     this.metroTabPage1.VerticalScrollbarHighlightOnWheel = false;
     this.metroTabPage1.VerticalScrollbarSize             = 10;
     //
     // textEdit1
     //
     this.textEdit1.Location = new System.Drawing.Point(99, 40);
     this.textEdit1.Name     = "textEdit1";
     this.textEdit1.Size     = new System.Drawing.Size(100, 20);
     this.textEdit1.TabIndex = 6;
     //
     // simpleButton1
     //
     this.simpleButton1.Location             = new System.Drawing.Point(333, 63);
     this.simpleButton1.LookAndFeel.SkinName = "Visual Studio 2013 Dark";
     this.simpleButton1.Name     = "simpleButton1";
     this.simpleButton1.Size     = new System.Drawing.Size(114, 32);
     this.simpleButton1.TabIndex = 5;
     this.simpleButton1.Text     = "simpleButton1";
     this.simpleButton1.Click   += new System.EventHandler(this.simpleButton1_Click);
     //
     // metroTextBox1
     //
     this.metroTextBox1.Lines          = new string[0];
     this.metroTextBox1.Location       = new System.Drawing.Point(17, 70);
     this.metroTextBox1.MaxLength      = 32767;
     this.metroTextBox1.Name           = "metroTextBox1";
     this.metroTextBox1.PasswordChar   = '\0';
     this.metroTextBox1.PromptText     = "sdfd";
     this.metroTextBox1.ScrollBars     = System.Windows.Forms.ScrollBars.None;
     this.metroTextBox1.SelectedText   = "";
     this.metroTextBox1.Size           = new System.Drawing.Size(152, 23);
     this.metroTextBox1.TabIndex       = 4;
     this.metroTextBox1.UseSelectable  = true;
     this.metroTextBox1.UseStyleColors = true;
     //
     // metroButton1
     //
     this.metroButton1.Location      = new System.Drawing.Point(17, 40);
     this.metroButton1.Name          = "metroButton1";
     this.metroButton1.Size          = new System.Drawing.Size(75, 23);
     this.metroButton1.TabIndex      = 3;
     this.metroButton1.Text          = "metroButton1";
     this.metroButton1.UseSelectable = true;
     this.metroButton1.Click        += new System.EventHandler(this.metroButton1_Click);
     //
     // metroLabel2
     //
     this.metroLabel2.AutoSize = true;
     this.metroLabel2.Location = new System.Drawing.Point(17, 18);
     this.metroLabel2.Name     = "metroLabel2";
     this.metroLabel2.Size     = new System.Drawing.Size(83, 19);
     this.metroLabel2.TabIndex = 2;
     this.metroLabel2.Text     = "metroLabel2";
     //
     // metroTabControl1
     //
     this.metroTabControl1.Controls.Add(this.metroTabPage1);
     this.metroTabControl1.Controls.Add(this.metroTabPage2);
     this.metroTabControl1.Location      = new System.Drawing.Point(2, 54);
     this.metroTabControl1.Name          = "metroTabControl1";
     this.metroTabControl1.SelectedIndex = 0;
     this.metroTabControl1.Size          = new System.Drawing.Size(283, 169);
     this.metroTabControl1.TabIndex      = 0;
     this.metroTabControl1.UseSelectable = true;
     //
     // colorPickEdit1
     //
     this.colorPickEdit1.EditValue = System.Drawing.Color.Empty;
     this.colorPickEdit1.Location  = new System.Drawing.Point(348, 110);
     this.colorPickEdit1.Name      = "colorPickEdit1";
     this.colorPickEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.colorPickEdit1.Size     = new System.Drawing.Size(100, 20);
     this.colorPickEdit1.TabIndex = 6;
     //
     // colorEdit1
     //
     this.colorEdit1.EditValue = System.Drawing.Color.Empty;
     this.colorEdit1.Location  = new System.Drawing.Point(348, 134);
     this.colorEdit1.Name      = "colorEdit1";
     this.colorEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.colorEdit1.Size     = new System.Drawing.Size(100, 20);
     this.colorEdit1.TabIndex = 7;
     //
     // winRTLiveTileManager1
     //
     this.winRTLiveTileManager1.ApplicationName  = "";
     this.winRTLiveTileManager1.ContainerControl = this;
     this.winRTLiveTileManager1.Id = "59253325-e995-41ba-917e-5849ab00b82a";
     //
     // tileControl1
     //
     contextButton1.Id   = new System.Guid("09c5795d-a271-42f9-93fc-34e78c5730cb");
     contextButton1.Name = "ContextButton";
     contextButton2.Id   = new System.Guid("9567c0ed-7bb5-4b3b-8c9e-aebffabf4c85");
     contextButton2.Name = "ContextButton";
     this.tileControl1.ContextButtons.Add(contextButton1);
     this.tileControl1.ContextButtons.Add(contextButton2);
     this.tileControl1.DragSize = new System.Drawing.Size(0, 0);
     this.tileControl1.Location = new System.Drawing.Point(348, 161);
     this.tileControl1.Name     = "tileControl1";
     this.tileControl1.Size     = new System.Drawing.Size(240, 150);
     this.tileControl1.TabIndex = 8;
     this.tileControl1.Text     = "tileControl1";
     //
     // Form2
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(647, 379);
     this.Controls.Add(this.tileControl1);
     this.Controls.Add(this.colorEdit1);
     this.Controls.Add(this.colorPickEdit1);
     this.Controls.Add(this.metroLabel1);
     this.Controls.Add(this.metroTabControl1);
     this.Controls.Add(this.simpleButton1);
     this.Name = "Form2";
     this.Text = "Form2";
     this.metroTabPage1.ResumeLayout(false);
     this.metroTabPage1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.textEdit1.Properties)).EndInit();
     this.metroTabControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.colorPickEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.colorEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.winRTLiveTileManager1)).EndInit();
     this.ResumeLayout(false);
     this.PerformLayout();
 }
コード例 #15
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1            = new DevExpress.Utils.ContextButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UserTuaTruyen));
     this.gridControl1     = new DevExpress.XtraGrid.GridControl();
     this.winExplorerView1 = new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerView();
     this.col_hinhanh      = new DevExpress.XtraGrid.Columns.GridColumn();
     this.col_tentruyen    = new DevExpress.XtraGrid.Columns.GridColumn();
     this.col_tuatruyen    = new DevExpress.XtraGrid.Columns.GridColumn();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.winExplorerView1)).BeginInit();
     this.SuspendLayout();
     //
     // gridControl1
     //
     this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.EmbeddedNavigator.Margin = new System.Windows.Forms.Padding(4);
     this.gridControl1.Location             = new System.Drawing.Point(0, 0);
     this.gridControl1.MainView             = this.winExplorerView1;
     this.gridControl1.Margin               = new System.Windows.Forms.Padding(4);
     this.gridControl1.Name                 = "gridControl1";
     this.gridControl1.Size                 = new System.Drawing.Size(926, 614);
     this.gridControl1.TabIndex             = 2;
     this.gridControl1.UseEmbeddedNavigator = true;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.winExplorerView1
     });
     //
     // winExplorerView1
     //
     this.winExplorerView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.col_hinhanh,
         this.col_tentruyen,
         this.col_tuatruyen
     });
     this.winExplorerView1.ColumnSet.ExtraLargeImageColumn         = this.col_hinhanh;
     this.winExplorerView1.ColumnSet.GroupColumn                   = this.col_tuatruyen;
     this.winExplorerView1.ColumnSet.LargeImageColumn              = this.col_hinhanh;
     this.winExplorerView1.ColumnSet.MediumImageColumn             = this.col_hinhanh;
     this.winExplorerView1.ColumnSet.SmallImageColumn              = this.col_hinhanh;
     this.winExplorerView1.ColumnSet.TextColumn                    = this.col_tentruyen;
     this.winExplorerView1.ContextButtonOptions.AnimationTime      = 300;
     this.winExplorerView1.ContextButtonOptions.AnimationType      = DevExpress.Utils.ContextAnimationType.OpacityAnimation;
     this.winExplorerView1.ContextButtonOptions.BottomPanelColor   = System.Drawing.Color.FromArgb(((int)(((byte)(150)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.winExplorerView1.ContextButtonOptions.CenterPanelColor   = System.Drawing.SystemColors.ControlDark;
     this.winExplorerView1.ContextButtonOptions.NearPanelColor     = System.Drawing.SystemColors.ControlDark;
     this.winExplorerView1.ContextButtonOptions.NormalStateOpacity = 1F;
     contextButton1.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Bottom;
     contextButton1.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
     contextButton1.AllowGlyphSkinning        = DevExpress.Utils.DefaultBoolean.False;
     contextButton1.AnchorAlignment           = DevExpress.Utils.AnchorAlignment.Left;
     contextButton1.Id = new System.Guid("edc3f0e9-d813-436f-a636-398fe34a7868");
     contextButton1.ImageOptionsCollection.ItemNormal.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
     contextButton1.Name = "btn_open";
     this.winExplorerView1.ContextButtons.Add(contextButton1);
     this.winExplorerView1.GridControl = this.gridControl1;
     this.winExplorerView1.GroupCount  = 1;
     this.winExplorerView1.Name        = "winExplorerView1";
     this.winExplorerView1.OptionsImageLoad.AnimationType        = DevExpress.Utils.ImageContentAnimationType.Slide;
     this.winExplorerView1.OptionsImageLoad.AsyncLoad            = true;
     this.winExplorerView1.OptionsView.ShowExpandCollapseButtons = true;
     this.winExplorerView1.OptionsView.ShowViewCaption           = true;
     this.winExplorerView1.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge;
     this.winExplorerView1.OptionsViewStyles.ExtraLarge.GroupCheckBoxIndent = 1;
     this.winExplorerView1.OptionsViewStyles.Medium.ItemWidth         = 333;
     this.winExplorerView1.OptionsViewStyles.Medium.SelectionDrawMode = DevExpress.XtraGrid.Views.WinExplorer.SelectionDrawMode.AroundItem;
     this.winExplorerView1.OptionsViewStyles.Medium.ShowDescription   = DevExpress.Utils.DefaultBoolean.True;
     this.winExplorerView1.SortInfo.AddRange(new DevExpress.XtraGrid.Columns.GridColumnSortInfo[] {
         new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.col_tuatruyen, DevExpress.Data.ColumnSortOrder.Ascending),
         new DevExpress.XtraGrid.Columns.GridColumnSortInfo(this.col_tentruyen, DevExpress.Data.ColumnSortOrder.Ascending)
     });
     this.winExplorerView1.ContextButtonCustomize += new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewContextButtonCustomizeEventHandler(this.winExplorerView1_ContextButtonCustomize);
     this.winExplorerView1.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.winExplorerView1_ContextButtonClick);
     this.winExplorerView1.Click += new System.EventHandler(this.winExplorerView1_Click);
     //
     // col_hinhanh
     //
     this.col_hinhanh.Caption      = "gridColumn1";
     this.col_hinhanh.FieldName    = "Image";
     this.col_hinhanh.MinWidth     = 27;
     this.col_hinhanh.Name         = "col_hinhanh";
     this.col_hinhanh.Visible      = true;
     this.col_hinhanh.VisibleIndex = 0;
     this.col_hinhanh.Width        = 100;
     //
     // col_tentruyen
     //
     this.col_tentruyen.Caption      = "gridColumn1";
     this.col_tentruyen.FieldName    = "Tentruyen";
     this.col_tentruyen.MinWidth     = 25;
     this.col_tentruyen.Name         = "col_tentruyen";
     this.col_tentruyen.Visible      = true;
     this.col_tentruyen.VisibleIndex = 0;
     this.col_tentruyen.Width        = 94;
     //
     // col_tuatruyen
     //
     this.col_tuatruyen.Caption      = "gridColumn1";
     this.col_tuatruyen.FieldName    = "Tuatruyen";
     this.col_tuatruyen.MinWidth     = 25;
     this.col_tuatruyen.Name         = "col_tuatruyen";
     this.col_tuatruyen.Visible      = true;
     this.col_tuatruyen.VisibleIndex = 1;
     this.col_tuatruyen.Width        = 94;
     //
     // UserTuaTruyen
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 16F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.gridControl1);
     this.Name  = "UserTuaTruyen";
     this.Size  = new System.Drawing.Size(926, 614);
     this.Load += new System.EventHandler(this.UserTuaTruyen_Load);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.winExplorerView1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #16
0
        /// <summary> 
        /// 设计器支持所需的方法 - 不要修改
        /// 使用代码编辑器修改此方法的内容。
        /// </summary>
        private void InitializeComponent()
        {
            DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
            DevExpress.Utils.ContextButton contextButton2 = new DevExpress.Utils.ContextButton();
            DevExpress.Utils.ContextButton contextButton3 = new DevExpress.Utils.ContextButton();
            DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
            DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition2 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
            DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition3 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
            DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition4 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
            DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition5 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
            DevExpress.XtraEditors.TableLayout.TableRowDefinition tableRowDefinition1 = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
            DevExpress.XtraEditors.TableLayout.TableRowDefinition tableRowDefinition2 = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
            DevExpress.XtraEditors.TableLayout.TableRowDefinition tableRowDefinition3 = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
            DevExpress.XtraEditors.TableLayout.TableSpan tableSpan1 = new DevExpress.XtraEditors.TableLayout.TableSpan();
            DevExpress.XtraEditors.TableLayout.TableSpan tableSpan2 = new DevExpress.XtraEditors.TableLayout.TableSpan();
            DevExpress.XtraEditors.TableLayout.TableSpan tableSpan3 = new DevExpress.XtraEditors.TableLayout.TableSpan();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement1 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement2 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement3 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement4 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement5 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement6 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement7 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraGrid.Views.Tile.TileViewItemElement tileViewItemElement8 = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
            DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions9 = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject33 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject34 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject35 = new DevExpress.Utils.SerializableAppearanceObject();
            DevExpress.Utils.SerializableAppearanceObject serializableAppearanceObject36 = new DevExpress.Utils.SerializableAppearanceObject();
            this.tableNo = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.createDate = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.billNo = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.state = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.payway = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.type = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.money = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.realPay = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
            this.gridControl1 = new DevExpress.XtraGrid.GridControl();
            this.tileView1 = new DevExpress.XtraGrid.Views.Tile.TileView();
            this.cfmainkey = new DevExpress.XtraGrid.Columns.TileViewColumn();
            this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
            this.orderDetailDetailControl1 = new DianDianClient.MyControl.BusinessDetails.OrderDetailDetailControl();
            this.mgncPager1 = new DianDianClient.MyControl.FoodManagement.MgncPager();
            this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
            this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
            this.label7 = new System.Windows.Forms.Label();
            this.s_time = new DevExpress.XtraEditors.DateEdit();
            this.e_time = new DevExpress.XtraEditors.DateEdit();
            this.label5 = new System.Windows.Forms.Label();
            this.label4 = new System.Windows.Forms.Label();
            this.label3 = new System.Windows.Forms.Label();
            this.Txt_TableNo = new DevExpress.XtraEditors.TextEdit();
            this.label2 = new System.Windows.Forms.Label();
            this.label1 = new System.Windows.Forms.Label();
            this.Txt_orderNo = new DevExpress.XtraEditors.TextEdit();
            this.Com_PayWay = new DevExpress.XtraEditors.ComboBoxEdit();
            this.Com_Type = new DevExpress.XtraEditors.ComboBoxEdit();
            this.Com_State = new DevExpress.XtraEditors.ComboBoxEdit();
            this.tableLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
            this.tableLayoutPanel2.SuspendLayout();
            this.flowLayoutPanel1.SuspendLayout();
            ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties.CalendarTimeProperties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_TableNo.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_orderNo.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Com_PayWay.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Com_Type.Properties)).BeginInit();
            ((System.ComponentModel.ISupportInitialize)(this.Com_State.Properties)).BeginInit();
            this.SuspendLayout();
            // 
            // tableNo
            // 
            this.tableNo.Caption = "tileViewColumn1";
            this.tableNo.FieldName = "tableNo";
            this.tableNo.Name = "tableNo";
            this.tableNo.Visible = true;
            this.tableNo.VisibleIndex = 0;
            // 
            // createDate
            // 
            this.createDate.Caption = "下单时间";
            this.createDate.FieldName = "createDate";
            this.createDate.Name = "createDate";
            this.createDate.OptionsColumn.ShowCaption = true;
            this.createDate.Visible = true;
            this.createDate.VisibleIndex = 1;
            // 
            // billNo
            // 
            this.billNo.Caption = "订单编号";
            this.billNo.FieldName = "billNo";
            this.billNo.Name = "billNo";
            this.billNo.OptionsColumn.ShowCaption = true;
            this.billNo.Visible = true;
            this.billNo.VisibleIndex = 2;
            // 
            // state
            // 
            this.state.Caption = "订单状态 ";
            this.state.FieldName = "state";
            this.state.Name = "state";
            this.state.OptionsColumn.ShowCaption = true;
            this.state.Visible = true;
            this.state.VisibleIndex = 6;
            // 
            // payway
            // 
            this.payway.Caption = "收款方式";
            this.payway.FieldName = "payway";
            this.payway.Name = "payway";
            this.payway.OptionsColumn.ShowCaption = true;
            this.payway.Visible = true;
            this.payway.VisibleIndex = 5;
            // 
            // type
            // 
            this.type.Caption = "订单类型";
            this.type.FieldName = "type";
            this.type.Name = "type";
            this.type.OptionsColumn.ShowCaption = true;
            this.type.Visible = true;
            this.type.VisibleIndex = 3;
            // 
            // money
            // 
            this.money.Caption = "订单金额";
            this.money.FieldName = "amount";
            this.money.Name = "money";
            this.money.OptionsColumn.ShowCaption = true;
            this.money.Visible = true;
            this.money.VisibleIndex = 7;
            // 
            // realPay
            // 
            this.realPay.Caption = "实付金额";
            this.realPay.FieldName = "realPay";
            this.realPay.Name = "realPay";
            this.realPay.Visible = true;
            this.realPay.VisibleIndex = 4;
            // 
            // tableLayoutPanel1
            // 
            this.tableLayoutPanel1.ColumnCount = 2;
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 75F));
            this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
            this.tableLayoutPanel1.Controls.Add(this.gridControl1, 0, 1);
            this.tableLayoutPanel1.Controls.Add(this.orderDetailDetailControl1, 1, 1);
            this.tableLayoutPanel1.Controls.Add(this.mgncPager1, 0, 2);
            this.tableLayoutPanel1.Controls.Add(this.tableLayoutPanel2, 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 = 3;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 100F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.Size = new System.Drawing.Size(944, 539);
            this.tableLayoutPanel1.TabIndex = 3;
            // 
            // gridControl1
            // 
            this.gridControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.gridControl1.Location = new System.Drawing.Point(3, 103);
            this.gridControl1.MainView = this.tileView1;
            this.gridControl1.Name = "gridControl1";
            this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
            this.repositoryItemButtonEdit1});
            this.gridControl1.Size = new System.Drawing.Size(702, 394);
            this.gridControl1.TabIndex = 0;
            this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
            this.tileView1});
            this.gridControl1.DataSourceChanged += new System.EventHandler(this.gridControl1_DataSourceChanged);
            // 
            // tileView1
            // 
            this.tileView1.Appearance.GroupText.ForeColor = System.Drawing.SystemColors.ControlLight;
            this.tileView1.Appearance.GroupText.Options.UseForeColor = true;
            this.tileView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
            this.tableNo,
            this.createDate,
            this.billNo,
            this.type,
            this.realPay,
            this.payway,
            this.state,
            this.money,
            this.cfmainkey});
            this.tileView1.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.LightGray;
            contextButton1.AlignmentOptions.Panel = DevExpress.Utils.ContextItemPanel.Right;
            contextButton1.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
            contextButton1.AppearanceNormal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(107)))), ((int)(((byte)(107)))));
            contextButton1.AppearanceNormal.Font = new System.Drawing.Font("微软雅黑", 18F);
            contextButton1.AppearanceNormal.ForeColor = System.Drawing.Color.White;
            contextButton1.AppearanceNormal.Options.UseBackColor = true;
            contextButton1.AppearanceNormal.Options.UseFont = true;
            contextButton1.AppearanceNormal.Options.UseForeColor = true;
            contextButton1.Id = new System.Guid("3fddd98a-3764-49f1-9257-69ac041d2adc");
            contextButton1.ImageOptions.Image = global::DianDianClient.Properties.Resources.prints;
            contextButton1.Name = "contextButton1";
            contextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
            contextButton2.AlignmentOptions.Panel = DevExpress.Utils.ContextItemPanel.Right;
            contextButton2.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
            contextButton2.AppearanceNormal.Font = new System.Drawing.Font("Tahoma", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            contextButton2.AppearanceNormal.ForeColor = System.Drawing.Color.Transparent;
            contextButton2.AppearanceNormal.Options.UseFont = true;
            contextButton2.AppearanceNormal.Options.UseForeColor = true;
            contextButton2.Caption = "23";
            contextButton2.Id = new System.Guid("2f1d2bcc-abf8-4bfc-9d38-60d96c48bdd0");
            contextButton2.Name = "contextButton3";
            contextButton3.AlignmentOptions.Panel = DevExpress.Utils.ContextItemPanel.Right;
            contextButton3.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
            contextButton3.AppearanceNormal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(128)))), ((int)(((byte)(63)))));
            contextButton3.AppearanceNormal.Font = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
            contextButton3.AppearanceNormal.ForeColor = System.Drawing.Color.White;
            contextButton3.AppearanceNormal.Options.UseBackColor = true;
            contextButton3.AppearanceNormal.Options.UseFont = true;
            contextButton3.AppearanceNormal.Options.UseForeColor = true;
            contextButton3.Id = new System.Guid("785298ec-ccb6-4371-a7e7-948ab62a8f27");
            contextButton3.ImageOptions.Image = global::DianDianClient.Properties.Resources.confirm;
            contextButton3.Name = "contextButton2";
            contextButton3.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
            this.tileView1.ContextButtons.Add(contextButton1);
            this.tileView1.ContextButtons.Add(contextButton2);
            this.tileView1.ContextButtons.Add(contextButton3);
            this.tileView1.GridControl = this.gridControl1;
            this.tileView1.Name = "tileView1";
            this.tileView1.OptionsTiles.GroupTextPadding = new System.Windows.Forms.Padding(12, 8, 12, 8);
            this.tileView1.OptionsTiles.IndentBetweenGroups = 0;
            this.tileView1.OptionsTiles.IndentBetweenItems = 0;
            this.tileView1.OptionsTiles.ItemSize = new System.Drawing.Size(414, 220);
            this.tileView1.OptionsTiles.LayoutMode = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
            this.tileView1.OptionsTiles.Orientation = System.Windows.Forms.Orientation.Vertical;
            this.tileView1.OptionsTiles.Padding = new System.Windows.Forms.Padding(0);
            this.tileView1.OptionsTiles.RowCount = 0;
            this.tileView1.TileColumns.Add(tableColumnDefinition1);
            this.tileView1.TileColumns.Add(tableColumnDefinition2);
            this.tileView1.TileColumns.Add(tableColumnDefinition3);
            this.tileView1.TileColumns.Add(tableColumnDefinition4);
            this.tileView1.TileColumns.Add(tableColumnDefinition5);
            this.tileView1.TileRows.Add(tableRowDefinition1);
            this.tileView1.TileRows.Add(tableRowDefinition2);
            this.tileView1.TileRows.Add(tableRowDefinition3);
            tableSpan1.RowSpan = 3;
            tableSpan2.ColumnIndex = 2;
            tableSpan2.RowSpan = 2;
            tableSpan3.ColumnIndex = 3;
            tableSpan3.RowSpan = 2;
            this.tileView1.TileSpans.Add(tableSpan1);
            this.tileView1.TileSpans.Add(tableSpan2);
            this.tileView1.TileSpans.Add(tableSpan3);
            tileViewItemElement1.Column = this.tableNo;
            tileViewItemElement1.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement1.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement1.Text = "tableNo";
            tileViewItemElement1.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement2.Column = this.createDate;
            tileViewItemElement2.ColumnIndex = 1;
            tileViewItemElement2.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement2.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement2.Text = "createDate";
            tileViewItemElement2.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement3.Column = this.billNo;
            tileViewItemElement3.ColumnIndex = 1;
            tileViewItemElement3.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement3.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement3.RowIndex = 1;
            tileViewItemElement3.Text = "billNo";
            tileViewItemElement3.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement4.Column = this.state;
            tileViewItemElement4.ColumnIndex = 1;
            tileViewItemElement4.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement4.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement4.RowIndex = 2;
            tileViewItemElement4.Text = "state";
            tileViewItemElement4.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement5.Column = this.payway;
            tileViewItemElement5.ColumnIndex = 2;
            tileViewItemElement5.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement5.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement5.RowIndex = 2;
            tileViewItemElement5.Text = "payway";
            tileViewItemElement5.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement6.Column = this.type;
            tileViewItemElement6.ColumnIndex = 2;
            tileViewItemElement6.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement6.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement6.Text = "type";
            tileViewItemElement6.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement7.Column = this.money;
            tileViewItemElement7.ColumnIndex = 3;
            tileViewItemElement7.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement7.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement7.Text = "money";
            tileViewItemElement7.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement8.Column = this.realPay;
            tileViewItemElement8.ColumnIndex = 3;
            tileViewItemElement8.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            tileViewItemElement8.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
            tileViewItemElement8.RowIndex = 2;
            tileViewItemElement8.Text = "realPay";
            tileViewItemElement8.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
            this.tileView1.TileTemplate.Add(tileViewItemElement1);
            this.tileView1.TileTemplate.Add(tileViewItemElement2);
            this.tileView1.TileTemplate.Add(tileViewItemElement3);
            this.tileView1.TileTemplate.Add(tileViewItemElement4);
            this.tileView1.TileTemplate.Add(tileViewItemElement5);
            this.tileView1.TileTemplate.Add(tileViewItemElement6);
            this.tileView1.TileTemplate.Add(tileViewItemElement7);
            this.tileView1.TileTemplate.Add(tileViewItemElement8);
            this.tileView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.tileView1_FocusedRowChanged);
            // 
            // cfmainkey
            // 
            this.cfmainkey.Caption = "cfmainkey";
            this.cfmainkey.FieldName = "cfmainkey";
            this.cfmainkey.Name = "cfmainkey";
            // 
            // repositoryItemButtonEdit1
            // 
            this.repositoryItemButtonEdit1.AutoHeight = false;
            this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "moremore", -1, true, true, false, editorButtonImageOptions9, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject33, serializableAppearanceObject34, serializableAppearanceObject35, serializableAppearanceObject36, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)});
            this.repositoryItemButtonEdit1.Name = "repositoryItemButtonEdit1";
            this.repositoryItemButtonEdit1.NullText = "点击显示更多";
            this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            // 
            // orderDetailDetailControl1
            // 
            this.orderDetailDetailControl1.BackColor = System.Drawing.Color.White;
            this.orderDetailDetailControl1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.orderDetailDetailControl1.Location = new System.Drawing.Point(711, 103);
            this.orderDetailDetailControl1.Name = "orderDetailDetailControl1";
            this.tableLayoutPanel1.SetRowSpan(this.orderDetailDetailControl1, 2);
            this.orderDetailDetailControl1.Size = new System.Drawing.Size(230, 433);
            this.orderDetailDetailControl1.TabIndex = 1;
            // 
            // mgncPager1
            // 
            this.mgncPager1.Dock = System.Windows.Forms.DockStyle.Fill;
            this.mgncPager1.Location = new System.Drawing.Point(3, 503);
            this.mgncPager1.Name = "mgncPager1";
            this.mgncPager1.Size = new System.Drawing.Size(702, 33);
            this.mgncPager1.TabIndex = 2;
            // 
            // tableLayoutPanel2
            // 
            this.tableLayoutPanel2.ColumnCount = 10;
            this.tableLayoutPanel1.SetColumnSpan(this.tableLayoutPanel2, 2);
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 75F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 85F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 60F));
            this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
            this.tableLayoutPanel2.Controls.Add(this.label5, 8, 0);
            this.tableLayoutPanel2.Controls.Add(this.label4, 6, 0);
            this.tableLayoutPanel2.Controls.Add(this.label3, 4, 0);
            this.tableLayoutPanel2.Controls.Add(this.Txt_TableNo, 3, 0);
            this.tableLayoutPanel2.Controls.Add(this.label2, 2, 0);
            this.tableLayoutPanel2.Controls.Add(this.label1, 0, 0);
            this.tableLayoutPanel2.Controls.Add(this.Txt_orderNo, 1, 0);
            this.tableLayoutPanel2.Controls.Add(this.Com_PayWay, 5, 0);
            this.tableLayoutPanel2.Controls.Add(this.Com_Type, 7, 0);
            this.tableLayoutPanel2.Controls.Add(this.Com_State, 9, 0);
            this.tableLayoutPanel2.Controls.Add(this.flowLayoutPanel1, 0, 1);
            this.tableLayoutPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
            this.tableLayoutPanel2.Location = new System.Drawing.Point(0, 0);
            this.tableLayoutPanel2.Margin = new System.Windows.Forms.Padding(0);
            this.tableLayoutPanel2.Name = "tableLayoutPanel2";
            this.tableLayoutPanel2.RowCount = 2;
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
            this.tableLayoutPanel2.Size = new System.Drawing.Size(944, 100);
            this.tableLayoutPanel2.TabIndex = 3;
            // 
            // flowLayoutPanel1
            // 
            this.flowLayoutPanel1.Anchor = System.Windows.Forms.AnchorStyles.Left;
            this.tableLayoutPanel2.SetColumnSpan(this.flowLayoutPanel1, 10);
            this.flowLayoutPanel1.Controls.Add(this.label7);
            this.flowLayoutPanel1.Controls.Add(this.s_time);
            this.flowLayoutPanel1.Controls.Add(this.e_time);
            this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 56);
            this.flowLayoutPanel1.Margin = new System.Windows.Forms.Padding(0);
            this.flowLayoutPanel1.Name = "flowLayoutPanel1";
            this.flowLayoutPanel1.Size = new System.Drawing.Size(740, 37);
            this.flowLayoutPanel1.TabIndex = 10;
            // 
            // label7
            // 
            this.label7.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.label7.AutoSize = true;
            this.label7.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label7.Location = new System.Drawing.Point(25, 6);
            this.label7.Margin = new System.Windows.Forms.Padding(25, 0, 0, 0);
            this.label7.Name = "label7";
            this.label7.Size = new System.Drawing.Size(57, 27);
            this.label7.TabIndex = 2;
            this.label7.Text = "时间:";
            // 
            // s_time
            // 
            this.s_time.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.s_time.EditValue = null;
            this.s_time.Location = new System.Drawing.Point(85, 3);
            this.s_time.Name = "s_time";
            this.s_time.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 15.75F);
            this.s_time.Properties.Appearance.Options.UseFont = true;
            this.s_time.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.s_time.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.s_time.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.s_time.Size = new System.Drawing.Size(167, 34);
            this.s_time.TabIndex = 3;
            this.s_time.EditValueChanged += new System.EventHandler(this.s_time_EditValueChanged);
            // 
            // e_time
            // 
            this.e_time.Anchor = System.Windows.Forms.AnchorStyles.None;
            this.e_time.EditValue = null;
            this.e_time.Location = new System.Drawing.Point(258, 3);
            this.e_time.Name = "e_time";
            this.e_time.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 15.75F);
            this.e_time.Properties.Appearance.Options.UseFont = true;
            this.e_time.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.e_time.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.e_time.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
            this.e_time.Size = new System.Drawing.Size(167, 34);
            this.e_time.TabIndex = 4;
            this.e_time.EditValueChanged += new System.EventHandler(this.e_time_EditValueChanged);
            // 
            // label5
            // 
            this.label5.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.label5.AutoSize = true;
            this.label5.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label5.Location = new System.Drawing.Point(760, 11);
            this.label5.Margin = new System.Windows.Forms.Padding(0);
            this.label5.Name = "label5";
            this.label5.Size = new System.Drawing.Size(57, 27);
            this.label5.TabIndex = 8;
            this.label5.Text = "状态:";
            // 
            // label4
            // 
            this.label4.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.label4.AutoSize = true;
            this.label4.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label4.Location = new System.Drawing.Point(577, 11);
            this.label4.Margin = new System.Windows.Forms.Padding(0);
            this.label4.Name = "label4";
            this.label4.Size = new System.Drawing.Size(57, 27);
            this.label4.TabIndex = 6;
            this.label4.Text = "类型:";
            // 
            // label3
            // 
            this.label3.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.label3.AutoSize = true;
            this.label3.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label3.Location = new System.Drawing.Point(379, 0);
            this.label3.Margin = new System.Windows.Forms.Padding(0);
            this.label3.Name = "label3";
            this.label3.Size = new System.Drawing.Size(72, 50);
            this.label3.TabIndex = 4;
            this.label3.Text = "收款方式:";
            // 
            // Txt_TableNo
            // 
            this.Txt_TableNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.Txt_TableNo.Location = new System.Drawing.Point(243, 8);
            this.Txt_TableNo.Margin = new System.Windows.Forms.Padding(0);
            this.Txt_TableNo.Name = "Txt_TableNo";
            this.Txt_TableNo.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Txt_TableNo.Properties.Appearance.Options.UseFont = true;
            this.Txt_TableNo.Size = new System.Drawing.Size(123, 34);
            this.Txt_TableNo.TabIndex = 3;
            this.Txt_TableNo.EditValueChanged += new System.EventHandler(this.Txt_TableNo_EditValueChanged);
            // 
            // label2
            // 
            this.label2.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.label2.AutoSize = true;
            this.label2.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label2.Location = new System.Drawing.Point(186, 11);
            this.label2.Margin = new System.Windows.Forms.Padding(0);
            this.label2.Name = "label2";
            this.label2.Size = new System.Drawing.Size(57, 27);
            this.label2.TabIndex = 2;
            this.label2.Text = "桌位:";
            // 
            // label1
            // 
            this.label1.Anchor = System.Windows.Forms.AnchorStyles.Right;
            this.label1.AutoSize = true;
            this.label1.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.label1.Location = new System.Drawing.Point(3, 11);
            this.label1.Margin = new System.Windows.Forms.Padding(0);
            this.label1.Name = "label1";
            this.label1.Size = new System.Drawing.Size(57, 27);
            this.label1.TabIndex = 0;
            this.label1.Text = "单号:";
            // 
            // Txt_orderNo
            // 
            this.Txt_orderNo.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.Txt_orderNo.Location = new System.Drawing.Point(60, 8);
            this.Txt_orderNo.Margin = new System.Windows.Forms.Padding(0);
            this.Txt_orderNo.Name = "Txt_orderNo";
            this.Txt_orderNo.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.Txt_orderNo.Properties.Appearance.Options.UseFont = true;
            this.Txt_orderNo.Size = new System.Drawing.Size(123, 34);
            this.Txt_orderNo.TabIndex = 1;
            this.Txt_orderNo.EditValueChanged += new System.EventHandler(this.Txt_orderNo_EditValueChanged);
            // 
            // Com_PayWay
            // 
            this.Com_PayWay.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.Com_PayWay.Location = new System.Drawing.Point(451, 8);
            this.Com_PayWay.Margin = new System.Windows.Forms.Padding(0);
            this.Com_PayWay.Name = "Com_PayWay";
            this.Com_PayWay.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 15F);
            this.Com_PayWay.Properties.Appearance.Options.UseFont = true;
            this.Com_PayWay.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.Com_PayWay.Size = new System.Drawing.Size(123, 34);
            this.Com_PayWay.TabIndex = 11;
            this.Com_PayWay.SelectedIndexChanged += new System.EventHandler(this.Com_PayWay_SelectedIndexChanged);
            // 
            // Com_Type
            // 
            this.Com_Type.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.Com_Type.Location = new System.Drawing.Point(634, 8);
            this.Com_Type.Margin = new System.Windows.Forms.Padding(0);
            this.Com_Type.Name = "Com_Type";
            this.Com_Type.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 15F);
            this.Com_Type.Properties.Appearance.Options.UseFont = true;
            this.Com_Type.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.Com_Type.Size = new System.Drawing.Size(123, 34);
            this.Com_Type.TabIndex = 12;
            this.Com_Type.SelectedIndexChanged += new System.EventHandler(this.Com_Type_SelectedIndexChanged);
            // 
            // Com_State
            // 
            this.Com_State.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Left | System.Windows.Forms.AnchorStyles.Right)));
            this.Com_State.Location = new System.Drawing.Point(817, 8);
            this.Com_State.Margin = new System.Windows.Forms.Padding(0);
            this.Com_State.Name = "Com_State";
            this.Com_State.Properties.Appearance.Font = new System.Drawing.Font("微软雅黑", 15F);
            this.Com_State.Properties.Appearance.Options.UseFont = true;
            this.Com_State.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
            new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)});
            this.Com_State.Size = new System.Drawing.Size(127, 34);
            this.Com_State.TabIndex = 13;
            this.Com_State.SelectedIndexChanged += new System.EventHandler(this.Com_State_SelectedIndexChanged);
            // 
            // TradingFlowControl
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.Controls.Add(this.tableLayoutPanel1);
            this.Name = "TradingFlowControl";
            this.Size = new System.Drawing.Size(944, 539);
            this.tableLayoutPanel1.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
            this.tableLayoutPanel2.ResumeLayout(false);
            this.tableLayoutPanel2.PerformLayout();
            this.flowLayoutPanel1.ResumeLayout(false);
            this.flowLayoutPanel1.PerformLayout();
            ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties.CalendarTimeProperties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_TableNo.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Txt_orderNo.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Com_PayWay.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Com_Type.Properties)).EndInit();
            ((System.ComponentModel.ISupportInitialize)(this.Com_State.Properties)).EndInit();
            this.ResumeLayout(false);

        }
コード例 #17
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1            = new DevExpress.Utils.ContextButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(StorageMediaControl));
     this.layoutControl1        = new DevExpress.XtraLayout.LayoutControl();
     this.sbRemoveMedia         = new DevExpress.XtraEditors.SimpleButton();
     this.sbAddStorageMedia     = new DevExpress.XtraEditors.SimpleButton();
     this.galleryControl1       = new DevExpress.XtraBars.Ribbon.GalleryControl();
     this.galleryControlClient1 = new DevExpress.XtraBars.Ribbon.GalleryControlClient();
     this.layoutControlGroup1   = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem2    = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutControlItem3    = new DevExpress.XtraLayout.LayoutControlItem();
     this.layoutGroup           = new DevExpress.XtraLayout.LayoutControlGroup();
     this.layoutControlItem1    = new DevExpress.XtraLayout.LayoutControlItem();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
     this.layoutControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.galleryControl1)).BeginInit();
     this.galleryControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutGroup)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
     this.SuspendLayout();
     //
     // layoutControl1
     //
     this.layoutControl1.Controls.Add(this.sbRemoveMedia);
     this.layoutControl1.Controls.Add(this.sbAddStorageMedia);
     this.layoutControl1.Controls.Add(this.galleryControl1);
     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(543, 380);
     this.layoutControl1.TabIndex = 1;
     this.layoutControl1.Text     = "layoutControl1";
     //
     // sbRemoveMedia
     //
     this.sbRemoveMedia.Location        = new System.Drawing.Point(12, 346);
     this.sbRemoveMedia.Name            = "sbRemoveMedia";
     this.sbRemoveMedia.Size            = new System.Drawing.Size(519, 22);
     this.sbRemoveMedia.StyleController = this.layoutControl1;
     this.sbRemoveMedia.TabIndex        = 6;
     this.sbRemoveMedia.Text            = "Remove Media";
     this.sbRemoveMedia.Click          += new System.EventHandler(this.sbRemoveMedia_Click);
     //
     // sbAddStorageMedia
     //
     this.sbAddStorageMedia.Location        = new System.Drawing.Point(12, 320);
     this.sbAddStorageMedia.Name            = "sbAddStorageMedia";
     this.sbAddStorageMedia.Size            = new System.Drawing.Size(519, 22);
     this.sbAddStorageMedia.StyleController = this.layoutControl1;
     this.sbAddStorageMedia.TabIndex        = 5;
     this.sbAddStorageMedia.Text            = "Add Media";
     this.sbAddStorageMedia.Click          += new System.EventHandler(this.sbAddStorageMedia_Click);
     //
     // galleryControl1
     //
     this.galleryControl1.Controls.Add(this.galleryControlClient1);
     this.galleryControl1.DesignGalleryGroupIndex = 0;
     this.galleryControl1.DesignGalleryItemIndex  = 0;
     //
     //
     //
     this.galleryControl1.Gallery.CheckSelectedItemViaKeyboard = true;
     contextButton1.Alignment                             = DevExpress.Utils.ContextItemAlignment.FarCenter;
     contextButton1.AllowGlyphSkinning                    = DevExpress.Utils.DefaultBoolean.True;
     contextButton1.AppearanceHover.ForeColor             = System.Drawing.Color.White;
     contextButton1.AppearanceHover.Options.UseForeColor  = true;
     contextButton1.AppearanceNormal.ForeColor            = System.Drawing.Color.White;
     contextButton1.AppearanceNormal.Options.UseForeColor = true;
     contextButton1.Glyph = ((System.Drawing.Image)(resources.GetObject("contextButton1.Glyph")));
     contextButton1.Id    = new System.Guid("393ef68d-f61c-475e-9fdb-12ac097215f0");
     contextButton1.Name  = "ContextButton";
     this.galleryControl1.Gallery.ContextButtons.Add(contextButton1);
     this.galleryControl1.Gallery.ItemCheckMode       = DevExpress.XtraBars.Ribbon.Gallery.ItemCheckMode.Multiple;
     this.galleryControl1.Gallery.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.galleryControl1_Gallery_ContextButtonClick);
     this.galleryControl1.Gallery.ItemCheckedChanged += new DevExpress.XtraBars.Ribbon.GalleryItemEventHandler(this.galleryControl1_Gallery_ItemCheckedChanged);
     this.galleryControl1.Location        = new System.Drawing.Point(24, 43);
     this.galleryControl1.Name            = "galleryControl1";
     this.galleryControl1.Size            = new System.Drawing.Size(495, 261);
     this.galleryControl1.StyleController = this.layoutControl1;
     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(474, 257);
     //
     // layoutControlGroup1
     //
     this.layoutControlGroup1.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
     this.layoutControlGroup1.GroupBordersVisible         = false;
     this.layoutControlGroup1.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem2,
         this.layoutControlItem3,
         this.layoutGroup
     });
     this.layoutControlGroup1.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlGroup1.Name        = "layoutControlGroup1";
     this.layoutControlGroup1.Size        = new System.Drawing.Size(543, 380);
     this.layoutControlGroup1.TextVisible = false;
     //
     // layoutControlItem2
     //
     this.layoutControlItem2.Control     = this.sbAddStorageMedia;
     this.layoutControlItem2.Location    = new System.Drawing.Point(0, 308);
     this.layoutControlItem2.Name        = "layoutControlItem2";
     this.layoutControlItem2.Size        = new System.Drawing.Size(523, 26);
     this.layoutControlItem2.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem2.TextVisible = false;
     //
     // layoutControlItem3
     //
     this.layoutControlItem3.Control     = this.sbRemoveMedia;
     this.layoutControlItem3.Location    = new System.Drawing.Point(0, 334);
     this.layoutControlItem3.Name        = "layoutControlItem3";
     this.layoutControlItem3.Size        = new System.Drawing.Size(523, 26);
     this.layoutControlItem3.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem3.TextVisible = false;
     //
     // layoutGroup
     //
     this.layoutGroup.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
         this.layoutControlItem1
     });
     this.layoutGroup.Location = new System.Drawing.Point(0, 0);
     this.layoutGroup.Name     = "layoutGroup";
     this.layoutGroup.Size     = new System.Drawing.Size(523, 308);
     this.layoutGroup.Text     = "Storage Media";
     //
     // layoutControlItem1
     //
     this.layoutControlItem1.Control     = this.galleryControl1;
     this.layoutControlItem1.Location    = new System.Drawing.Point(0, 0);
     this.layoutControlItem1.Name        = "layoutControlItem1";
     this.layoutControlItem1.Size        = new System.Drawing.Size(499, 265);
     this.layoutControlItem1.TextSize    = new System.Drawing.Size(0, 0);
     this.layoutControlItem1.TextVisible = false;
     //
     // StorageMediaControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.layoutControl1);
     this.Name = "StorageMediaControl";
     this.Size = new System.Drawing.Size(543, 380);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
     this.layoutControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.galleryControl1)).EndInit();
     this.galleryControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlGroup1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutGroup)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
     this.ResumeLayout(false);
 }
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton2 = new DevExpress.Utils.ContextButton();
     DevExpress.Utils.ContextButton contextButton3 = new DevExpress.Utils.ContextButton();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1        = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition2        = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition3        = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition4        = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition1           = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition2           = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraEditors.TableLayout.TableSpan             tableSpan1                    = new DevExpress.XtraEditors.TableLayout.TableSpan();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement1          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement2          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement3          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement4          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement5          = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     DevExpress.XtraEditors.Controls.EditorButtonImageOptions editorButtonImageOptions1     = new DevExpress.XtraEditors.Controls.EditorButtonImageOptions();
     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();
     this.tableNo                   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.createDate                = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.orderNo                   = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.state                     = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.money                     = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tableLayoutPanel1         = new System.Windows.Forms.TableLayoutPanel();
     this.gridControl1              = new DevExpress.XtraGrid.GridControl();
     this.tileView1                 = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.cfmainkey                 = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.repositoryItemButtonEdit1 = new DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit();
     this.orderDetailDetailControl1 = new DianDianClient.MyControl.BusinessDetails.OrderDetailDetailControl();
     this.mgncPager1                = new DianDianClient.MyControl.FoodManagement.MgncPager();
     this.flowLayoutPanel1          = new System.Windows.Forms.FlowLayoutPanel();
     this.label1                    = new System.Windows.Forms.Label();
     this.comboBoxEdit1             = new DevExpress.XtraEditors.ComboBoxEdit();
     this.label2                    = new System.Windows.Forms.Label();
     this.s_time                    = new DevExpress.XtraEditors.DateEdit();
     this.e_time                    = new DevExpress.XtraEditors.DateEdit();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).BeginInit();
     this.flowLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties.CalendarTimeProperties)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties)).BeginInit();
     this.SuspendLayout();
     //
     // tableNo
     //
     this.tableNo.Caption      = "tileViewColumn1";
     this.tableNo.FieldName    = "tableNo";
     this.tableNo.Name         = "tableNo";
     this.tableNo.Visible      = true;
     this.tableNo.VisibleIndex = 0;
     //
     // createDate
     //
     this.createDate.Caption   = "下单时间";
     this.createDate.FieldName = "createDate";
     this.createDate.Name      = "createDate";
     this.createDate.OptionsColumn.ShowCaption = true;
     this.createDate.Visible      = true;
     this.createDate.VisibleIndex = 1;
     //
     // orderNo
     //
     this.orderNo.Caption   = "订单编号";
     this.orderNo.FieldName = "orderNo";
     this.orderNo.Name      = "orderNo";
     this.orderNo.OptionsColumn.ShowCaption = true;
     this.orderNo.Visible      = true;
     this.orderNo.VisibleIndex = 2;
     //
     // state
     //
     this.state.Caption   = "订单状态 ";
     this.state.FieldName = "state";
     this.state.Name      = "state";
     this.state.OptionsColumn.ShowCaption = true;
     this.state.Visible      = true;
     this.state.VisibleIndex = 3;
     //
     // money
     //
     this.money.Caption   = "订单金额";
     this.money.FieldName = "amount";
     this.money.Name      = "money";
     this.money.OptionsColumn.ShowCaption = true;
     this.money.Visible      = true;
     this.money.VisibleIndex = 4;
     //
     // tableLayoutPanel1
     //
     this.tableLayoutPanel1.ColumnCount = 2;
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 75F));
     this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
     this.tableLayoutPanel1.Controls.Add(this.gridControl1, 0, 1);
     this.tableLayoutPanel1.Controls.Add(this.orderDetailDetailControl1, 1, 1);
     this.tableLayoutPanel1.Controls.Add(this.mgncPager1, 0, 2);
     this.tableLayoutPanel1.Controls.Add(this.flowLayoutPanel1, 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 = 3;
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 50F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size     = new System.Drawing.Size(1099, 564);
     this.tableLayoutPanel1.TabIndex = 3;
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(3, 53);
     this.gridControl1.MainView = this.tileView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.RepositoryItems.AddRange(new DevExpress.XtraEditors.Repository.RepositoryItem[] {
         this.repositoryItemButtonEdit1
     });
     this.gridControl1.Size     = new System.Drawing.Size(818, 469);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView1
     });
     this.gridControl1.DataSourceChanged += new System.EventHandler(this.gridControl1_DataSourceChanged);
     //
     // tileView1
     //
     this.tileView1.Appearance.GroupText.ForeColor            = System.Drawing.SystemColors.ControlLight;
     this.tileView1.Appearance.GroupText.Options.UseForeColor = true;
     this.tileView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.tableNo,
         this.createDate,
         this.orderNo,
         this.state,
         this.money,
         this.cfmainkey
     });
     this.tileView1.ContextButtonOptions.BottomPanelColor = System.Drawing.Color.LightGray;
     contextButton1.AlignmentOptions.Panel                = DevExpress.Utils.ContextItemPanel.Right;
     contextButton1.AlignmentOptions.Position             = DevExpress.Utils.ContextItemPosition.Center;
     contextButton1.AppearanceNormal.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(107)))), ((int)(((byte)(107)))), ((int)(((byte)(107)))));
     contextButton1.AppearanceNormal.Font                 = new System.Drawing.Font("微软雅黑", 18F);
     contextButton1.AppearanceNormal.ForeColor            = System.Drawing.Color.White;
     contextButton1.AppearanceNormal.Options.UseBackColor = true;
     contextButton1.AppearanceNormal.Options.UseFont      = true;
     contextButton1.AppearanceNormal.Options.UseForeColor = true;
     contextButton1.Id = new System.Guid("3fddd98a-3764-49f1-9257-69ac041d2adc");
     contextButton1.ImageOptions.Image = global::DianDianClient.Properties.Resources.prints;
     contextButton1.Name                                  = "contextButton1";
     contextButton1.Visibility                            = DevExpress.Utils.ContextItemVisibility.Visible;
     contextButton2.AlignmentOptions.Panel                = DevExpress.Utils.ContextItemPanel.Right;
     contextButton2.AlignmentOptions.Position             = DevExpress.Utils.ContextItemPosition.Center;
     contextButton2.AppearanceNormal.Font                 = new System.Drawing.Font("Tahoma", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     contextButton2.AppearanceNormal.ForeColor            = System.Drawing.Color.Transparent;
     contextButton2.AppearanceNormal.Options.UseFont      = true;
     contextButton2.AppearanceNormal.Options.UseForeColor = true;
     contextButton2.Caption                               = "23";
     contextButton2.Id   = new System.Guid("2f1d2bcc-abf8-4bfc-9d38-60d96c48bdd0");
     contextButton2.Name = "contextButton3";
     contextButton3.AlignmentOptions.Panel                = DevExpress.Utils.ContextItemPanel.Right;
     contextButton3.AlignmentOptions.Position             = DevExpress.Utils.ContextItemPosition.Center;
     contextButton3.AppearanceNormal.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(128)))), ((int)(((byte)(63)))));
     contextButton3.AppearanceNormal.Font                 = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     contextButton3.AppearanceNormal.ForeColor            = System.Drawing.Color.White;
     contextButton3.AppearanceNormal.Options.UseBackColor = true;
     contextButton3.AppearanceNormal.Options.UseFont      = true;
     contextButton3.AppearanceNormal.Options.UseForeColor = true;
     contextButton3.Id = new System.Guid("785298ec-ccb6-4371-a7e7-948ab62a8f27");
     contextButton3.ImageOptions.Image = global::DianDianClient.Properties.Resources.confirm;
     contextButton3.Name       = "contextButton2";
     contextButton3.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.tileView1.ContextButtons.Add(contextButton1);
     this.tileView1.ContextButtons.Add(contextButton2);
     this.tileView1.ContextButtons.Add(contextButton3);
     this.tileView1.GridControl = this.gridControl1;
     this.tileView1.Name        = "tileView1";
     this.tileView1.OptionsTiles.GroupTextPadding    = new System.Windows.Forms.Padding(12, 8, 12, 8);
     this.tileView1.OptionsTiles.IndentBetweenGroups = 0;
     this.tileView1.OptionsTiles.IndentBetweenItems  = 0;
     this.tileView1.OptionsTiles.ItemSize            = new System.Drawing.Size(414, 220);
     this.tileView1.OptionsTiles.LayoutMode          = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.List;
     this.tileView1.OptionsTiles.Orientation         = System.Windows.Forms.Orientation.Vertical;
     this.tileView1.OptionsTiles.Padding             = new System.Windows.Forms.Padding(0);
     this.tileView1.OptionsTiles.RowCount            = 0;
     tableColumnDefinition1.Length.Value             = 82D;
     tableColumnDefinition2.Length.Value             = 117D;
     tableColumnDefinition3.Length.Value             = 122D;
     tableColumnDefinition4.Length.Value             = 53D;
     this.tileView1.TileColumns.Add(tableColumnDefinition1);
     this.tileView1.TileColumns.Add(tableColumnDefinition2);
     this.tileView1.TileColumns.Add(tableColumnDefinition3);
     this.tileView1.TileColumns.Add(tableColumnDefinition4);
     tableRowDefinition1.Length.Value = 67D;
     tableRowDefinition2.Length.Value = 66D;
     this.tileView1.TileRows.Add(tableRowDefinition1);
     this.tileView1.TileRows.Add(tableRowDefinition2);
     tableSpan1.RowSpan = 2;
     this.tileView1.TileSpans.Add(tableSpan1);
     tileViewItemElement1.Column         = this.tableNo;
     tileViewItemElement1.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement1.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement1.Text           = "tableNo";
     tileViewItemElement1.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement2.Column         = this.createDate;
     tileViewItemElement2.ColumnIndex    = 1;
     tileViewItemElement2.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement2.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement2.Text           = "createDate";
     tileViewItemElement2.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement3.Column         = this.orderNo;
     tileViewItemElement3.ColumnIndex    = 1;
     tileViewItemElement3.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement3.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement3.RowIndex       = 1;
     tileViewItemElement3.Text           = "orderNo";
     tileViewItemElement3.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement4.Column         = this.state;
     tileViewItemElement4.ColumnIndex    = 2;
     tileViewItemElement4.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement4.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement4.Text           = "state";
     tileViewItemElement4.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement5.Column         = this.money;
     tileViewItemElement5.ColumnIndex    = 2;
     tileViewItemElement5.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement5.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement5.RowIndex       = 1;
     tileViewItemElement5.Text           = "money";
     tileViewItemElement5.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     this.tileView1.TileTemplate.Add(tileViewItemElement1);
     this.tileView1.TileTemplate.Add(tileViewItemElement2);
     this.tileView1.TileTemplate.Add(tileViewItemElement3);
     this.tileView1.TileTemplate.Add(tileViewItemElement4);
     this.tileView1.TileTemplate.Add(tileViewItemElement5);
     this.tileView1.FocusedRowChanged += new DevExpress.XtraGrid.Views.Base.FocusedRowChangedEventHandler(this.tileView1_FocusedRowChanged);
     //
     // cfmainkey
     //
     this.cfmainkey.Caption   = "cfmainkey";
     this.cfmainkey.FieldName = "cfmainkey";
     this.cfmainkey.Name      = "cfmainkey";
     //
     // repositoryItemButtonEdit1
     //
     this.repositoryItemButtonEdit1.AutoHeight = false;
     this.repositoryItemButtonEdit1.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Delete, "moremore", -1, true, true, false, editorButtonImageOptions1, new DevExpress.Utils.KeyShortcut(System.Windows.Forms.Keys.None), serializableAppearanceObject1, serializableAppearanceObject2, serializableAppearanceObject3, serializableAppearanceObject4, "", null, null, DevExpress.Utils.ToolTipAnchor.Default)
     });
     this.repositoryItemButtonEdit1.Name          = "repositoryItemButtonEdit1";
     this.repositoryItemButtonEdit1.NullText      = "点击显示更多";
     this.repositoryItemButtonEdit1.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     //
     // orderDetailDetailControl1
     //
     this.orderDetailDetailControl1.BackColor = System.Drawing.Color.White;
     this.orderDetailDetailControl1.Dock      = System.Windows.Forms.DockStyle.Fill;
     this.orderDetailDetailControl1.Location  = new System.Drawing.Point(827, 53);
     this.orderDetailDetailControl1.Name      = "orderDetailDetailControl1";
     this.tableLayoutPanel1.SetRowSpan(this.orderDetailDetailControl1, 2);
     this.orderDetailDetailControl1.Size     = new System.Drawing.Size(269, 508);
     this.orderDetailDetailControl1.TabIndex = 1;
     //
     // mgncPager1
     //
     this.mgncPager1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.mgncPager1.Location = new System.Drawing.Point(3, 528);
     this.mgncPager1.Name     = "mgncPager1";
     this.mgncPager1.Size     = new System.Drawing.Size(818, 33);
     this.mgncPager1.TabIndex = 2;
     //
     // flowLayoutPanel1
     //
     this.flowLayoutPanel1.Anchor = System.Windows.Forms.AnchorStyles.Left;
     this.tableLayoutPanel1.SetColumnSpan(this.flowLayoutPanel1, 2);
     this.flowLayoutPanel1.Controls.Add(this.label1);
     this.flowLayoutPanel1.Controls.Add(this.comboBoxEdit1);
     this.flowLayoutPanel1.Controls.Add(this.label2);
     this.flowLayoutPanel1.Controls.Add(this.s_time);
     this.flowLayoutPanel1.Controls.Add(this.e_time);
     this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 6);
     this.flowLayoutPanel1.Name     = "flowLayoutPanel1";
     this.flowLayoutPanel1.Size     = new System.Drawing.Size(740, 37);
     this.flowLayoutPanel1.TabIndex = 3;
     //
     // label1
     //
     this.label1.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.label1.AutoSize = true;
     this.label1.Font     = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     this.label1.Location = new System.Drawing.Point(25, 3);
     this.label1.Margin   = new System.Windows.Forms.Padding(25, 0, 0, 0);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(59, 28);
     this.label1.TabIndex = 0;
     this.label1.Text     = "状态:";
     //
     // comboBoxEdit1
     //
     this.comboBoxEdit1.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.comboBoxEdit1.Location = new System.Drawing.Point(84, 0);
     this.comboBoxEdit1.Margin   = new System.Windows.Forms.Padding(0);
     this.comboBoxEdit1.Name     = "comboBoxEdit1";
     this.comboBoxEdit1.Properties.Appearance.Font                    = new System.Drawing.Font("微软雅黑", 15.75F);
     this.comboBoxEdit1.Properties.Appearance.Options.UseFont         = true;
     this.comboBoxEdit1.Properties.AppearanceDropDown.Font            = new System.Drawing.Font("微软雅黑", 15.75F);
     this.comboBoxEdit1.Properties.AppearanceDropDown.Options.UseFont = true;
     this.comboBoxEdit1.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.comboBoxEdit1.Properties.Items.AddRange(new object[] {
         "全部",
         "异常"
     });
     this.comboBoxEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.comboBoxEdit1.Size     = new System.Drawing.Size(136, 34);
     this.comboBoxEdit1.TabIndex = 1;
     //
     // label2
     //
     this.label2.Anchor   = System.Windows.Forms.AnchorStyles.None;
     this.label2.AutoSize = true;
     this.label2.Font     = new System.Drawing.Font("微软雅黑", 15.75F);
     this.label2.Location = new System.Drawing.Point(220, 3);
     this.label2.Margin   = new System.Windows.Forms.Padding(0);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(59, 28);
     this.label2.TabIndex = 2;
     this.label2.Text     = "时间:";
     //
     // s_time
     //
     this.s_time.Anchor    = System.Windows.Forms.AnchorStyles.None;
     this.s_time.EditValue = null;
     this.s_time.Location  = new System.Drawing.Point(279, 0);
     this.s_time.Margin    = new System.Windows.Forms.Padding(0);
     this.s_time.Name      = "s_time";
     this.s_time.Properties.Appearance.Font            = new System.Drawing.Font("微软雅黑", 15.75F);
     this.s_time.Properties.Appearance.Options.UseFont = true;
     this.s_time.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.s_time.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.s_time.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.s_time.Size     = new System.Drawing.Size(167, 34);
     this.s_time.TabIndex = 3;
     //
     // e_time
     //
     this.e_time.Anchor    = System.Windows.Forms.AnchorStyles.None;
     this.e_time.EditValue = null;
     this.e_time.Location  = new System.Drawing.Point(452, 0);
     this.e_time.Margin    = new System.Windows.Forms.Padding(6, 0, 0, 0);
     this.e_time.Name      = "e_time";
     this.e_time.Properties.Appearance.Font            = new System.Drawing.Font("微软雅黑", 15.75F);
     this.e_time.Properties.Appearance.Options.UseFont = true;
     this.e_time.Properties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.e_time.Properties.CalendarTimeProperties.Buttons.AddRange(new DevExpress.XtraEditors.Controls.EditorButton[] {
         new DevExpress.XtraEditors.Controls.EditorButton(DevExpress.XtraEditors.Controls.ButtonPredefines.Combo)
     });
     this.e_time.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.DisableTextEditor;
     this.e_time.Size     = new System.Drawing.Size(167, 34);
     this.e_time.TabIndex = 4;
     //
     // ReservationOrderControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name = "ReservationOrderControl";
     this.Size = new System.Drawing.Size(1099, 564);
     this.tableLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.repositoryItemButtonEdit1)).EndInit();
     this.flowLayoutPanel1.ResumeLayout(false);
     this.flowLayoutPanel1.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.comboBoxEdit1.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.s_time.Properties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties.CalendarTimeProperties)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.e_time.Properties)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #19
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.XtraMap.ImageTilesLayer         imageTilesLayer1             = new DevExpress.XtraMap.ImageTilesLayer();
     DevExpress.XtraMap.BingMapDataProvider     bingMapDataProvider1         = new DevExpress.XtraMap.BingMapDataProvider();
     DevExpress.XtraMap.InformationLayer        informationLayer1            = new DevExpress.XtraMap.InformationLayer();
     DevExpress.XtraMap.BingGeocodeDataProvider bingGeocodeDataProvider1     = new DevExpress.XtraMap.BingGeocodeDataProvider();
     DevExpress.XtraMap.VectorItemsLayer        vectorItemsLayer1            = new DevExpress.XtraMap.VectorItemsLayer();
     DevExpress.XtraMap.MapItemStorage          mapItemStorage1              = new DevExpress.XtraMap.MapItemStorage();
     DevExpress.XtraMap.VectorItemsLayer        vectorItemsLayer2            = new DevExpress.XtraMap.VectorItemsLayer();
     DevExpress.XtraMap.MapItemStorage          mapItemStorage2              = new DevExpress.XtraMap.MapItemStorage();
     DevExpress.XtraMap.VectorItemsLayer        vectorItemsLayer3            = new DevExpress.XtraMap.VectorItemsLayer();
     DevExpress.XtraMap.MapItemStorage          mapItemStorage3              = new DevExpress.XtraMap.MapItemStorage();
     DevExpress.XtraMap.MapPushpin                  mapPushpin1              = new DevExpress.XtraMap.MapPushpin();
     DevExpress.XtraMap.MiniMap                     miniMap1                 = new DevExpress.XtraMap.MiniMap();
     DevExpress.XtraMap.FixedMiniMapBehavior        fixedMiniMapBehavior1    = new DevExpress.XtraMap.FixedMiniMapBehavior();
     DevExpress.XtraMap.MiniMapImageTilesLayer      miniMapImageTilesLayer1  = new DevExpress.XtraMap.MiniMapImageTilesLayer();
     DevExpress.XtraMap.BingMapDataProvider         bingMapDataProvider2     = new DevExpress.XtraMap.BingMapDataProvider();
     DevExpress.XtraMap.MiniMapVectorItemsLayer     miniMapVectorItemsLayer1 = new DevExpress.XtraMap.MiniMapVectorItemsLayer();
     DevExpress.XtraMap.MapItemStorage              mapItemStorage4          = new DevExpress.XtraMap.MapItemStorage();
     DevExpress.Utils.ContextButton                 contextButton1           = new DevExpress.Utils.ContextButton();
     System.ComponentModel.ComponentResourceManager resources                = new System.ComponentModel.ComponentResourceManager(typeof(MapView));
     this.mapControl1               = new DevExpress.XtraMap.MapControl();
     this.timer1                    = new System.Windows.Forms.Timer(this.components);
     this.splitContainerControl1    = new DevExpress.XtraEditors.SplitContainerControl();
     this.flyoutPanel1              = new DevExpress.Utils.FlyoutPanel();
     this.flyoutPanelControl1       = new DevExpress.Utils.FlyoutPanelControl();
     this.flyoutPanel2              = new DevExpress.Utils.FlyoutPanel();
     this.flyoutPanelControl2       = new DevExpress.Utils.FlyoutPanelControl();
     this.geoLocationControl1       = new GeoLocationControl();
     this.popupViewer1              = new PopupViewer();
     this.galleryGridControl        = new DevExpress.XtraGrid.GridControl();
     this.galleryView               = new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerView();
     this.toolTipController1        = new DevExpress.Utils.ToolTipController(this.components);
     this.standaloneBarDockControl1 = new DevExpress.XtraBars.StandaloneBarDockControl();
     this.barManager1               = new DevExpress.XtraBars.BarManager(this.components);
     this.bar1 = new DevExpress.XtraBars.Bar();
     this.bcVisibleInViewPort  = new DevExpress.XtraBars.BarCheckItem();
     this.bcNotGeotagged       = new DevExpress.XtraBars.BarCheckItem();
     this.bcAllItems           = new DevExpress.XtraBars.BarCheckItem();
     this.barDockControlTop    = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlBottom = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlLeft   = new DevExpress.XtraBars.BarDockControl();
     this.barDockControlRight  = new DevExpress.XtraBars.BarDockControl();
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).BeginInit();
     this.splitContainerControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel1)).BeginInit();
     this.flyoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl1)).BeginInit();
     this.flyoutPanelControl1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel2)).BeginInit();
     this.flyoutPanel2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl2)).BeginInit();
     this.flyoutPanelControl2.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.galleryGridControl)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.galleryView)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).BeginInit();
     this.SuspendLayout();
     //
     // mapControl1
     //
     this.mapControl1.CenterPoint     = new DevExpress.XtraMap.GeoPoint(47.5D, 2D);
     this.mapControl1.Dock            = System.Windows.Forms.DockStyle.Fill;
     bingMapDataProvider1.BingKey     = "AmSNFwVzMvaqFlCYQx9RRUfcAwSQCzi_Vcesric6JFQuBO9wZFXEsqzili-INaUA";
     bingMapDataProvider1.Kind        = DevExpress.XtraMap.BingMapKind.Area;
     imageTilesLayer1.DataProvider    = bingMapDataProvider1;
     imageTilesLayer1.Name            = "TilesLayer";
     informationLayer1.DataProvider   = bingGeocodeDataProvider1;
     informationLayer1.Name           = "InformationLayer";
     informationLayer1.Visible        = false;
     vectorItemsLayer1.Data           = mapItemStorage1;
     vectorItemsLayer1.ItemStyle.Font = new System.Drawing.Font("Tahoma", 14.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     vectorItemsLayer1.Name           = "ItemsLayer";
     vectorItemsLayer2.Data           = mapItemStorage2;
     vectorItemsLayer2.Name           = "ItemsDetailLayer";
     mapItemStorage3.Items.Add(mapPushpin1);
     vectorItemsLayer3.Data    = mapItemStorage3;
     vectorItemsLayer3.Name    = "PushpinLayer";
     vectorItemsLayer3.Visible = false;
     this.mapControl1.Layers.Add(imageTilesLayer1);
     this.mapControl1.Layers.Add(informationLayer1);
     this.mapControl1.Layers.Add(vectorItemsLayer1);
     this.mapControl1.Layers.Add(vectorItemsLayer2);
     this.mapControl1.Layers.Add(vectorItemsLayer3);
     this.mapControl1.Location       = new System.Drawing.Point(0, 0);
     miniMap1.Alignment              = DevExpress.XtraMap.MiniMapAlignment.TopLeft;
     fixedMiniMapBehavior1.ZoomLevel = 0.5D;
     miniMap1.Behavior = fixedMiniMapBehavior1;
     miniMap1.Height   = 256;
     miniMapImageTilesLayer1.DataProvider           = bingMapDataProvider2;
     miniMapImageTilesLayer1.Name                   = "ImageTilesLayer";
     miniMapVectorItemsLayer1.Data                  = mapItemStorage4;
     miniMapVectorItemsLayer1.ItemStyle.Fill        = System.Drawing.Color.Red;
     miniMapVectorItemsLayer1.ItemStyle.Stroke      = System.Drawing.Color.White;
     miniMapVectorItemsLayer1.ItemStyle.StrokeWidth = 2;
     miniMapVectorItemsLayer1.Name                  = "DataLayer";
     miniMap1.Layers.Add(miniMapImageTilesLayer1);
     miniMap1.Layers.Add(miniMapVectorItemsLayer1);
     miniMap1.Width                     = 256;
     this.mapControl1.MiniMap           = miniMap1;
     this.mapControl1.MinZoomLevel      = 2D;
     this.mapControl1.Name              = "mapControl1";
     this.mapControl1.SelectionMode     = DevExpress.XtraMap.ElementSelectionMode.Single;
     this.mapControl1.Size              = new System.Drawing.Size(768, 634);
     this.mapControl1.TabIndex          = 1;
     this.mapControl1.ZoomLevel         = 3D;
     this.mapControl1.SelectionChanged += new DevExpress.XtraMap.MapSelectionChangedEventHandler(this.mapControl1_SelectionChanged);
     this.mapControl1.Click            += new System.EventHandler(this.mapControl1_Click);
     this.mapControl1.DoubleClick      += new System.EventHandler(this.mapControl1_DoubleClick);
     //
     // timer1
     //
     this.timer1.Interval = 2000;
     //
     // splitContainerControl1
     //
     this.splitContainerControl1.CollapsePanel = DevExpress.XtraEditors.SplitCollapsePanel.Panel2;
     this.splitContainerControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.splitContainerControl1.FixedPanel    = DevExpress.XtraEditors.SplitFixedPanel.Panel2;
     this.splitContainerControl1.Location      = new System.Drawing.Point(0, 0);
     this.splitContainerControl1.Name          = "splitContainerControl1";
     this.splitContainerControl1.Panel1.Controls.Add(this.flyoutPanel1);
     this.splitContainerControl1.Panel1.Controls.Add(this.mapControl1);
     this.splitContainerControl1.Panel1.Text = "Panel1";
     this.splitContainerControl1.Panel2.Controls.Add(this.galleryGridControl);
     this.splitContainerControl1.Panel2.Controls.Add(this.standaloneBarDockControl1);
     this.splitContainerControl1.Panel2.Text      = "Panel2";
     this.splitContainerControl1.Size             = new System.Drawing.Size(1230, 634);
     this.splitContainerControl1.SplitterPosition = 457;
     this.splitContainerControl1.TabIndex         = 16;
     this.splitContainerControl1.Text             = "splitContainerControl1";
     //
     // flyoutPanel1
     //
     this.flyoutPanel1.Controls.Add(this.flyoutPanelControl1);
     this.flyoutPanel1.Location = new System.Drawing.Point(36, 46);
     this.flyoutPanel1.Name     = "flyoutPanel1";
     this.flyoutPanel1.Size     = new System.Drawing.Size(689, 519);
     this.flyoutPanel1.TabIndex = 2;
     //
     // flyoutPanelControl1
     //
     this.flyoutPanelControl1.Controls.Add(this.flyoutPanel2);
     this.flyoutPanelControl1.Controls.Add(this.popupViewer1);
     this.flyoutPanelControl1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.flyoutPanelControl1.FlyoutPanel = this.flyoutPanel1;
     this.flyoutPanelControl1.Location    = new System.Drawing.Point(0, 0);
     this.flyoutPanelControl1.Name        = "flyoutPanelControl1";
     this.flyoutPanelControl1.Size        = new System.Drawing.Size(689, 519);
     this.flyoutPanelControl1.TabIndex    = 0;
     //
     // flyoutPanel2
     //
     this.flyoutPanel2.Controls.Add(this.flyoutPanelControl2);
     this.flyoutPanel2.Location = new System.Drawing.Point(22, 16);
     this.flyoutPanel2.Name     = "flyoutPanel2";
     this.flyoutPanel2.Size     = new System.Drawing.Size(321, 212);
     this.flyoutPanel2.TabIndex = 3;
     //
     // flyoutPanelControl2
     //
     this.flyoutPanelControl2.Controls.Add(this.geoLocationControl1);
     this.flyoutPanelControl2.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.flyoutPanelControl2.FlyoutPanel = this.flyoutPanel2;
     this.flyoutPanelControl2.Location    = new System.Drawing.Point(0, 0);
     this.flyoutPanelControl2.Name        = "flyoutPanelControl2";
     this.flyoutPanelControl2.Size        = new System.Drawing.Size(321, 212);
     this.flyoutPanelControl2.TabIndex    = 0;
     //
     // geoLocationControl1
     //
     this.geoLocationControl1.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.geoLocationControl1.File         = null;
     this.geoLocationControl1.GeoPoint     = null;
     this.geoLocationControl1.Location     = new System.Drawing.Point(2, 2);
     this.geoLocationControl1.Margin       = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.geoLocationControl1.Name         = "geoLocationControl1";
     this.geoLocationControl1.Size         = new System.Drawing.Size(317, 208);
     this.geoLocationControl1.TabIndex     = 0;
     this.geoLocationControl1.CancelClick += new System.EventHandler(this.geoLocationControl1_CancelClick);
     this.geoLocationControl1.OkClick     += new System.EventHandler(this.geoLocationControl1_OkClick);
     //
     // popupViewer1
     //
     this.popupViewer1.Dock        = System.Windows.Forms.DockStyle.Fill;
     this.popupViewer1.Files       = null;
     this.popupViewer1.Location    = new System.Drawing.Point(2, 2);
     this.popupViewer1.Margin      = new System.Windows.Forms.Padding(3, 4, 3, 4);
     this.popupViewer1.Name        = "popupViewer1";
     this.popupViewer1.Size        = new System.Drawing.Size(685, 515);
     this.popupViewer1.TabIndex    = 0;
     this.popupViewer1.CloseClick += new System.EventHandler(this.popupViewer1_CloseClick);
     //
     // galleryGridControl
     //
     this.galleryGridControl.Dock              = System.Windows.Forms.DockStyle.Fill;
     this.galleryGridControl.Location          = new System.Drawing.Point(0, 31);
     this.galleryGridControl.MainView          = this.galleryView;
     this.galleryGridControl.Name              = "galleryGridControl";
     this.galleryGridControl.Size              = new System.Drawing.Size(457, 603);
     this.galleryGridControl.TabIndex          = 0;
     this.galleryGridControl.ToolTipController = this.toolTipController1;
     this.galleryGridControl.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.galleryView
     });
     //
     // galleryView
     //
     this.galleryView.ContextButtonOptions.TopPanelColor   = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.galleryView.ContextButtonOptions.TopPanelPadding = new System.Windows.Forms.Padding(2);
     contextButton1.Alignment                             = DevExpress.Utils.ContextItemAlignment.TopFar;
     contextButton1.AllowGlyphSkinning                    = DevExpress.Utils.DefaultBoolean.True;
     contextButton1.AppearanceHover.BackColor             = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     contextButton1.AppearanceHover.ForeColor             = System.Drawing.Color.White;
     contextButton1.AppearanceHover.Options.UseBackColor  = true;
     contextButton1.AppearanceHover.Options.UseForeColor  = true;
     contextButton1.AppearanceNormal.BackColor            = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     contextButton1.AppearanceNormal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(128)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(255)))));
     contextButton1.AppearanceNormal.Options.UseBackColor = true;
     contextButton1.AppearanceNormal.Options.UseForeColor = true;
     contextButton1.Glyph      = ((System.Drawing.Image)(resources.GetObject("contextButton1.Glyph")));
     contextButton1.Id         = new System.Guid("6e91aeed-9ae6-403f-bc67-28e3c343e593");
     contextButton1.Name       = "GeoEditingButton";
     contextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Hidden;
     this.galleryView.ContextButtons.Add(contextButton1);
     this.galleryView.GridControl = this.galleryGridControl;
     this.galleryView.Name        = "galleryView";
     this.galleryView.OptionsImageLoad.AsyncLoad             = true;
     this.galleryView.OptionsImageLoad.CacheThumbnails       = false;
     this.galleryView.OptionsSelection.AllowMarqueeSelection = true;
     this.galleryView.OptionsSelection.ItemSelectionMode     = DevExpress.XtraGrid.Views.WinExplorer.IconItemSelectionMode.Click;
     this.galleryView.OptionsSelection.MultiSelect           = true;
     this.galleryView.OptionsView.ContentHorizontalAlignment = DevExpress.Utils.HorzAlignment.Center;
     this.galleryView.OptionsView.ImageLayoutMode            = DevExpress.Utils.Drawing.ImageLayoutMode.ZoomOutside;
     this.galleryView.OptionsView.ItemHoverBordersShowMode   = DevExpress.XtraGrid.WinExplorer.ItemHoverBordersShowMode.Always;
     this.galleryView.OptionsView.Style = DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewStyle.ExtraLarge;
     this.galleryView.OptionsViewStyles.ExtraLarge.HorizontalIndent = 5;
     this.galleryView.OptionsViewStyles.ExtraLarge.VerticalIndent   = 5;
     this.galleryView.ItemClick          += new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewItemClickEventHandler(this.galleryView_ItemClick);
     this.galleryView.ContextButtonClick += new DevExpress.Utils.ContextItemClickEventHandler(this.galleryView_ContextButtonClick);
     this.galleryView.GetThumbnailImage  += new DevExpress.Utils.ThumbnailImageEventHandler(this.galleryView_GetThumbnailImage);
     this.galleryView.CustomDrawItem     += new DevExpress.XtraGrid.Views.WinExplorer.WinExplorerViewCustomDrawItemEventHandler(this.galleryView_CustomDrawItem);
     this.galleryView.MouseDown          += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseDown);
     this.galleryView.MouseUp            += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseUp);
     this.galleryView.MouseMove          += new System.Windows.Forms.MouseEventHandler(this.galleryView_MouseMove);
     this.galleryView.DoubleClick        += new System.EventHandler(this.galleryView_DoubleClick);
     //
     // standaloneBarDockControl1
     //
     this.standaloneBarDockControl1.AutoSize         = true;
     this.standaloneBarDockControl1.CausesValidation = false;
     this.standaloneBarDockControl1.Dock             = System.Windows.Forms.DockStyle.Top;
     this.standaloneBarDockControl1.Location         = new System.Drawing.Point(0, 0);
     this.standaloneBarDockControl1.Name             = "standaloneBarDockControl1";
     this.standaloneBarDockControl1.Size             = new System.Drawing.Size(457, 31);
     this.standaloneBarDockControl1.Text             = "standaloneBarDockControl1";
     //
     // barManager1
     //
     this.barManager1.Bars.AddRange(new DevExpress.XtraBars.Bar[] {
         this.bar1
     });
     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.DockControls.Add(this.standaloneBarDockControl1);
     this.barManager1.Form = this;
     this.barManager1.Items.AddRange(new DevExpress.XtraBars.BarItem[] {
         this.bcVisibleInViewPort,
         this.bcNotGeotagged,
         this.bcAllItems
     });
     this.barManager1.MaxItemId = 3;
     //
     // bar1
     //
     this.bar1.BarName       = "Custom 2";
     this.bar1.DockCol       = 0;
     this.bar1.DockRow       = 0;
     this.bar1.DockStyle     = DevExpress.XtraBars.BarDockStyle.Standalone;
     this.bar1.FloatLocation = new System.Drawing.Point(1117, 127);
     this.bar1.LinksPersistInfo.AddRange(new DevExpress.XtraBars.LinkPersistInfo[] {
         new DevExpress.XtraBars.LinkPersistInfo(this.bcVisibleInViewPort),
         new DevExpress.XtraBars.LinkPersistInfo(this.bcNotGeotagged),
         new DevExpress.XtraBars.LinkPersistInfo(this.bcAllItems)
     });
     this.bar1.OptionsBar.DrawBorder    = false;
     this.bar1.OptionsBar.UseWholeRow   = true;
     this.bar1.StandaloneBarDockControl = this.standaloneBarDockControl1;
     this.bar1.Text = "Custom 2";
     //
     // bcVisibleInViewPort
     //
     this.bcVisibleInViewPort.BindableChecked = true;
     this.bcVisibleInViewPort.Caption         = "Visible In Viewport";
     this.bcVisibleInViewPort.Checked         = true;
     this.bcVisibleInViewPort.GroupIndex      = 1;
     this.bcVisibleInViewPort.Id              = 0;
     this.bcVisibleInViewPort.Name            = "bcVisibleInViewPort";
     this.bcVisibleInViewPort.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcVisibleInViewPort_CheckedChanged);
     //
     // bcNotGeotagged
     //
     this.bcNotGeotagged.Caption         = "Not Geotagged";
     this.bcNotGeotagged.GroupIndex      = 1;
     this.bcNotGeotagged.Id              = 1;
     this.bcNotGeotagged.Name            = "bcNotGeotagged";
     this.bcNotGeotagged.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcNotGeotagged_CheckedChanged);
     //
     // bcAllItems
     //
     this.bcAllItems.Caption         = "All Photos";
     this.bcAllItems.GroupIndex      = 1;
     this.bcAllItems.Id              = 2;
     this.bcAllItems.Name            = "bcAllItems";
     this.bcAllItems.CheckedChanged += new DevExpress.XtraBars.ItemClickEventHandler(this.bcAllItems_CheckedChanged);
     //
     // barDockControlTop
     //
     this.barDockControlTop.CausesValidation = false;
     this.barDockControlTop.Dock             = System.Windows.Forms.DockStyle.Top;
     this.barDockControlTop.Location         = new System.Drawing.Point(0, 0);
     this.barDockControlTop.Size             = new System.Drawing.Size(1230, 0);
     //
     // barDockControlBottom
     //
     this.barDockControlBottom.CausesValidation = false;
     this.barDockControlBottom.Dock             = System.Windows.Forms.DockStyle.Bottom;
     this.barDockControlBottom.Location         = new System.Drawing.Point(0, 634);
     this.barDockControlBottom.Size             = new System.Drawing.Size(1230, 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.Size             = new System.Drawing.Size(0, 634);
     //
     // barDockControlRight
     //
     this.barDockControlRight.CausesValidation = false;
     this.barDockControlRight.Dock             = System.Windows.Forms.DockStyle.Right;
     this.barDockControlRight.Location         = new System.Drawing.Point(1230, 0);
     this.barDockControlRight.Size             = new System.Drawing.Size(0, 634);
     //
     // MapView
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.splitContainerControl1);
     this.Controls.Add(this.barDockControlLeft);
     this.Controls.Add(this.barDockControlRight);
     this.Controls.Add(this.barDockControlBottom);
     this.Controls.Add(this.barDockControlTop);
     this.Margin = new System.Windows.Forms.Padding(3, 5, 3, 5);
     this.Name   = "MapView";
     this.Size   = new System.Drawing.Size(1230, 634);
     ((System.ComponentModel.ISupportInitialize)(this.mapControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainerControl1)).EndInit();
     this.splitContainerControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel1)).EndInit();
     this.flyoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl1)).EndInit();
     this.flyoutPanelControl1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanel2)).EndInit();
     this.flyoutPanel2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.flyoutPanelControl2)).EndInit();
     this.flyoutPanelControl2.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.galleryGridControl)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.galleryView)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.barManager1)).EndInit();
     this.ResumeLayout(false);
 }
コード例 #20
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1            = new DevExpress.Utils.ContextButton();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProjectsControl));
     DevExpress.Utils.ContextButton contextButton2            = new DevExpress.Utils.ContextButton();
     this.tileControl1 = new DevExpress.XtraEditors.TileControl();
     this.SuspendLayout();
     //
     // tileControl1
     //
     this.tileControl1.AllowDrag = false;
     this.tileControl1.AppearanceItem.Normal.BackColor              = System.Drawing.Color.Gray;
     this.tileControl1.AppearanceItem.Normal.BorderColor            = System.Drawing.Color.Transparent;
     this.tileControl1.AppearanceItem.Normal.Options.UseBackColor   = true;
     this.tileControl1.AppearanceItem.Normal.Options.UseBorderColor = true;
     this.tileControl1.BackgroundImage       = global::PhotoAssistant.UI.Properties.Resources.SplashScreenImageBig;
     this.tileControl1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
     this.tileControl1.ContextButtonOptions.AllowGlyphSkinning = true;
     this.tileControl1.ContextButtonOptions.AnimationType      = DevExpress.Utils.ContextAnimationType.OutAnimation;
     this.tileControl1.ContextButtonOptions.TopPanelColor      = System.Drawing.Color.FromArgb(((int)(((byte)(180)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(0)))));
     this.tileControl1.ContextButtonOptions.TopPanelPadding    = new System.Windows.Forms.Padding(7);
     contextButton1.AllowGlyphSkinning                    = DevExpress.Utils.DefaultBoolean.True;
     contextButton1.AppearanceHover.ForeColor             = System.Drawing.Color.White;
     contextButton1.AppearanceHover.Options.UseForeColor  = true;
     contextButton1.AppearanceNormal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(162)))));
     contextButton1.AppearanceNormal.Options.UseForeColor = true;
     contextButton1.Glyph                                 = ((System.Drawing.Image)(resources.GetObject("contextButton1.Glyph")));
     contextButton1.Id                                    = new System.Guid("6f341045-0d40-4774-92ab-f6f8e3d4cb92");
     contextButton1.Name                                  = "editButton";
     contextButton1.ToolTip                               = "Edit Project Settings";
     contextButton2.Alignment                             = DevExpress.Utils.ContextItemAlignment.TopFar;
     contextButton2.AllowGlyphSkinning                    = DevExpress.Utils.DefaultBoolean.True;
     contextButton2.AppearanceHover.ForeColor             = System.Drawing.Color.White;
     contextButton2.AppearanceHover.Options.UseForeColor  = true;
     contextButton2.AppearanceNormal.ForeColor            = System.Drawing.Color.FromArgb(((int)(((byte)(161)))), ((int)(((byte)(161)))), ((int)(((byte)(162)))));
     contextButton2.AppearanceNormal.Options.UseForeColor = true;
     contextButton2.Glyph                                 = ((System.Drawing.Image)(resources.GetObject("contextButton2.Glyph")));
     contextButton2.Id                                    = new System.Guid("538b6a8f-464c-4be3-8d11-ee01f375fe8e");
     contextButton2.Name                                  = "removeButton";
     contextButton2.ToolTip                               = "Remove Project from recet list";
     this.tileControl1.ContextButtons.Add(contextButton1);
     this.tileControl1.ContextButtons.Add(contextButton2);
     this.tileControl1.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.tileControl1.DragSize      = new System.Drawing.Size(0, 0);
     this.tileControl1.ItemPadding   = new System.Windows.Forms.Padding(0);
     this.tileControl1.Location      = new System.Drawing.Point(0, 0);
     this.tileControl1.Name          = "tileControl1";
     this.tileControl1.ShowGroupText = true;
     this.tileControl1.ShowText      = true;
     this.tileControl1.Size          = new System.Drawing.Size(895, 506);
     this.tileControl1.TabIndex      = 0;
     this.tileControl1.Text          = "Projects";
     //
     // ProjectsControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tileControl1);
     this.Name = "ProjectsControl";
     this.Size = new System.Drawing.Size(895, 506);
     this.ResumeLayout(false);
 }
コード例 #21
0
 /// <summary>
 /// 设计器支持所需的方法 - 不要修改
 /// 使用代码编辑器修改此方法的内容。
 /// </summary>
 private void InitializeComponent()
 {
     DevExpress.Utils.ContextButton contextButton1 = new DevExpress.Utils.ContextButton();
     System.ComponentModel.ComponentResourceManager           resources = new System.ComponentModel.ComponentResourceManager(typeof(EditPayWayControl));
     DevExpress.XtraEditors.TableLayout.TableColumnDefinition tableColumnDefinition1 = new DevExpress.XtraEditors.TableLayout.TableColumnDefinition();
     DevExpress.XtraEditors.TableLayout.TableRowDefinition    tableRowDefinition1    = new DevExpress.XtraEditors.TableLayout.TableRowDefinition();
     DevExpress.XtraGrid.Views.Tile.TileViewItemElement       tileViewItemElement1   = new DevExpress.XtraGrid.Views.Tile.TileViewItemElement();
     this.payway            = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
     this.gridControl1      = new DevExpress.XtraGrid.GridControl();
     this.tileView1         = new DevExpress.XtraGrid.Views.Tile.TileView();
     this.id     = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.shopid = new DevExpress.XtraGrid.Columns.TileViewColumn();
     this.tableLayoutPanel1.SuspendLayout();
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).BeginInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).BeginInit();
     this.SuspendLayout();
     //
     // payway
     //
     this.payway.Caption      = "payway";
     this.payway.FieldName    = "payway";
     this.payway.Name         = "payway";
     this.payway.Visible      = true;
     this.payway.VisibleIndex = 1;
     //
     // 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.gridControl1, 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, 100F));
     this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 20F));
     this.tableLayoutPanel1.Size         = new System.Drawing.Size(999, 573);
     this.tableLayoutPanel1.TabIndex     = 0;
     this.tableLayoutPanel1.SizeChanged += new System.EventHandler(this.tableLayoutPanel1_SizeChanged);
     //
     // gridControl1
     //
     this.gridControl1.Dock     = System.Windows.Forms.DockStyle.Fill;
     this.gridControl1.Location = new System.Drawing.Point(3, 3);
     this.gridControl1.MainView = this.tileView1;
     this.gridControl1.Name     = "gridControl1";
     this.gridControl1.Size     = new System.Drawing.Size(993, 567);
     this.gridControl1.TabIndex = 0;
     this.gridControl1.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
         this.tileView1
     });
     //
     // tileView1
     //
     this.tileView1.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
         this.id,
         this.payway,
         this.shopid
     });
     contextButton1.AlignmentOptions.Panel    = DevExpress.Utils.ContextItemPanel.Right;
     contextButton1.AlignmentOptions.Position = DevExpress.Utils.ContextItemPosition.Center;
     contextButton1.Id = new System.Guid("2cf82fa8-1327-4c0f-ab79-5072245cf96d");
     contextButton1.ImageOptions.Image = ((System.Drawing.Image)(resources.GetObject("resource.Image")));
     contextButton1.Name       = "contextButton1";
     contextButton1.Visibility = DevExpress.Utils.ContextItemVisibility.Visible;
     this.tileView1.ContextButtons.Add(contextButton1);
     this.tileView1.GridControl = this.gridControl1;
     this.tileView1.Name        = "tileView1";
     this.tileView1.OptionsTiles.ColumnCount        = 2;
     this.tileView1.OptionsTiles.IndentBetweenItems = 30;
     this.tileView1.OptionsTiles.ItemSize           = new System.Drawing.Size(200, 76);
     this.tileView1.OptionsTiles.LayoutMode         = DevExpress.XtraGrid.Views.Tile.TileViewLayoutMode.Kanban;
     this.tileView1.OptionsTiles.Orientation        = System.Windows.Forms.Orientation.Vertical;
     this.tileView1.OptionsTiles.RowCount           = 0;
     this.tileView1.TileColumns.Add(tableColumnDefinition1);
     this.tileView1.TileRows.Add(tableRowDefinition1);
     tileViewItemElement1.Appearance.Normal.Font            = new System.Drawing.Font("微软雅黑", 18F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
     tileViewItemElement1.Appearance.Normal.Options.UseFont = true;
     tileViewItemElement1.Column         = this.payway;
     tileViewItemElement1.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     tileViewItemElement1.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.ZoomInside;
     tileViewItemElement1.Text           = "payway";
     tileViewItemElement1.TextAlignment  = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter;
     this.tileView1.TileTemplate.Add(tileViewItemElement1);
     this.tileView1.ItemClick              += new DevExpress.XtraGrid.Views.Tile.TileViewItemClickEventHandler(this.tileView1_ItemClick);
     this.tileView1.ContextButtonClick     += new DevExpress.Utils.ContextItemClickEventHandler(this.tileView1_ContextButtonClick);
     this.tileView1.ContextButtonCustomize += new DevExpress.XtraGrid.Views.Tile.TileViewContextButtonCustomizeEventHandler(this.tileView1_ContextButtonCustomize);
     this.tileView1.ItemCustomize          += new DevExpress.XtraGrid.Views.Tile.TileViewItemCustomizeEventHandler(this.tileView1_ItemCustomize);
     //
     // id
     //
     this.id.Caption      = "id";
     this.id.FieldName    = "id";
     this.id.Name         = "id";
     this.id.Visible      = true;
     this.id.VisibleIndex = 0;
     //
     // shopid
     //
     this.shopid.Caption   = "shopid";
     this.shopid.FieldName = "shopid";
     this.shopid.Name      = "shopid";
     //
     // EditPayWayControl
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.Controls.Add(this.tableLayoutPanel1);
     this.Name = "EditPayWayControl";
     this.Size = new System.Drawing.Size(999, 573);
     this.tableLayoutPanel1.ResumeLayout(false);
     ((System.ComponentModel.ISupportInitialize)(this.gridControl1)).EndInit();
     ((System.ComponentModel.ISupportInitialize)(this.tileView1)).EndInit();
     this.ResumeLayout(false);
 }