перенос файлов клиента из папки White в _White

This commit is contained in:
Remuchi
2024-01-28 17:32:55 +07:00
parent c80b10a688
commit 21dbccfec9
139 changed files with 345 additions and 434 deletions

View File

@@ -0,0 +1,40 @@
using JetBrains.Annotations;
namespace Content.Client._White.Economy.Ui;
[UsedImplicitly]
public sealed class EftposBui : BoundUserInterface
{
private readonly EftposWindow _window;
public EftposBui(EntityUid owner, Enum uiKey) : base(owner, uiKey)
{
_window = new EftposWindow();
}
protected override void Open()
{
base.Open();
_window.OnClose += Close;
_window.OnCardButtonPressed += SendMessage;
if (State != null)
{
UpdateState(State);
}
_window.OpenCentered();
}
protected override void UpdateState(BoundUserInterfaceState state)
{
base.UpdateState(state);
_window.UpdateState(state);
}
protected override void Dispose(bool disposing)
{
_window.Close();
base.Dispose(disposing);
}
}