04 2014 档案
摘要:Xaml文件: ...
阅读全文
摘要:// / /// 存放录入的支付金额 /// private Dictionary dictPayment; public Dictionary DictPayment { get { return...
阅读全文
摘要:注意需要使用Blend的System.Windows.Interactivity.dll文件。通过 关联到SelectionChanged事件,当前台获取到SelectedItem时,就会调用ViewModel的ExecuteGetItem方法,获取选择项。XAML: ...
阅读全文
摘要:model.UsingState = (DeskEnum)Enum.Parse(typeof(DeskEnum), row["UsingState"].ToString());
阅读全文
摘要:Guid ID = Guid.Parse("d0094166-e435-4a8f-a02e-3167a4550be7"); string str = ID.ToString(); Configuration config = ConfigurationManager.OpenExeConfiguration(ConfigurationUserLevel.None); config.AppSettings.Settings.Add("Default", str); config.Save(); ...
阅读全文
摘要://step 1 .设置配置文件App.config: //step 2.注意引用:System.Configuration.dllusing System;using System.Collections.Generic;using System.Configuration;using System.Linq;using System.Text;namespace RuiSoft.Common{ public class IsSoftFirstRun { //返回true为首次启动,返回false为非首次启动 pu...
阅读全文

浙公网安备 33010602011771号