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
