Exemplo n.º 1
0
        private void simpleButton1_Click(object sender, EventArgs e)
        {
            Form_TelefonTipiTanim form = new Form_TelefonTipiTanim(0);

            form.ShowDialog();
            TelefonTipigetir();
        }
Exemplo n.º 2
0
        private void TelefonTipiDüzenle_ButtonClick(object sender, DevExpress.XtraEditors.Controls.ButtonPressedEventArgs e)
        {
            DataRow selectedRow = gridView1.GetFocusedDataRow();

            if (selectedRow != null)
            {
                string Tipadi        = selectedRow["TelefonTipiAdi"].ToString();
                int    TelefonTipiid = Convert.ToInt32(selectedRow["TelefonTipiId"]);

                Form_TelefonTipiTanim form = new Form_TelefonTipiTanim(Tipadi, TelefonTipiid, 1);
                form.ShowDialog();
                TelefonTipigetir();
            }
        }