PowerTools ActiveReports for .NET 11.0J
Clone メソッド (Border)
使用例 

構文
'宣言
 
Public Function Clone() As Border
public Border Clone()
使用例
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Dim b As New GrapeCity.ActiveReports.Border
   Me.TextBox1.Border.BottomStyle = BorderLineStyle.DashDot
   Me.TextBox1.Border.TopStyle = BorderLineStyle.DashDot
   b = Me.TextBox1.Border.Clone()
   Me.TextBox2.Border.BottomStyle = b.BottomStyle
   Me.TextBox2.Border.TopStyle = b.TopStyle
End Sub
private void Detail_Format(object sender, System.EventArgs eArgs)
{
    GrapeCity.ActiveReports.Border b = new GrapeCity.ActiveReports.Border();
    this.TextBox1.Border.BottomStyle = BorderLineStyle.ThickDash;
    this.TextBox1.Border.TopStyle = BorderLineStyle.ThickDash;
    b = this.TextBox1.Border.Clone();
    this.TextBox2.Border.BottomStyle = b.BottomStyle;
    this.TextBox2.Border.TopStyle = b.TopStyle;
}
参照

関連項目

Border クラス
Border メンバ

 

 


©2003-2017 GrapeCity inc. All rights reserved.