예제 #1
0
        public MainWindow()
        {
            InitializeComponent();
            DataContext = new UserViewModel();

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