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

            frm.Show();
        }
        private void dataGridView1_RowHeaderMouseClick(object sender, DataGridViewCellMouseEventArgs e)
        {
            try
            { DataGridViewRow dr = dataGridView1.SelectedRows[0];
              this.Hide();
              frmUrun frm = new frmUrun();
              frm.Show();
              frm.txtÜrünAd.Text      = dr.Cells[0].Value.ToString();
              frm.textBox1.Text       = dr.Cells[0].Value.ToString();
              frm.cmbKategori.Text    = dr.Cells[1].Value.ToString();
              frm.cmbMarka.Text       = dr.Cells[2].Value.ToString();
              frm.btnGuncelle.Enabled = true;
              frm.btnSil.Enabled      = true;
              frm.btnKaydet.Enabled   = false;
              frm.txtÜrünAd.Focus(); }

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