private static void SetFormRefs(MainForm Ref) { HardwareListener.Init(Ref.Handle); UIActions.SetFormRef(Ref); ScriptManager.SetFormRef(Ref); SkillManager.SetFormRef(Ref); ActiveMode.SetFormRef(Ref); }