Added Basecode to Product
Added Voucher Type During Printing Added Discount Report Fixed Void bill table not getting cleared error Added PAX to table Removed Itital Setup button in MainForm as it was not doing anything
This commit is contained in:
38
Tanshu.Accounts.Helpers/SelectorEvent.cs
Normal file
38
Tanshu.Accounts.Helpers/SelectorEvent.cs
Normal file
@ -0,0 +1,38 @@
|
||||
using System;
|
||||
|
||||
namespace Tanshu.Accounts.Helpers
|
||||
{
|
||||
public enum SelectorAction
|
||||
{
|
||||
Insert = 1,
|
||||
Update = 2,
|
||||
Delete = 3
|
||||
}
|
||||
public class SelectorEventArgs<T> : EventArgs
|
||||
{
|
||||
public SelectorEventArgs(T item, SelectorAction action)
|
||||
{
|
||||
Item = item;
|
||||
Action = action;
|
||||
Handled = false;
|
||||
}
|
||||
|
||||
public T Item
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public SelectorAction Action
|
||||
{
|
||||
get;
|
||||
private set;
|
||||
}
|
||||
|
||||
public bool Handled
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user