api.cs

来自「wince open file dialog source code」· CS 代码 · 共 22 行

CS
22
字号
using System;
using System.Runtime.InteropServices;

/// <summary>
/// Summary description for API
/// </summary>
public class API
{
	public API()
	{
		//
		// TODO: Add constructor logic here
		//
	}

    [DllImport("coredll.dll")]
    public static extern bool SetForegroundWindow(IntPtr hWnd);

    [DllImport("coredll.dll")]
    public static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?