C#:winform 将textbox文本内容和一个类的属性进行绑定(简单方法)
1.有一个类://双向绑定需要继承INotifyPropertyChangedclass student: INotifyPropertyChanged{ //score属性 private double score; //编写score属性的get、set方法 public double Score(){ get => score; ...
原创
2020-04-03 15:36:37 ·
3723 阅读 ·
0 评论