init commit over here
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using MistoxWebsite.Shared;
|
||||
|
||||
namespace MistoxWebsite.Client.Statics {
|
||||
public class Statics {
|
||||
public static Account User = new Account(){ ID=-1 };
|
||||
public static List<Product> Products = new List<Product>();
|
||||
public static List<Receipt> Owned = new List<Receipt>();
|
||||
public static List<Cart> Carts = new List<Cart>();
|
||||
}
|
||||
|
||||
public class TitleBarDiv {
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Image { get; set; } = string.Empty;
|
||||
public event EventHandler? onClicked = null;
|
||||
|
||||
public void invokeClicked() {
|
||||
onClicked?.Invoke( new object(), new EventArgs() );
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user