private void Mo_MouseDown(object sender, MouseEventExtArgs e) { if (e.Button == MouseButtons.Right) { wnd = SystemWindow.WindowFromPoint(e.Location); textBox1.Text = wnd.ProcessName + " " + wnd.ClassName; } }