文章分类 -  silverlight

摘要:ps: 1.解决连线问题 2.但是觉得架构没做好(望高手指点) 3. 后面处理直线变成折线(及绕过障碍)基础类:baseActive Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--publicclassbaseActive:Canvas{//保存节点... 阅读全文
posted @ 2010-04-05 22:21 3.mu 阅读(926) 评论(0) 推荐(0)
摘要:ps:1.最近闲来没有事情干,练练手:Silverlight工作流设计器。 2.初学sliverlight3.在这次主要目的 是创建可拖动的 Active基类首先创建 active基础类activeCode highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->publicclassbaseActive:Canvas{//保存节点protectedPointmovePoint;//是否可以移动protectedboolIsMove=false;publicd 阅读全文
posted @ 2010-04-03 10:53 3.mu 阅读(479) 评论(1) 推荐(1)
摘要:思路:在ChildWindow的右下脚放一个拖动标示 并在拖动的过程中 更改ChildWidow的height 和wight 为拖动图标的Canvas.height,Canvas.left 如果Canvas里面的 Grid 在拖动的过程中适当调整 Grid height Weight图片:Xaml:<controls:ChildWindow x:Class="...." Width="600... 阅读全文
posted @ 2010-03-03 16:24 3.mu 阅读(549) 评论(0) 推荐(0)
摘要:xaml: 省略。。。 后台代码: public MainPage()       {           InitializeComponent();         &#... 阅读全文
posted @ 2010-01-18 23:46 3.mu 阅读(313) 评论(0) 推荐(0)
摘要:xaml: <Grid x:Name="LayoutRoot" Background="White">        <Grid.ColumnDefinitions>          ... 阅读全文
posted @ 2010-01-18 23:38 3.mu 阅读(1251) 评论(0) 推荐(0)
摘要:xaml: <Grid x:Name="LayoutRoot" Background="White">     <Grid.ColumnDefinitions>         <ColumnDefinition><... 阅读全文
posted @ 2010-01-18 23:34 3.mu 阅读(489) 评论(0) 推荐(2)
摘要:由于加载的xaml 必须和Silverlight application不能放在一起 在web host上添加新建项xaml Scen1代码: <Grid xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.co... 阅读全文
posted @ 2009-12-21 20:38 3.mu 阅读(154) 评论(0) 推荐(0)
摘要:12312哈哈哈 阅读全文
posted @ 2009-12-10 22:23 3.mu 阅读(122) 评论(0) 推荐(0)