コード例 #1
0
ファイル: LabBilling.cs プロジェクト: mdsaleem1804/NellaiBill
        private void btnPatientSearch_Click(object sender, EventArgs e)
        {
            SearchPatient search = new SearchPatient();

            search.ShowDialog();
            if (search.xPatientId.ToString() != "0")
            {
                txtPatientId.Text      = search.xPatientId.ToString();
                txtPatientName.Text    = search.xPatientName == null ? "" : search.xPatientName;
                rchPatientAddress.Text = search.xPatientAddress == null ? "" : search.xPatientAddress;
                txtUhid.Text           = search.xUhid == null ? "" : search.xUhid;
            }
        }
コード例 #2
0
        private void txtLedgerSearch_Click(object sender, EventArgs e)
        {
            SearchPatient search = new SearchPatient();

            search.ShowDialog();
            if (search.xPatientId.ToString() != "0")
            {
                txtCustomerNo.Text       = search.xPatientId.ToString();
                txtCustomerName.Text     = search.xPatientName.ToString();
                txtCustomerMobileNo.Text = search.xPatientMobileNo.ToString();
                rchCustomerAddress.Text  = search.xPatientAddress.ToString();
            }
        }