OtherForm.cs 897 B

1234567891011121314151617181920212223242526272829303132333435
  1. using PlcUiControl;
  2. using Sunny.UI;
  3. using System;
  4. using System.Collections.Generic;
  5. using System.ComponentModel;
  6. using System.Data;
  7. using System.Drawing;
  8. using System.Linq;
  9. using System.Text;
  10. using System.Threading.Tasks;
  11. using System.Windows.Forms;
  12. using PlcUiForm;
  13. namespace YangjieTester.点检视图
  14. {
  15. [FormDescriptionAttribute("点检视图画面")]
  16. public partial class OtherForm : PlcBaseForm
  17. {
  18. public OtherForm()
  19. {
  20. InitializeComponent();
  21. }
  22. private void OtherForm_Load(object sender, EventArgs e)
  23. {
  24. uiTextBox1.Text = string.Join(Environment.NewLine, AppSession.UserOperations.AsEnumerable()
  25. .Reverse()
  26. .ToList());
  27. uiTextBox2.Text = string.Join(Environment.NewLine, AppSession.ReadWriteErrors.AsEnumerable()
  28. .Reverse()
  29. .ToList());
  30. }
  31. }
  32. }