2010-10-23から1日間の記事一覧
マーシャリング FileSystemWatcher.Changedなどのイベントハンドラ内で"Cross thread operation not valid"が出たら、 FileSystemWatcher.SynchronizingObject = this;を追加。thisはFormコンポーネントを指してる。 SynchronizingObjectについて FileSystem…
マーシャリング FileSystemWatcher.Changedなどのイベントハンドラ内で"Cross thread operation not valid"が出たら、 FileSystemWatcher.SynchronizingObject = this;を追加。thisはFormコンポーネントを指してる。 SynchronizingObjectについて FileSystem…