public InRoom_Piano() { this.InitializeComponent(); first = new HandsRecognition(0); playwave = new Playwave(); first.RHandMove += first_RHandMove; first.LHandMove += first_LHandMove; first.HandClick += first_HandClick; }
public InRoom() { this.InitializeComponent(); first = new HandsRecognition(1); playwave = new Playwave(); first.HandClick += first_HandClick; first.RHandMove += first_RHandMove; first.LHandMove += first_LHandMove; // 在此点之下插入创建对象所需的代码。 }