示例#1
0
 public ReplaceFaceGenMorph()
 {
     this.menu = new ReplaceFaceGenMorphcontrol();
     this.menu.targetMorphComboBox.TextChanged += new EventHandler(targetMorphComboBox_TextChanged);
     this.menu.accuracyNumericUpDown.ValueChanged += new EventHandler(accuracyNumericUpDown_ValueChanged);
     this.menu.openOBJFileButton.Click += new EventHandler(openOBJFileButton_Click);
     this.menu.applyButton.Click += new EventHandler(applyButton_Click);
     this.menu.openIgnoreListbutton.Click += new EventHandler(openIgnoreListbutton_Click);
     this.menu.clearIgnoreListButton.Click += new EventHandler(clearIgnoreListButton_Click);
     this.applied = false;
     this.accuracy = (double)this.menu.accuracyNumericUpDown.Value;
     this.ignoreList = new List<int>();
 }
示例#2
0
 public ReplaceFaceGenMorph()
 {
     this.menu = new ReplaceFaceGenMorphcontrol();
     this.menu.targetMorphComboBox.TextChanged    += new EventHandler(targetMorphComboBox_TextChanged);
     this.menu.accuracyNumericUpDown.ValueChanged += new EventHandler(accuracyNumericUpDown_ValueChanged);
     this.menu.openOBJFileButton.Click            += new EventHandler(openOBJFileButton_Click);
     this.menu.applyButton.Click           += new EventHandler(applyButton_Click);
     this.menu.openIgnoreListbutton.Click  += new EventHandler(openIgnoreListbutton_Click);
     this.menu.clearIgnoreListButton.Click += new EventHandler(clearIgnoreListButton_Click);
     this.applied    = false;
     this.accuracy   = (double)this.menu.accuracyNumericUpDown.Value;
     this.ignoreList = new List <int>();
 }