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);
            }
        }
Exemple #2
0
        private void OnMassStorageUnmounted(USBHost sender, EventArgs e)
        {
            if (this.onMassStorageUnmounted == null)
            {
                this.onMassStorageUnmounted = this.OnMassStorageUnmounted;
            }

            if (Program.CheckAndInvoke(this.MassStorageUnmounted, this.onMassStorageUnmounted, sender, e))
            {
                this.MassStorageUnmounted(sender, e);
            }
        }