Visual Basic (Declaration) | |
---|---|
Public Property BackColor As Color |
C# | |
---|---|
public Color BackColor {get; set;} |
Property Value
System.Drawing.Color.C# | Copy Code |
---|---|
private void detail_Format(object sender, System.EventArgs eArgs) { this.textBox1.BackColor = System.Drawing.Color.Transparent; this.textBox1.ForeColor = System.Drawing.Color.Black; } |
Visual Basic | Copy Code |
---|---|
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format Me.TextBox1.BackColor = System.Drawing.Color.Transparent Me.TextBox1.ForeColor = System.Drawing.Color.Black End Sub |