mvvm里使用的快捷方式,
public class BoreholeSensorVM : NotificationObject
{
#region Property
/// <summary>
/// 巷道ID
/// </summary>
private int m_RoadWayID=0;
public int RoadWayID
{
get { return m_RoadWayID; }
set
{
m_RoadWayID = value;
this.RaisePropertyChanged("RoadWayID");
}
}
propn.snippet