SystemTrayMenu/Controls/DragDropHintForm.cs

23 lines
514 B
C#
Raw Normal View History

2019-07-05 05:04:14 +12:00
using System;
using System.Windows.Forms;
namespace SystemTrayMenu.Controls
{
public partial class DragDropHintForm : Form
{
2019-11-19 08:11:55 +13:00
public DragDropHintForm(string hintTitle, string hintText,
2019-07-05 05:04:14 +12:00
string buttonOk)
{
InitializeComponent();
Text = hintTitle;
labelHint.Text = hintText;
2019-07-05 05:04:14 +12:00
this.buttonOk.Text = buttonOk;
}
private void ButtonOk_Click(object sender, EventArgs e)
{
Close();
2019-07-05 05:04:14 +12:00
}
}
}