SystemTrayMenu/Controls/DragDropHintForm.cs

23 lines
529 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();
this.Text = hintTitle;
this.labelHint.Text = hintText;
this.buttonOk.Text = buttonOk;
}
private void ButtonOk_Click(object sender, EventArgs e)
{
this.Close();
}
}
}