mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-11 21:15:38 +02:00
32 lines
740 B
C#
32 lines
740 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
using PersistentWindows.Common.WinApiBridge;
|
|
|
|
namespace PersistentWindows.Common
|
|
{
|
|
public partial class NameDbEntry : Form
|
|
{
|
|
public string db_entry_name = null;
|
|
public NameDbEntry()
|
|
{
|
|
User32.SetThreadDpiAwarenessContextSafe(User32.DPI_AWARENESS_CONTEXT_PER_MONITOR_AWARE_V2);
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void textBox1_TextChanged(object sender, EventArgs e)
|
|
{
|
|
}
|
|
|
|
private void button1_Click(object sender, EventArgs e)
|
|
{
|
|
db_entry_name = textBox1.Text;
|
|
Close();
|
|
}
|
|
|
|
private void hint_Click(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|