摘要:
在上一个博客中增加一个RelayCommand.cs,然后在User1ViewModel.cs中增加一个BtnCommand,最后在User1.xaml中绑定Command="{Binding BtnCommand}"这个命令。 using System; using System.Collecti 阅读全文
摘要:
public static class Singleton<T> where T : new() { // Use ConcurrentDictionary for thread safety. private static ConcurrentDictionary<Type, T> _instan 阅读全文
摘要:
第一种方法:共享内存只存tiff图像里的灰度信息 using System; using System.IO; using System.IO.MemoryMappedFiles; using System.Runtime.InteropServices; using System.Windows; 阅读全文