public MainWindow() { InitializeComponent(); DataContext = new UserViewModel(); var timer = new System.Threading.Timer((e) => { MyMethod(); }, null, 0, 60); }
public RegWindow() { InitializeComponent(); DataContext = new UserViewModel(); }