20 lines
426 B
C#
20 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();
|
||
|
}
|
||
|
}
|
||
|
}
|