21 lines
709 B
C#
Executable File
21 lines
709 B
C#
Executable File
using MistoxWebsite.Shared.Database;
|
|
|
|
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() );
|
|
}
|
|
}
|
|
|
|
} |