Exemplo n.º 1
0
        private void btnConnectTouch_Click(object sender, EventArgs e)
        {
            FormConnect formConnect;

            if (p2 != null)
                formConnect = new FormConnect(this, ControlInput.Type.Touch, p2);
            else
                formConnect = new FormConnect(this, ControlInput.Type.Touch);

            formConnect.ShowDialog();
        }
Exemplo n.º 2
0
        private void btnConnectKeyboard_Click(object sender, EventArgs e)
        {
            FormConnect formConnect;

            if (p1 != null)
                formConnect = new FormConnect(this, ControlInput.Type.Keyboard, p1);
            else
                formConnect = new FormConnect(this, ControlInput.Type.Keyboard);

            formConnect.ShowDialog();
        }
Exemplo n.º 3
0
        private void btnConnectKinect_Click(object sender, EventArgs e)
        {
            FormConnect formConnect;

            if (p4 != null)
                formConnect = new FormConnect(this, ControlInput.Type.Kinect, p4);
            else
                formConnect = new FormConnect(this, ControlInput.Type.Kinect);

            formConnect.ShowDialog();
        }
Exemplo n.º 4
0
        private void btnConnectGamepad_Click(object sender, EventArgs e)
        {
            FormConnect formConnect;

            if (p3 != null)
                formConnect = new FormConnect(this, ControlInput.Type.Gamepad, p3);
            else
                formConnect = new FormConnect(this, ControlInput.Type.Gamepad);

            formConnect.ShowDialog();
        }