03 2018 档案
摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Windows.Controls; usin
阅读全文
摘要:常见的“保存文件”对话框实现为 SaveFileDialog 类,位于 Microsoft.Win32 命名空间中。 下面的代码演示如何创建、配置和显示“保存文件”对话框以及如何处理结果。 // Configure save file dialog box Microsoft.Win32.SaveF
阅读全文
摘要:常见的“打开文件”对话框实现为 OpenFileDialog 类,位于 Microsoft.Win32 命名空间中。 下面的代码演示如何创建、配置和显示“打开文件”对话框以及如何处理结果。 // Configure open file dialog box Microsoft.Win32.OpenF
阅读全文
摘要:[DllImport( "imm32.dll")] public static extern bool ImmGetOpenStatus (IntPtr hIMC); [ DllImport("imm32.dll" )] public static extern IntPtr ImmGetConte
阅读全文
摘要:1 public override void OnApplyTemplate() 2 { 3 base.OnApplyTemplate(); 4 5 string imgtype = "*.BMP|*.JPG|*.GIF|*.PNG"; 6 string[] ImageType = imgtype.Split('|'); 7 8 for (in...
阅读全文
摘要:1、DrawRectangle 为了像素对齐,可以PushGuidelineSet guideLines.GuidelinesX .Add(1.5); guideLines.GuidelinesY .Add(1.5); drawingContext.PushGuidelineSet (guideLi
阅读全文
摘要:1 private void ExpandAllFolder(GsTreeListViewItem aItem) 2 { 3 if (aItem == null) return; 4 CPlanContentAndOrder ItemPlan = aItem.Header as CPlanContentAndOrder; 5 if (ItemPlan.iTy...
阅读全文

浙公网安备 33010602011771号