Chore: Rename _billController to _controller as it is shorter
Removed: Unused SelectorEvent Helper Refactor: Removed references to SaleForm from BillController as it is not needed.
This commit is contained in:
@ -1,38 +0,0 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -66,7 +66,6 @@
|
||||
<Compile Include="CustomStructs.cs">
|
||||
<SubType>Code</SubType>
|
||||
</Compile>
|
||||
<Compile Include="SelectorEvent.cs" />
|
||||
<Compile Include="SelectVoidReason.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
|
||||
Reference in New Issue
Block a user