CollabVMDesktopClient/CollabVMClient/Views/CollabVMScreenView.axaml.cs
2023-08-29 08:52:35 -04:00

19 lines
426 B
C#

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();
}
}
}