Exemple #1
0
        private void btnVideo_Click(object sender, EventArgs e)
        {
            if (_cpu == null)
            {
                return;
            }

            if (_screen == null)
            {
                _screen           = new FScreen(_cpu);
                _screen.Disposed += Screen_Disposed;

                _screen.Show(this);
            }

            _screen.Activate();
        }
Exemple #2
0
 void Screen_Disposed(object sender, EventArgs e)
 {
     _screen = null;
 }