private void mouse_leaved(object sender, EventArgs e) { DevExpress.XtraEditors.TileControl menu = sender as DevExpress.XtraEditors.TileControl; if (selectedMenu != menu) { menu.BackgroundImage = menu.AppearanceItem.Normal.Image; } }
private void mouse_hovered(object sender, EventArgs e) { DevExpress.XtraEditors.TileControl menu = sender as DevExpress.XtraEditors.TileControl; TileDetail detail = menu.Tag as TileDetail; if (selectedMenu != menu) { menu.BackgroundImage = menu.AppearanceItem.Hovered.Image; } }
private bool ItemsChecked(DevExpress.XtraEditors.TileControl tc) { bool esVisible = false; foreach (DevExpress.XtraEditors.TileGroup Gpr in tc.Groups) { foreach (DevExpress.XtraEditors.TileItem Aux in Gpr.Items) { if (Aux.Checked) { esVisible = true; } } } return(esVisible); }
private void tlcFavoritos_Click(object sender, EventArgs e) { MouseEventArgs me = (MouseEventArgs)e; if (me.Button == System.Windows.Forms.MouseButtons.Right) { DevExpress.XtraEditors.TileControl tileControl = (DevExpress.XtraEditors.TileControl)sender; DevExpress.XtraEditors.TileControlHitInfo hitInfo = tileControl.CalcHitInfo(tileControl.PointToClient(MousePosition)); if (hitInfo.InItem) { hitInfo.ItemInfo.Item.Checked = !hitInfo.ItemInfo.Item.Checked; } gbFavoritos.Parent = tileControl.Parent; gbFavoritos.Visible = ItemsChecked(tileControl); } }
private void mouse_click(object sender, EventArgs e) { DevExpress.XtraEditors.TileControl menu = sender as DevExpress.XtraEditors.TileControl; selectedMenu = menu; for (int index = 0; index < tileMenus.Length; index++) { DevExpress.XtraEditors.TileControl tileMenu = tileMenus[index]; if (selectedMenu == tileMenu) { tileMenu.BackgroundImage = tileMenu.AppearanceItem.Selected.Image; } else { tileMenu.BackgroundImage = tileMenu.AppearanceItem.Normal.Image; } } getDataAndDisplay(); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { DevExpress.XtraEditors.TileItemElement tileItemElement1 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement2 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement3 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement4 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement5 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement6 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement7 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement8 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement9 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement10 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement11 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement12 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement13 = new DevExpress.XtraEditors.TileItemElement(); this.xtraTabControl1 = new DevExpress.XtraTab.XtraTabControl(); this.xtraTabPageMain = new DevExpress.XtraTab.XtraTabPage(); this.tcMainContent = new DevExpress.XtraEditors.TileControl(); this.tileGroup2 = new DevExpress.XtraEditors.TileGroup(); this.TIElsha7n = new DevExpress.XtraEditors.TileItem(); this.tileItem3 = new DevExpress.XtraEditors.TileItem(); this.tileItem4 = new DevExpress.XtraEditors.TileItem(); this.ال = new DevExpress.XtraEditors.TileItem(); this.tileItem13 = new DevExpress.XtraEditors.TileItem(); this.tileGroup3 = new DevExpress.XtraEditors.TileGroup(); this.tileItem8 = new DevExpress.XtraEditors.TileItem(); this.tileItem5 = new DevExpress.XtraEditors.TileItem(); this.tileItem6 = new DevExpress.XtraEditors.TileItem(); this.tileGroup4 = new DevExpress.XtraEditors.TileGroup(); this.tileItem10 = new DevExpress.XtraEditors.TileItem(); this.tileItem11 = new DevExpress.XtraEditors.TileItem(); this.tileItem12 = new DevExpress.XtraEditors.TileItem(); this.tileItem9 = new DevExpress.XtraEditors.TileItem(); this.tileItem14 = new DevExpress.XtraEditors.TileItem(); this.xtraTabPage2 = new DevExpress.XtraTab.XtraTabPage(); ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).BeginInit(); this.xtraTabControl1.SuspendLayout(); this.xtraTabPageMain.SuspendLayout(); this.SuspendLayout(); // // xtraTabControl1 // this.xtraTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.xtraTabControl1.HeaderLocation = DevExpress.XtraTab.TabHeaderLocation.Right; this.xtraTabControl1.HeaderOrientation = DevExpress.XtraTab.TabOrientation.Vertical; this.xtraTabControl1.Location = new System.Drawing.Point(0, 0); this.xtraTabControl1.Margin = new System.Windows.Forms.Padding(0); this.xtraTabControl1.Name = "xtraTabControl1"; this.xtraTabControl1.RightToLeft = System.Windows.Forms.RightToLeft.Yes; this.xtraTabControl1.SelectedTabPage = this.xtraTabPageMain; this.xtraTabControl1.Size = new System.Drawing.Size(964, 533); this.xtraTabControl1.TabIndex = 0; this.xtraTabControl1.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] { this.xtraTabPageMain, this.xtraTabPage2}); // // xtraTabPageMain // this.xtraTabPageMain.Appearance.Header.Font = new System.Drawing.Font("Tahoma", 12F); this.xtraTabPageMain.Appearance.Header.Options.UseFont = true; this.xtraTabPageMain.Controls.Add(this.tcMainContent); this.xtraTabPageMain.Margin = new System.Windows.Forms.Padding(0); this.xtraTabPageMain.Name = "xtraTabPageMain"; this.xtraTabPageMain.Size = new System.Drawing.Size(929, 527); this.xtraTabPageMain.Text = "الرئيسية"; // // tcMainContent // this.tcMainContent.BackgroundImage = global::StoresManagmentDX.Properties.Resources.BackgroundF; this.tcMainContent.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tcMainContent.Cursor = System.Windows.Forms.Cursors.Default; this.tcMainContent.Dock = System.Windows.Forms.DockStyle.Fill; this.tcMainContent.Groups.Add(this.tileGroup2); this.tcMainContent.Groups.Add(this.tileGroup3); this.tcMainContent.Groups.Add(this.tileGroup4); this.tcMainContent.Location = new System.Drawing.Point(0, 0); this.tcMainContent.MaxId = 24; this.tcMainContent.Name = "tcMainContent"; this.tcMainContent.Size = new System.Drawing.Size(929, 527); this.tcMainContent.TabIndex = 0; this.tcMainContent.Text = "tileControl1"; // // tileGroup2 // this.tileGroup2.Items.Add(this.TIElsha7n); this.tileGroup2.Items.Add(this.tileItem3); this.tileGroup2.Items.Add(this.tileItem4); this.tileGroup2.Items.Add(this.ال); this.tileGroup2.Items.Add(this.tileItem13); this.tileGroup2.Name = "tileGroup2"; // // TIElsha7n // this.TIElsha7n.AppearanceItem.Hovered.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(192)))), ((int)(((byte)(128))))); this.TIElsha7n.AppearanceItem.Hovered.Font = new System.Drawing.Font("Tahoma", 10F); this.TIElsha7n.AppearanceItem.Hovered.ForeColor = System.Drawing.Color.Black; this.TIElsha7n.AppearanceItem.Hovered.Image = global::StoresManagmentDX.Properties.Resources._66; this.TIElsha7n.AppearanceItem.Hovered.Options.UseBackColor = true; this.TIElsha7n.AppearanceItem.Hovered.Options.UseFont = true; this.TIElsha7n.AppearanceItem.Hovered.Options.UseForeColor = true; this.TIElsha7n.AppearanceItem.Hovered.Options.UseImage = true; this.TIElsha7n.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(185)))), ((int)(((byte)(78))))); this.TIElsha7n.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.TIElsha7n.AppearanceItem.Normal.Options.UseBackColor = true; this.TIElsha7n.AppearanceItem.Normal.Options.UseFont = true; this.TIElsha7n.Checked = true; tileItemElement1.Image = global::StoresManagmentDX.Properties.Resources.Shipped_50px; tileItemElement1.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement1.Text = "الشحن"; tileItemElement1.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.TIElsha7n.Elements.Add(tileItemElement1); this.TIElsha7n.Id = 3; this.TIElsha7n.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.TIElsha7n.Name = "TIElsha7n"; // // tileItem3 // this.tileItem3.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(253)))), ((int)(((byte)(169)))), ((int)(((byte)(42))))); this.tileItem3.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem3.Checked = true; tileItemElement2.Image = global::StoresManagmentDX.Properties.Resources.Car_Service_50px; tileItemElement2.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement2.Text = "أدارة السيارات"; tileItemElement2.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem3.Elements.Add(tileItemElement2); this.tileItem3.Id = 4; this.tileItem3.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.tileItem3.Name = "tileItem3"; // // tileItem4 // this.tileItem4.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(13)))), ((int)(((byte)(102)))), ((int)(((byte)(118))))); this.tileItem4.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem4.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem4.AppearanceItem.Normal.Options.UseFont = true; this.tileItem4.Checked = true; tileItemElement3.Image = global::StoresManagmentDX.Properties.Resources.Shopping_Cart_50px; tileItemElement3.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement3.Text = "المشتريات"; tileItemElement3.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem4.Elements.Add(tileItemElement3); this.tileItem4.Id = 5; this.tileItem4.ItemSize = DevExpress.XtraEditors.TileItemSize.Wide; this.tileItem4.Name = "tileItem4"; // // ال // this.ال.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(9)))), ((int)(((byte)(141)))), ((int)(((byte)(164))))); this.ال.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.ال.AppearanceItem.Normal.Options.UseBackColor = true; this.ال.AppearanceItem.Normal.Options.UseFont = true; this.ال.Checked = true; tileItemElement4.Image = global::StoresManagmentDX.Properties.Resources.General_Ledger_50px; tileItemElement4.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement4.Text = "الحسابات"; tileItemElement4.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.ال.Elements.Add(tileItemElement4); this.ال.Id = 16; this.ال.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.ال.Name = "ال"; // // tileItem13 // this.tileItem13.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(12)))), ((int)(((byte)(124)))), ((int)(((byte)(144))))); this.tileItem13.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem13.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem13.AppearanceItem.Normal.Options.UseFont = true; this.tileItem13.Checked = true; tileItemElement5.Image = global::StoresManagmentDX.Properties.Resources.Money_Bag_50px; tileItemElement5.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement5.Text = "النقدية والبنوك"; tileItemElement5.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem13.Elements.Add(tileItemElement5); this.tileItem13.Id = 17; this.tileItem13.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.tileItem13.Name = "tileItem13"; // // tileGroup3 // this.tileGroup3.Items.Add(this.tileItem8); this.tileGroup3.Items.Add(this.tileItem5); this.tileGroup3.Items.Add(this.tileItem6); this.tileGroup3.Name = "tileGroup3"; // // tileItem8 // this.tileItem8.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(245)))), ((int)(((byte)(147)))), ((int)(((byte)(0))))); this.tileItem8.AppearanceItem.Normal.Font = new System.Drawing.Font("Microsoft Sans Serif", 10F); this.tileItem8.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem8.AppearanceItem.Normal.Options.UseFont = true; this.tileItem8.Checked = true; tileItemElement6.Image = global::StoresManagmentDX.Properties.Resources.Trolley_50px; tileItemElement6.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement6.Text = "المخازن"; tileItemElement6.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem8.Elements.Add(tileItemElement6); this.tileItem8.Id = 9; this.tileItem8.ItemSize = DevExpress.XtraEditors.TileItemSize.Wide; this.tileItem8.Name = "tileItem8"; // // tileItem5 // this.tileItem5.ContentAnimation = DevExpress.XtraEditors.TileItemContentAnimationType.RandomSegmentedFade; tileItemElement7.Image = global::StoresManagmentDX.Properties.Resources._22815050_745381125647238_3436108014248455431_n; tileItemElement7.ImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.Stretch; tileItemElement7.Text = ""; this.tileItem5.Elements.Add(tileItemElement7); this.tileItem5.FrameAnimationInterval = 1000; this.tileItem5.Id = 22; this.tileItem5.ItemSize = DevExpress.XtraEditors.TileItemSize.Wide; this.tileItem5.Name = "tileItem5"; // // tileItem6 // this.tileItem6.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(203)))), ((int)(((byte)(35)))), ((int)(((byte)(27))))); this.tileItem6.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem6.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem6.AppearanceItem.Normal.Options.UseFont = true; this.tileItem6.Checked = true; tileItemElement8.Image = global::StoresManagmentDX.Properties.Resources.Conference_50px; tileItemElement8.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement8.Text = "شئون العاملين"; tileItemElement8.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem6.Elements.Add(tileItemElement8); this.tileItem6.Id = 23; this.tileItem6.ItemSize = DevExpress.XtraEditors.TileItemSize.Wide; this.tileItem6.Name = "tileItem6"; // // tileGroup4 // this.tileGroup4.Items.Add(this.tileItem10); this.tileGroup4.Items.Add(this.tileItem11); this.tileGroup4.Items.Add(this.tileItem12); this.tileGroup4.Items.Add(this.tileItem9); this.tileGroup4.Items.Add(this.tileItem14); this.tileGroup4.Name = "tileGroup4"; // // tileItem10 // this.tileItem10.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(153)))), ((int)(((byte)(169)))), ((int)(((byte)(45))))); this.tileItem10.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem10.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem10.AppearanceItem.Normal.Options.UseFont = true; this.tileItem10.Checked = true; tileItemElement9.Image = global::StoresManagmentDX.Properties.Resources.POS_Terminal_50px; tileItemElement9.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement9.Text = "نقطة العملاء"; tileItemElement9.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem10.Elements.Add(tileItemElement9); this.tileItem10.Id = 11; this.tileItem10.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.tileItem10.Name = "tileItem10"; // // tileItem11 // this.tileItem11.AppearanceItem.Hovered.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem11.AppearanceItem.Hovered.Options.UseFont = true; this.tileItem11.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(121)))), ((int)(((byte)(135)))), ((int)(((byte)(23))))); this.tileItem11.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem11.Checked = true; tileItemElement10.Image = global::StoresManagmentDX.Properties.Resources.Customer_Support_50px1; tileItemElement10.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement10.Text = "خدمة العملاء"; tileItemElement10.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem11.Elements.Add(tileItemElement10); this.tileItem11.Id = 12; this.tileItem11.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.tileItem11.Name = "tileItem11"; // // tileItem12 // this.tileItem12.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(89)))), ((int)(((byte)(102)))), ((int)(((byte)(0))))); this.tileItem12.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem12.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem12.AppearanceItem.Normal.Options.UseFont = true; this.tileItem12.Checked = true; tileItemElement11.Image = global::StoresManagmentDX.Properties.Resources.Cash_in_Hand_50px; tileItemElement11.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement11.Text = "المبيعات"; tileItemElement11.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem12.Elements.Add(tileItemElement11); this.tileItem12.Id = 13; this.tileItem12.ItemSize = DevExpress.XtraEditors.TileItemSize.Wide; this.tileItem12.Name = "tileItem12"; // // tileItem9 // this.tileItem9.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(133)))), ((int)(((byte)(137))))); this.tileItem9.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem9.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem9.AppearanceItem.Normal.Options.UseFont = true; this.tileItem9.Checked = true; tileItemElement12.Image = global::StoresManagmentDX.Properties.Resources.Flow_Chart_50px; tileItemElement12.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement12.Text = "الأفرع"; tileItemElement12.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem9.Elements.Add(tileItemElement12); this.tileItem9.Id = 18; this.tileItem9.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.tileItem9.Name = "tileItem9"; // // tileItem14 // this.tileItem14.AppearanceItem.Normal.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(88)))), ((int)(((byte)(80))))); this.tileItem14.AppearanceItem.Normal.Font = new System.Drawing.Font("Tahoma", 10F); this.tileItem14.AppearanceItem.Normal.Options.UseBackColor = true; this.tileItem14.AppearanceItem.Normal.Options.UseFont = true; tileItemElement13.Image = global::StoresManagmentDX.Properties.Resources.Total_Sales_50px; tileItemElement13.ImageAlignment = DevExpress.XtraEditors.TileItemContentAlignment.MiddleCenter; tileItemElement13.Text = "التقرير"; tileItemElement13.TextAlignment = DevExpress.XtraEditors.TileItemContentAlignment.BottomRight; this.tileItem14.Elements.Add(tileItemElement13); this.tileItem14.Id = 19; this.tileItem14.ItemSize = DevExpress.XtraEditors.TileItemSize.Medium; this.tileItem14.Name = "tileItem14"; // // xtraTabPage2 // this.xtraTabPage2.Name = "xtraTabPage2"; this.xtraTabPage2.Size = new System.Drawing.Size(929, 527); this.xtraTabPage2.Text = "xtraTabPage2"; // // CarsMainForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(964, 533); this.Controls.Add(this.xtraTabControl1); this.Name = "CarsMainForm"; this.Text = "Form1"; ((System.ComponentModel.ISupportInitialize)(this.xtraTabControl1)).EndInit(); this.xtraTabControl1.ResumeLayout(false); this.xtraTabPageMain.ResumeLayout(false); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { this.components = new System.ComponentModel.Container(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TileMenuForm)); DevExpress.XtraEditors.TileItemElement tileItemElement1 = new DevExpress.XtraEditors.TileItemElement(); DevExpress.XtraEditors.TileItemElement tileItemElement2 = new DevExpress.XtraEditors.TileItemElement(); this.panelLeft = new DevExpress.XtraEditors.PanelControl(); this.textSearch = new DevExpress.XtraEditors.TextEdit(); this.tileControl1 = new DevExpress.XtraEditors.TileControl(); this.tileGroup2 = new DevExpress.XtraEditors.TileGroup(); this.tilAppOption = new DevExpress.XtraEditors.TileItem(); this.tilLock = new DevExpress.XtraEditors.TileItem(); this.panelTop = new System.Windows.Forms.Panel(); this.CheckIdleTimer = new System.Windows.Forms.Timer(this.components); ((System.ComponentModel.ISupportInitialize)(this.panelLeft)).BeginInit(); this.panelLeft.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.textSearch.Properties)).BeginInit(); this.SuspendLayout(); // // panelLeft // this.panelLeft.Appearance.BackColor = System.Drawing.Color.White; this.panelLeft.Appearance.Options.UseBackColor = true; this.panelLeft.Controls.Add(this.textSearch); this.panelLeft.Dock = System.Windows.Forms.DockStyle.Right; this.panelLeft.Location = new System.Drawing.Point(562, 0); this.panelLeft.Name = "panelLeft"; this.panelLeft.Size = new System.Drawing.Size(281, 540); this.panelLeft.TabIndex = 2; this.panelLeft.Visible = false; // // textSearch // this.textSearch.Location = new System.Drawing.Point(5, 32); this.textSearch.Name = "textSearch"; this.textSearch.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.textSearch.Properties.Appearance.Options.UseFont = true; this.textSearch.Size = new System.Drawing.Size(264, 26); this.textSearch.TabIndex = 0; this.textSearch.EditValueChanged += new System.EventHandler(this.textSearch_EditValueChanged); this.textSearch.KeyDown += new System.Windows.Forms.KeyEventHandler(this.textSearch_KeyDown); // // tileControl1 // this.tileControl1.AllowSelectedItem = true; this.tileControl1.BackColor = System.Drawing.Color.LightSeaGreen; this.tileControl1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("tileControl1.BackgroundImage"))); this.tileControl1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tileControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tileControl1.FocusRectColor = System.Drawing.Color.Red; this.tileControl1.Groups.Add(this.tileGroup2); this.tileControl1.Location = new System.Drawing.Point(0, 0); this.tileControl1.MaxId = 21; this.tileControl1.Name = "tileControl1"; this.tileControl1.SelectedItem = this.tilLock; this.tileControl1.ShowGroupText = true; this.tileControl1.Size = new System.Drawing.Size(562, 540); this.tileControl1.TabIndex = 6; this.tileControl1.Text = "tileControl1"; // // tileGroup2 // this.tileGroup2.Items.Add(this.tilAppOption); this.tileGroup2.Items.Add(this.tilLock); this.tileGroup2.Name = "tileGroup2"; this.tileGroup2.Text = null; // // tilAppOption // tileItemElement1.Text = "tileItem1"; this.tilAppOption.Elements.Add(tileItemElement1); this.tilAppOption.Id = 19; this.tilAppOption.Name = "tilAppOption"; // // tilLock // tileItemElement2.Text = "tileItem1"; this.tilLock.Elements.Add(tileItemElement2); this.tilLock.Id = 20; this.tilLock.Name = "tilLock"; this.tilLock.ItemClick += new DevExpress.XtraEditors.TileItemClickEventHandler(this.tilLock_ItemClick); // // panelTop // this.panelTop.Dock = System.Windows.Forms.DockStyle.Top; this.panelTop.Location = new System.Drawing.Point(0, 0); this.panelTop.Name = "panelTop"; this.panelTop.Size = new System.Drawing.Size(562, 70); this.panelTop.TabIndex = 7; this.panelTop.Visible = false; // // CheckIdleTimer // this.CheckIdleTimer.Interval = 9000; this.CheckIdleTimer.Tick += new System.EventHandler(this.CheckIdleTimer_Tick); // // TileMenuForm // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(843, 540); this.Controls.Add(this.panelTop); this.Controls.Add(this.tileControl1); this.Controls.Add(this.panelLeft); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; this.KeyPreview = true; this.Name = "TileMenuForm"; this.Text = "TileMenu"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.KeyDown += new System.Windows.Forms.KeyEventHandler(this.Form1_KeyDown); this.MouseDown += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseDown); this.MouseMove += new System.Windows.Forms.MouseEventHandler(this.Form1_MouseMove); ((System.ComponentModel.ISupportInitialize)(this.panelLeft)).EndInit(); this.panelLeft.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.textSearch.Properties)).EndInit(); this.ResumeLayout(false); }
/// <summary> /// Required method for Designer support - do not modify /// the contents of this method with the code editor. /// </summary> private void InitializeComponent() { System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(IGUMetroControl)); DevExpress.XtraEditors.TileItemElement tileItemElement1 = new DevExpress.XtraEditors.TileItemElement(); this.tileControl1 = new DevExpress.XtraEditors.TileControl(); this.tileGroup2 = new DevExpress.XtraEditors.TileGroup(); this.tileGroup3 = new DevExpress.XtraEditors.TileGroup(); this.tileItemActualizar = new DevExpress.XtraEditors.TileItem(); this.SuspendLayout(); // // tileControl1 // this.tileControl1.AccessibleRole = System.Windows.Forms.AccessibleRole.Window; this.tileControl1.AppearanceItem.Hovered.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(128)))), ((int)(((byte)(0))))); this.tileControl1.AppearanceItem.Hovered.ForeColor = System.Drawing.Color.White; this.tileControl1.AppearanceItem.Hovered.Options.UseBackColor = true; this.tileControl1.AppearanceItem.Hovered.Options.UseForeColor = true; this.tileControl1.AppearanceItem.Normal.BackColor = System.Drawing.Color.Transparent; this.tileControl1.AppearanceItem.Normal.BorderColor = System.Drawing.Color.Cyan; this.tileControl1.AppearanceItem.Normal.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(255)))), ((int)(((byte)(255)))), ((int)(((byte)(128))))); this.tileControl1.AppearanceItem.Normal.Options.UseBackColor = true; this.tileControl1.AppearanceItem.Normal.Options.UseBorderColor = true; this.tileControl1.AppearanceItem.Normal.Options.UseForeColor = true; this.tileControl1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(64))))); this.tileControl1.BackgroundImage = global::forms.Properties.Resources.fondoListo1600x1200; this.tileControl1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; this.tileControl1.BorderStyle = DevExpress.XtraEditors.Controls.BorderStyles.UltraFlat; this.tileControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.tileControl1.Groups.Add(this.tileGroup2); this.tileControl1.Groups.Add(this.tileGroup3); this.tileControl1.ItemSize = 150; this.tileControl1.Location = new System.Drawing.Point(0, 0); this.tileControl1.LookAndFeel.SkinName = "Metropolis Dark"; this.tileControl1.MaxId = 19; this.tileControl1.Name = "tileControl1"; this.tileControl1.SelectionColor = System.Drawing.Color.WhiteSmoke; this.tileControl1.Size = new System.Drawing.Size(1063, 600); this.tileControl1.TabIndex = 2; this.tileControl1.Text = "tileControl1"; // // tileGroup2 // this.tileGroup2.Name = "tileGroup2"; this.tileGroup2.Text = null; // // tileGroup3 // this.tileGroup3.Items.Add(this.tileItemActualizar); this.tileGroup3.Name = "tileGroup3"; this.tileGroup3.Text = null; // // tileItemActualizar // this.tileItemActualizar.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("tileItemActualizar.BackgroundImage"))); this.tileItemActualizar.BackgroundImageScaleMode = DevExpress.XtraEditors.TileItemImageScaleMode.Stretch; tileItemElement1.Text = "Actualizar"; this.tileItemActualizar.Elements.Add(tileItemElement1); this.tileItemActualizar.Id = 18; this.tileItemActualizar.Name = "tileItemActualizar"; this.tileItemActualizar.ItemClick += new DevExpress.XtraEditors.TileItemClickEventHandler(this.tileItemActualizar_ItemClick); // // IGUMetroControl // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.Controls.Add(this.tileControl1); this.Name = "IGUMetroControl"; this.Size = new System.Drawing.Size(1063, 600); this.ResumeLayout(false); }