mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
24 lines
587 B
C#
24 lines
587 B
C#
using System.Windows;
|
|
using System.Windows.Controls;
|
|
using System.Windows.Input;
|
|
|
|
namespace Artemis.UI.Screens.ProfileEditor.Dialogs
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for RenameView.xaml
|
|
/// </summary>
|
|
public partial class RenameView : UserControl
|
|
{
|
|
public RenameView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void FrameworkElement_OnLoaded(object sender, RoutedEventArgs e)
|
|
{
|
|
var textBox = (TextBox) sender;
|
|
Keyboard.Focus(textBox);
|
|
textBox.SelectAll();
|
|
}
|
|
}
|
|
} |