Exemplo n.º 1
0
        private void checkBox1_CheckedChanged(object sender, EventArgs e)
        {
            frmMedication md = new frmMedication();

            if (checkBox1.Checked == true)
            {
                selectClass.selectPatMedication(this.txtPatID.Text);
                md.textBox1.Text = selectClass.Treatment + Environment.NewLine + selectClass.Medication;
                md.Show();
            }
        }