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); } }
private void PriceChange(string PID, string TickName, Price price) { OnPriceChange?.Invoke(PID, TickName, price); }