• R/O
  • SSH
  • HTTPS

scfiler: Commit


Commit MetaInfo

Révision82 (tree)
l'heure2009-04-25 02:28:30
Auteuryuki_sc

Message de Log

フォルダアイコンの表示

Change Summary

Modification

--- Plugins/ReasonableSearch/ReasonableSearch/SearchDialog.Designer.cs (revision 81)
+++ Plugins/ReasonableSearch/ReasonableSearch/SearchDialog.Designer.cs (revision 82)
@@ -23,6 +23,8 @@
2323 /// コード エディタで変更しないでください。
2424 /// </summary>
2525 private void InitializeComponent() {
26+ this.components = new System.ComponentModel.Container();
27+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(SearchDialog));
2628 this.SearchTextTextbox = new System.Windows.Forms.TextBox();
2729 this.label1 = new System.Windows.Forms.Label();
2830 this.listView = new System.Windows.Forms.ListView();
@@ -32,6 +34,7 @@
3234 this.OpenButton = new System.Windows.Forms.Button();
3335 this.ExecuteButton = new System.Windows.Forms.Button();
3436 this.cancelButton = new System.Windows.Forms.Button();
37+ this.listViewImageList = new System.Windows.Forms.ImageList(this.components);
3538 this.SuspendLayout();
3639 //
3740 // SearchTextTextbox
@@ -64,6 +67,7 @@
6467 this.listView.MultiSelect = false;
6568 this.listView.Name = "listView";
6669 this.listView.Size = new System.Drawing.Size(703, 329);
70+ this.listView.SmallImageList = this.listViewImageList;
6771 this.listView.TabIndex = 1;
6872 this.listView.UseCompatibleStateImageBehavior = false;
6973 this.listView.View = System.Windows.Forms.View.Details;
@@ -121,6 +125,12 @@
121125 this.cancelButton.UseVisualStyleBackColor = true;
122126 this.cancelButton.Click += new System.EventHandler(this.cancelButton_Click);
123127 //
128+ // listViewImageList
129+ //
130+ this.listViewImageList.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("listViewImageList.ImageStream")));
131+ this.listViewImageList.TransparentColor = System.Drawing.Color.Transparent;
132+ this.listViewImageList.Images.SetKeyName(0, "folder.ico");
133+ //
124134 // SearchDialog
125135 //
126136 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
@@ -155,5 +165,6 @@
155165 private System.Windows.Forms.Button OpenButton;
156166 private System.Windows.Forms.Button ExecuteButton;
157167 private System.Windows.Forms.Button cancelButton;
168+ private System.Windows.Forms.ImageList listViewImageList;
158169 }
159170 }
\ No newline at end of file
--- Plugins/ReasonableSearch/ReasonableSearch/SearchDialog.cs (revision 81)
+++ Plugins/ReasonableSearch/ReasonableSearch/SearchDialog.cs (revision 82)
@@ -49,7 +49,7 @@
4949 /// <summary>
5050 /// てきとう検索専用設定ファイル名
5151 /// </summary>
52- private string settingFile = "ReasonableSearchSetting.txt";
52+ private string settingFile = "Plugins\\ReasonableSearchSetting.txt";
5353
5454 private List<SpecialFolder> specialFolderList = new List<SpecialFolder>();
5555
@@ -362,6 +362,9 @@
362362 ListViewItem vItem = new ListViewItem(item.Name);
363363 vItem.SubItems.Add(item.FullName);
364364 vItem.Tag = item;
365+ if (item.Type == ItemType.Folder) {
366+ vItem.ImageIndex = 0;
367+ }
365368 this.listView.Items.Add(vItem);
366369 }
367370 }
Afficher sur ancien navigateur de dépôt.