void HandleConnectionStateChanged(LineaDelegate Dispatcher, ConnectionStateChangedEventArgs Arguments)
        {
            switch (Arguments.State)
            {
            case ConnStates.Disconnected:
                Console.WriteLine("LineaPro disconnected.");
                View.BackgroundColor = DisconnectedColor;
                ConnectionLabel.Text = "Linea disconnected";
                break;

            case ConnStates.Connecting:
                Console.WriteLine("LineaPro connecting...");
                View.BackgroundColor = ConnectingColor;
                ConnectionLabel.Text = "Linea connecting";
                break;

            case ConnStates.Connected:
                Console.WriteLine("LineaPro connected.");
                View.BackgroundColor = ConnectedColor;
                ConnectionLabel.Text = "Linea connected!";
                break;
            }
        }
        void HandleConnectionStateChanged(LineaDelegate Dispatcher, ConnectionStateChangedEventArgs Arguments)
        {
            switch (Arguments.State)
            {
                case ConnStates.Disconnected:
                    Console.WriteLine ("LineaPro disconnected.");
                    View.BackgroundColor = DisconnectedColor;
                    ConnectionLabel.Text = "Linea disconnected";
                    break;
                case ConnStates.Connecting:
                    Console.WriteLine ("LineaPro connecting...");
                    View.BackgroundColor = ConnectingColor;
                    ConnectionLabel.Text = "Linea connecting";
                    break;
                case ConnStates.Connected:
                    Console.WriteLine ("LineaPro connected.");
                    View.BackgroundColor = ConnectedColor;
                    ConnectionLabel.Text = "Linea connected!";
                    break;

            }
        }