Form3.cs 636 B

12345678910111213141516171819202122232425262728293031
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Data;
  5. using System.Drawing;
  6. using System.Linq;
  7. using System.Text;
  8. using System.Threading.Tasks;
  9. using System.Windows.Forms;
  10. using static WindowsFormsApp2.Form2;
  11. namespace WindowsFormsApp2
  12. {
  13. public partial class Form3 : Form
  14. {
  15. public Form3()
  16. {
  17. InitializeComponent();
  18. }
  19. public class Person
  20. {
  21. public string Name { get; set; } = "";
  22. public int Age { get; set; }
  23. }
  24. private void Form3_Load(object sender, EventArgs e)
  25. {
  26. }
  27. }
  28. }