private void ThisAddIn_Startup(object sender, System.EventArgs e) { //On démarre tout ce qui est relatif à kinect this.initGesture(); //Gestion des composants de la présentation this.Application.SlideShowBegin += Application_SlideShowBegin; this.Application.SlideShowEnd += Application_SlideShowEnd; this.ribbon = Globals.Ribbons.KinectRibbon; }
//private TimeSpan lassoLastDetectedTimestamp; /// <summary> /// Méthode déclenchée au démarrage de l'addin /// </summary> /// <param name="sender">L'objet appelant</param> /// <param name="e">Les arguments de l'évenements</param> private void KinectPowerPoint_Startup(object sender, System.EventArgs e) { //On crée, copie, etc... les chemins et fichier du projet this.initProjectFiles(); //On démarre tout ce qui est relatif à kinect this.initKinect(); //Gestion des composants de la présentation this.Application.SlideShowBegin += Application_SlideShowBegin; this.Application.SlideShowEnd += Application_SlideShowEnd; this.Application.SlideShowNextSlide += Application_SlideShowNextSlide; this.ribbon = Globals.Ribbons.KinectRibbon; //On récupère le ruban associé à l'application }