Visual Basic (Declaration) | |
---|---|
Public Property BottomColor As Color |
C# | |
---|---|
public Color BottomColor {get; set;} |
C# | Copy Code |
---|---|
private void Detail_Format(object sender, System.EventArgs eArgs) { this.TextBox1.Border.BottomColor = System.Drawing.Color.Blue; this.TextBox1.Border.LeftColor = System.Drawing.Color.Blue; this.TextBox1.Border.RightColor = System.Drawing.Color.Blue; this.TextBox1.Border.TopColor = System.Drawing.Color.Blue; } |
Visual Basic | Copy Code |
---|---|
Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format Me.TextBox1.Border.BottomColor = System.Drawing.Color.Blue Me.TextBox1.Border.LeftColor = System.Drawing.Color.Blue Me.TextBox1.Border.RightColor = System.Drawing.Color.Blue Me.TextBox1.Border.TopColor = System.Drawing.Color.Blue End Sub |