-2

I have win 8 system with .net framework 4.5 and visual studio 2012 I had some problems when I work on a metro style app and when I searched the problems I found results in msdn with some properties and events like textBox.keyPressed, Control.ModifierKeys and some more. visual studio says method does not exist. do I have to download a class or something

4

1 に答える 1

1

Windows ストア アプリケーションの開発に使用されるフレームワークは、.Net 4.5 フレームワークのサブセットです。

それらが msdn に存在するかどうかを確認することができます。

たとえばSystem.Windows.Forms.dll、Windows ストア アプリケーション用のライブラリは存在しないため、Windows ストア アプリケーションでControl.KeyPressは上記の dll を使用できないため、イベントは存在しません。

于 2013-02-05T08:28:24.153 に答える