-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathProgram.cs
39 lines (36 loc) · 1.1 KB
/
Program.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace KimeraCS
{
static class Program
{
/// <summary>
/// Punto de entrada principal para la aplicación.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
//Application.AddMessageFilter(new MenuFilter()); // Add a message filter for avoid Menu key.
Application.Run(new FrmSkeletonEditor());
}
}
//public class MenuFilter : IMessageFilter
//{
// public bool PreFilterMessage(ref Message m)
// {
// const int WM_SYSKEYDOWN = 0x0104;
// if (m.Msg == WM_SYSKEYDOWN)
// {
// bool alt = ((int)m.LParam & 0x20000000) != 0;
// if (alt && (m.WParam == new IntPtr((int)Keys.Menu)))
// return true; // eat it!
// }
// return false;
// }
//}
}