private void constructor() { Logics = new Logics.DoubleSwitchLogics(); Graphics = new Graphics.DoubleSwitchGraphics(); Graphics.parent = this; Logics.parent = this; }