CollabVMDesktopClient/CollabVMClient/Views/CollabVMScreenView.axaml.cs

20 lines
426 B
C#
Raw Normal View History

2023-08-29 08:52:35 -04:00
using Avalonia.Controls;
using CollabVMClient.ViewModels;
namespace CollabVMClient.Views
{
public partial class CollabVMScreenView : Window
{
public CollabVMScreenView()
{
InitializeComponent();
}
public void RefreshScreen()
{
screen.Source = ((CollabVMScreenViewModel)DataContext).Framebuffer;
screen.InvalidateVisual();
}
}
}