private void log(string str, bool LF = true) { this.TxtNote.Dispatcher.Invoke(() => { if (LF) { TxtNote.Text = TxtNote.Text + "\n" + str; } else { TxtNote.Text = TxtNote.Text + str; } TxtNote.ScrollToEnd(); }); }
internal void ApplyForProperty() { try { LnqApply.Click(); ExcelLib.PopulateInCollection(Base.ExcelPath, "TenantDetails"); TxtNoOfTenant.SendKeys(ExcelLib.ReadData(2, "NoOfTenants")); TxtNote.SendKeys(ExcelLib.ReadData(2, "Notes")); Driver.wait(2); BtnSubmit.Submit(); } catch { throw; } }
public void ShowNote() { Height = Screen.PrimaryScreen.Bounds.Height - 40; TblLayout.RowStyles[1].Height = 140; TxtNote.Show(); }
public void HideNote() { Height = 70; TblLayout.RowStyles[1].Height = 0; TxtNote.Hide(); }