SubmitResult.cs 820 B

12345678910111213141516171819202122232425262728293031323334
  1. /****************************************************************************
  2. * 2023.10 DESKTOP-DL7CJI0
  3. ****************************************************************************/
  4. using System;
  5. using System.Collections.Generic;
  6. using UnityEngine;
  7. using UnityEngine.UI;
  8. using QFramework;
  9. namespace QFramework
  10. {
  11. public partial class SubmitResult : UIElement
  12. {
  13. private void Awake()
  14. {
  15. ConfirmBtn.onClick.AddListener(() =>
  16. {
  17. gameObject.SetActive(false);
  18. ExamManagerForPC.instance.ExamFinish();
  19. UIKit.GetPanel<PC_OperatePanel>().BlackImg.gameObject.SetActive(true);
  20. });
  21. CancelBtn.onClick.AddListener(() =>
  22. {
  23. gameObject.SetActive(false);
  24. UIKit.GetPanel<PC_OperatePanel>().BlackImg.gameObject.SetActive(false);
  25. });
  26. }
  27. protected override void OnBeforeDestroy()
  28. {
  29. }
  30. }
  31. }