/// <summary>
 /// Create new SanPham
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void BtnSPAdd_Click(object sender, EventArgs e)
 {
     Views.SanPhamDetail detailForm = new Views.SanPhamDetail(this)
     {
         StartPosition = FormStartPosition.CenterParent
     };
     detailForm.ShowDialog();
 }
        /// <summary>
        /// Handle event select SanPham from list Sanpham
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void ListSanPham_SelectedIndexChanged(object sender, EventArgs e)
        {
            int index = this.listSanPham.FocusedItem.Index;

            if (index == this.selectedIndex)
            {
                return;
            }
            this.selectedIndex = index;
            Views.SanPhamDetail detailForm = new Views.SanPhamDetail(index, this.dataSanPham[index], this.currentUser, this)
            {
                StartPosition = FormStartPosition.CenterParent
            };
            detailForm.ShowDialog();
        }