Copying to the Clipboard. : Clipboard « GUI Windows Form « C# / C Sharp






Copying to the Clipboard.


  using System;
  using System.Drawing;
  using System.Collections;
  using System.ComponentModel;
  using System.Data;
  using System.Windows.Forms;
  
  public class MainClass
  {
    public static void Main(string[] args)
    {
        Clipboard.SetDataObject("data");
    }
  }


       








Related examples in the same category

1.Copying from the Clipboard.
2.Clip Text
3.Image Clip
4.Rich-Text Paste
5.Clipboard Viewer (All Formats)