mirror of
https://github.com/kangyu-california/PersistentWindows.git
synced 2025-05-10 20:45:38 +02:00
31 lines
669 B
C#
31 lines
669 B
C#
using System;
|
|
using System.Windows.Forms;
|
|
|
|
using PersistentWindows.Common.WinApiBridge;
|
|
|
|
namespace PersistentWindows.Common
|
|
{
|
|
public partial class LayoutProfile : Form
|
|
{
|
|
public char snapshot_name;
|
|
|
|
public LayoutProfile()
|
|
{
|
|
User32.SetThreadDpiAwarenessContextSafe();
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void ProfileName_TextChanged(object sender, EventArgs e)
|
|
{
|
|
var str = ((TextBox)sender).Text;
|
|
snapshot_name = Char.ToLower(str[0]);
|
|
Close();
|
|
}
|
|
|
|
|
|
private void LayoutProfile_Load(object sender, EventArgs e)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|