首页 新闻 搜索 专区 学院

xp下开发的C#winform程序到vista下界面变乱

0
悬赏园豆:20 [已关闭问题]
<P>最近更换了开发的操作系统,用vista开发,但是发现xp下开发的C#winform程序到vista下界面变乱了,不知道怎么回事,麻烦大家帮忙解决以下吧。采用的开发环境是visual studio 2005操作系统vista sp1,请不要劝我重新使用xp和2003!谢谢</P>
问题补充: at Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService.CheckoutFiles(String[] files) at Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService.CheckoutFiles() at Microsoft.VisualStudio.Shell.Design.Serialization.DesignerDocDataService.OnModifyingDocData(Object sender, EventArgs e) at Microsoft.VisualStudio.Shell.Design.Serialization.DocData.OnModifying(EventArgs e) at Microsoft.VisualStudio.Shell.Design.Serialization.DocData.RaiseModifying() at Microsoft.VisualStudio.Design.Serialization.CodeDom.VSCodeDomDesignerLoader.OnModifying() at System.ComponentModel.Design.Serialization.BasicDesignerLoader.OnComponentChanging(Object sender, ComponentChangingEventArgs e) at System.ComponentModel.Design.ComponentChangingEventHandler.Invoke(Object sender, ComponentChangingEventArgs e) at System.ComponentModel.Design.DesignerHost.System.ComponentModel.Design.IComponentChangeService.OnComponentChanging(Object component, MemberDescriptor member) at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.SetBounds(Rectangle bounds, BoundsSpecified specified) at System.Windows.Forms.Layout.DefaultLayout.ApplyCachedBounds(IArrangedElement container) at System.Windows.Forms.Layout.DefaultLayout.xLayout(IArrangedElement container, Boolean measureOnly, Size& preferredSize) at System.Windows.Forms.Layout.DefaultLayout.LayoutCore(IArrangedElement container, LayoutEventArgs args) at System.Windows.Forms.Layout.LayoutEngine.Layout(Object container, LayoutEventArgs layoutEventArgs) at System.Windows.Forms.Control.OnLayout(LayoutEventArgs levent) at System.Windows.Forms.ScrollableControl.OnLayout(LayoutEventArgs levent) at System.Windows.Forms.Form.OnLayout(LayoutEventArgs levent) at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args) at System.Windows.Forms.Control.PerformLayout() at System.Windows.Forms.Control.ResumeLayout(Boolean performLayout) at System.Windows.Forms.Layout.LayoutTransaction.Dis
Gavin&#183;Gong的主页 Gavin&#183;Gong | 初学一级 | 园豆:180
提问于:2008-08-04 11:50
< >
分享
其他回答(4)
0
不理解,难道在WEB上一直让人脑袋大的界面兼容问题已经蔓延到了winform?
丁学 | 园豆:18530 (专家六级) | 2008-08-04 12:49
0
有这回事,来个图
齐.net | 园豆:1421 (小虾三级) | 2008-08-04 12:56
0
这个主要是WinForm的AutoScale引起的问题。可能因为在Vista下Form的ClientSize比XP下小引起的。具体情况还需要贴个图过来看看。
Colin Han | 园豆:3041 (老鸟四级) | 2008-08-04 13:05
0
不过也确实,在windows form中由于主题的不一样,运行出来的效果就不一样,这个在开发过程中也是要考虑的.
侯垒 | 园豆:3435 (老鸟四级) | 2008-08-04 14:00
0
我也遇到过, 不过我是在VISTA下调整到正常状态后发布出来在XP下测试.不行再调整.不知道有没有好的办法
jackzhang | 园豆:190 (初学一级) | 2008-08-04 15:00
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册