using Muchinfo.MTPClient.UI.ViewModels; using Muchinfo.WPF.Controls.Windows; namespace Muchinfo.MTPClient.UI.Views { /// /// RateNotices.xaml 的交互逻辑 /// public partial class RateNotices : WindowBase { public RateNotices() { InitializeComponent(); var rateNotice = new RateNoticeViewModel(); rateNotice.LoadNotices(); this.DataContext = rateNotice; btnOK.Focus(); } } }