摘要: 1.构造函数2.静态变量3.增加窗体属性public string name{set;get;}例如: public partial class Window1 : Window { public string name { get; set; } public int age { get; set; } public Window1() { InitializeComponent(); } }传值: private void Button_Click(object sender, Rou... 阅读全文
posted @ 2013-05-27 08:34 幕三少 阅读(4215) 评论(0) 推荐(0) 编辑