plugin system docs

custom buttons for plugins
calibration functions for Leeform
This commit is contained in:
EugeneTes
2026-03-30 16:15:47 +02:00
parent a1838cafeb
commit 4bd117af47
76 changed files with 4521 additions and 59 deletions

View File

@@ -0,0 +1,23 @@
using Avalonia.Controls;
using Avalonia.Input;
namespace VisionBuilder.UI.Avalonia.Uno.Views;
public partial class PasswordDialog : Window
{
public PasswordDialog()
{
InitializeComponent();
BtnOk.Click += (_, _) => Close(TxtPassword.Text);
BtnCancel.Click += (_, _) => Close(null);
TxtPassword.KeyDown += (_, e) =>
{
if (e.Key == Key.Enter)
Close(TxtPassword.Text);
else if (e.Key == Key.Escape)
Close(null);
};
}
}