Exemple #1
0
        private void btnEkle_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            OfisKarti frm = new OfisKarti(-1);

            frm.ShowDialog();
            if (frm.DialogResult == DialogResult.OK)
            {
                DataGetir();
            }
        }
Exemple #2
0
        private void gvOfis_DoubleClick(object sender, EventArgs e)
        {
            int       id  = Convert.ToInt32(gvOfis.GetFocusedRowCellValue("ID"));
            OfisKarti frm = new OfisKarti(id);

            frm.ShowDialog();
            if (frm.DialogResult == DialogResult.OK)
            {
                DataGetir();
            }
        }
Exemple #3
0
        private void btnDuzenle_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            int       id  = Convert.ToInt32(gvOfis.GetFocusedRowCellValue("ID"));
            OfisKarti frm = new OfisKarti(id);

            frm.ShowDialog();
            if (frm.DialogResult == DialogResult.OK)
            {
                DataGetir();
            }
        }