Text color Editor
Change or Edit text color in C# Visual Studio
For Example, Add Richtextbox & Button from the toolbox and copy & paste the code
to the button1_click Event.
private void button1_Click(object sender, EventArgs e)
{
System.Windows.Forms.ColorDialog
MyDialog = new ColorDialog();
MyDialog.AllowFullOpen = true;
MyDialog.ShowDialog();
richTextBox1.ForeColor =MyDialog.Color;
}
Change or Edit text color in C# Visual Studio
For Example, Add Richtextbox & Button from the toolbox and copy & paste the code
to the button1_click Event.
private void button1_Click(object sender, EventArgs e)
{
System.Windows.Forms.ColorDialog
MyDialog = new ColorDialog();
MyDialog.AllowFullOpen = true;
MyDialog.ShowDialog();
richTextBox1.ForeColor =MyDialog.Color;
}
No comments:
Post a Comment