private void btnYeni_Click(object sender, EventArgs e)
        {
            frmStokBirim frm = new frmStokBirim();

            frm.Owner = this;
            frm.ShowDialog();
        }
        private void btnDuzelt_Click(object sender, EventArgs e)
        {
            int?         id    = dataGridViewCari.CurrentRow.Cells[clId.Name].Value.ToString().ParseNullable <int>(x => int.Parse(x));
            string       birim = dataGridViewCari.CurrentRow.Cells[clBirim.Name].Value.ToStringOrEmpty();
            frmStokBirim frm   = new frmStokBirim(id, birim);

            frm.Owner = this;
            frm.ShowDialog();
        }