Form2.cs 524 B

1234567891011121314151617181920212223242526
  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. namespace Praktika
  11. {
  12. public partial class Form2 : Form
  13. {
  14. public Form2(Form1 f)
  15. {
  16. InitializeComponent();
  17. f.BackColor = Color.Yellow;
  18. }
  19. private void Form2_Load(object sender, EventArgs e)
  20. {
  21. }
  22. }
  23. }