Example #1
0
 private void OldCubeRbutton_CheckedChanged(object sender, EventArgs e)
 {
     if (OldCubeRbutton.Checked)
     {
         if (adapterTrackBar.Value == 0)
         {
             DrawingMethod = new LegacyRectangleAdapter();
         }
         else
         {
             legacyMethod = new LegacyRectangle();
         }
     }
 }
Example #2
0
 public LegacyRectangleAdapter()
 {
     rect = new LegacyRectangle();
 }