C# で Windows フォーム アプリケーションを作成しましたが、私のコンピューターでは問題なく動作します。しかし、別の PC で何かをしようとするとエラーが発生します。
MenuItem_Click イベント ハンドラ
private void rUNToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("I'm in rUNToolStripMenuItem_Click!");
...
}
ToolStripMenuItem イベント ハンドラ
private void dataPositionToolStripMenuItem_Click(object sender, EventArgs e)
{
MessageBox.Show("I'm in dataPositionToolStripMenuItem_Click!");
...
}
私のコンピューターで実行中:
MenuItem_ClickEvent ハンドラーの出力 (私の PC で)
MessageBox appears: "I'm in rUNToolStripMenuItem_Click"
ToolStripMenuItem イベント ハンドラー (自分の PC で)
MessageBox appears: "I'm in dataPositionToolStripMenuItem_Click!"
MenuItem_Click イベント ハンドラ: (別の PC で)
Messagebox doesn't appear and an Exception is thrown
Method not found: "Void Microsoft.CSharp.RuntimeBinder.CSharpGetMemberBinder.ctor( System.String.System.Type, System.Collections.Generic.IEnumerable'1<Microsoft .CSharp.RuntimeBinder.CSharpArgument Info>)'.
これはエラーのある PrintScreen です:
スクリーン キャプチャ http://img51.imageshack.us/img51/589/errorts.jpg
私は何を間違っていますか?