Пример #1
0
        public G_TextBox CloneChild(GuiElement parent)
        {
            G_TextBox clone = (G_TextBox)base.Clone(parent);

            //clone.TextChanged = null;

            if (ValueChanged != null)
            {
                clone.ValueChanged = (Action <object>)ValueChanged.Clone();
            }
            if (PressRight != null)
            {
                clone.PressRight = (Action)PressRight.Clone();
            }
            return(clone);
        }