第一窗体
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace wince5
{
public partial class Form1 : Form
{
//public Form2 form2 = new Form2();
public Form1()
{
InitializeComponent();
}
第二窗体
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace wince5
{
public partial class Form2 : Form
{
public Form1 form1 = new Form1();
public string s;