久久久久久久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 的原因)
主站蜘蛛池模板: 91中文字幕在线观看 | 一区二区国产精品 | 国产福利91精品 | 亚洲女人天堂成人av在线 | 在线午夜 | 中文字幕一区二区三区四区五区 | 日本一区二区在线视频 | 成人精品毛片国产亚洲av十九禁 | 在线婷婷 | 成人精品一区二区三区中文字幕 | 久久91精品 | 国产一区二区在线免费播放 | 一区二区三区高清 | 国产精品国产精品国产专区不卡 | 成人乱人乱一区二区三区软件 | 日韩中文字幕一区 | 丁香婷婷在线视频 | 美人の美乳で授乳プレイ | 国产精品视频久久久 | 日韩在线观看精品 | 国产精品久久久久久久久久免费看 | 国产一级视频在线 | 成人不卡视频 | 免费特级黄毛片 | 欧美性受xxxx | 久久久久久国产精品免费免费狐狸 | 日本在线视 | 国产精品视频久久 | 久久国产欧美日韩精品 | 国产一区三区视频 | 亚洲欧美日韩一区二区 | 国产在线中文 | 亚洲一区导航 | 九九久久久久久 | 久久中文字幕一区 | 国产成人精品综合 | 国产精品视频专区 | 国产一级免费视频 | 日日夜夜av| 一级美国黄色片 | 欧美一区二区三区在线视频 |