Exemplo n.º 1
0
        private void button2_Click(object sender, EventArgs e)
        {
            cari_ekle_duzenle c = new cari_ekle_duzenle(0);

            c.FormClosing += C_FormClosing;
            c.ShowDialog();
        }
Exemplo n.º 2
0
        private void grid_cariler_DoubleClick(object sender, EventArgs e)
        {
            if (gv_cariler.SelectedRowsCount <= 0)
            {
                return;
            }

            cari_ekle_duzenle c = new cari_ekle_duzenle(Convert.ToInt32(gv_cariler.GetDataRow(gv_cariler.GetSelectedRows()[0])["cari_id"]));

            c.FormClosing += C_FormClosing;
            c.ShowDialog();
        }