private void btnAutoDetectClient_Click(object sender, EventArgs e) { _settingsService.AutoDetectUltimaOnlineDirectory(); _settingsService.UltimaOnlineExe = "client.exe"; if (string.IsNullOrEmpty(_settingsService.UltimaOnlineDirectory)) { MessageBoxEx.Show(this, "ConnectUO was unable to detect a valid installation of Ultima Online. Please re-install Ultima Online or set the path manually."); } txtClientPath.Text = string.IsNullOrEmpty(_settingsService.UltimaOnlineDirectory) ? "Not Found" : _settingsService.UltimaOnlineDirectory; }