示例#1
0
        private void OnKeyboardButtonPressed(object sender, GameEventArgs e)
        {
            if (sender != null && sender is KeyboardButton)
            {
                KeyboardButton button = sender as KeyboardButton;

                textField.Append(button.Button);
            }
        }
示例#2
0
 public void FillInGasCostValue(OtherCostInputData input)
 {
     GasCostEffectiveDate.SelectYearMonthItem(input.EffectiveDate);
     GasCostPrice.Append(input.Price);
 }
示例#3
0
 private void UploadLogoPicture(string picturePath)
 {
     UploadLogoButton.Click();
     TimeManager.LongPause();
     UploadLogoTextField.Append(picturePath);
 }
示例#4
0
 /// <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);
 }