public Setting() { InitializeComponent(); vm = new SettingViewModel(); this.DataContext = vm; this.lstboxLeftMenu.SelectionChanged += lstboxLeftMenu_SelectionChanged; }
public Setting_ChangePwd() { InitializeComponent(); vm = new SettingViewModel(); this.DataContext = vm; this.buttonTools.BtnSure += buttonTools_BtnSure; this.buttonTools.BtnClose += buttonTools_BtnClose; }