Use MyListView to auto fill last column

This commit is contained in:
Jaex 2020-10-16 18:15:22 +03:00
parent 09686f7b15
commit 068e001d5e
2 changed files with 5 additions and 4 deletions

View file

@ -242,7 +242,7 @@ private void InitializeComponent()
this.tpWatchFolders = new System.Windows.Forms.TabPage();
this.btnWatchFolderEdit = new System.Windows.Forms.Button();
this.cbWatchFolderEnabled = new System.Windows.Forms.CheckBox();
this.lvWatchFolderList = new System.Windows.Forms.ListView();
this.lvWatchFolderList = new ShareX.HelpersLib.MyListView();
this.chWatchFolderFolderPath = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chWatchFolderFilter = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
this.chWatchFolderIncludeSubdirectories = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
@ -2091,6 +2091,7 @@ private void InitializeComponent()
// lvWatchFolderList
//
resources.ApplyResources(this.lvWatchFolderList, "lvWatchFolderList");
this.lvWatchFolderList.AutoFillColumn = true;
this.lvWatchFolderList.Columns.AddRange(new System.Windows.Forms.ColumnHeader[] {
this.chWatchFolderFolderPath,
this.chWatchFolderFilter,
@ -2390,7 +2391,7 @@ private void InitializeComponent()
private System.Windows.Forms.Label lblGIFFPS;
private System.Windows.Forms.TabPage tpWatchFolders;
private System.Windows.Forms.CheckBox cbWatchFolderEnabled;
private System.Windows.Forms.ListView lvWatchFolderList;
private HelpersLib.MyListView lvWatchFolderList;
private System.Windows.Forms.ColumnHeader chWatchFolderFolderPath;
private System.Windows.Forms.ColumnHeader chWatchFolderFilter;
private System.Windows.Forms.ColumnHeader chWatchFolderIncludeSubdirectories;

View file

@ -5617,7 +5617,7 @@
<value>Include subdirectories</value>
</data>
<data name="chWatchFolderIncludeSubdirectories.Width" type="System.Int32, mscorlib">
<value>124</value>
<value>182</value>
</data>
<data name="lvWatchFolderList.Location" type="System.Drawing.Point, System.Drawing">
<value>8, 64</value>
@ -5632,7 +5632,7 @@
<value>lvWatchFolderList</value>
</data>
<data name="&gt;&gt;lvWatchFolderList.Type" xml:space="preserve">
<value>System.Windows.Forms.ListView, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
<value>ShareX.HelpersLib.MyListView, ShareX.HelpersLib, Version=13.2.2.0, Culture=neutral, PublicKeyToken=null</value>
</data>
<data name="&gt;&gt;lvWatchFolderList.Parent" xml:space="preserve">
<value>tpWatchFolders</value>