本文介绍了如何在C#中更改控件的程序默认值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我在Video Studio中打开一个新的C#项目时,程序会打开一个空白表单,背景颜色设置为COntrol颜色。有没有一种方法可以将所有新表单打开,背景颜色设置为Silver?与控件相同,比如将pictureBox控件设置为始终使用Fixed3D的BorderStyle打开?我总是改变这两个,将它们作为默认值而不是每次都要更改它们会很好。
解决方案
When I open a new C# project in Video Studio, the program opens a blank form with the background color set to the COntrol color. Is there a way to chnage this so all new forms open with the background color set to Silver instead? Same with controls, say setting the pictureBox control to always open with a BorderStyle of Fixed3D? I always change these two and it would be nice to have them as the defaults instead of having to change them every time.
解决方案
这篇关于如何在C#中更改控件的程序默认值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!