コード例 #1
0
ファイル: Main_Telepresence.cs プロジェクト: gr4viton/eye_out
        public void START_TP_withCaution()
        {
            INIT_TelepresenceConfigAndPrepareGui();


            TelepresenceSystem.LOG("Starting EyeOut telepresence\nby Daniel Davídek 2015");
            if (cbSafe_Warning.IsChecked == true)
            {
                if (MessageBox.Show("I hereby confirm?\n" +
                                    "[x] There is enaugh free space around the servomotor-arm!\n" +
                                    "[x] No-one is standing in the dangerous distance!",
                                    "Safety warning!", MessageBoxButton.YesNo, MessageBoxImage.Warning) != MessageBoxResult.Yes)
                {
                    TelepresenceSystem.LOG("Starting canceled.");
                    tbtToggleTP.IsChecked = false;
                    return;
                }
                else
                {
                    START_TP(TP_config);
                }
            }
            else
            {
                START_TP(TP_config);
            }
        }
コード例 #2
0
ファイル: Main_Telepresence.cs プロジェクト: gr4viton/eye_out
 public void END_TPsettings()
 {
     System.Windows.Forms.Cursor.Show(); // not working
     TelepresenceSystem.LOG("The Telepresence session is stopped");
     tbtToggleTP.IsChecked = false;
 }