{"id":3038,"date":"2020-02-11T18:23:50","date_gmt":"2020-02-11T09:23:50","guid":{"rendered":"http:\/\/kats-eye.net\/info\/?p=3038"},"modified":"2020-02-11T19:02:21","modified_gmt":"2020-02-11T10:02:21","slug":"c-list%e2%80%90image-02","status":"publish","type":"post","link":"https:\/\/kats-eye.net\/info\/2020\/02\/11\/c-list%e2%80%90image-02\/","title":{"rendered":"C# ListView  \u753b\u50cf\u30c7\u30fc\u30bf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165"},"content":{"rendered":"<table style=\"width: 100%; border-collapse: collapse; border-style: none; height: 27px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 30px; border-bottom: 3px #0000ff solid;\">\n<td style=\"width: 1.5%; border-style: none; background-color: #0000ff; height: 27px;\"><\/td>\n<td style=\"width: 2.63291%; border-style: none; height: 27px; background-color: #ffffff;\"><\/td>\n<td style=\"border-style: none; height: 27px; background-color: #ffffff; width: 96.2025%;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-size: 18pt; color: #0000ff;\">C# listView\u306e\u753b\u50cf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165<\/span><\/strong><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 14pt;\">\u3000listView\u306e\u753b\u50cf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165\u306b\u3064\u3044\u3066\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u9664\u53bb\u30fb\u8ffd\u52a0\u306f\u7c21\u5358\u306b\u78ba\u8a8d\u51fa\u6765\u307e\u3057\u305f\u304c\u3001\u633f\u5165\u306f\u601d\u3063\u305f\u69d8\u306a\u52d5\u304d\u3092\u305b\u305a\u3001\u8a66\u884c\u932f\u8aa4\u306e\u672b\u306b\u529b\u6280\u3067\u518d\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u3068\u306a\u308a\u307e\u3057\u305f\u3002<\/span><\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: none; height: 27px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 30px; border-bottom: 3px #0000ff solid;\">\n<td style=\"width: 1.5%; border-style: none; background-color: #0000ff; height: 27px;\"><\/td>\n<td style=\"width: 2.63291%; border-style: none; height: 27px; background-color: #ffffff;\"><\/td>\n<td style=\"border-style: none; height: 27px; background-color: #ffffff; width: 96.2025%;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-size: 18pt; color: #0000ff;\">\u753b\u50cf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165\u30d7\u30ed\u30b0\u30e9\u30e0<\/span><\/strong><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 14pt;\">\u3000\u753b\u50cf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165\u306e\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3057\u3001\u52d5\u4f5c\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<br \/>\n<\/span><br \/>\n<span style=\"text-decoration: underline; font-size: 14pt;\">\uff08\uff11\uff09\u8d77\u52d5\u76f4\u5f8c<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3000\u6307\u5b9a\u30d5\u30a9\u30eb\u30c0\u30fc\u753b\u50cf\u3092\u30b5\u30e0\u30cd\u30a4\u30eb\u5316\u3057\u3001imageList1\u306b\u753b\u50cf\u767b\u9332\u3057\u3001listView1\u306e\u767b\u9332\u9805\u76ee\u3068\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u756a\u53f7\u3067\u7d10\u4ed8\u3051\u3057\u753b\u50cf\u3092\u8868\u793a\u3057\u307e\u3059\u3002\u4e0b\u56f3\u306elistView1\uff08\u5de6\uff09\u306e\u767b\u9332\u753b\u50cf\u8868\u793a\u3068\u53f3\u5074\u306elistBox1<\/span><span style=\"font-size: 14pt;\">\u306b\u8868\u793a\u3057\u305flistView1\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u60c5\u5831\u8868\u793a\u306e\u9806\u756a\u306f\u4e00\u81f4\u3057\u3066\u3044\u307e\u3059\u3002<\/span><br \/>\n<img loading=\"lazy\" class=\"aligncenter size-full wp-image-3042\" src=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/001.jpg\" alt=\"\" width=\"835\" height=\"591\" srcset=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/001.jpg 835w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/001-300x212.jpg 300w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/001-768x544.jpg 768w\" sizes=\"(max-width: 835px) 100vw, 835px\" \/><br \/>\n<span style=\"text-decoration: underline; font-size: 14pt;\">\uff08\uff12\uff09\u9664\u53bb\u51e6\u7406<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3000\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u9664\u53bb\u3059\u308b\u753b\u50cf\u306e\u8868\u793a\u4f4d\u7f6e\u3092\u5165\u529b\u3057\u3001\u9664\u53bb\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u753b\u50cf\u304c\u524a\u9664\u3055\u308c\u307e\u3059\u3002\u4e0b\u56f3\u306e\u4f8b\u3067\u306f\uff08\uff12\uff09\u306e\u4f4d\u7f6e\u306b\u3042\u308b\u753b\u50cf\u304c\u9664\u53bb\u3055\u308c\u307e\u3059\u306e\u3067\u3001\uff12\u56de\u51e6\u7406\u3092\u5b9f\u884c\u3059\u308b\u3068No\u3014\uff12\u3015\u3068No\u3014\uff13\u3015\u306e\u30c7\u30fc\u30bf\u304c\u9664\u53bb\u3055\u308c\u307e\u3059\u3002\u9664\u53bb\u5f8c\u306e\u767b\u9332\u753b\u50cf\u8868\u793a\u3068listView1\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u60c5\u5831\u306e\u8868\u793a\u9806\u756a\u306f\u4e00\u81f4\u3057\u3066\u3044\u307e\u3059\u3002<\/span><br \/>\n<img loading=\"lazy\" class=\"aligncenter size-full wp-image-3043\" src=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/002.jpg\" alt=\"\" width=\"834\" height=\"627\" srcset=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/002.jpg 834w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/002-300x226.jpg 300w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/002-768x577.jpg 768w\" sizes=\"(max-width: 834px) 100vw, 834px\" \/><br \/>\n<span style=\"text-decoration: underline; font-size: 14pt;\">\uff08\uff13\uff09\u8ffd\u52a0\u51e6\u7406<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3000\u8ffd\u52a0\u51e6\u7406\u306f\u3001\u30c6\u30ad\u30b9\u30c8\u30dc\u30c3\u30af\u30b9\u306b\u8ffd\u52a0\u753b\u50cf\u756a\u53f7\u3092\u5165\u529b\u3057\u3001\u8ffd\u52a0\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u5bfe\u8c61\u753b\u50cf\u3092\u6700\u5f8c\u5c3e\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u4e0b\u56f3\u4f8b\u3067\u306fNo\u3014\uff12\u3015\u3068No\u3014\uff17\u3015\u306e\u753b\u50cf\u3092\u6700\u5f8c\u5c3e\u306b\u8ffd\u52a0\u3057\u307e\u3059\u3002\u8ffd\u52a0\u5f8c\u306e\u767b\u9332\u753b\u50cf\u8868\u793a\u3068listView1\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u60c5\u5831\u306e\u8868\u793a\u9806\u306f\u4e00\u81f4\u3057\u3066\u3044\u307e\u3059\u3002<\/span><br \/>\n<img loading=\"lazy\" class=\"aligncenter size-full wp-image-3044\" src=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/003.jpg\" alt=\"\" width=\"836\" height=\"619\" srcset=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/003.jpg 836w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/003-300x222.jpg 300w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/003-768x569.jpg 768w\" sizes=\"(max-width: 836px) 100vw, 836px\" \/><br \/>\n<span style=\"text-decoration: underline; font-size: 14pt;\">\uff08\uff14\uff09\u633f\u5165\u51e6\u7406<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3000\u633f\u5165\u51e6\u7406\u306f\u6307\u5b9a\u4f4d\u7f6e\u306b\u6307\u5b9a\u753b\u50cf\u3092\u633f\u5165\u3059\u308b\u3053\u3068\u3092\u610f\u56f3\u3057\u305f\u3082\u306e\u3067\u3059\u3002\u4e0b\u56f3\u306e\u4f8b\u3067\u306f\u3001\uff08\uff12\uff09\u4f4d\u7f6e\u306bNo\u3014\uff15\u3015\u306e\u753b\u50cf\u3092\u633f\u5165\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u753b\u50cf\u306f\u6700\u5f8c\u5c3e\u306b\u8ffd\u52a0\u3055\u308c\u3066\u3044\u307e\u3059\u3002\u4e00\u65b9\u3001listView1\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u60c5\u5831\u306e\u8868\u793a\u9806\u306f\u610f\u56f3\u3057\u305f\u901a\u308a\u306b\u9069\u5207\u306b\u633f\u5165\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/span><br \/>\n<span style=\"font-size: 14pt;\">\u3000Refresh() \u306b\u3088\u308b\u518d\u63cf\u753b\u3001sorting \u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u8a2d\u5b9a\u3057\u307e\u3057\u305f\u304c\u52b9\u679c\u306f\u3042\u308a\u307e\u305b\u3093\u3002\uff08sorting \u30d7\u30ed\u30d1\u30c6\u30a3\u306f\u305d\u3082\u305d\u3082TEXT\u306b\u5bfe\u3057\u3066\u51e6\u7406\u3059\u308b\u3082\u306e\u3067\u3057\u305f\u3002\uff09<br \/>\n<\/span><img loading=\"lazy\" class=\"aligncenter size-full wp-image-3045\" src=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/004.jpg\" alt=\"\" width=\"835\" height=\"620\" srcset=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/004.jpg 835w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/004-300x223.jpg 300w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/004-768x570.jpg 768w\" sizes=\"(max-width: 835px) 100vw, 835px\" \/><\/p>\n<p>&nbsp;<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: none; height: 27px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 30px; border-bottom: 3px #0000ff solid;\">\n<td style=\"width: 1.5%; border-style: none; background-color: #0000ff; height: 27px;\"><\/td>\n<td style=\"width: 2.63291%; border-style: none; height: 27px; background-color: #ffffff;\"><\/td>\n<td style=\"border-style: none; height: 27px; background-color: #ffffff; width: 96.2025%;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-size: 18pt; color: #0000ff;\">listView\u633f\u5165\u51e6\u7406\u6642\u306e\u518d\u8868\u793a<\/span><\/strong><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 14pt;\">\u3000\u4ed6\u306b\u826f\u3044\u65b9\u6cd5\u304c\u898b\u3064\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u3001listView\u3092\u518d\u8868\u793a\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3057\u305f\u3002\u524d\u306b\u3082\u66f8\u3044\u305f\u901a\u308a\u3001\u633f\u5165\u51e6\u7406\u6642\u306f\u753b\u50cf\u306f\u6700\u5f8c\u5c3e\u306b\u8ffd\u52a0\u3055\u308c\u307e\u3059\u304c\u3001\u30ea\u30b9\u30c8\u9805\u76ee\u30c7\u30fc\u30bf\u306f\u610f\u56f3\u3057\u305f\u901a\u308a\u633f\u5165\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u30ea\u30b9\u30c8\u9805\u76ee\u30c7\u30fc\u30bf\u3092\u5143\u306b\u00a0 listView\u3092\u518d\u8868\u793a\u3057\u307e\u3059\u3002<br \/>\n<span style=\"font-size: 14pt;\">\u3000\u4e0b\u8a18\u306f\u5168\u30c6\u30b9\u30c8\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002\u518d\u8868\u793a\u306f\u884c\u756a\uff18\uff18\uff5e\uff19\uff18\u3067\u30ea\u30b9\u30c8\u9805\u76ee\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u884c\u756a\uff11\uff10\uff10\uff5e\uff11\uff10\uff18\u3067\u4e00\u65e6\u00a0 listView\u3092\u30af\u30ea\u30a2\u5f8c\u3001\u6539\u3081\u3066\u30ea\u30b9\u30c8\u9805\u76ee\u3092\u767b\u9332\u3057\u3066\u3044\u307e\u3059\u3002<\/span><\/span><\/p>\n<pre class=\"height-set:true height:600 lang:c# mark:100-108 decode:true \" title=\"listView Remove Insert Add Test\">using System;\r\nusing System.Collections.Generic;\r\nusing System.ComponentModel;\r\nusing System.Data;\r\nusing System.Drawing;\r\nusing System.Linq;\r\nusing System.Text;\r\nusing System.Threading.Tasks;\r\nusing System.Windows.Forms;\r\n\r\nusing System.IO;\r\n\r\nnamespace ListViewTest\r\n{\r\n    public partial class Form3 : Form\r\n    {\r\n        public Form3()\r\n        {\r\n            InitializeComponent();\r\n        }\r\n\r\n\r\n        private void Form3_Load(object sender, EventArgs e)\r\n        {\r\n            listView1.LargeImageList = imageList1;\r\n            get_pic_thumbnail();\r\n            chk_listView1(0);\r\n        }\r\n\r\n       \r\n        private void get_pic_thumbnail()\r\n        {\r\n            listView1.Clear();\r\n            imageList1.Images.Clear();\r\n\r\n            string imageDir = @\"\";\r\n            string[] jpgFiles = System.IO.Directory.GetFiles(imageDir, \"*.PNG\");\r\n\r\n            int width = 80;\r\n            int height = 80;\r\n\r\n            imageList1.ImageSize = new Size(width, height);\r\n            listView1.LargeImageList = imageList1;\r\n\r\n            \/\/ imageList , listView \u767b\u9332\r\n            for (int i = 0; i &lt; jpgFiles.Length; i++)\r\n            {\r\n                String F_Name = Path.GetFileName(jpgFiles[i]);\r\n                Image original = Bitmap.FromFile(jpgFiles[i]);\r\n                Image thumbnail = createThumbnail(original, width, height);\r\n\r\n                imageList1.Images.Add(F_Name, thumbnail);\r\n                \/\/imageList1.Images.Add(thumbnail);\r\n                listView1.Items.Add(F_Name, i);\r\n\r\n\r\n                original.Dispose();\r\n                thumbnail.Dispose();\r\n            }\r\n        }\r\n\r\n\r\n        \/\/ \u5e45w\u3001\u9ad8\u3055h\u306eImage\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\r\n        Image createThumbnail(Image image, int w, int h)\r\n        {\r\n            Bitmap canvas = new Bitmap(w, h);\r\n\r\n            Graphics g = Graphics.FromImage(canvas);\r\n            g.FillRectangle(new SolidBrush(Color.White), 0, 0, w, h);\r\n\r\n            float fw = (float)w \/ (float)image.Width;\r\n            float fh = (float)h \/ (float)image.Height;\r\n\r\n            float scale = Math.Min(fw, fh);\r\n            fw = image.Width * scale;\r\n            fh = image.Height * scale;\r\n\r\n            g.DrawImage(image, (w - fw) \/ 2, (h - fh) \/ 2, fw, fh);\r\n            g.Dispose();\r\n\r\n            return canvas;\r\n        }\r\n\r\n        private void chk_listView1(int kbn)\r\n        {\r\n            listBox1.Items.Clear();\r\n            \/\/ \u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\uff11(listView1)\u30d7\u30ed\u30d1\u30c6\u30a3\r\n            int listViewCnt1 = listView1.Items.Count;\r\n            string[,] dat_vw1 = new string[listViewCnt1, 4];\r\n            for (int i = 0; i &lt; listViewCnt1; i++)\r\n            {\r\n                dat_vw1[i, 0] = listView1.Items[i].Index.ToString();\r\n                dat_vw1[i, 1] = listView1.Items[i].Text;\r\n                dat_vw1[i, 2] = listView1.Items[i].ImageIndex.ToString();\r\n                dat_vw1[i, 3] = listView1.Items[i].ImageKey;\r\n\r\n                listBox1.Items.Add(dat_vw1[i, 0] + \"  ,  \" + dat_vw1[i, 1] + \"  ,  \" + dat_vw1[i, 2] + \"  ,  \" + dat_vw1[i, 3]);\r\n            }\r\n\r\n            \/\/ listView\u3092\u4e00\u65e6\u521d\u671f\u5316\u3057\u518d\u8868\u793a\u3059\u308b\r\n            if (kbn == 1) { \r\n                listView1.Clear();\r\n\r\n                for (int i = 0; i &lt; dat_vw1.GetLength(0); i++)\r\n                {\r\n                    listView1.Items.Add(dat_vw1[i, 1], int.Parse(dat_vw1[i, 2]));\r\n                }\r\n            }\r\n        }\r\n\r\n        \/\/ \u9664\u53bb\uff08\u524a\u9664\uff09\r\n        private void Button1_Click(object sender, EventArgs e)\r\n        {\r\n            int tmp = int.Parse(textBox1.Text.Trim()) - 1 ;\r\n            listView1.Items.RemoveAt(tmp);\r\n\r\n            chk_listView1(0);\r\n        }\r\n\r\n        \/\/ \u518d\u8aad\u8fbc\r\n        private void Button2_Click(object sender, EventArgs e)\r\n        {\r\n            get_pic_thumbnail();\r\n\r\n            chk_listView1(0);\r\n        }\r\n\r\n        \/\/ \u8ffd\u52a0\r\n        private void Button3_Click(object sender, EventArgs e)\r\n        {\r\n            int tmp = int.Parse(textBox2.Text.Trim()) - 1;\r\n\r\n            listView1.Items.Add(imageList1.Images.Keys[tmp], tmp);\r\n\r\n            chk_listView1(0);\r\n        }\r\n\r\n        \/\/ \u633f\u5165\r\n        private void Button4_Click(object sender, EventArgs e)\r\n        {\r\n            int tmp1 = int.Parse(textBox3.Text.Trim()) - 1;\r\n            int tmp2 = int.Parse(textBox4.Text.Trim()) - 1;\r\n\r\n            listView1.Items.Insert(tmp2, imageList1.Images.Keys[tmp1], tmp1);\r\n\r\n            chk_listView1(1);\r\n        }\r\n    }\r\n}<\/pre>\n<p><span style=\"font-size: 14pt;\">\u3000\u4e0b\u56f3\u306e\u901a\u308a\u3001\u3068\u308a\u3042\u3048\u305a\u610f\u56f3\u3057\u305f\u633f\u5165\u7d50\u679c\u3092\u5f97\u308b\u3053\u3068\u306f\u51fa\u6765\u307e\u3057\u305f\u3002<\/span><br \/>\n<img loading=\"lazy\" class=\"aligncenter size-full wp-image-3062\" src=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/005.jpg\" alt=\"\" width=\"831\" height=\"619\" srcset=\"https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/005.jpg 831w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/005-300x223.jpg 300w, https:\/\/kats-eye.net\/info\/wp-content\/uploads\/2020\/02\/005-768x572.jpg 768w\" sizes=\"(max-width: 831px) 100vw, 831px\" \/><\/p>\n<p>&nbsp;<\/p>\n<table style=\"width: 100%; border-collapse: collapse; border-style: none; height: 27px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 30px; border-bottom: 3px #0000ff solid;\">\n<td style=\"width: 1.5%; border-style: none; background-color: #0000ff; height: 27px;\"><\/td>\n<td style=\"width: 2.63291%; border-style: none; height: 27px; background-color: #ffffff;\"><\/td>\n<td style=\"border-style: none; height: 27px; background-color: #ffffff; width: 96.2025%;\"><span style=\"font-family: verdana, geneva, sans-serif;\"><strong><span style=\"font-size: 18pt; color: #0000ff;\">\u53c2\u8003\u30b5\u30a4\u30c8\u306a\u3069<\/span><\/strong><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><span style=\"font-size: 14pt;\">\u3000\u4eca\u56de\u306e listView\u753b\u50cf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165\u6a5f\u80fd\u3092\u4f7f\u3063\u3066\u3001\u753b\u50cf\u914d\u7f6e\u3092\u5909\u66f4\u3059\u308b\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u691c\u8a0e\u3059\u308b\u4e88\u5b9a\u3067\u3059\u3002<br \/>\n<span style=\"font-size: 14pt;\">\u3000\u53c2\u8003\u3068\u3057\u305f\u30b5\u30a4\u30c8\u3092\u5e7e\u3064\u304b\u6319\u3052\u3066\u304a\u304d\u307e\u3059\u3002<\/span><\/span><\/p>\n<p>\u2460<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/dotnet\/api\/system.windows.forms.imagelist.imagecollection.add?view=netframework-4.8\">ImageList.ImageCollection.Add \u30e1\u30bd\u30c3\u30c9<\/a><br \/>\n\u2461<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/dotnet\/api\/system.windows.forms.listview.listviewitemcollection.add?view=netframework-4.8\">ListView.ListViewItemCollection.Add \u30e1\u30bd\u30c3\u30c9<\/a><br \/>\n\u2462<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/dotnet\/api\/system.windows.forms.listview.listviewitemcollection.insert?view=netframework-4.8\">ListView.ListViewItemCollection.Insert \u30e1\u30bd\u30c3\u30c9<\/a><br \/>\n\u2463<a href=\"https:\/\/docs.microsoft.com\/ja-jp\/dotnet\/framework\/winforms\/controls\/how-to-add-and-remove-items-with-the-windows-forms-listview-control\"><span style=\"font-size: 10pt;\">\u65b9\u6cd5 : Windows \u30d5\u30a9\u30fc\u30e0 ListView \u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u9805\u76ee\u3092\u8ffd\u52a0\u304a\u3088\u3073\u524a\u9664\u3059\u308b<\/span><\/a><br \/>\n\u2464<a href=\"https:\/\/www.atmarkit.co.jp\/ait\/articles\/0508\/12\/news091.html\">ListView\u30b3\u30f3\u30c8\u30ed\u30fc\u30eb\u3067\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3092\u4e00\u89a7\u8868\u793a\u3059\u308b\u306b\u306f\uff1f<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C# listView\u306e\u753b\u50cf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165 \u3000listView\u306e\u753b\u50cf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165\u306b\u3064\u3044\u3066\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002\u9664\u53bb\u30fb\u8ffd\u52a0\u306f\u7c21\u5358\u306b\u78ba\u8a8d\u51fa\u6765\u307e\u3057\u305f\u304c\u3001\u633f\u5165\u306f\u601d\u3063\u305f\u69d8\u306a\u52d5\u304d\u3092\u305b\u305a\u3001\u8a66\u884c\u932f\u8aa4\u306e\u672b\u306b\u529b\u6280\u3067\u518d\u8868\u793a\u3055\u305b\u308b\u3053\u3068\u3068\u306a\u308a\u307e\u3057\u305f &hellip; <a href=\"https:\/\/kats-eye.net\/info\/2020\/02\/11\/c-list%e2%80%90image-02\/\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">C# ListView  \u753b\u50cf\u30c7\u30fc\u30bf\u9664\u53bb\u30fb\u8ffd\u52a0\u30fb\u633f\u5165<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3062,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[75],"tags":[80,82,81],"_links":{"self":[{"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/posts\/3038"}],"collection":[{"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/comments?post=3038"}],"version-history":[{"count":25,"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/posts\/3038\/revisions"}],"predecessor-version":[{"id":3071,"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/posts\/3038\/revisions\/3071"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/media\/3062"}],"wp:attachment":[{"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/media?parent=3038"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/categories?post=3038"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kats-eye.net\/info\/wp-json\/wp\/v2\/tags?post=3038"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}