会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
rui90102
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
20
21
22
23
24
2011年10月10日
pda 中listView 默认选中行
摘要: listView1.Focus(); listView1.Items[0].Selected = true;
阅读全文
posted @ 2011-10-10 11:51 rui90102
阅读(190)
评论(0)
推荐(0)
2011年9月20日
计算字符串的宽度
摘要: Graphics graphics = CreateGraphics(); SizeF sizeF = graphics.MeasureString(lblAccount.Text, new Font(this.Font.Name,this.fontSize, FontStyle.Regular)); graphics.Dispose(); int xWidth = Convert.ToInt32(sizeF.Width);
阅读全文
posted @ 2011-09-20 11:04 rui90102
阅读(297)
评论(0)
推荐(0)
2011年7月6日
windows mobile 中打开文档
摘要: string filepath = "\\Program Files\\1.docx"; System.Diagnostics.Process p = new System.Diagnostics.Process(); System.Diagnostics.ProcessStartInfo pi = new System.Diagnostics.ProcessStartInfo(); pi.FileName = filepath; p.StartInfo = pi; p.Start();
阅读全文
posted @ 2011-07-06 16:28 rui90102
阅读(292)
评论(0)
推荐(0)
2011年7月4日
等待图标显示
摘要: Cursor.Current = Cursors.WaitCursor;Cursor.Current = Cursors.Default;
阅读全文
posted @ 2011-07-04 14:47 rui90102
阅读(189)
评论(0)
推荐(0)
2011年6月23日
进度条
摘要: private void button3_Click(object sender, EventArgs e) { Thread thread = new Thread(new ThreadStart(Send)); //模拟进度条 thread.IsBackground = true; thread.Start(); } private void Send() { int i = 0; while (i <= 100) { //显示进度 信息 this.ShowPro(i); //循环发生文件 //模拟的 i++; //模拟发送多少 Thread.Sleep(100); ...
阅读全文
posted @ 2011-06-23 17:58 rui90102
阅读(323)
评论(0)
推荐(0)
2011年6月16日
解决VS2008 开发Windows Mobile 项目生成速度慢的问题
摘要: 修改文件 C:\Windows\Microsoft.NET\Framework\v3.5\Microsoft.CompactFramework.Common.targets 中<TargetName="PlatformVerificationTask"Condition="'$(SkipPlatformVerification)'=='true'"><PlatformVerificationTaskPlatformFamilyName="$(PlatformFamilyName)"Pl
阅读全文
posted @ 2011-06-16 15:44 rui90102
阅读(1015)
评论(0)
推荐(1)
Windows Mobile中如何使PicturesBox控件上的Label控件背景透明
摘要: voidpictureBox1_Paint(objectsender,PaintEventArgse){foreach(ControlCinthis.Controls){if(CisLabel){LabelL=(Label)C;L.Visible=false;e.Graphics.DrawString(L.Text,L.Font,newSolidBrush(L.ForeColor),L.Left-this.pictureBox1.Left,L.Top-this.pictureBox1.Top);}}}
阅读全文
posted @ 2011-06-16 15:25 rui90102
阅读(951)
评论(2)
推荐(1)
上一页
1
···
20
21
22
23
24
公告