2009年9月8日

使用Powershell创建一个带GUI程序:英语阅读翻译器

摘要: 使用Powershell创建一个带GUI程序:英语阅读翻译器#Codespowershell -sta[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Windows.Fo... 阅读全文

posted @ 2009-09-08 14:22 曾令理 阅读(1611) 评论(2) 推荐(2) 编辑

使用Powershell计算自己活了多少天,以及反推自己或别人的生日

摘要: #1、某80后的生日是1980年10月1日,推算其到某一天活了几天$HisBirthdayDay = "10/1/1980" #1.1 他到当前计算日期活了多少天? $HisLivingDays = ([datetime]::Now - [datetime]$HisBirthdayDay).Days 阅读全文

posted @ 2009-09-08 14:11 曾令理 阅读(2964) 评论(2) 推荐(1) 编辑

导航