Skip to content

Instantly share code, notes, and snippets.

View yhnbgfd's full-sized avatar
💭

HuangShuhang yhnbgfd

💭
  • China
View GitHub Profile
<!-- Flat ComboBox -->
<SolidColorBrush x:Key="ComboBoxNormalBorderBrush" Color="#e3e9ef" />
<SolidColorBrush x:Key="ComboBoxNormalBackgroundBrush" Color="#fff" />
<SolidColorBrush x:Key="ComboBoxDisabledForegroundBrush" Color="#888" />
<SolidColorBrush x:Key="ComboBoxDisabledBackgroundBrush" Color="#eee" />
<SolidColorBrush x:Key="ComboBoxDisabledBorderBrush" Color="#888" />
<ControlTemplate TargetType="ToggleButton" x:Key="ComboBoxToggleButtonTemplate">
<Grid>
<Grid.ColumnDefinitions>
@yhnbgfd
yhnbgfd / Convert.cs
Created December 26, 2017 03:00
数字金额转换成中文金额
using System;
using System.Text.RegularExpressions;
namespace System.Extended
{
public static class Convert
{
public static string ToChinese(this decimal money)//扩展方法
{
if (money < 0)
using System;
namespace HQMS.Infrastructure.Helpers
{
public class TwitterSnowflake
{
/// <summary>
/// 基准时间
/// </summary>
private const long Twepoch = 1288834974657L;