Browse Source

双层窗体新增右键菜单支持

yuzhengyang 8 years ago
parent
commit
67b252fd35

+ 281 - 191
Fork.Net/Oreo.Plugins/Oreo.FileMan/Partials/FileTypePartial.Designer.cs

@@ -45,34 +45,43 @@
             this.LbDownloadCount = new System.Windows.Forms.Label();
             this.LbCollectCount = new System.Windows.Forms.Label();
             this.PbWaiting = new System.Windows.Forms.PictureBox();
-            this.imageButton1 = new Y.Skin.YoButton.ImageButton();
-            this.imageButton2 = new Y.Skin.YoButton.ImageButton();
-            this.imageButton14 = new Y.Skin.YoButton.ImageButton();
-            this.imageButton13 = new Y.Skin.YoButton.ImageButton();
-            this.imageButton10 = new Y.Skin.YoButton.ImageButton();
-            this.imageButton9 = new Y.Skin.YoButton.ImageButton();
-            this.imageButton8 = new Y.Skin.YoButton.ImageButton();
-            this.imageButton7 = new Y.Skin.YoButton.ImageButton();
+            this.IbDown = new Y.Skin.YoButton.ImageButton();
+            this.IbLike = new Y.Skin.YoButton.ImageButton();
+            this.IbZip = new Y.Skin.YoButton.ImageButton();
+            this.IbSetup = new Y.Skin.YoButton.ImageButton();
+            this.IbMusic = new Y.Skin.YoButton.ImageButton();
+            this.IbImage = new Y.Skin.YoButton.ImageButton();
+            this.IbDoc = new Y.Skin.YoButton.ImageButton();
+            this.IbVideo = new Y.Skin.YoButton.ImageButton();
             this.LbFileCount = new System.Windows.Forms.Label();
             this.panel1 = new System.Windows.Forms.Panel();
-            this.label1 = new System.Windows.Forms.Label();
+            this.LbSearch = new System.Windows.Forms.Label();
+            this.TcFile = new System.Windows.Forms.TabControl();
+            this.TpType = new System.Windows.Forms.TabPage();
+            this.TpDetail = new System.Windows.Forms.TabPage();
+            this.BtBack = new System.Windows.Forms.Button();
+            this.DgvFileList = new System.Windows.Forms.DataGridView();
             ((System.ComponentModel.ISupportInitialize)(this.PbWaiting)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton1)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton2)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton14)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton13)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton10)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton9)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton8)).BeginInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton7)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbDown)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbLike)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbZip)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbSetup)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbMusic)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbImage)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbDoc)).BeginInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbVideo)).BeginInit();
             this.panel1.SuspendLayout();
+            this.TcFile.SuspendLayout();
+            this.TpType.SuspendLayout();
+            this.TpDetail.SuspendLayout();
+            ((System.ComponentModel.ISupportInitialize)(this.DgvFileList)).BeginInit();
             this.SuspendLayout();
             // 
             // label9
             // 
             this.label9.AutoSize = true;
             this.label9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label9.Location = new System.Drawing.Point(148, 260);
+            this.label9.Location = new System.Drawing.Point(139, 262);
             this.label9.Name = "label9";
             this.label9.Size = new System.Drawing.Size(37, 20);
             this.label9.TabIndex = 42;
@@ -82,7 +91,7 @@
             // 
             this.label8.AutoSize = true;
             this.label8.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label8.Location = new System.Drawing.Point(38, 260);
+            this.label8.Location = new System.Drawing.Point(29, 262);
             this.label8.Name = "label8";
             this.label8.Size = new System.Drawing.Size(51, 20);
             this.label8.TabIndex = 41;
@@ -92,7 +101,7 @@
             // 
             this.label7.AutoSize = true;
             this.label7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label7.Location = new System.Drawing.Point(554, 135);
+            this.label7.Location = new System.Drawing.Point(545, 137);
             this.label7.Name = "label7";
             this.label7.Size = new System.Drawing.Size(51, 20);
             this.label7.TabIndex = 40;
@@ -102,7 +111,7 @@
             // 
             this.label6.AutoSize = true;
             this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label6.Location = new System.Drawing.Point(451, 135);
+            this.label6.Location = new System.Drawing.Point(442, 137);
             this.label6.Name = "label6";
             this.label6.Size = new System.Drawing.Size(51, 20);
             this.label6.TabIndex = 39;
@@ -112,7 +121,7 @@
             // 
             this.label5.AutoSize = true;
             this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label5.Location = new System.Drawing.Point(354, 135);
+            this.label5.Location = new System.Drawing.Point(345, 137);
             this.label5.Name = "label5";
             this.label5.Size = new System.Drawing.Size(37, 20);
             this.label5.TabIndex = 38;
@@ -122,7 +131,7 @@
             // 
             this.label4.AutoSize = true;
             this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label4.Location = new System.Drawing.Point(251, 135);
+            this.label4.Location = new System.Drawing.Point(242, 137);
             this.label4.Name = "label4";
             this.label4.Size = new System.Drawing.Size(37, 20);
             this.label4.TabIndex = 37;
@@ -132,7 +141,7 @@
             // 
             this.label3.AutoSize = true;
             this.label3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.label3.Location = new System.Drawing.Point(148, 135);
+            this.label3.Location = new System.Drawing.Point(139, 137);
             this.label3.Name = "label3";
             this.label3.Size = new System.Drawing.Size(37, 20);
             this.label3.TabIndex = 36;
@@ -143,7 +152,7 @@
             this.label2.AutoSize = true;
             this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.label2.ForeColor = System.Drawing.Color.Black;
-            this.label2.Location = new System.Drawing.Point(45, 135);
+            this.label2.Location = new System.Drawing.Point(36, 137);
             this.label2.Name = "label2";
             this.label2.Size = new System.Drawing.Size(37, 20);
             this.label2.TabIndex = 35;
@@ -153,7 +162,7 @@
             // 
             this.LbVideoCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbVideoCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbVideoCount.Location = new System.Drawing.Point(36, 156);
+            this.LbVideoCount.Location = new System.Drawing.Point(27, 158);
             this.LbVideoCount.Name = "LbVideoCount";
             this.LbVideoCount.Size = new System.Drawing.Size(60, 16);
             this.LbVideoCount.TabIndex = 51;
@@ -164,7 +173,7 @@
             // 
             this.LbDocCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbDocCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbDocCount.Location = new System.Drawing.Point(139, 156);
+            this.LbDocCount.Location = new System.Drawing.Point(130, 158);
             this.LbDocCount.Name = "LbDocCount";
             this.LbDocCount.Size = new System.Drawing.Size(60, 16);
             this.LbDocCount.TabIndex = 52;
@@ -175,7 +184,7 @@
             // 
             this.LbPictureCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbPictureCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbPictureCount.Location = new System.Drawing.Point(242, 156);
+            this.LbPictureCount.Location = new System.Drawing.Point(233, 158);
             this.LbPictureCount.Name = "LbPictureCount";
             this.LbPictureCount.Size = new System.Drawing.Size(60, 16);
             this.LbPictureCount.TabIndex = 53;
@@ -186,7 +195,7 @@
             // 
             this.LbMusicCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbMusicCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbMusicCount.Location = new System.Drawing.Point(345, 156);
+            this.LbMusicCount.Location = new System.Drawing.Point(336, 158);
             this.LbMusicCount.Name = "LbMusicCount";
             this.LbMusicCount.Size = new System.Drawing.Size(60, 16);
             this.LbMusicCount.TabIndex = 54;
@@ -197,7 +206,7 @@
             // 
             this.LbSetupCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbSetupCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbSetupCount.Location = new System.Drawing.Point(448, 156);
+            this.LbSetupCount.Location = new System.Drawing.Point(439, 158);
             this.LbSetupCount.Name = "LbSetupCount";
             this.LbSetupCount.Size = new System.Drawing.Size(60, 16);
             this.LbSetupCount.TabIndex = 55;
@@ -208,7 +217,7 @@
             // 
             this.LbZipCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbZipCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbZipCount.Location = new System.Drawing.Point(551, 156);
+            this.LbZipCount.Location = new System.Drawing.Point(542, 158);
             this.LbZipCount.Name = "LbZipCount";
             this.LbZipCount.Size = new System.Drawing.Size(60, 16);
             this.LbZipCount.TabIndex = 56;
@@ -219,7 +228,7 @@
             // 
             this.LbDownloadCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbDownloadCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbDownloadCount.Location = new System.Drawing.Point(136, 281);
+            this.LbDownloadCount.Location = new System.Drawing.Point(127, 283);
             this.LbDownloadCount.Name = "LbDownloadCount";
             this.LbDownloadCount.Size = new System.Drawing.Size(60, 16);
             this.LbDownloadCount.TabIndex = 58;
@@ -230,7 +239,7 @@
             // 
             this.LbCollectCount.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbCollectCount.ForeColor = System.Drawing.Color.Gray;
-            this.LbCollectCount.Location = new System.Drawing.Point(36, 281);
+            this.LbCollectCount.Location = new System.Drawing.Point(27, 283);
             this.LbCollectCount.Name = "LbCollectCount";
             this.LbCollectCount.Size = new System.Drawing.Size(57, 16);
             this.LbCollectCount.TabIndex = 57;
@@ -240,7 +249,7 @@
             // PbWaiting
             // 
             this.PbWaiting.Image = global::Oreo.FileMan.Properties.Resources.Wait_Hor;
-            this.PbWaiting.Location = new System.Drawing.Point(240, 281);
+            this.PbWaiting.Location = new System.Drawing.Point(231, 283);
             this.PbWaiting.Name = "PbWaiting";
             this.PbWaiting.Size = new System.Drawing.Size(60, 16);
             this.PbWaiting.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
@@ -248,109 +257,125 @@
             this.PbWaiting.TabStop = false;
             this.PbWaiting.Visible = false;
             // 
-            // imageButton1
-            // 
-            this.imageButton1.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Download;
-            this.imageButton1.Image = global::Oreo.FileMan.Properties.Resources.File_Download;
-            this.imageButton1.Location = new System.Drawing.Point(137, 197);
-            this.imageButton1.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Download_Press;
-            this.imageButton1.MouseHoverImage = null;
-            this.imageButton1.Name = "imageButton1";
-            this.imageButton1.Size = new System.Drawing.Size(60, 60);
-            this.imageButton1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton1.TabIndex = 50;
-            this.imageButton1.TabStop = false;
-            // 
-            // imageButton2
-            // 
-            this.imageButton2.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Collect;
-            this.imageButton2.Image = global::Oreo.FileMan.Properties.Resources.File_Collect;
-            this.imageButton2.Location = new System.Drawing.Point(34, 197);
-            this.imageButton2.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Collect_Press;
-            this.imageButton2.MouseHoverImage = null;
-            this.imageButton2.Name = "imageButton2";
-            this.imageButton2.Size = new System.Drawing.Size(60, 60);
-            this.imageButton2.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton2.TabIndex = 49;
-            this.imageButton2.TabStop = false;
-            // 
-            // imageButton14
-            // 
-            this.imageButton14.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Zip;
-            this.imageButton14.Image = global::Oreo.FileMan.Properties.Resources.File_Zip;
-            this.imageButton14.Location = new System.Drawing.Point(549, 72);
-            this.imageButton14.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Zip_Press;
-            this.imageButton14.MouseHoverImage = null;
-            this.imageButton14.Name = "imageButton14";
-            this.imageButton14.Size = new System.Drawing.Size(60, 60);
-            this.imageButton14.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton14.TabIndex = 48;
-            this.imageButton14.TabStop = false;
-            // 
-            // imageButton13
-            // 
-            this.imageButton13.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Setup;
-            this.imageButton13.Image = global::Oreo.FileMan.Properties.Resources.File_Setup;
-            this.imageButton13.Location = new System.Drawing.Point(446, 72);
-            this.imageButton13.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Setup_Press;
-            this.imageButton13.MouseHoverImage = null;
-            this.imageButton13.Name = "imageButton13";
-            this.imageButton13.Size = new System.Drawing.Size(60, 60);
-            this.imageButton13.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton13.TabIndex = 47;
-            this.imageButton13.TabStop = false;
-            // 
-            // imageButton10
-            // 
-            this.imageButton10.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Music;
-            this.imageButton10.Image = global::Oreo.FileMan.Properties.Resources.File_Music;
-            this.imageButton10.Location = new System.Drawing.Point(343, 72);
-            this.imageButton10.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Music_Press;
-            this.imageButton10.MouseHoverImage = null;
-            this.imageButton10.Name = "imageButton10";
-            this.imageButton10.Size = new System.Drawing.Size(60, 60);
-            this.imageButton10.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton10.TabIndex = 46;
-            this.imageButton10.TabStop = false;
-            // 
-            // imageButton9
-            // 
-            this.imageButton9.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Picture;
-            this.imageButton9.Image = global::Oreo.FileMan.Properties.Resources.File_Picture;
-            this.imageButton9.Location = new System.Drawing.Point(240, 72);
-            this.imageButton9.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Picture_Press;
-            this.imageButton9.MouseHoverImage = null;
-            this.imageButton9.Name = "imageButton9";
-            this.imageButton9.Size = new System.Drawing.Size(60, 60);
-            this.imageButton9.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton9.TabIndex = 45;
-            this.imageButton9.TabStop = false;
-            // 
-            // imageButton8
-            // 
-            this.imageButton8.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Doc;
-            this.imageButton8.Image = global::Oreo.FileMan.Properties.Resources.File_Doc;
-            this.imageButton8.Location = new System.Drawing.Point(137, 72);
-            this.imageButton8.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Doc_Press;
-            this.imageButton8.MouseHoverImage = null;
-            this.imageButton8.Name = "imageButton8";
-            this.imageButton8.Size = new System.Drawing.Size(60, 60);
-            this.imageButton8.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton8.TabIndex = 44;
-            this.imageButton8.TabStop = false;
-            // 
-            // imageButton7
-            // 
-            this.imageButton7.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Video;
-            this.imageButton7.Image = global::Oreo.FileMan.Properties.Resources.File_Video;
-            this.imageButton7.Location = new System.Drawing.Point(34, 72);
-            this.imageButton7.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Video_Press;
-            this.imageButton7.MouseHoverImage = null;
-            this.imageButton7.Name = "imageButton7";
-            this.imageButton7.Size = new System.Drawing.Size(60, 60);
-            this.imageButton7.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
-            this.imageButton7.TabIndex = 43;
-            this.imageButton7.TabStop = false;
+            // IbDown
+            // 
+            this.IbDown.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbDown.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Download;
+            this.IbDown.Image = global::Oreo.FileMan.Properties.Resources.File_Download;
+            this.IbDown.Location = new System.Drawing.Point(128, 199);
+            this.IbDown.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Download_Press;
+            this.IbDown.MouseHoverImage = null;
+            this.IbDown.Name = "IbDown";
+            this.IbDown.Size = new System.Drawing.Size(60, 60);
+            this.IbDown.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbDown.TabIndex = 50;
+            this.IbDown.TabStop = false;
+            this.IbDown.Click += new System.EventHandler(this.IbDown_Click);
+            // 
+            // IbLike
+            // 
+            this.IbLike.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbLike.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Collect;
+            this.IbLike.Image = global::Oreo.FileMan.Properties.Resources.File_Collect;
+            this.IbLike.Location = new System.Drawing.Point(25, 199);
+            this.IbLike.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Collect_Press;
+            this.IbLike.MouseHoverImage = null;
+            this.IbLike.Name = "IbLike";
+            this.IbLike.Size = new System.Drawing.Size(60, 60);
+            this.IbLike.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbLike.TabIndex = 49;
+            this.IbLike.TabStop = false;
+            this.IbLike.Click += new System.EventHandler(this.IbLike_Click);
+            // 
+            // IbZip
+            // 
+            this.IbZip.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbZip.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Zip;
+            this.IbZip.Image = global::Oreo.FileMan.Properties.Resources.File_Zip;
+            this.IbZip.Location = new System.Drawing.Point(540, 74);
+            this.IbZip.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Zip_Press;
+            this.IbZip.MouseHoverImage = null;
+            this.IbZip.Name = "IbZip";
+            this.IbZip.Size = new System.Drawing.Size(60, 60);
+            this.IbZip.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbZip.TabIndex = 48;
+            this.IbZip.TabStop = false;
+            this.IbZip.Click += new System.EventHandler(this.IbZip_Click);
+            // 
+            // IbSetup
+            // 
+            this.IbSetup.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbSetup.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Setup;
+            this.IbSetup.Image = global::Oreo.FileMan.Properties.Resources.File_Setup;
+            this.IbSetup.Location = new System.Drawing.Point(437, 74);
+            this.IbSetup.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Setup_Press;
+            this.IbSetup.MouseHoverImage = null;
+            this.IbSetup.Name = "IbSetup";
+            this.IbSetup.Size = new System.Drawing.Size(60, 60);
+            this.IbSetup.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbSetup.TabIndex = 47;
+            this.IbSetup.TabStop = false;
+            this.IbSetup.Click += new System.EventHandler(this.IbSetup_Click);
+            // 
+            // IbMusic
+            // 
+            this.IbMusic.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbMusic.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Music;
+            this.IbMusic.Image = global::Oreo.FileMan.Properties.Resources.File_Music;
+            this.IbMusic.Location = new System.Drawing.Point(334, 74);
+            this.IbMusic.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Music_Press;
+            this.IbMusic.MouseHoverImage = null;
+            this.IbMusic.Name = "IbMusic";
+            this.IbMusic.Size = new System.Drawing.Size(60, 60);
+            this.IbMusic.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbMusic.TabIndex = 46;
+            this.IbMusic.TabStop = false;
+            this.IbMusic.Click += new System.EventHandler(this.IbMusic_Click);
+            // 
+            // IbImage
+            // 
+            this.IbImage.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbImage.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Picture;
+            this.IbImage.Image = global::Oreo.FileMan.Properties.Resources.File_Picture;
+            this.IbImage.Location = new System.Drawing.Point(231, 74);
+            this.IbImage.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Picture_Press;
+            this.IbImage.MouseHoverImage = null;
+            this.IbImage.Name = "IbImage";
+            this.IbImage.Size = new System.Drawing.Size(60, 60);
+            this.IbImage.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbImage.TabIndex = 45;
+            this.IbImage.TabStop = false;
+            this.IbImage.Click += new System.EventHandler(this.IbImage_Click);
+            // 
+            // IbDoc
+            // 
+            this.IbDoc.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbDoc.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Doc;
+            this.IbDoc.Image = global::Oreo.FileMan.Properties.Resources.File_Doc;
+            this.IbDoc.Location = new System.Drawing.Point(128, 74);
+            this.IbDoc.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Doc_Press;
+            this.IbDoc.MouseHoverImage = null;
+            this.IbDoc.Name = "IbDoc";
+            this.IbDoc.Size = new System.Drawing.Size(60, 60);
+            this.IbDoc.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbDoc.TabIndex = 44;
+            this.IbDoc.TabStop = false;
+            this.IbDoc.Click += new System.EventHandler(this.IbDoc_Click);
+            // 
+            // IbVideo
+            // 
+            this.IbVideo.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.IbVideo.DefaultImage = global::Oreo.FileMan.Properties.Resources.File_Video;
+            this.IbVideo.Image = global::Oreo.FileMan.Properties.Resources.File_Video;
+            this.IbVideo.Location = new System.Drawing.Point(25, 74);
+            this.IbVideo.MouseDownImage = global::Oreo.FileMan.Properties.Resources.File_Video_Press;
+            this.IbVideo.MouseHoverImage = null;
+            this.IbVideo.Name = "IbVideo";
+            this.IbVideo.Size = new System.Drawing.Size(60, 60);
+            this.IbVideo.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
+            this.IbVideo.TabIndex = 43;
+            this.IbVideo.TabStop = false;
+            this.IbVideo.Click += new System.EventHandler(this.IbVideo_Click);
             // 
             // LbFileCount
             // 
@@ -365,81 +390,141 @@
             // panel1
             // 
             this.panel1.BackColor = System.Drawing.Color.Gainsboro;
-            this.panel1.Controls.Add(this.label1);
+            this.panel1.Controls.Add(this.LbSearch);
             this.panel1.Controls.Add(this.LbFileCount);
-            this.panel1.Location = new System.Drawing.Point(93, 18);
+            this.panel1.Location = new System.Drawing.Point(84, 20);
             this.panel1.Name = "panel1";
             this.panel1.Size = new System.Drawing.Size(456, 29);
             this.panel1.TabIndex = 61;
             // 
-            // label1
-            // 
-            this.label1.ForeColor = System.Drawing.Color.Gray;
-            this.label1.Location = new System.Drawing.Point(14, 7);
-            this.label1.Name = "label1";
-            this.label1.Size = new System.Drawing.Size(230, 14);
-            this.label1.TabIndex = 61;
-            this.label1.Text = "搜索";
+            // LbSearch
+            // 
+            this.LbSearch.ForeColor = System.Drawing.Color.Gray;
+            this.LbSearch.Location = new System.Drawing.Point(14, 7);
+            this.LbSearch.Name = "LbSearch";
+            this.LbSearch.Size = new System.Drawing.Size(230, 14);
+            this.LbSearch.TabIndex = 61;
+            this.LbSearch.Text = "搜索";
+            this.LbSearch.Click += new System.EventHandler(this.LbSearch_Click);
+            // 
+            // TcFile
+            // 
+            this.TcFile.Controls.Add(this.TpType);
+            this.TcFile.Controls.Add(this.TpDetail);
+            this.TcFile.Location = new System.Drawing.Point(-5, -23);
+            this.TcFile.Name = "TcFile";
+            this.TcFile.SelectedIndex = 0;
+            this.TcFile.Size = new System.Drawing.Size(656, 355);
+            this.TcFile.TabIndex = 62;
+            // 
+            // TpType
+            // 
+            this.TpType.Controls.Add(this.IbImage);
+            this.TpType.Controls.Add(this.panel1);
+            this.TpType.Controls.Add(this.label2);
+            this.TpType.Controls.Add(this.PbWaiting);
+            this.TpType.Controls.Add(this.label3);
+            this.TpType.Controls.Add(this.LbDownloadCount);
+            this.TpType.Controls.Add(this.label4);
+            this.TpType.Controls.Add(this.LbCollectCount);
+            this.TpType.Controls.Add(this.label5);
+            this.TpType.Controls.Add(this.LbZipCount);
+            this.TpType.Controls.Add(this.label6);
+            this.TpType.Controls.Add(this.LbSetupCount);
+            this.TpType.Controls.Add(this.label7);
+            this.TpType.Controls.Add(this.LbMusicCount);
+            this.TpType.Controls.Add(this.label8);
+            this.TpType.Controls.Add(this.LbPictureCount);
+            this.TpType.Controls.Add(this.label9);
+            this.TpType.Controls.Add(this.LbDocCount);
+            this.TpType.Controls.Add(this.IbVideo);
+            this.TpType.Controls.Add(this.LbVideoCount);
+            this.TpType.Controls.Add(this.IbDoc);
+            this.TpType.Controls.Add(this.IbDown);
+            this.TpType.Controls.Add(this.IbMusic);
+            this.TpType.Controls.Add(this.IbLike);
+            this.TpType.Controls.Add(this.IbSetup);
+            this.TpType.Controls.Add(this.IbZip);
+            this.TpType.Location = new System.Drawing.Point(4, 22);
+            this.TpType.Name = "TpType";
+            this.TpType.Padding = new System.Windows.Forms.Padding(3);
+            this.TpType.Size = new System.Drawing.Size(648, 329);
+            this.TpType.TabIndex = 0;
+            this.TpType.Text = "tabPage1";
+            this.TpType.UseVisualStyleBackColor = true;
+            // 
+            // TpDetail
+            // 
+            this.TpDetail.Controls.Add(this.BtBack);
+            this.TpDetail.Controls.Add(this.DgvFileList);
+            this.TpDetail.Location = new System.Drawing.Point(4, 22);
+            this.TpDetail.Name = "TpDetail";
+            this.TpDetail.Padding = new System.Windows.Forms.Padding(3);
+            this.TpDetail.Size = new System.Drawing.Size(648, 329);
+            this.TpDetail.TabIndex = 1;
+            this.TpDetail.Text = "tabPage2";
+            this.TpDetail.UseVisualStyleBackColor = true;
+            // 
+            // BtBack
+            // 
+            this.BtBack.Location = new System.Drawing.Point(4, 12);
+            this.BtBack.Name = "BtBack";
+            this.BtBack.Size = new System.Drawing.Size(75, 33);
+            this.BtBack.TabIndex = 1;
+            this.BtBack.Text = "<< 返回";
+            this.BtBack.UseVisualStyleBackColor = true;
+            this.BtBack.Click += new System.EventHandler(this.BtBack_Click);
+            // 
+            // DgvFileList
+            // 
+            this.DgvFileList.AllowUserToAddRows = false;
+            this.DgvFileList.AllowUserToDeleteRows = false;
+            this.DgvFileList.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+            this.DgvFileList.Location = new System.Drawing.Point(3, 57);
+            this.DgvFileList.Name = "DgvFileList";
+            this.DgvFileList.ReadOnly = true;
+            this.DgvFileList.RowTemplate.Height = 23;
+            this.DgvFileList.Size = new System.Drawing.Size(641, 244);
+            this.DgvFileList.TabIndex = 0;
             // 
             // FileTypePartial
             // 
             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
             this.BackColor = System.Drawing.Color.White;
-            this.Controls.Add(this.panel1);
-            this.Controls.Add(this.PbWaiting);
-            this.Controls.Add(this.LbDownloadCount);
-            this.Controls.Add(this.LbCollectCount);
-            this.Controls.Add(this.LbZipCount);
-            this.Controls.Add(this.LbSetupCount);
-            this.Controls.Add(this.LbMusicCount);
-            this.Controls.Add(this.LbPictureCount);
-            this.Controls.Add(this.LbDocCount);
-            this.Controls.Add(this.LbVideoCount);
-            this.Controls.Add(this.imageButton1);
-            this.Controls.Add(this.imageButton2);
-            this.Controls.Add(this.imageButton14);
-            this.Controls.Add(this.imageButton13);
-            this.Controls.Add(this.imageButton10);
-            this.Controls.Add(this.imageButton9);
-            this.Controls.Add(this.imageButton8);
-            this.Controls.Add(this.imageButton7);
-            this.Controls.Add(this.label9);
-            this.Controls.Add(this.label8);
-            this.Controls.Add(this.label7);
-            this.Controls.Add(this.label6);
-            this.Controls.Add(this.label5);
-            this.Controls.Add(this.label4);
-            this.Controls.Add(this.label3);
-            this.Controls.Add(this.label2);
+            this.Controls.Add(this.TcFile);
             this.Name = "FileTypePartial";
             this.Size = new System.Drawing.Size(646, 326);
             this.Load += new System.EventHandler(this.FileTypePartial_Load);
             ((System.ComponentModel.ISupportInitialize)(this.PbWaiting)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton1)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton2)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton14)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton13)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton10)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton9)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton8)).EndInit();
-            ((System.ComponentModel.ISupportInitialize)(this.imageButton7)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbDown)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbLike)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbZip)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbSetup)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbMusic)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbImage)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbDoc)).EndInit();
+            ((System.ComponentModel.ISupportInitialize)(this.IbVideo)).EndInit();
             this.panel1.ResumeLayout(false);
+            this.TcFile.ResumeLayout(false);
+            this.TpType.ResumeLayout(false);
+            this.TpType.PerformLayout();
+            this.TpDetail.ResumeLayout(false);
+            ((System.ComponentModel.ISupportInitialize)(this.DgvFileList)).EndInit();
             this.ResumeLayout(false);
-            this.PerformLayout();
 
         }
 
         #endregion
 
-        private Y.Skin.YoButton.ImageButton imageButton1;
-        private Y.Skin.YoButton.ImageButton imageButton2;
-        private Y.Skin.YoButton.ImageButton imageButton14;
-        private Y.Skin.YoButton.ImageButton imageButton13;
-        private Y.Skin.YoButton.ImageButton imageButton10;
-        private Y.Skin.YoButton.ImageButton imageButton9;
-        private Y.Skin.YoButton.ImageButton imageButton8;
-        private Y.Skin.YoButton.ImageButton imageButton7;
+        private Y.Skin.YoButton.ImageButton IbDown;
+        private Y.Skin.YoButton.ImageButton IbLike;
+        private Y.Skin.YoButton.ImageButton IbZip;
+        private Y.Skin.YoButton.ImageButton IbSetup;
+        private Y.Skin.YoButton.ImageButton IbMusic;
+        private Y.Skin.YoButton.ImageButton IbImage;
+        private Y.Skin.YoButton.ImageButton IbDoc;
+        private Y.Skin.YoButton.ImageButton IbVideo;
         private System.Windows.Forms.Label label9;
         private System.Windows.Forms.Label label8;
         private System.Windows.Forms.Label label7;
@@ -459,6 +544,11 @@
         private System.Windows.Forms.PictureBox PbWaiting;
         private System.Windows.Forms.Label LbFileCount;
         private System.Windows.Forms.Panel panel1;
-        private System.Windows.Forms.Label label1;
+        private System.Windows.Forms.Label LbSearch;
+        private System.Windows.Forms.TabControl TcFile;
+        private System.Windows.Forms.TabPage TpType;
+        private System.Windows.Forms.TabPage TpDetail;
+        private System.Windows.Forms.DataGridView DgvFileList;
+        private System.Windows.Forms.Button BtBack;
     }
 }

+ 58 - 9
Fork.Net/Oreo.Plugins/Oreo.FileMan/Partials/FileTypePartial.cs

@@ -191,15 +191,6 @@ namespace Oreo.FileMan.Partials
                         {
                             var count = db.Do<UsnFiles>().Count(x => !x.IsFolder && x.Name.EndsWith(t));
                             result += count;
-                            //foreach (var l in list)
-                            //{
-                            //    bool flag = FileQueryEngine.FileIsExist(l.Drive, l.Usn);
-                            //    if (flag) { result++; }
-                            //    else
-                            //    {
-                            //        db.Del(l, true);
-                            //    }
-                            //}
                         }
                     }
                 }
@@ -207,7 +198,63 @@ namespace Oreo.FileMan.Partials
             catch (Exception e) { }
             return result;
         }
+        /// <summary>
+        /// 搜索文件(分类文件自动后缀搜索)
+        /// </summary>
+        private void SearchFile()
+        {
+        }
+
+        #region Event事件操作
+        private void LbSearch_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+        private void BtBack_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpType");
+        }
 
+        private void IbVideo_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+
+        private void IbDoc_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+
+        private void IbImage_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+
+        private void IbMusic_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+
+        private void IbSetup_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+
+        private void IbZip_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+
+        private void IbLike_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+
+        private void IbDown_Click(object sender, EventArgs e)
+        {
+            TcFile.SelectTab("TpDetail");
+        }
+        #endregion
 
         #region UI操作
         /// <summary>
@@ -258,5 +305,7 @@ namespace Oreo.FileMan.Partials
             }));
         }
         #endregion
+
+
     }
 }

+ 5 - 0
Fork.Net/Oreo.Plugins/Oreo.FileMan/Views/MainForm.Designer.cs

@@ -152,6 +152,7 @@
             // 
             // fileBackupPartial1
             // 
+            this.fileBackupPartial1.BackColor = System.Drawing.Color.White;
             this.fileBackupPartial1.Dock = System.Windows.Forms.DockStyle.Fill;
             this.fileBackupPartial1.Location = new System.Drawing.Point(3, 3);
             this.fileBackupPartial1.Name = "fileBackupPartial1";
@@ -161,6 +162,7 @@
             // LbFileType
             // 
             this.LbFileType.AutoSize = true;
+            this.LbFileType.Cursor = System.Windows.Forms.Cursors.Hand;
             this.LbFileType.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbFileType.ForeColor = System.Drawing.Color.White;
             this.LbFileType.Location = new System.Drawing.Point(365, 42);
@@ -173,6 +175,7 @@
             // LbFileBackup
             // 
             this.LbFileBackup.AutoSize = true;
+            this.LbFileBackup.Cursor = System.Windows.Forms.Cursors.Hand;
             this.LbFileBackup.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbFileBackup.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(161)))), ((int)(((byte)(213)))));
             this.LbFileBackup.Location = new System.Drawing.Point(586, 42);
@@ -185,6 +188,7 @@
             // LbFileEncrypt
             // 
             this.LbFileEncrypt.AutoSize = true;
+            this.LbFileEncrypt.Cursor = System.Windows.Forms.Cursors.Hand;
             this.LbFileEncrypt.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbFileEncrypt.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(161)))), ((int)(((byte)(213)))));
             this.LbFileEncrypt.Location = new System.Drawing.Point(447, 42);
@@ -249,6 +253,7 @@
             // LbFileDecrypt
             // 
             this.LbFileDecrypt.AutoSize = true;
+            this.LbFileDecrypt.Cursor = System.Windows.Forms.Cursors.Hand;
             this.LbFileDecrypt.Font = new System.Drawing.Font("微软雅黑", 15F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
             this.LbFileDecrypt.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(50)))), ((int)(((byte)(161)))), ((int)(((byte)(213)))));
             this.LbFileDecrypt.Location = new System.Drawing.Point(493, 42);

+ 2 - 1
Fork.Net/Y.Skin/YoForm/Irregular/IrregularForm.cs

@@ -26,10 +26,11 @@ namespace Y.Skin.YoForm.Irregular
             if (!DesignMode)
             {
                 Opacity = 0;
-                Skin = new IrregularFormSkin(this);//创建皮肤层 
+                Skin = new IrregularFormSkin(this);//创建皮肤层
                 BackgroundImage = null;//去除控件层背景
                 Skin.Show();//显示皮肤层 
                 AnimateShow();
+                if (ContextMenuStrip != null) Skin.ContextMenuStrip = ContextMenuStrip;//设置右键菜单
             }
         }