Esempio n. 1
0
        private void OnKeyboardConnected(FEZCobraIIEco 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);
            }
        }
Esempio n. 2
0
        private void OnMassStorageUnmounted(FEZCobraIIEco 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);
            }
        }
Esempio n. 3
0
        private void OnMouseConnected(FEZCobraIIEco 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);
            }
        }
Esempio n. 4
0
        private void OnMassStorageMounted(FEZCobraIIEco 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);
            }
        }