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