private void updateFrameStats(WriteableBitmap bmp, int w, int h) { try { Dispatcher.Invoke(new Action(() => { imgPreview.Source = bmp; imgPreview.Stretch = Stretch.UniformToFill; lblStatus.Content = fps + " fps " + w + "x" + h + " " + selectedTool.ToString(); })); } catch { } }
public override string ToString() { return(">Name:" + name + ",ID:" + id + ",Type:" + type.ToString() + ",ShowMode:" + mode.ToString() + ",Collider:" + collider.ToString()); }