narsil/Tanshu.Accounts.PointOfSale/Sales/BillSettleForm.cs

48 lines
1.1 KiB
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace Tanshu.Accounts.PointOfSale
{
public partial class BillSettleForm : Form
{
private SettleOptions settleOptions = SettleOptions.Cancel;
public BillSettleForm()
{
InitializeComponent();
}
private void btnCash_Click(object sender, EventArgs e)
{
settleOptions = SettleOptions.Cash;
}
private void btnCreditCard_Click(object sender, EventArgs e)
{
settleOptions = SettleOptions.CreditCard;
}
private void btnNC_Click(object sender, EventArgs e)
{
settleOptions = SettleOptions.NoCharge;
}
private void btnCancel_Click(object sender, EventArgs e)
{
settleOptions = SettleOptions.Cancel;
}
public SettleOptions optionChosen
{
get
{
return settleOptions;
}
}
}
}