private void barButtonItem2_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmHayvan frm = new frmHayvan(gridView1.GetFocusedRow() as DB.HAYVAN, this);

            frm.ShowDialog();
        }
        private void barButtonItem1_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            frmHayvan frm = new frmHayvan(null, this);

            frm.ShowDialog();
        }