Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
カスタム ListView コントロールとトライステート チェックボックスを持つカスタム ListViewItem があります。myListView1_ItemCheckイベントを使用しているときにItemCheckEventArgs e 、アイテムのタイプが listviewitem であり、作成したカスタムではありません。カスタム listviewitem を処理するようにイベントを変更するにはどうすればよいですか私は持っていましたか?助けてくれてありがとう
myListView1_ItemCheck
ItemCheckEventArgs e
既存のコードを実際に変更することはできませんが、項目を自分の型に型キャストできるはずです。