步步为盈
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

41 lines
1.0 KiB

3 years ago
using BBWY.Controls;
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace BBWY.Client.Views.BillCorrection
{
/// <summary>
/// YTBasicAmount.xaml 的交互逻辑
/// </summary>
public partial class YTBasicAmount : BWindow
{
public decimal BasicAmount { get; private set; }
public YTBasicAmount()
{
InitializeComponent();
}
private void btn_Save_Click(object sender, RoutedEventArgs e)
{
if (!decimal.TryParse(txtBasicAmount.Text, out decimal amount))
{
MessageBox.Show("输入金额格式错误", "提示");
return;
}
BasicAmount = amount;
this.DialogResult = true;
this.Close();
}
}
}