Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
WindowMain 中 listViewSubjectStorageInfos 在添加 Item 时附加 Tag
Browse files Browse the repository at this point in the history
  • Loading branch information
ricky8955555 committed Dec 12, 2020
1 parent cb86a33 commit 1395359
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeewoHelper/Forms/WindowMain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ private void ButtonSubjectStorageInfoAdd_Click(object sender, EventArgs e)

if (info != null)
{
var item = new ListViewItem(new string[] { info.Name, info.Path, string.Join(", ", info.Keywords) });
var item = new ListViewItem(new string[] { info.Name, info.Path, string.Join(", ", info.Keywords) }) { Tag = info };
listViewSubjectStorageInfos.Items.Add(item);
}
}
Expand Down

0 comments on commit 1395359

Please sign in to comment.