namespace ElectronNET.API.Entities { /// /// /// public class Size { /// /// Gets or sets the width. /// /// /// The width. /// public int Width { get; set; } /// /// Gets or sets the height. /// /// /// The height. /// public int Height { get; set; } /// /// Convert this to . /// /// The size. public static implicit operator System.Drawing.Size(Size size) { return new System.Drawing.Size(size.Width, size.Height); } } }