1

私のListViewで、4つの列(説明、ユニットあたりの価格、数量、合計価格)で言います。

3番目の列を編集可能にし、Quantity列にNumericUpDownコントロールを埋め込みます。出来ますか?また、NumericUpDownコントロールを介して数量が更新されると、合計価格=数量*単位あたりの価格に基づいて合計価格も更新されます。

上記は達成可能ですか?

コードサンプルをいただければ幸いです。


ObjectListViewは私のニーズに役立ちますか?

http://objectlistview.sourceforge.net/cs/index.html

4

1 に答える 1

0

I haven't tried but I can't think of any reason why it wouldn't be possible.

This knowledge base article (KB320344) shows how to add a combobox and you should be able to adapt the code for most other kinds of controls:
http://support.microsoft.com/kb/320344

于 2010-04-12T07:23:57.300 に答える