public void AddValues(List <C_DATA> list, Dictionary <string, UserControl_variableItem> dict)
        {
            v2_values.Children.Clear();
            if (list.Count > 0)
            {
                if (list[0].Type == "pointer")
                {
                    highlight.Visibility = Visibility.Visible;
                }
                else
                {
                    highlight.Visibility = Visibility.Hidden;
                }

                ArrList = list;

                foreach (C_DATA val in list)
                {
                    UserControl_variableItem ai = new UserControl_variableItem(val);
                    string txt = val.Value;
                    txt = StringFunc.toBeauty(txt, ai.Data.Type == "char");

                    ai.setText(txt);
                    v2_values.Children.Add(ai);
                    dict.Add(val.Address, ai);
                }
            }
        }
        private void pointerProcess(UserControl_funcPanel fPanel, Dictionary <string, UserControl_variableItem> dict, RandomColorGenerator rcg)
        {
            foreach (var item in fPanel.getPanelChildren())
            {
                if (item is UserControl_variable)
                {
                    UserControl_variable arr          = item as UserControl_variable;
                    List <C_DATA>        dataChildren = arr.getArrayChildren();
                    if (dataChildren != null)
                    {
                        var panelChildren = arr.getPanelChildren();
                        int count         = dataChildren.Count;
                        for (int i = 0; i < count; i++)
                        {
                            if (dataChildren[i].Type == "pointer")
                            {
                                UserControl_variableItem source = panelChildren[i] as UserControl_variableItem;
                                if (dict.ContainsKey(dataChildren[i].Value))
                                {
                                    UserControl_variableItem target = dict[dataChildren[i].Value];
                                    C_DATA data = target.Data;
                                    if (source != null)
                                    {
                                        string val = StringFunc.toBeauty(data.Value, data.Type == "char");
                                        source.setText(val);

                                        SolidColorBrush scb = rcg.next();
                                        target.val.Foreground = scb;
                                        source.val.Foreground = scb;
                                    }
                                }
                                else
                                {
                                    source.setBackgroundNULL();
                                }
                            }
                        }
                    }
                }
            }
        }