private void constructor() { Logics = new Logics.SwitchLogics(); Graphics = new Graphics.SwitchGraphics(); Graphics.parent = this; Logics.parent = this; }