Beispiel #1
0
        private void button5_Click_1(object sender, EventArgs e)
        {
            using (DentalDialog form = new DentalDialog("Details", PatientID, VisitID, queueNo.Text))
            {
                // DentalDialog form1 = new DentalDialog(item.Text, PatientID);
                DialogResult dr = form.ShowDialog();
                if (dr == DialogResult.OK)
                {
                    //// MessageBox.Show(form.state);

                    LoadServices(VisitID);
                }
            }
        }
Beispiel #2
0
        private void chk7_CheckedChanged(object sender, EventArgs e)
        {
            var item = (CheckBox)sender;

            // MessageBox.Show(item.Text);
            if (item.Checked == true)
            {
                using (DentalDialog form = new DentalDialog(item.Text, PatientID, VisitID, queueNo.Text))
                {
                    // DentalDialog form1 = new DentalDialog(item.Text, PatientID);
                    DialogResult dr = form.ShowDialog();
                    if (dr == DialogResult.OK)
                    {
                        MessageBox.Show(form.state);

                        LoadServices(VisitID);
                    }
                }
            }
            if (item.CheckState.Equals(false))
            {
            }
        }