Esempio n. 1
0
        public Main()
        {
            // TODO: Make it possible to adjust the name of the person
            this.sender = new Sender();

            // Start up main form
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            PXCMSession session;
            pxcmStatus sts = PXCMSession.CreateInstance(out session);
            if (sts >= pxcmStatus.PXCM_STATUS_NO_ERROR)
            {
                this.mainForm = new MainForm(this, session);
                Application.Run(this.mainForm);
                session.Dispose();
            }
        }
Esempio n. 2
0
 public EmotionDetection(MainForm form)
 {
     this.form = form;
 }