コード例 #1
0
        private void button2_Click(object sender, EventArgs e)
        {
            ReportDemo reportDemo = (ReportDemo)listBox1.SelectedItem;

            reportDemo.h.Invoke();

            report.ShowGrid = checkBoxShowGrid.Checked;

            report.GeneratePDF($"c:\\temp\\Report {DateTime.Now:yyyyMMddhhmmss}.pdf");
        }
コード例 #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            DialogResult res = printDialog1.ShowDialog();

            if (res != DialogResult.OK)
            {
                return;
            }

            ReportDemo reportDemo = (ReportDemo)listBox1.SelectedItem;

            reportDemo.h.Invoke();

            report.ShowGrid = checkBoxShowGrid.Checked;

            report.Print(printDialog1.PrinterSettings.PrinterName);
        }
コード例 #3
0
 public void ClickNextButton()
 {
     ReportDemo.ClickNext(_driver);
 }
コード例 #4
0
 public void SelectExceptionReason()
 {
     ReportDemo.ClickExceptionReasonDropArrow(_driver);
     ReportDemo.ClickFirstExceptionReason(_driver);
 }
コード例 #5
0
 public void ClickSendToException()
 {
     ReportDemo.ClickSendExceptionReason(_driver);
 }
コード例 #6
0
 public void ClickException()
 {
     ReportDemo.ClickException(_driver);
 }
コード例 #7
0
 public void AddCSSNote()
 {
     ReportDemo.ClickAddCSSNote(_driver);
     ReportDemo.TypeNote(_driver, "Hello world");
     ReportDemo.ClickAddNote_popup(_driver);
 }
コード例 #8
0
 public void SelectFacilityLocation()
 {
     ReportDemo.ClickFacilityLocationDropDown(_driver);
     ReportDemo.ClickFirstFacilityLoc(_driver);
 }
コード例 #9
0
 public void ClickReturnToQueue()
 {
     ReportDemo.ClickReturntoQueue(_driver);
 }
コード例 #10
0
 public void VerifyDataPopulatesFacilityLocationDropdown()
 {
     ReportDemo.VerifyFacilityLocationsExist(_driver);
 }
コード例 #11
0
        public void SelectFirstTableRowForPotentialCases()
        {
            string text = (string)DataStoreFactory.ScenarioDataStore.Get("patient");

            ReportDemo.ClickFirstPatientCase(_driver, text);
        }
コード例 #12
0
 public void ClickSearchOnReportDemo()
 {
     ReportDemo.ClickSearchPatient(_driver);
 }
コード例 #13
0
 public void EnterIntoPatientNameField(string patient)
 {
     ReportDemo.EnterPatientName(_driver, patient);
     DataStoreFactory.ScenarioDataStore.Add("patient", patient);
 }