1
This commit is contained in:
41
CleanMachineHMI/Utils/KeyboardTextBox.cs
Normal file
41
CleanMachineHMI/Utils/KeyboardTextBox.cs
Normal file
@@ -0,0 +1,41 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace CleanMachineHMI.Utils
|
||||
{
|
||||
public partial class KeyboardTextBox : Krypton.Toolkit.KryptonTextBox
|
||||
{
|
||||
public KeyboardTextBox()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
protected override void OnPaint(PaintEventArgs pe)
|
||||
{
|
||||
base.OnPaint(pe);
|
||||
}
|
||||
|
||||
protected override void OnGotFocus(EventArgs e)
|
||||
{
|
||||
|
||||
base.OnGotFocus(e);
|
||||
KeyboardAutoPopUp.ShowInputPanel();
|
||||
}
|
||||
|
||||
protected override void OnLostFocus(EventArgs e)
|
||||
{
|
||||
|
||||
base.OnLostFocus(e);
|
||||
KeyboardAutoPopUp.HideInputPanel();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user