public AddEyeMorph() { this.menu = new AddEyeMorphControl(); this.menu.openVertexIndexesButton.Click += new EventHandler(openVertexIndexesButton_Click); this.menu.openReferenceFileButton.Click += new EventHandler(openReferenceFileButton_Click); this.menu.applyButton.Click += new EventHandler(applyButton_Click); this.menu.radioButton1.CheckedChanged += new EventHandler(radioButton1_CheckedChanged); this.menu.radioButton2.CheckedChanged += new EventHandler(radioButton2_CheckedChanged); this.autodetect = false; this.applied = false; this.targetFile = null; this.referenceFile = null; }