This repository has been archived on 2022-08-05. You can view files and clone it, but cannot push or open issues or pull requests.
|
using Eto.Forms;
|
|
|
|
namespace UpToolEto.Forms
|
|
{
|
|
public class StringDialog : Dialog
|
|
{
|
|
private readonly TextBox _tb;
|
|
public string Text
|
|
{
|
|
get => _tb.Text;
|
|
set => _tb.Text = value;
|
|
}
|
|
public StringDialog(string title)
|
|
{
|
|
_tb = new TextBox();
|
|
Content = _tb;
|
|
Title = title;
|
|
}
|
|
}
|
|
} |