Exemple #1
0
        private void button1_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            medCard medCard = new medCard(textBox3.Text, connector, 2);

            medCard.ShowDialog();
            this.Visible = true;
        }
Exemple #2
0
        private void button7_Click(object sender, EventArgs e)
        {
            this.Visible = false;
            string  numberP  = connector.loadPatientByID(visit.IdPatient, "").NumberOfPolicy;
            medCard showCard = new medCard(numberP, connector, 1);

            showCard.ShowDialog();
            this.Visible = true;
        }
Exemple #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text != "")
     {
         this.Visible = false;
         medCard showCard = new medCard(textBox1.Text, connector, 1);
         showCard.ShowDialog();
         Close();
     }
     else
     {
         MessageBox.Show("Введите номер полиса");
     }
 }