Ejemplo n.º 1
0
        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;
            }
        }
Ejemplo n.º 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();
            }
        }