private void constructor() { Logics = new Logics.ButtonLogics(); Graphics = new Graphics.ButtonGraphics(); Graphics.parent = this; Logics.parent = this; }