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; } } }
private void cbInterFace_CheckedChanged(object sender, EventArgs e) { try { if (cbInterFace.Checked) { ARUdpService.Start(); } else { ARUdpService.Stop(); } } catch { return; } }