Beispiel #1
0
 /// <summary>
 /// 同步系统设置数据
 /// </summary>
 /// <param name="clone">同步数据源</param>
 internal void Sync(TransactionSettings clone)
 {
     AllowChargeback  = clone.AllowChargeback;
     AllowEncashment  = clone.AllowEncashment;
     AllowOrder       = clone.AllowOrder;
     AllowRecharge    = clone.AllowRecharge;
     AllowRecovery    = clone.AllowRecovery;
     AllowWarehousing = clone.AllowWarehousing;
     OrderUnit        = clone.OrderUnit;
     MinTrade         = clone.MinTrade;
     MaxTrade         = clone.MaxTrade;
 }
Beispiel #2
0
 /// <summary>
 /// 实例化一个普通用户账户类
 /// </summary>、
 public ClientAccount( )
 {
     AccInfo             = new ClientAccountInformation( );
     FundsInfo           = new FundsInformation( );
     TransactionSettings = new TransactionSettings( );
 }
 /// <summary>
 /// 实例化一个普通用户账户类
 /// </summary>、
 public ClientAccount( ) {
     AccInfo = new ClientAccountInformation( );
     FundsInfo = new FundsInformation( );
     TransactionSettings = new TransactionSettings( );
 }
 private void UserControl_Loaded(object sender, RoutedEventArgs e)
 {
     ts = this.DataContext as TransactionSettings;
 }
 /// <summary>
 /// 同步系统设置数据
 /// </summary>
 /// <param name="clone">同步数据源</param>
 internal void Sync( TransactionSettings clone ) {
     AllowChargeback = clone.AllowChargeback;
     AllowEncashment = clone.AllowEncashment;
     AllowOrder = clone.AllowOrder;
     AllowRecharge = clone.AllowRecharge;
     AllowRecovery = clone.AllowRecovery;
     AllowWarehousing = clone.AllowWarehousing;
     OrderUnit = clone.OrderUnit;
     MinTrade = clone.MinTrade;
     MaxTrade = clone.MaxTrade;
 }