| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 | using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Data.SqlTypes;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;using PTMedicalInsurance.Common;using PTMedicalInsurance.Helper;using Newtonsoft.Json.Linq;using PTMedicalInsurance.Forms;using PTMedicalInsurance.Variables;namespace PTMedicalInsurance.Forms{    public partial class frmPrescQrCode : Form    {        public frmPrescQrCode()        {            InitializeComponent();            this.StartPosition = FormStartPosition.CenterParent;        }        private void btn_Cancel_Click(object sender, EventArgs e)        {            DialogResult = DialogResult.Cancel;        }        private void frmPrescQrCode_Shown(object sender, EventArgs e)        {            tb_QrCode.Focus();        }        private void btn_Ok_Click(object sender, EventArgs e)        {            DialogResult = DialogResult.OK;        }        private void tb_QrCode_TextChanged(object sender, EventArgs e)        {            DialogResult = DialogResult.OK;        }    }}
 |