摘要: Dim sld As SlideFor Each sld In ActivePresentation.Slides sld.NotesPage.Shapes.Placeholders(2).TextFrame.TextRange.Text = ""Next 阅读全文
posted @ 2011-04-22 21:50 毒漫情人 阅读(432) 评论(0) 推荐(0) 编辑
摘要: 1.txtzhang,f3d8071f8f789df766588469ecc6b1f5;package readtext;import java.io.BufferedReader;import java.io.File;import java.io.FileReader;import java.io.FileWriter;import java.io.IOException;import java.io.PrintWriter;publicclass ReadText { /** * @param args * @throws IOException */ publicstaticvo... 阅读全文
posted @ 2011-04-22 21:49 毒漫情人 阅读(1384) 评论(0) 推荐(0) 编辑
摘要: 1 public String ReadUrl(String FileName) throws IOException{ 2 String read; 3 String readStr =""; 4 try{ 5 URL url =new URL(FileName); 6 HttpURLConnection urlCon = (HttpURLConnection)url.openConnection(); 7 urlCon.setConnectTimeout(5000); 8 urlCon.setReadTimeo... 阅读全文
posted @ 2011-04-22 21:42 毒漫情人 阅读(11458) 评论(0) 推荐(0) 编辑
摘要: 在没有标题栏的form里,用panel做透明标题栏,实现和form标题栏一样的可移动窗体的效果。1.新建form窗体2.蒋一个panel控件放到窗体最上端,将panel控件的BackColor属性设置为Transparent透明。3.加如以下代码 1 private Point mouseOffset; //记录鼠标指针的坐标 2 privatebool isMouseDown =false; //记录鼠标按键是否按下 3 privatevoid panel2_MouseEnter(object sender, EventArgs e) 4 { 5 this.panel2.Ba... 阅读全文
posted @ 2011-04-22 21:37 毒漫情人 阅读(287) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Data; 3 using System.Configuration; 4 using System.Collections; 5 using System.Web; 6 using System.Web.Security; 7 using System.Web.UI; 8 using System.Web.UI.WebControls; 9 using System.Web.UI.WebControls.WebParts;10 using System.Web.UI.HtmlControls;11 using System.Te. 阅读全文
posted @ 2011-04-22 21:35 毒漫情人 阅读(489) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Net; 6 using System.Net.NetworkInformation; 7 8 namespace Ping 9 {10 class Program11 {12 staticvoid Main(string[] args)13 {14 for (int i =2; i <255; i++)15 {16 17 System.Net.NetworkInforma 阅读全文
posted @ 2011-04-22 21:33 毒漫情人 阅读(636) 评论(0) 推荐(0) 编辑