鹿我所录的博客

记录我在学习C#中的点点滴滴,记录下以备后来人借鉴。

 

12 2011 档案

C#中设置webBrowser为可编辑模式
摘要:C#中设置webBrowser为可编辑模式 首先在from_load事件中添加以下代码: webBrowser1.DocumentText = string.Empty; webBrowser1.Document.ExecCommand("EditMode", false, null); webBrowser1.Document.ExecCommand("LiveResize", false, null); webBrowser1.DocumentText = @"现在";然后webBrowser1里面内容就可以编辑了其中如果需要得到 阅读全文

posted @ 2011-12-25 23:23 鹿我所录 阅读(3838) 评论(0) 推荐(0) 编辑

C# 控件鼠标的移动
摘要:Cursor.Position=newPoint(MousePosition.X,MousePosition.Y-_itemheight);直接使用上面这句话就可以Cursor.Position 要设定的鼠标位置MousePosition.X, MousePosition.Y 鼠标当前的位置 阅读全文

posted @ 2011-12-16 14:38 鹿我所录 阅读(303) 评论(0) 推荐(0) 编辑

导航

统计

点击右上角即可分享
微信分享提示