private void Button2_Click(object sender, EventArgs e)
        {
            string id = dataGridView2.SelectedRows[0].Cells[0].Value.ToString();

            if (id != "")
            {
                kullanici_ekle_duzenle_form frm = new kullanici_ekle_duzenle_form();
                frm.Name = "kullanici_duzenle_form";
                if (Application.OpenForms["kullanici_duzenle_form"] == null)
                {
                    kullanici_ekle_duzenle_form.islem_tipi   = "guncelleme";
                    kullanici_ekle_duzenle_form.kullanici_id = id;
                    frm.Text = "Kullanıcı Güncelleme";
                    frm.Show();
                }
                else
                {
                    MessageBox.Show("Kullanıcı Düzenleme Ekranı Zaten Açık.");
                }
            }
            else
            {
                MessageBox.Show("Hatalı İşlem", "Hata", MessageBoxButtons.OK, MessageBoxIcon.Warning);
            }
        }
        private void Button1_Click(object sender, EventArgs e)
        {
            kullanici_ekle_duzenle_form frm = new kullanici_ekle_duzenle_form();

            frm.Name = "kullanici_ekle_form";
            if (Application.OpenForms["kullanici_ekle_form"] == null)
            {
                kullanici_ekle_duzenle_form.islem_tipi = "yeni";
                frm.Text = "Kullanıcı Ekle";
                frm.Show();
            }
            else
            {
                MessageBox.Show("Kullanıcı Ekle Ekranı Zaten Açık.");
            }
        }