Exemple #1
0
        private void PrintBtn_Click(object sender, EventArgs e)
        {
            PrintPreview print = new PrintPreview();

            if (CTCABtn.Checked == true)
            {
                print.examTypeText.Text = "CTCA";
            }
            else if (CABGBtn.Checked == true)
            {
                print.examTypeText.Text = "CABG";
            }
            else if (TROBtn.Checked == true)
            {
                print.examTypeText.Text = "Triple Rule Out";
            }

            print.name.Text              = printName.Text;
            print.bmiText.Text           = BMILabel.Text;
            print.scannedText.Text       = minCombo.Text + " to " + maxCombo.Text;
            print.caScoreDLPText.Text    = CaScoreDLPBox.Text + "mGy.cm";
            print.caScoreDoseText.Text   = CaScoreDLPTotal.Text + "mSv";
            print.ctcaDLPText.Text       = CTCADLPBox.Text + "mGy.cm";
            print.ctcaDoseText.Text      = CTCADLPTotal.Text + "mSv";
            print.radText.Text           = radBox.Text;
            print.ppwText.Text           = ppwBox.Text;
            print.chestText.Text         = chestCheckBox.Text;
            print.caScoreScanText.Text   = caScoreScanBox.Text;
            print.widenText.Text         = widenBox.Text;
            print.betalocText.Text       = betalocBox.Text;
            print.betalocAmountText.Text = betaCombo.Text;
            print.nitroText.Text         = nitroBox.Text;
            print.ctcaScanText.Text      = ctcaScanBox.Text;
            print.chestScanText.Text     = chestScanBox.Text;
            print.emailText.Text         = emailBox.Text;
            print.ecgText.Text           = ecgBox.Text;
            print.bestSentText.Text      = bestCheckBox.Text;
            print.volsSentText.Text      = sendVolBox.Text;
            print.bloodPressureText.Text = bloodPressureBox.Text;
            print.bestText.Text          = bestCombo.Text;
            print.bestText2.Text         = bestCombo.Text;

            print.Show(this);
        }
Exemple #2
0
        private void PrintBtn_Click(object sender, EventArgs e)
        {
            PrintPreview print = new PrintPreview();

            if (CTCABtn.Checked == true)
            {
                print.examTypeText.Text = "CTCA";
            }
            else if (CABGBtn.Checked == true)
            {
                print.examTypeText.Text = "CABG";
            }
            else if (TROBtn.Checked == true)
            {
                print.examTypeText.Text = "Triple Rule Out";
            }

            print.name.Text = printName.Text;
            print.bmiText.Text = BMILabel.Text;
            print.scannedText.Text = minCombo.Text + " to " + maxCombo.Text;
            print.caScoreDLPText.Text = CaScoreDLPBox.Text + "mGy.cm";
            print.caScoreDoseText.Text = CaScoreDLPTotal.Text + "mSv";
            print.ctcaDLPText.Text = CTCADLPBox.Text + "mGy.cm";
            print.ctcaDoseText.Text = CTCADLPTotal.Text + "mSv";
            print.radText.Text = radBox.Text;
            print.ppwText.Text = ppwBox.Text;
            print.chestText.Text = chestCheckBox.Text;
            print.caScoreScanText.Text = caScoreScanBox.Text;
            print.widenText.Text = widenBox.Text;
            print.betalocText.Text = betalocBox.Text;
            print.betalocAmountText.Text = betaCombo.Text;
            print.nitroText.Text = nitroBox.Text;
            print.ctcaScanText.Text = ctcaScanBox.Text;
            print.chestScanText.Text = chestScanBox.Text;
            print.emailText.Text = emailBox.Text;
            print.ecgText.Text = ecgBox.Text;
            print.bestSentText.Text = bestCheckBox.Text;
            print.volsSentText.Text = sendVolBox.Text;
            print.bloodPressureText.Text = bloodPressureBox.Text;
            print.bestText.Text = bestCombo.Text;
            print.bestText2.Text = bestCombo.Text;

            print.Show(this);
        }