FarPoint.Win アセンブリ > FarPoint.Win 名前空間 > DoubleLineBorder クラス > DoubleLineBorder コンストラクタ : DoubleLineBorder コンストラクタ(Color,Boolean,Boolean,Boolean,Boolean) |
'Declaration Public Function New( _ ByVal color As Color, _ ByVal left As Boolean, _ ByVal top As Boolean, _ ByVal right As Boolean, _ ByVal bottom As Boolean _ )
FarPoint.Win.DoubleLineBorder dbl = new FarPoint.Win.DoubleLineBorder(Color.Yellow, true, false, true, false); int i = dbl.Thickness; MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.");
Dim dbl As New FarPoint.Win.DoubleLineBorder(Color.Yellow, True, False, True, False) Dim i As Integer = dbl.Thickness MessageBox.Show("The thickness of the border is " + i.ToString() + " pixels.")