private void Mh_OnMouseMove(oepMouseEventHandler handle, oepVec3f p, int keybutton) { string lat = this.Resources["lat"] as string; string lng = this.Resources["lat"] as string; string alt = this.Resources["lat"] as string; this.coords.Dispatcher.Invoke(new Action(() => { this.coords.Text = lat + p.x.ToString() + lng + p.y.ToString() + alt + p.z.ToString(); })); }
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) { oepVec3f input = (oepVec3f)value; return(input.x.ToString() + " " + input.y.ToString() + " " + input.z.ToString()); }