Double.TryParse
private void MapCurrentLocBtn_Click(object sender, EventArgs e) { double lat, lon; if (internetConnected && Double.TryParse(currentLatitudeTbx.Text, out lat) && Double.TryParse(currentLongitudeTbx.Text, out lon)) }
System.Convert
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)