Exemple #1
0
 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;
     }
 }
Exemple #3
0
 public void ShowNote()
 {
     Height = Screen.PrimaryScreen.Bounds.Height - 40;
     TblLayout.RowStyles[1].Height = 140;
     TxtNote.Show();
 }
Exemple #4
0
 public void HideNote()
 {
     Height = 70;
     TblLayout.RowStyles[1].Height = 0;
     TxtNote.Hide();
 }