摘要:
1.新建WPF项目,然后引用Microsoft.VisualBasic 2.删除原生的App.xaml,建立WpfApp类,并使该类继承自Application,在该类中实现WPF MainWindow 窗体的创建工作 public class WpfApp:System.Windows.Appli 阅读全文
摘要:
在Asp.Net Core 2.1之后的版本中,则不需要Model.IsValid验证了,程序框架已经包含了该功能。 1.建立模型 using System.ComponentModel.DataAnnomations; public class Customer{ [Required(ErrorM 阅读全文