第一个窗体中的第一个按钮控制第二个窗体的弹出
第一个窗体中的第二个按钮控制第二个窗体的文本框的内容
第二个窗体中的第一个按钮控制第一个窗体的弹出
第二个窗体中的第二个按钮控制第一个窗体的文本框的内容
谁能帮我修改一下程序!!!
急急急!!!
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;namespace WindowsApplication1
{
    public partial class Form2 : Form
    {
        
        public Form2()
        {
            InitializeComponent();
        }        private void Form2_Load(object sender, EventArgs e)
        {
           
        }        private void button1_Click(object sender, EventArgs e)
        {
            Form1 f1 = new Form1();
            f1.Show();
            
        }        private void button2_Click(object sender, EventArgs e)
        {
            Form1 f1 = new Form1();
            f1.Show();
            f1.textBox1.Text = "222";
        }
        
    }
}using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;namespace WindowsApplication1
{
    public partial class Form1 : Form
    {
        Form2 f2 = new Form2();
        public Form1()
        {
            InitializeComponent();
            
            
        }        private void button1_Click(object sender, EventArgs e)
        {
            f2.Show();
        }        private void button2_Click(object sender, EventArgs e)
        {            
            f2.textBox1.Text = "123";
        }
    }
}只想让Form1与Form2窗体都出现一个。