private void OnKeyboardButtonPressed(object sender, GameEventArgs e) { if (sender != null && sender is KeyboardButton) { KeyboardButton button = sender as KeyboardButton; textField.Append(button.Button); } }
public void FillInGasCostValue(OtherCostInputData input) { GasCostEffectiveDate.SelectYearMonthItem(input.EffectiveDate); GasCostPrice.Append(input.Price); }
private void UploadLogoPicture(string picturePath) { UploadLogoButton.Click(); TimeManager.LongPause(); UploadLogoTextField.Append(picturePath); }
/// <summary> /// Input fixed electric cost value /// </summary> /// <param name="input">Test data</param> /// <returns></returns> public void FillInFixedCost(ElectricfixedCostInputData input) { ElectricCostEffectiveDate.SelectYearMonthItem(input.EffectiveDate); ElectricPriceMode.SelectItem(input.PriceMode); ElectricPrice.Append(input.Price); }