mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
389e2de969
Remove an unused reference in MainWindow.xaml.cs Fix comment for OnPropertyChanged event
30 lines
794 B
C#
30 lines
794 B
C#
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
using System.Windows.Controls;
|
|
using System.Windows.Input;
|
|
|
|
namespace CefSharp.Wpf.Example.Views.Main
|
|
{
|
|
public partial class MainView : UserControl
|
|
{
|
|
public MainView()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void OnTextBoxGotKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e)
|
|
{
|
|
var textBox = (TextBox) sender;
|
|
textBox.SelectAll();
|
|
}
|
|
|
|
private void OnTextBoxGotMouseCapture(object sender, MouseEventArgs e)
|
|
{
|
|
var textBox = (TextBox) sender;
|
|
textBox.SelectAll();
|
|
}
|
|
}
|
|
}
|