原创 All about abstract classes

http://www.codeproject.com/Articles/6118/All-about-abstract-classes Introduction Abstract classes are one of the ess

原创 search son or parent process

    參考:http://stackoverflow.com/questions/2531837/how-can-i-get-the-pid-of-the-parent-process-of-my-application    

原创 使用 C# 或 Visual Basic 創建你的第一個 Metro 風格應用

http://msdn.microsoft.com/zh-cn/library/windows/apps/br211380 使用 C# 或 Visual Basic 創建你的第一個 Metro 風格應用 10(共 11)對

原创 C# 獲取當前目錄的各種方法

Application.StartupPath;Environment.SpecialFolder.ApplicationData  Environment.SpecialFolder命名空間可以獲取很多特定的路徑目錄。     Env

原创 Custom Command WPF

http://stackoverflow.com/questions/601393/custom-command-wpf I use a static class that I place after the Window1 cl

原创 How to Execute a Command in C# ?

http://www.codeproject.com/Articles/25983/How-to-Execute-a-Command-in-C This article will help you to execute a com

原创 c# load dll dynamic and run the method

              Assembly testDLL = Assembly.LoadFile(Directory.GetCurrentDirectory() +  @"\testDll.dll");             Typ

原创 Why is the Asynchronous mode is better than the Synchronous one when handling clients requests?

http://stackoverflow.com/questions/3161916/why-is-the-asynchronous-mode-is-better-than-the-synchronous-one-when-handlin

原创 FileStream Read File

http://www.csharp-examples.net/filestream-read-file/ FileStream Read File [C#] This example shows how to safely read f

原创 How to: Create a Binding in Code

http://msdn.microsoft.com/en-us/library/ms742863.aspx public class MyData : INotifyPropertyChanged { private s

原创 How to detect Windows 64 bit platform with .net?

http://stackoverflow.com/questions/336633/how-to-detect-windows-64-bit-platform-with-net IntPtr.Size won't return th

原创 wpf copy or move file with dialog

 http://stackoverflow.com/questions/3041211/show-a-copying-files-dialog-form-while-manually-copying-files-in-c Th

原创 Caliburn Micro

Caliburn Micro是一個mvvm的框架可以應用於WPF,Silverlight,WP7。 具體資料: https://www.mindscapehq.com/blog/index.php/2012/01/12/calibu

原创 Cast int to Enum in C#

http://stackoverflow.com/questions/29482/cast-int-to-enum-in-c-sharp From a string: YourEnum foo = (YourEnum) Enum.Par

原创 uninstall software using uninstallString

1. read uninstallString 2. parse the string 3. run command line 點贊 收藏 分享 文章舉報 zhleiyang