static void Main(string[] args)
        {
            Sensor s = new Sensor();

            KinectProgram k = new KinectProgram(s);

            Console.WriteLine("Press any key to Exit");
            Console.ReadLine();
        }
 public KinectProgram(Sensor abbSensor)
 {
     this.abbSensor = abbSensor;
     this.abbSensor.Start();
     StartKinectSt();
 }
示例#3
0
        static void Main(string[] args)
        {
            Sensor s = new Sensor();
            Application.Run(new ControlPanel(s));

            Console.WriteLine("Press any key to Exit");
            Console.ReadLine();
        }
示例#4
0
 public ControlPanel(Sensor sensor)
 {
     this.sensor = sensor;
     sensor.Start();
     InitializeComponent();
 }