i have 40 windows forms in a C# Project. i have to set the same background in all forms. is any option or settings to do that in a single settings?
You can create base form and set the background for it and other form inherit from the base form.
class baseForm: Form {
void base() {
this.BackColor = //set here
}
}
class YourForm : baseForm {
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With