コード例 #1
0
ファイル: WinUtil.cs プロジェクト: cdc-jtmiller/Epi-Info-R
 public static int GetPromptLeft(Epi.Fields.FieldWithSeparatePrompt field, int width)
 {
     return((int)Math.Ceiling(field.PromptLeftPositionPercentage * width));
 }
コード例 #2
0
ファイル: WinUtil.cs プロジェクト: cdc-jtmiller/Epi-Info-R
 public static int GetPromptTop(Epi.Fields.FieldWithSeparatePrompt field, int height)
 {
     return((int)Math.Ceiling(field.PromptTopPositionPercentage * height));
 }