登 录
存储:
Clipboard.Clear(); try { Clipboard.SetData(DataFormats.Rtf, rtb_send.SelectedRtf); } catch (Exception ex) { Console.WriteLine(ex.Message); throw ex; }
读取:
IDataObject IDO = Clipboard.GetDataObject(); if (IDO.GetDataPresent(DataFormats.Rtf)) rtb_send.SelectedRtf = (String)IDO.GetData(DataFormats.Rtf);
抱歉!评论已关闭.