示例#1
0
        private void replaceToolStripMenuItem_Click(object sender, EventArgs e)
        {
            //create form2 object
            Form2 f2 = new Form2();

            //display form2
            f2.Show();
            //current form2  object as parameter
            f2.getForm1(this);

            f2.getObjectFromForm2(ref s);
        }