public static void RefreshView(Toplevel toplevel, View obj) { toplevel.Redraw(obj.Bounds); Application.Refresh(); }