private void EditProductColor(ListViewItem lstItem)
        {
            ProductColor productColor = lstItem.Tag as ProductColor;

            using (frmColorItem frmcolor = new frmColorItem())
            {
                frmcolor.StartPosition = FormStartPosition.Manual;
                frmcolor.Location      = new Point(this.Right - frmcolor.Width, this.Top + btnEdit.Top);
                frmcolor.SetProductColor(productColor);
                if (frmcolor.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
                {
                    _hasChanged  = true;
                    productColor = frmcolor.ProductColor;
                    UpdateListViewItem(lstItem, productColor);
                    UpdateProductColor();
                }
            }
        }
        private void AddProductColor()
        {
            if (_selectedProductColorTable == null)
            {
                return;
            }
            ProductColor productColor = null;

            using (frmColorItem frmcolor = new frmColorItem())
            {
                frmcolor.StartPosition = FormStartPosition.Manual;
                frmcolor.Location      = new Point(this.Right - frmcolor.Width, this.Top + btnAdd.Top);
                frmcolor.SetProductColor(null);
                if (frmcolor.ShowDialog(this) == System.Windows.Forms.DialogResult.OK)
                {
                    _hasChanged  = true;
                    productColor = frmcolor.ProductColor;
                    LoadListViewItem(productColor);
                    UpdateProductColor();
                }
            }
        }