void initSpeaker() { _faceControl = new FaceControl(ButtonEyeLeft, ButtonEyeRight, PlayNoseButton); _faceControl.FaceEvent += new FaceEventHandler(OnFaceEvent); _faceControl.Nerves = NervesTrack.Value; _faceElems = new Button[4]; _faceElems[0] = ButtonEyeLeft; _faceElems[1] = ButtonEyeRight; _faceElems[2] = PlayNoseButton; _faceElems[3] = MouseButton; ButtonEyeLeft.Tag = LeftEyeCenter; ButtonEyeRight.Tag = RightEyeCenter; initProcessor((Form)_parent); _faceControl.StartAnimate(); embedEyeCenter(); }
override public void AfterProfileFormLoad() { base.AfterProfileFormLoad(); _faceControl.StartAnimate(); }