private void surfToolStripMenuItem_Click(object sender, EventArgs e) { Form1 f1 = NewForm1(); Form1 f2 = NewForm1(); SURF surf = new SURF(); IplImage dstImg1 = surf.Init("box.png"); IplImage dstImg2 = surf.Test("box_in_scene.png"); f1.SetSize(dstImg1); f2.SetSize(dstImg2); }