welcome to Qijie's Blog 薛其杰
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页
摘要: 1. 把列表的候选值写到一块区域, 可以说同Sheet也可以是另一个Sheet中。2. 选中要设置的列, 选择 Data > Data Validation3. 在Data Validation 窗口中, 在Settings 选项卡,选择List, 在Source中选择在1中设置的区域。点击OK.4. 设置完成。 阅读全文
posted @ 2013-07-04 17:07 零点零一 阅读(313) 评论(0) 推荐(0)
摘要: 1. 选中列表标题行, 可以设置字体居中显示,并放大字体以表示这是标题栏。2. 选中列表第一数据行,即列表标题行下一行,选择View > Freeze Panes. 阅读全文
posted @ 2013-07-04 16:58 零点零一 阅读(1131) 评论(0) 推荐(0)
摘要: 输入18位身份证号码, 提示号码是否是有效的,如果无效则建议一个有效身份证。注: 前17位必须正确才能建议一个准确的ID 号。 static void Main(string[] args) { bool isValid = true; string Id = "171126199702163111"; char[] cId = Id.ToCharArray(); if (cId.Length != 18) return; in... 阅读全文
posted @ 2013-06-06 17:25 零点零一 阅读(823) 评论(0) 推荐(0)
摘要: QLive, 中文名:薛其杰的摄影作品该客户端会不定时推送个人的摄影作品,安装这个客户端,你可以:1. 浏览最新更新的照片2. 下载喜欢的照片3. 去薛其杰的网站浏览更多照片声明:该客户端软件会使用你的Internet连接要使用该客户端你需要使用你的Microsoft Accout登陆警告:理论上该软件有权限访问你的SkyDrive中的用户信息, 图片以及文件, 但是该软件不会非法访问或使用你的任何文件。你的Microsoft Account仅限登录SkyDrive使用。 阅读全文
posted @ 2013-05-10 14:10 零点零一 阅读(1093) 评论(0) 推荐(0)
摘要: Getting start with UI test automation using the new Microsoft UI Automation library, UIWalker.dll is written by Qijie Xue (qijiexue@outlook.com). Feel free to use below codes in your UI automation testing, please mark where you get this codes if you'd like to re-post. 1 using System; 2 using Sys 阅读全文
posted @ 2013-04-10 17:25 零点零一 阅读(1926) 评论(0) 推荐(0)
摘要: Use UI Automation, to choose an item in Combobox, code like this:using System.Windows.Automation; public static void SetSelectedComboBoxItem(AutomationElement comboBox, string item) { AutomationPattern automationPatternFromElement = GetSpecifiedPattern(comboBox, "ExpandColla... 阅读全文
posted @ 2013-04-02 15:05 零点零一 阅读(738) 评论(0) 推荐(0)
摘要: 上传的图片要求不能包含debug的信息, 关于如何去掉模拟器中的debug信息:在App.xaml.cs 中, 在构造函数中, 把Application.Current.Host.Settings.EnableFrameRateCounter = true;改为:Application.Current.Host.Settings.EnableFrameRateCounter = false; 阅读全文
posted @ 2013-04-02 11:29 零点零一 阅读(144) 评论(0) 推荐(0)
摘要: For Windows Phone Apps, if you have to get the windows size, first you have to wait for the page being loaded completed, then you can get the window size by Application.Current.RootVisual.RenderSize;Best Practise:In Page Constructor, add event like below: this.Loaded += MainPage_Loaded;Then in MainP 阅读全文
posted @ 2013-04-01 17:09 零点零一 阅读(176) 评论(0) 推荐(0)
摘要: For Windows Phone Apps, when you deploy the app to your phone, it either will be deployed as App or as Game. If it was deployed as App, then you can find the App in the App list. And if it was deployed as Game, then you have to go to Game App in the App list, then you can open your app there.How to 阅读全文
posted @ 2013-04-01 16:40 零点零一 阅读(227) 评论(0) 推荐(0)
摘要: class Items:IComparable { public string Item { get; set; } public string File { get; set; } public string IsScored { get; set; } public string Weight { get; set; } public int CompareTo(object obj) { if (obj is Items) { ... 阅读全文
posted @ 2013-03-18 16:46 零点零一 阅读(419) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 22 下一页