public ReplaceFaceExpressionMorph() { this.menu = new ReplaceFaceExpressionMorphControl(); this.ignoreList = new List<int>(); this.menu.openOBJFileButton.Click += new EventHandler(openOBJFileButton_Click); this.menu.openIgnoreListButton.Click += new EventHandler(openIgnoreListButton_Click); this.menu.applyButton.Click += new EventHandler(applyButton_Click); this.menu.clearIgnoreListButton.Click += new EventHandler(clearIgnoreListButton_Click); this.menu.targetMorphComboBox.TextChanged += new EventHandler(targetMorphComboBox_TextChanged); this.menu.accuracyNumericUpDown.ValueChanged += new EventHandler(accuracyNumericUpDown_ValueChanged); this.applied = false; this.accuracy = (double)this.menu.accuracyNumericUpDown.Value; this.targetExpression = ""; }
public ReplaceFaceExpressionMorph() { this.menu = new ReplaceFaceExpressionMorphControl(); this.ignoreList = new List <int>(); this.menu.openOBJFileButton.Click += new EventHandler(openOBJFileButton_Click); this.menu.openIgnoreListButton.Click += new EventHandler(openIgnoreListButton_Click); this.menu.applyButton.Click += new EventHandler(applyButton_Click); this.menu.clearIgnoreListButton.Click += new EventHandler(clearIgnoreListButton_Click); this.menu.targetMorphComboBox.TextChanged += new EventHandler(targetMorphComboBox_TextChanged); this.menu.accuracyNumericUpDown.ValueChanged += new EventHandler(accuracyNumericUpDown_ValueChanged); this.applied = false; this.accuracy = (double)this.menu.accuracyNumericUpDown.Value; this.targetExpression = ""; }