private void OKClicked(UIElement button)
        {
            uint result = 0;

            if (uint.TryParse(ForSalePrice.CurrentText, out result))
            {
                OnPriceChange?.Invoke(result);
                UIScreen.RemoveDialog(this);
            }
            else
            {
                HIT.HITVM.Get().PlaySoundEvent(UISounds.Error);
            }
        }
Beispiel #2
0
 private void PriceChange(string PID, string TickName, Price price)
 {
     OnPriceChange?.Invoke(PID, TickName, price);
 }