久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

如何更改 .NET 中菜單條和菜單的默認背景顏色?

How do you change the default background color for menustrips and menus in .NET?(如何更改 .NET 中菜單條和菜單的默認背景顏色?)
本文介紹了如何更改 .NET 中菜單條和菜單的默認背景顏色?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

問題描述

這些天使用 Visual C#(特別是 Visual C# 2008)似乎菜單條和菜單的默認顏色是藍色,對我來說這看起來很奇怪,我真的很想覆蓋它.我猜 Visual Studio 正在從我選擇的系統主題或其他東西中選擇這種藍色,但是在我的系統上運行的其他 Windows 應用程序沒有這種藍色,所以我不知道為什么我的 .NET 應用程序必須有它.;)

These days with Visual C# (Visual C# 2008 specifically) it seems that the default color for menustrips and menus is blue, which to me looks really strange and is something that I'd really like to override. I'm guessing that Visual Studio is picking up this blue color from my selected system theme or something, however no other Windows app running on my system has this blue color so I don't know why my .NET apps would have to have it. ;)

無論如何,我注意到如果我使用舊版本的 Visual Studio (Visual Studio.NET) 創建應用程序,則菜單條和菜單的默認背景顏色是您希望看到的標準灰色.這是我認為的問題的一種解決方案,但它似乎有點愚蠢,我真的很想找到一種方法來在當前版本的 Visual C# 中覆蓋它.

Anyway, I noticed that if I create an application using an older version of Visual Studio (Visual Studio.NET), the default background color for menustrips and menus is the standard gray that you'd expect to see. This is one solution to the problem I suppose, but it seems like kind of a stupid one and I'd really like to find a way to override it in the current version of Visual C#.

推薦答案

DotNet 1.x 沒有 MenuStrip,而是使用標準的 Windows 菜單.

DotNet 1.x didn't have a MenuStrip, and used a standard Windows menu.

DotNet 2.0 及更高版本具有 MenuStrip,而 VS 7 及更高版本從工具箱中刪除 MainMenu 并將其替換為 MenuStrip,它使用 Office Xp 2003 主題,因此采用藍色配色方案用于 MenuStrip 和 ToolStrip.

DotNet versions 2.0 and up have the MenuStrip, and VS 7 and up removes the MainMenu from the toolbox and replaces it with a MenuStrip, which uses the Office Xp 2003 theme, hence the blue color scheme for the MenuStrip and ToolStrip.

MainMenu 仍然可以添加到標準 Windows 菜單的工具箱中.

The MainMenu can still be added to the toolbox for a standard Windows menu.

這篇關于如何更改 .NET 中菜單條和菜單的默認背景顏色?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

相關文檔推薦

LINQ to SQL and Concurrency Issues(LINQ to SQL 和并發問題)
SQL Server 2005 Transaction Level and Stored Procedures(SQL Server 2005 事務級和存儲過程)
Yield return from a try/catch block(try/catch 塊的收益回報)
Should I call Parameters.Clear when reusing a SqlCommand with a transation?(重用帶有事務的 SqlCommand 時,我應該調用 Parameters.Clear 嗎?)
Does SqlTransaction need to have Dispose called?(SqlTransaction 是否需要調用 Dispose?)
Reason for System.Transactions.TransactionInDoubtException(System.Transactions.TransactionInDoubtException 的原因)
主站蜘蛛池模板: 亚洲中午字幕 | 韩日一区二区三区 | 国产在线二区 | 国产一级影片 | 国产精品96久久久久久 | 亚洲一区二区三区视频 | 中文字幕一区二区三区四区 | 日本精品一区二区 | 在线视频成人 | 天天爽天天干 | 日韩成人在线播放 | 国产精品久久久久久久久久久久久久 | 欧美日韩精品专区 | 亚洲人精品午夜 | 午夜影院在线视频 | 网址黄| www.亚洲| 免费观看av网站 | 99久久免费精品 | 久久99精品国产 | www.日日操 | 国产午夜精品一区二区三区在线观看 | 亚洲国产黄| www.亚洲.com | 欧美一区二区三区在线观看视频 | 久草视频在线播放 | 国产高潮好爽受不了了夜夜做 | 成人免费在线视频 | 韩国av影院| 成人免费看片 | 久久久久国产 | 久久久久免费 | 亚洲人免费视频 | 一区二区伦理电影 | 日韩手机在线视频 | 欧美黄色精品 | 青青操91 | 精品人伦一区二区三区蜜桃网站 | 老熟女毛片 | 亚洲成人精品 | 人人鲁人人莫人人爱精品 |