private string _file=string.Empty;
public string file
{
get=>_file;
set
{
_file=value;
Method();
}
}
private void Method()
{
//file值变化之后触发的事件
}
private string _file=string.Empty;
public string file
{
get=>_file;
set
{
_file=value;
Method();
}
}
private void Method()
{
//file值变化之后触发的事件
}