private void runButton_Click(object sender, System.EventArgs e) { ToolDescr td = (ToolDescr)toolsListBox.SelectedItem; try { td.run(PictureManager.This.CameraManager.Location.Lat, PictureManager.This.CameraManager.Location.Lng, null, null); } catch { LibSys.StatusBar.Trace("* Error: tool not valid: " + td); } }