Пример #1
0
        public MainWindow(string username)
        {
            InitializeComponent();
            recordPage              = new RecordPage();
            this.userName           = username;
            MessageDelay.Visibility = Visibility.Hidden;

            DispatcherTimer timer = new DispatcherTimer();

            timer.Interval = TimeSpan.FromMilliseconds(1000);
            timer.Tick    += timer_Tick;
            timer.Start();
        }
Пример #2
0
 private void OpenRecordMenu(object sender, RoutedEventArgs e)
 {
     recordPage = new RecordPage();
     recordPage.Show();
 }