コード例 #1
0
ファイル: Size.cs プロジェクト: kosorin/okeno
 public Size FromPercentage(Rectangle bounds)
 {
     return(new Size(
                Width.FromPercentage(bounds.X, bounds.Width),
                Height.FromPercentage(bounds.Y, bounds.Height)));
 }