Exemplo n.º 1
0
        private void OnKeyboardConnected(FEZCobraIINet sender, Keyboard keyboard)
        {
            if (this.onKeyboardConnected == null)
            {
                this.onKeyboardConnected = this.OnKeyboardConnected;
            }

            if (GT.Program.CheckAndInvoke(this.KeyboardConnected, this.onKeyboardConnected, sender, keyboard))
            {
                this.KeyboardConnected(sender, keyboard);
            }
        }
Exemplo n.º 2
0
        private void OnMassStorageUnmounted(FEZCobraIINet sender, EventArgs e)
        {
            if (this.onMassStorageUnmounted == null)
            {
                this.onMassStorageUnmounted = this.OnMassStorageUnmounted;
            }

            if (GT.Program.CheckAndInvoke(this.MassStorageUnmounted, this.onMassStorageUnmounted, sender, e))
            {
                this.MassStorageUnmounted(sender, e);
            }
        }
Exemplo n.º 3
0
        private void OnMouseConnected(FEZCobraIINet sender, Mouse mouse)
        {
            if (this.onMouseConnected == null)
            {
                this.onMouseConnected = this.OnMouseConnected;
            }

            if (GT.Program.CheckAndInvoke(this.MouseConnected, this.onMouseConnected, sender, mouse))
            {
                this.MouseConnected(sender, mouse);
            }
        }
Exemplo n.º 4
0
        private void OnMassStorageMounted(FEZCobraIINet sender, GT.StorageDevice device)
        {
            if (this.onMassStorageMounted == null)
            {
                this.onMassStorageMounted = this.OnMassStorageMounted;
            }

            if (GT.Program.CheckAndInvoke(this.MassStorageMounted, this.onMassStorageMounted, sender, device))
            {
                this.MassStorageMounted(sender, device);
            }
        }