随笔分类 -  Silverlight/WPF

摘要:Silverlight企业应用框架设计【六】自定义系统菜单(使用自己的DataForm)SilverLight企业应用框架设计【五】客户端调用服务端(使用JSON传递数据,自己实现RESTful Web服务)SilverLight企业应用框架设计【四】实体层设计+为客户端动态生成服务代理(自己实现RiaService)SilverLight企业应用框架设计【三】服务端设计SilverLight企业应用框架设计【二】框架画面SilverLight企业应用框架设计【一】整体说明闲言碎语~不要讲先上图片这个系列讲到的这个系统与WinForm企业应用框架设计【一】界限划分与动态创建WCF服务(no s 阅读全文
posted @ 2012-01-03 16:24 liulun 阅读(5685) 评论(28) 推荐(33) 编辑
摘要:void t_GotFocus(object sender, RoutedEventArgs e) { var tb = sender as TextBox; var gt = tb.TransformToVisual(null); Point p = gt.Transform(new Point(0, 0)); MessageBox.Show(p.X + " " + p.Y); } 阅读全文
posted @ 2011-06-21 17:04 liulun 阅读(908) 评论(2) 推荐(0) 编辑
摘要:先上个图片:using System;using System.Collections.Generic;using System.Linq;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Media.Imaging;using 阅读全文
posted @ 2011-06-04 14:14 liulun 阅读(1710) 评论(8) 推荐(2) 编辑
摘要:1.先看图片2.这是styleresource;应该还能精简掉很多;dd <Window.Resources> <Color x:Key="WindowColor">#FFE8EDF9</Color> <Color x:Key="ContentAreaColorLight">#FFC5CBF9</Color> <Color x:Key="ContentAreaColorDark">#FF7381F9</Color> <Color x:Key=&q 阅读全文
posted @ 2010-12-25 16:45 liulun 阅读(3128) 评论(2) 推荐(1) 编辑