110,534
社区成员
发帖
与我相关
我的任务
分享
private void button1_Click(object sender, EventArgs e)
{
object obj = this;
foreach (System.Reflection.PropertyInfo info in obj.GetType().GetProperties())
{
this.listBox1.Items.Add(info.Name);
}
}
public String Str1
{
get
{
return new StackFrame().GetMethod().Name.Substring(4);
}
}