private void İŞnde_Click(object sender, EventArgs e)
        {
            int            hastaID  = 2;
            frmHastaEkrani frmHasta = new frmHastaEkrani(hastaID);

            frmHasta.Owner = this;
            frmHasta.Show();
        }
        private void btnHasta_Click(object sender, EventArgs e)
        {
            LoginDTO login = new LoginDTO();

            login.Email = txtEmail.Text;
            login.Sifre = txtSifre.Text;

            string result = _girisKontrol.isLoginSuccess(login);
            int    hastaID;

            if (int.TryParse(result, out hastaID))
            {
                frmHastaEkrani frm = new frmHastaEkrani(hastaID);
                frm.Owner = this;
                frm.Email = txtEmail.Text;
                frm.Show();
                this.Hide();
            }
            else
            {
                MessageBox.Show(result);
            }
        }