Exemple #1
0
 private void OVRARDataEntryForm_Load(object sender, EventArgs e)
 {
     GVAR.g_ManageDB.InitGame();
     Localization();
     this.UpdatedMainFormMatchInfo = new ARDataEntryUpdatedMatchInfo(UpdateMatchInfo);
     if (cbInterFace.Checked)
     {
         try
         {
             ARUdpService.Start();
         }
         catch
         {
             return;
         }
     }
 }
Exemple #2
0
 private void cbInterFace_CheckedChanged(object sender, EventArgs e)
 {
     try
     {
         if (cbInterFace.Checked)
         {
             ARUdpService.Start();
         }
         else
         {
             ARUdpService.Stop();
         }
     }
     catch
     {
         return;
     }
 }
Exemple #3
0
 public static void Start()
 {
     running    = true;
     udpService = new ARUdpService();
     udpService.Working();
 }