using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Windows;
using System.Runtime.InteropServices;
namespace findwindow
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
[DllImport("user32.dll ", EntryPoint = "FindWindow ")]
private void Form1_Load(object sender, EventArgs e)
{
IntPtr HWND cc;//在这里会出现"应输入;这个提示"
::findwindow(null,"QQ用户登陆");//在findwindow前面的::这里会提示"应输入标识符"
if(cc|=null)
{