Esempio n. 1
0
 private void checkBox1_CheckedChanged(object sender, EventArgs e)
 {
     if (registrationControl != null)
     {
         registrationControl.model.warpStyle = ((CheckBox)sender).Checked
             ? TransformationStyleFactory.getTransformationStyle(1)
             : TransformationStyleFactory.getDefaultTransformationStyle();
         updateWarpStyle();
     }
 }
Esempio n. 2
0
 public static TransformationStyle getDefaultTransformationStyle()
 {
     return(TransformationStyleFactory.getTransformationStyle(0));
 }