Example #1
0
 public void Create()
 {
     Control = new EtoMainCanvas {
         Handler             = this,
         SnapsToDevicePixels = true
     };
     Control.SizeChanged += Control_SizeChanged;
 }
Example #2
0
 public void Create()
 {
     Control = new EtoMainCanvas
     {
         Handler             = this,
         SnapsToDevicePixels = true,
         FocusVisualStyle    = null,
         Background          = swm.Brushes.Transparent
     };
     Control.Loaded += Control_Loaded;
 }