private void BtnAdd_Click(object sender, System.EventArgs e)
        {
            var frm = new Form_SalesmanAddEdit();

            if (frm.ShowDialog() == DialogResult.OK)
            {
                Populate();
            }
        }
        private void Gv_CellContentClick(object sender, DataGridViewCellEventArgs e)
        {
            try
            {
                DataGridView senderGrid = (DataGridView)sender;

                if (senderGrid.Columns[e.ColumnIndex] is DataGridViewImageColumn && e.RowIndex >= 0)
                {
                    var id  = gv.Rows[e.RowIndex].Cells[1].Value.ToString().ToInt16();
                    var frm = new Form_SalesmanAddEdit
                    {
                        id = id
                    };
                    if (frm.ShowDialog() == DialogResult.OK)
                    {
                        Populate();
                    }
                }
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }