Пример #1
0
 /// <summary>
 ///     turns a System.Drawing.Size into the WPF double,double version
 /// </summary>
 /// <param name="s">
 /// </param>
 /// <returns>
 /// </returns>
 protected static Size SizeConverter(System.Drawing.Size s)
 {
     return(new Size(s.Width, s.Height));
 }
Пример #2
0
 internal static extern int DwmQueryThumbnailSourceSize(IntPtr thumb, out System.Drawing.Size size);
Пример #3
0
 public static Size ToWpf(this System.Drawing.Size s)
 {
     return(new Size(s.Width, s.Height));
 }