问题描述
这是我网上找的源码,为什么我看窗体属性里头并没有设置--后面的内容,他是怎么设置的啊???
解决方案
解决方案二:
有没有大神能帮帮忙啊
解决方案三:
没看懂楼主的问题,能说的清楚些吗
解决方案四:
引用2楼guonan198811的回复:
没看懂楼主的问题,能说的清楚些吗
就是this.text只写了旺财管理收银系统,并没有写济南某某商场!我想把济南某某商场改成别的内容,但是找不到在哪里修改
解决方案五:
LZ看下Form的Load事件
解决方案六:
引用4楼从事CSharp程序开发的回复:
LZ看下Form的Load事件
我看了,也只有旺财管理这几个字没有后面的济南,,,,
解决方案七:
把Form的代码都贴过来看下
解决方案八:
*.Designer.cs以及*.cs这俩都看下
解决方案九:
引用7楼从事CSharp程序开发的回复:
*.Designer.cs以及*.cs这俩都看下
找了很多地方都没有看见
解决方案十:
Form的Load事件所在的文件就是*.cs
解决方案十一:
引用9楼从事CSharp程序开发的回复:
Form的Load事件所在的文件就是*.cs
this.AutoScaleDimensions=newSystem.Drawing.SizeF(6F,12F);this.AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font;this.ClientSize=newSystem.Drawing.Size(399,238);this.Controls.Add(this.panelEx1);this.FormBorderStyle=System.Windows.Forms.FormBorderStyle.FixedSingle;this.Icon=((System.Drawing.Icon)(resources.GetObject("$this.Icon")));this.MaximizeBox=false;this.MinimizeBox=false;this.Name="frmLogin";this.StartPosition=System.Windows.Forms.FormStartPosition.CenterScreen;this.Text="旺财收银管理系统1";this.Load+=newSystem.EventHandler(this.frmLogin_Load);((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();this.panelEx1.ResumeLayout(false);this.ResumeLayout(false);
解决方案十二:
这里设置的也没有后面的内容
解决方案十三:
e,图片发不出去啊!!!!!
解决方案十四:
frmLogin_Load这个方法所在类的代码也发来看下
解决方案十五:
System.ComponentModel.ComponentResourceManagerresources=newSystem.ComponentModel.ComponentResourceManager(typeof(frmLogin));this.styleManager1=newDevComponents.DotNetBar.StyleManager();this.styleManager2=newDevComponents.DotNetBar.StyleManager();this.pictureBox1=newSystem.Windows.Forms.PictureBox();this.pictureBox2=newSystem.Windows.Forms.PictureBox();this.labelX1=newDevComponents.DotNetBar.LabelX();this.labelX2=newDevComponents.DotNetBar.LabelX();this.tbPwd=newDevComponents.DotNetBar.Controls.TextBoxX();this.cbUserid=newDevComponents.DotNetBar.Controls.ComboBoxEx();this.btnLogin=newDevComponents.DotNetBar.ButtonX();this.btnExit=newDevComponents.DotNetBar.ButtonX();this.panelEx1=newDevComponents.DotNetBar.PanelEx();this.galleryContainer2=newDevComponents.DotNetBar.GalleryContainer();this.labelItem1=newDevComponents.DotNetBar.LabelItem();this.galleryContainer3=newDevComponents.DotNetBar.GalleryContainer();this.labelItem2=newDevComponents.DotNetBar.LabelItem();((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();this.panelEx1.SuspendLayout();this.SuspendLayout();////styleManager1//this.styleManager1.ManagerStyle=DevComponents.DotNetBar.eStyle.Office2007Blue;////styleManager2//this.styleManager2.ManagerStyle=DevComponents.DotNetBar.eStyle.Office2007Blue;////pictureBox1//this.pictureBox1.Dock=System.Windows.Forms.DockStyle.Top;this.pictureBox1.Image=((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));this.pictureBox1.Location=newSystem.Drawing.Point(0,0);this.pictureBox1.Name="pictureBox1";this.pictureBox1.Size=newSystem.Drawing.Size(399,64);this.pictureBox1.TabIndex=0;this.pictureBox1.TabStop=false;////pictureBox2//this.pictureBox2.Image=((System.Drawing.Image)(resources.GetObject("pictureBox2.Image")));this.pictureBox2.Location=newSystem.Drawing.Point(30,101);this.pictureBox2.Name="pictureBox2";this.pictureBox2.Size=newSystem.Drawing.Size(106,101);this.pictureBox2.SizeMode=System.Windows.Forms.PictureBoxSizeMode.StretchImage;this.pictureBox2.TabIndex=1;this.pictureBox2.TabStop=false;////labelX1////////this.labelX1.BackgroundStyle.Class="";this.labelX1.Location=newSystem.Drawing.Point(153,99);this.labelX1.Name="labelX1";this.labelX1.Size=newSystem.Drawing.Size(51,23);this.labelX1.TabIndex=2;this.labelX1.Text="用户名:";////labelX2////////this.labelX2.BackgroundStyle.Class="";this.labelX2.Location=newSystem.Drawing.Point(153,135);this.labelX2.Name="labelX2";this.labelX2.Size=newSystem.Drawing.Size(51,23);this.labelX2.TabIndex=3;this.labelX2.Text="密码:";////tbPwd////////this.tbPwd.Border.Class="TextBoxBorder";this.tbPwd.Location=newSystem.Drawing.Point(210,137);this.tbPwd.Name="tbPwd";this.tbPwd.PasswordChar='*';this.tbPwd.Size=newSystem.Drawing.Size(150,21);this.tbPwd.TabIndex=4;this.tbPwd.Text="123456";////cbUserid//this.cbUserid.DisplayMember="Text";this.cbUserid.DrawMode=System.Windows.Forms.DrawMode.OwnerDrawFixed;this.cbUserid.FormattingEnabled=true;this.cbUserid.ItemHeight=15;this.cbUserid.Location=newSystem.Drawing.Point(210,99);this.cbUserid.Name="cbUserid";this.cbUserid.Size=newSystem.Drawing.Size(150,21);this.cbUserid.Style=DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;this.cbUserid.TabIndex=5;////btnLogin//this.btnLogin.AccessibleRole=System.Windows.Forms.AccessibleRole.PushButton;this.btnLogin.ColorTable=DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;this.btnLogin.Location=newSystem.Drawing.Point(153,178);this.btnLogin.Name="btnLogin";this.btnLogin.Size=newSystem.Drawing.Size(92,23);this.btnLogin.Style=DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;this.btnLogin.TabIndex=6;this.btnLogin.Text="登录(Enter)";this.btnLogin.Click+=newSystem.EventHandler(this.btnLogin_Click);
解决方案:
////btnExit//this.btnExit.AccessibleRole=System.Windows.Forms.AccessibleRole.PushButton;this.btnExit.ColorTable=DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;this.btnExit.Location=newSystem.Drawing.Point(268,178);this.btnExit.Name="btnExit";this.btnExit.Size=newSystem.Drawing.Size(92,23);this.btnExit.Style=DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;this.btnExit.TabIndex=7;this.btnExit.Text="取消(Esc)";this.btnExit.Click+=newSystem.EventHandler(this.btnExit_Click);////panelEx1//this.panelEx1.CanvasColor=System.Drawing.SystemColors.Control;this.panelEx1.ColorSchemeStyle=DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;this.panelEx1.Controls.Add(this.btnExit);this.panelEx1.Controls.Add(this.btnLogin);this.panelEx1.Controls.Add(this.cbUserid);this.panelEx1.Controls.Add(this.tbPwd);this.panelEx1.Controls.Add(this.labelX2);this.panelEx1.Controls.Add(this.labelX1);this.panelEx1.Controls.Add(this.pictureBox2);this.panelEx1.Controls.Add(this.pictureBox1);this.panelEx1.Dock=System.Windows.Forms.DockStyle.Fill;this.panelEx1.Location=newSystem.Drawing.Point(0,0);this.panelEx1.Name="panelEx1";this.panelEx1.Size=newSystem.Drawing.Size(399,238);this.panelEx1.Style.Alignment=System.Drawing.StringAlignment.Center;this.panelEx1.Style.BackColor1.ColorSchemePart=DevComponents.DotNetBar.eColorSchemePart.PanelBackground;this.panelEx1.Style.BackColor2.ColorSchemePart=DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;this.panelEx1.Style.Border=DevComponents.DotNetBar.eBorderType.SingleLine;this.panelEx1.Style.BorderColor.ColorSchemePart=DevComponents.DotNetBar.eColorSchemePart.PanelBorder;this.panelEx1.Style.ForeColor.ColorSchemePart=DevComponents.DotNetBar.eColorSchemePart.PanelText;this.panelEx1.Style.GradientAngle=90;this.panelEx1.TabIndex=0;////galleryContainer2////////this.galleryContainer2.BackgroundStyle.Class="RibbonFileMenuColumnTwoContainer";this.galleryContainer2.EnableGalleryPopup=false;this.galleryContainer2.LayoutOrientation=DevComponents.DotNetBar.eOrientation.Vertical;this.galleryContainer2.MinimumSize=newSystem.Drawing.Size(180,240);this.galleryContainer2.MultiLine=false;this.galleryContainer2.Name="galleryContainer2";this.galleryContainer2.PopupUsesStandardScrollbars=false;////labelItem1//this.labelItem1.BorderSide=DevComponents.DotNetBar.eBorderSide.Bottom;this.labelItem1.BorderType=DevComponents.DotNetBar.eBorderType.Etched;this.labelItem1.CanCustomize=false;this.labelItem1.Name="labelItem1";////galleryContainer3////////this.galleryContainer3.BackgroundStyle.Class="RibbonFileMenuColumnTwoContainer";this.galleryContainer3.EnableGalleryPopup=false;this.galleryContainer3.LayoutOrientation=DevComponents.DotNetBar.eOrientation.Vertical;this.galleryContainer3.MinimumSize=newSystem.Drawing.Size(180,240);this.galleryContainer3.MultiLine=false;this.galleryContainer3.Name="galleryContainer3";this.galleryContainer3.PopupUsesStandardScrollbars=false;////labelItem2//this.labelItem2.BorderSide=DevComponents.DotNetBar.eBorderSide.Bottom;this.labelItem2.BorderType=DevComponents.DotNetBar.eBorderType.Etched;this.labelItem2.CanCustomize=false;this.labelItem2.Name="labelItem2";////frmLogin//this.AutoScaleDimensions=newSystem.Drawing.SizeF(6F,12F);this.AutoScaleMode=System.Windows.Forms.AutoScaleMode.Font;this.ClientSize=newSystem.Drawing.Size(399,238);this.Controls.Add(this.panelEx1);this.FormBorderStyle=System.Windows.Forms.FormBorderStyle.FixedSingle;this.Icon=((System.Drawing.Icon)(resources.GetObject("$this.Icon")));this.MaximizeBox=false;this.MinimizeBox=false;this.Name="frmLogin";this.StartPosition=System.Windows.Forms.FormStartPosition.CenterScreen;this.Text="旺财收银管理系统1";this.Load+=newSystem.EventHandler(this.frmLogin_Load);((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();this.panelEx1.ResumeLayout(false);this.ResumeLayout(false);
解决方案:
引用9楼从事CSharp程序开发的回复:
Form的Load事件所在的文件就是*.cs
发了,在楼下,你看看是不是这个
解决方案:
这个是*.Designer.cs的内容,不是*.cs的
解决方案:
在Load事件里面加上如下代码即可this.Text+="--【济南某某商场】"
解决方案:
不太懂题主意思。你已经知道了是窗体的text属性不包含“某某商场”这几个字,那你把你想写的字加上不得了?this.Text=“想在窗体标题栏显示的全部内容”这是代码上修改。或者更直接的方法直接属性面板里找到Text属性把内容改成你想要的就行了。
解决方案:
直接ctrl+f一下不就知道了?如果没有那么就表示他是动态加载的咯你还是得看代码找"this.Text"看他所有赋值的地方
解决方案:
CTRl+F然后输入你没有找到的东西,选择所有文件,应该就可以找到了
解决方案:
ctrl+F然后解决方案查找一下关键字不就可以了?
解决方案:
你看看右边的属性