摘要:How to build a K2 SharePointWorkflow 1.Create a Application Management by SharePoint CentralAdministration2.Create Site Collection 3.Configure K2 Setting:a.Open SharePointCentral Administrationb.click K2 forsharepoint c.configure all k2 setting 4.Create a List or Library or other item to prepare the
阅读全文
摘要:1.在mvvm模式下如何使用treeview,这个问题比较复杂,毕竟我们一些用习惯了code-behind的方法,不愿意改变一些原来的思路。但是为什么我们要用MVVM呢? 答:优点:在WPF/Silverlight中应用MVVM模式,View主要用于界面呈现,ViewModel用于逻辑实现,Model用于数据的构造,而这三者能够进行通信,最重要的是通过WPF/Silverlight中强大的数据绑定机制,将View和ViewModel有效的联系起来。对比: 传统的WinForm和ASP.NET应用程序是基于事件驱动开发的,以ASP.NET为例,在实际开发中,*.aspx页面用于渲染HTML,*.
阅读全文
摘要:using System;using System.Net;using System.Windows;using System.Windows.Controls;using System.Windows.Documents;using System.Windows.Ink;using System.Windows.Input;using System.Windows.Media;using System.Windows.Media.Animation;using System.Windows.Shapes;using System.Collections.Generic;using Syste
阅读全文
摘要:private bool _isBusy = false; public bool IsBusy { get { return _isBusy; } internal set { _isBusy = value; base.RaisePropertyChanged("IsBusy"); } }注意:在这里必须设定 internal set才可以。。测试可行XMAL:<my:BusyIndicator x:Name="busyindicator" IsBusy="{Binding IsBusy}" HorizontalAlignm
阅读全文
摘要:When building your Silverlight project fails with the error message “Whitespace is not allowed after end of Markup Extension.”, you’ve got a blank (or more) behind a databinding expression, like here:1<Button Content="{StaticResource ResText_SaveButton} "/>注意:引号前是没有空格的
阅读全文
摘要:My First implementation in Silverlight4 with MVVM and RiaServiceThis is my firstpracticesin silverlight4 using MVVM pattern and Ria Service to only show data in the gridviewplease walk with me in this steps1-adding my framework2-adding my ria service class DomainService13-in the silverlight project
阅读全文