You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
641 B
C#
31 lines
641 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel;
|
|
using System.Drawing;
|
|
using System.Data;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
using System.Windows.Forms;
|
|
|
|
namespace LibTest
|
|
{
|
|
public partial class UCTestKeyCode : UserControl
|
|
{
|
|
public UCTestKeyCode()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
private void UCTestKeyCode_KeyDown(object sender, KeyEventArgs e)
|
|
{
|
|
if (e.KeyCode == Keys.Space)
|
|
{
|
|
Cursor = Cursors.WaitCursor;
|
|
|
|
return;
|
|
}
|
|
}
|
|
}
|
|
}
|