private void editStyleID_Click(object sender, RoutedEventArgs e)
        {
            Button editBtn = sender as Button;
            if (editBtn != null)
            {
                Grid parentGrid = editBtn.Parent as Grid;

                if (parentGrid != null)
                {
                    ComboBox comboBox = parentGrid.FindName("comboBox") as ComboBox;
                    if (comboBox != null && comboBox.SelectedItem != null)
                    {
                        ProductName productName = comboBox.SelectedItem as ProductName;
                        if (productColumn != null)
                        {
                            AddEditProductPopupBox addNewProductPopUp = new AddEditProductPopupBox(Util.GetParentWindow(this));
                            addNewProductPopUp.AllowToEditOnlyStyleID = true;
                            addNewProductPopUp.ProductName = productName.Name;
                            addNewProductPopUp.StyleId = productName.StyleID;
                            if (addNewProductPopUp.ShowDialog() == true)
                            {
                                productName.StyleID = addNewProductPopUp.StyleId;
                            }
                        }
                    }
                }
            }
        }
        private void addNewProductBtn_Click(object sender, RoutedEventArgs e)
        {
            Button addBtn = sender as Button;
            if (addBtn != null)
            {
                Grid parentGrid = addBtn.Parent as Grid;

                if (parentGrid != null)
                {
                    ComboBox comboBox = parentGrid.FindName("comboBox") as ComboBox;
                    if (comboBox != null)
                    {
                        AddEditProductPopupBox addNewProductPopUp = new AddEditProductPopupBox(Util.GetParentWindow(this));
                        addNewProductPopUp.ProductName = comboBox.Text;
                        if (addNewProductPopUp.ShowDialog() == true)
                        {
                            comboBox.SelectedItem = NewEnquiryViewModel.CreateNewProduct(addNewProductPopUp.ProductName, addNewProductPopUp.StyleId);
                            addBtn.Visibility = System.Windows.Visibility.Collapsed;

                            //Button editButton = parentGrid.FindName("editBtn") as Button;
                            //if (editButton != null)
                            //{
                            //    editButton.Visibility = System.Windows.Visibility.Visible;
                            //}
                        }
                    }
                }
            }
        }