#7 add simple send dialog

This commit is contained in:
seba
2024-12-17 22:54:24 +01:00
parent cb55d0148d
commit c7e02655b0
7 changed files with 603 additions and 239 deletions

View File

@@ -0,0 +1,21 @@
using System.Windows.Forms;
namespace ntfysh_client
{
public partial class SendMessageForm : Form
{
public string Message => richTextBox.Text;
public string Title => textBox.Text;
public SendMessageForm()
{
InitializeComponent();
}
private void button2_Click(object sender, System.EventArgs e)
{
DialogResult = DialogResult.OK;
Close();
}
}
}