Exemplo 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();
     }
 }
Exemplo n.º 2
0
 public static TransformationStyle getDefaultTransformationStyle()
 {
     return(TransformationStyleFactory.getTransformationStyle(0));
 }