摘要: 用Math类进行一些简单的科学计算,包括幂数,指数,对数等的计算: 更多相关计算,参考微软帮助:Mah类的使用http://www.msdn.net/library/chs/default.asp?url=/library/CHS/cpref/html/frlrfsystemcollectionsi 阅读全文
posted @ 2017-01-18 15:14 wzwyc 阅读(10470) 评论(1) 推荐(1)
摘要: 装逼的面试官和装逼的程序员 我面试别人的时候,经常是按这种路子来面试: 看简历和面试题,从简历和面试题上找到一些技术点,然后跟应聘者聊。 聊某个技术点的时候,应聘者的回答会牵涉到其他的技术点,然后我会一一记下来,再挑一些我感兴趣的技术点继续和他聊 有时候应聘者为了装逼会牵涉出很多技术点,他自己可能只 阅读全文
posted @ 2017-01-18 11:34 wzwyc 阅读(397) 评论(0) 推荐(0)
摘要: if (checkBox1.Checked) //设置开机自启动 { MessageBox.Show("设置开机自启动,需要修改注册表", "提示"); string path = Application.ExecutablePath; RegistryKey rk = Registry.LocalMachine; RegistryKey rk2 = rk.C... 阅读全文
posted @ 2017-01-18 11:00 wzwyc 阅读(245) 评论(0) 推荐(0)
摘要: XmlElement rootElement = doc.DocumentElement; foreach (XmlElement childElement in rootElement) { //Console.WriteLine(childElement.Name); foreach(var i 阅读全文
posted @ 2017-01-18 10:54 wzwyc 阅读(243) 评论(0) 推荐(0)
摘要: string FadeInStoryBoard = ""; StoryBoard storyBoard = XamlReader.Load(FadeInStoryBoard) as StoryBoard; 阅读全文
posted @ 2017-01-18 10:53 wzwyc 阅读(306) 评论(0) 推荐(0)
摘要: 1.定义在System.Windows.Forms里2.定义在System.Threading.Timer类里3.定义在System.Timers.Timer类里 System.Windows.Forms.Timer是应用于WinForm中的,它是通过Windows消息机制实现的,类似于VB或Del 阅读全文
posted @ 2017-01-18 10:50 wzwyc 阅读(585) 评论(0) 推荐(0)
摘要: ProcessStartInfo startInfo = new System.Diagnostics.ProcessStartInfo(); startInfo.UseShellExecute = false; startInfo.WorkingDirectory = Environment.CurrentDirectory; startInfo.FileName = "InstallUtil... 阅读全文
posted @ 2017-01-18 10:46 wzwyc 阅读(273) 评论(0) 推荐(0)