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