string fielN; private void button1_Click(object sender, EventArgs e) { OpenFileDialog saveFileDialog1 = new OpenFileDialog(); saveFileDialog1.Filter = "JPG files(*.JPG)|*.JPG|All files(*.*)|*.*"; saveFileDialog1.RestoreDirectory = true; //saveFileDialog1.FileName = DefaultFileName; fielN = string.Empty; if (saveFileDialog1.ShowDialog() == DialogResult.OK) { //获得文件路径 fielN = saveFileDialog1.FileName.ToString(); this.pictureBox1.Image = Image.FromFile(fielN); } } private void button2_Click(object sender, EventArgs e) { //string file = @"C:" + Guid.NewGuid().ToString("N") + ".JPG"; //this.pictureBox1.Image.Save(fielN); Image img = Image.FromFile(fielN); Clipboard.SetImage(img); }
http://blog.csdn.net/foart/article/details/6851669
c# 图片复制、粘贴、打开、保存、取一小块图、抓屏截图
http://blog.sina.com.cn/s/blog_4b3485000100u0qd.html
QQ输入框能不能接受,那就不知道了,Word Excel 等可以这样直接设置图文并茂的内容
http://bbs.csdn.net/topics/390482579
winform 中向richtextbox插入图片
http://www.cnblogs.com/zhangjidong/archive/2005/06/16/175536.html
Setting HTML and plain text formatting to clipboard
https://theartofdev.com/2012/11/11/setting-html-and-plain-text-formatting-to-clipboard/
探讨如何利用C#登录QQ邮箱进行群邮件的发送
http://www.oschina.net/question/565065_66047
http://www.cnblogs.com/wuhuacong/archive/2011/01/18/1937329.html
C# Dictionary用法总结
http://www.cnblogs.com/linlf03/archive/2011/12/09/2282574.html
textbox光标定位与字符插入
http://blog.csdn.net/u013139930/article/details/52513960
SendKeys.Send()的使用
http://blog.sina.com.cn/s/blog_8c804f6d0100wi57.html
C#获取当前光标位置的方法收集
http://www.sowsoy.com/topics-533.html
跟大家分享一下directUI的心得。
http://bbs.csdn.net/topics/340239295?list=lz