private void satışPersoneliGösterToolStripMenuItem_Click(object sender, EventArgs e)
        {
            dlg_PersonelDetay form = new dlg_PersonelDetay();

            form.businessEntityId = int.Parse(dgv_Magaza.SelectedRows[0].Cells["SalesPersonID"].Value.ToString());
            form.Show();
        }
        private void personelDetayToolStripMenuItem_Click(object sender, EventArgs e)
        {
            if (dgv_PersonelListesi.SelectedRows.Count == 0)
            {
                MessageBox.Show("Lütfen personel seçiniz.");
                return;
            }

            dlg_PersonelDetay form = new dlg_PersonelDetay();

            form.businessEntityId = int.Parse(dgv_PersonelListesi.SelectedRows[0].Cells["BusinessEntityID"].Value.ToString());
            form.Show();
        }