Beispiel #1
0
        public MainWindow()
        {
            InitializeComponent();
            DataContext = new PomodoroTimerViewModel();

            // 앱 실행 시 스크린이 센터에서 시작 되도록
            WindowStartupLocation = System.Windows.WindowStartupLocation.CenterScreen;
        }
Beispiel #2
0
 private void TimerMenuItem_Click(object sender, RoutedEventArgs e)
 {
     DataContext = new PomodoroTimerViewModel();
 }