Here is a sample program that will monitor your clipboard , as of right now it can only monitor text or images...
Download the Source Code :
ClipboardMonitor.rarCode:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
timer1.Enabled = true;
}
private void button1_Click(object sender, EventArgs e)
{
this.Close();
}
private void timer1_Tick(object sender, EventArgs e)
{
object cbText = "";
object cbFormat;
cbFormat = Clipboard.GetDataObject();
if (Clipboard.ContainsText() == true)
{
textBox1.Visible = true;
pictureBox1.Visible = false;
cbText = Clipboard.GetData(DataFormats.Text);
textBox1.Text = cbText.ToString();
}
if (Clipboard.ContainsImage() == true)
{
Object imgBMP;
textBox1.Visible = false;
pictureBox1.Visible = true;
imgBMP = Clipboard.GetImage();
pictureBox1.Image = ( Clipboard.GetImage() );
}
}
}
}