标签:blog http io os ar for 文件 div art
void Test2_Click(object sender, RoutedEventArgs e) { var item = (MenuItem)sender; string path = @Environment.CurrentDirectory + "\\"; Plugin plugin = ApplicationSharedData.Plugins[item.Header.ToString()]; ApplicationSharedData.ModulEventCommunication(this, "TestEvent", "DeleBindData", path, plugin, new object[] { "参数1", "参数2","" }); //注 在反射TestEvent 时候 ,TestEvent有几个参数 那么S_TestEvent 也有几个参数。 //不然会抛出异常信息,TargetParameterCountException 参数的个数不同 } private static void DeleBindData(string msg, string info,string tb) { _textbox.Text = tb; }
标签:blog http io os ar for 文件 div art
原文地址:http://www.cnblogs.com/dlbird/p/3974132.html