public void View(string path, ContextObject context) { _ip = new InfoPanel(); context.ViewerContent = _ip; _ip.DisplayInfo(path); context.IsBusy = false; }
public void BoundViewSize(string path, ContextObject context) { _ip = new InfoPanel(); context.CanResize = false; context.PreferredSize = new Size { Width = _ip.Width, Height = _ip.Height }; }
public void Cleanup() { if (_ip == null) { return; } _ip.Stop = true; _ip = null; }