03 2018 档案

摘要:using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.ComponentModel; using System.Windows.Controls; usin 阅读全文
posted @ 2018-03-31 16:56 死鱼眼の猫 阅读(1229) 评论(0) 推荐(0)
摘要:常见的“保存文件”对话框实现为 SaveFileDialog 类,位于 Microsoft.Win32 命名空间中。 下面的代码演示如何创建、配置和显示“保存文件”对话框以及如何处理结果。 // Configure save file dialog box Microsoft.Win32.SaveF 阅读全文
posted @ 2018-03-31 16:43 死鱼眼の猫 阅读(719) 评论(0) 推荐(0)
摘要:常见的“打开文件”对话框实现为 OpenFileDialog 类,位于 Microsoft.Win32 命名空间中。 下面的代码演示如何创建、配置和显示“打开文件”对话框以及如何处理结果。 // Configure open file dialog box Microsoft.Win32.OpenF 阅读全文
posted @ 2018-03-31 16:42 死鱼眼の猫 阅读(609) 评论(0) 推荐(0)
摘要:[DllImport( "imm32.dll")] public static extern bool ImmGetOpenStatus (IntPtr hIMC); [ DllImport("imm32.dll" )] public static extern IntPtr ImmGetConte 阅读全文
posted @ 2018-03-31 15:53 死鱼眼の猫 阅读(413) 评论(0) 推荐(0)
摘要: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... 阅读全文
posted @ 2018-03-31 15:38 死鱼眼の猫 阅读(4291) 评论(0) 推荐(0)
摘要:C#: Xaml: 阅读全文
posted @ 2018-03-31 15:37 死鱼眼の猫 阅读(370) 评论(0) 推荐(0)
摘要:1、DrawRectangle 为了像素对齐,可以PushGuidelineSet guideLines.GuidelinesX .Add(1.5); guideLines.GuidelinesY .Add(1.5); drawingContext.PushGuidelineSet (guideLi 阅读全文
posted @ 2018-03-31 15:25 死鱼眼の猫 阅读(439) 评论(0) 推荐(0)
摘要:1 private void ExpandAllFolder(GsTreeListViewItem aItem) 2 { 3 if (aItem == null) return; 4 CPlanContentAndOrder ItemPlan = aItem.Header as CPlanContentAndOrder; 5 if (ItemPlan.iTy... 阅读全文
posted @ 2018-03-30 18:26 死鱼眼の猫 阅读(577) 评论(0) 推荐(0)