private void button7_Click(object sender, EventArgs e) { IDataObject dataobj = Clipboard.GetDataObject(); if (dataobj != null) { foreach (string fmt in dataobj.GetFormats()) { listBox1.Items.Add(fmt); } } }
Login to post response