http://www.jonathanantoine.com/2011/09/24/wpf-4-5-part-7-accessing-collections-on-non-ui-threads/ http://msdn.microsoft.com/en-us/library/hh140164(v=vs.110).aspx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// 以下のマウスイベントを使う. | |
// | |
// MouseDown -- ドラッグ開始 | |
// MouseMove -- オブジェクトの移動 | |
// MouseUp -- ドラッグ終了 | |
// | |
bool _dragged; | |
Point _draggedPoint; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Diagnostics; | |
namespace BufferSample | |
{ | |
class Program | |
{ |
- デバッグ
- Ctrl+T, D
- 実行
- Ctrl+T, R
- ソリューション内のテスト実行
- Ctrl+T, S
- プロジェクト内のテスト実行
- Ctrl+T, P
- ファイル内のテスト実行
- Ctrl+T, F
- http://m.designbits.jp/13031711/
- デフォルトで有効になっていないので注意。「システム環境設定」から「キーボード」を選択して左の「サービス」を選択してチェックボックスをONにする。
-
コントロールのパネルの「言語」パネルにて、日本語をインストール
-
インストールした日本語を第一言語に指定。
-
詳細設定のところで、「Language for non-Unicode Program」を開いてCurrent Languageを日本語に設定
-
ログオフして入り直す
-
http://www.microsoft.com/ja-jp/download/details.aspx?id=40783 からVS用の言語パックをダウンロード
-
言語パックをインストール
-
参考URL
- Win+Rで「ファイル名を指定して実行」を開く
- 以下のコマンドを入力
powershell restart-computer