private void newBtn_Click(object sender, EventArgs e)
        {
            HastaBilgileri hBilgileri = new HastaBilgileri();

            hBilgileri.Show();
            this.Close();
        }
예제 #2
0
        private void btnNewKayit_Click(object sender, EventArgs e)
        {
            HastaBilgileri hastaBilgileri = new HastaBilgileri(anaForm, formControl, databaseControl.GetYeniDosyaNumarasi(), "new");

            hastaBilgileri.MdiParent = anaForm;
            hastaBilgileri.Visible   = true;
        }
 private void btnHastaBilgileri_Click(object sender, EventArgs e)
 {
     if (txtDosyaNo.Text != "")
     {
         HastaBilgileri hastaBilgileri = new HastaBilgileri(anaForm, formControl, int.Parse(txtDosyaNo.Text));
         hastaBilgileri.MdiParent = anaForm;
         hastaBilgileri.Visible   = true;
     }
     else
     {
         MessageBox.Show("Lütfen bir hasta yazınız");
     }
 }
 private void patientInfoBtn_Click(object sender, EventArgs e)
 {
     if (FileNo != "" && FileNo != null)
     {
         HastaBilgileri hBilgileri = new HastaBilgileri();
         hBilgileri.Show();
         this.Close();
     }
     else
     {
         MessageBox.Show("Bilgileri gösterilecek bir hasta bulunmamaktadır.");
     }
 }