// Please use the following namespace
// using System.Windows.Forms;
// using GrapeCity.Win.Editors;
public void SetFlatStyleSettings()
{
// Create an instance of a GcRichTextBox control.
GcRichTextBox gcRichTextBox1 = new GcRichTextBox();
// Sets the FlatStyle to the Office2007Blue. And the appearance of the border will change.
gcRichTextBox1.FlatStyle = FlatStyleEx.Office2007Blue;
}
' Please use the following namespace
' Imports System.Windows.Forms;
' Imports GrapeCity.Win.Editors;
Public Sub SetFlatStyleSettings()
' Create an instance of a GcRichTextBox control.
Dim gcRichTextBox1 As New GcRichTextBox()
' Sets the FlatStyle to the Office2007Blue. And the appearance of the border will change.
gcRichTextBox1.FlatStyle = FlatStyleEx.Office2007Blue
End Sub