964d0a78bf
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
39 lines
655 B
C#
39 lines
655 B
C#
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;
|
|
}
|
|
}
|
|
}
|