Example #1
0
 private void Form1_FormClosing(object sender, FormClosingEventArgs e)
 {
     Win32API.RemoveClipboardFormatListener(this.Handle);
 }
Example #2
0
 public Form1()
 {
     InitializeComponent();
     Win32API.AddClipboardFormatListener(this.Handle);
 }