2using System.Reflection;
3using System.Runtime.CompilerServices;
4using System.Collections.Generic;
5using System.Collections.Immutable;
10using Microsoft.Xna.Framework;
11using Microsoft.Xna.Framework.Graphics;
20 public class SomeClass
22 public event Action SomeEvent;
40 BackgroundColor = Color.Blue,
43 Main.OnMouseDown += (e) =>
46 c.BackgroundColor = state ? Color.Blue : Color.Green;
Base class for all components.
virtual CUIComponent Append(CUIComponent child, string name=null, [CallerMemberName] string memberName="")
Adds children to the end of the list.
Draggable and resizable container for other components.
This class contains filling methods An Action<CUIComponent> that creates some GUI and attaches it t...
static void WeakEvents(CUIComponent Main)
It just demonstates the problem idk how to solve it yet no, i'm not gonna use other weak event manage...