取消代发后再发送礼物单

This commit is contained in:
wule committed 2026-08-14 22:12:02 +08:00
1 parent a7f1891dd3
commit 7ef75f8134
17 files changed
+3028 -1718

No files matched your search

@@ -0,0 +1,24 @@
using NaiBa.Util.Extension;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace _29WxOrderWpf.Converters
{
public class MoreThanZeroVisibilityConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value.ParseToInt() > 0 ? Visibility.Visible : Visibility.Collapsed;
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
throw new NotImplementedException(); // 单向绑定可不实现
}
}
}