111,126
社区成员
发帖
与我相关
我的任务
分享
private System.Windows.Forms.Button btn_close;
private System.Windows.Forms.Button btn_login;
private System.Windows.Forms.Label lb_Name;
private System.Windows.Forms.Label lb_Pwd;
private System.Windows.Forms.Label lb_yuyan;
private System.Windows.Forms.TextBox txt_User;
private System.Windows.Forms.TextBox txt_Pwd;
private System.Windows.Forms.ComboBox CB_Base;
private System.Windows.Forms.Label label4;
private System.Windows.Forms.Label label5;
private System.Windows.Forms.Label label6;
private System.Windows.Forms.Label label1;
这些是初使窗体的一些控件,窗口代码生成后的一些属性就是this.XXX.Text="XXXX";
这样的字样``并没有看到怎么设置标题的样式
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();//这一行指定是否按XX样式显示
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new frm_Login());
}