private void frmMusteriListe2_FormClosing(object sender, FormClosingEventArgs e)
        {
            this.Hide();
            frmMusteriler frm = new frmMusteriler();

            frm.Show();
        }
        private void dataGridView1_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            try
            { DataGridViewRow dr = dataGridView1.SelectedRows[0];
              this.Hide();
              frmMusteriler frm = new frmMusteriler();
              frm.Show();
              frm.txtMusteriID.Text   = dr.Cells[0].Value.ToString();
              frm.txtMusteriAd.Text   = dr.Cells[1].Value.ToString();
              frm.txtAdres.Text       = dr.Cells[2].Value.ToString();
              frm.cmbİl.Text          = dr.Cells[3].Value.ToString();
              frm.txtİlce.Text        = dr.Cells[4].Value.ToString();
              frm.txtPostaKodu.Text   = dr.Cells[5].Value.ToString();
              frm.txtEvTel.Text       = dr.Cells[6].Value.ToString();
              frm.txtEmail.Text       = dr.Cells[7].Value.ToString();
              frm.txtCepTel.Text      = dr.Cells[8].Value.ToString();
              frm.txtFaksNo.Text      = dr.Cells[9].Value.ToString();
              frm.txtNot.Text         = dr.Cells[10].Value.ToString();
              frm.btnGuncelle.Enabled = true;
              frm.btnSil.Enabled      = true;
              frm.btnKaydet.Enabled   = false;
              frm.txtMusteriAd.Focus(); }

            catch (Exception ex)
            { MessageBox.Show(ex.Message, "Hata", MessageBoxButtons.OK, MessageBoxIcon.Error); }
        }
      private void btnMusteriEkle_Click(object sender, EventArgs e)
      {
          frmMusteriler frm = new frmMusteriler();

          frm.Show();
      }