Esempio n. 1
0
        public MainWindow()
        {
            InitializeComponent();

            window = this;

            MainProgramWork.Start();

            DispatcherTimer t = new DispatcherTimer();

            t.Tick    += new EventHandler(MainProgramWork.IterationOfProgramCycle);
            t.Interval = TimeSpan.FromMilliseconds(50);
            t.Start();
        }
Esempio n. 2
0
 public void MainKeyDown(object sender, KeyEventArgs eventArgs)
 {
     MainProgramWork.ProgramKeyDown(sender, eventArgs);
 }