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

<small id='JMdld'></small><noframes id='JMdld'>

    • <bdo id='JMdld'></bdo><ul id='JMdld'></ul>

    <tfoot id='JMdld'></tfoot>
        <i id='JMdld'><tr id='JMdld'><dt id='JMdld'><q id='JMdld'><span id='JMdld'><b id='JMdld'><form id='JMdld'><ins id='JMdld'></ins><ul id='JMdld'></ul><sub id='JMdld'></sub></form><legend id='JMdld'></legend><bdo id='JMdld'><pre id='JMdld'><center id='JMdld'></center></pre></bdo></b><th id='JMdld'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='JMdld'><tfoot id='JMdld'></tfoot><dl id='JMdld'><fieldset id='JMdld'></fieldset></dl></div>

        <legend id='JMdld'><style id='JMdld'><dir id='JMdld'><q id='JMdld'></q></dir></style></legend>

        如何創建沒有選項卡標題的 TabControl?

        How do I create a TabControl with no tab headers?(如何創建沒有選項卡標題的 TabControl?)

        <legend id='WtnhU'><style id='WtnhU'><dir id='WtnhU'><q id='WtnhU'></q></dir></style></legend>
        <i id='WtnhU'><tr id='WtnhU'><dt id='WtnhU'><q id='WtnhU'><span id='WtnhU'><b id='WtnhU'><form id='WtnhU'><ins id='WtnhU'></ins><ul id='WtnhU'></ul><sub id='WtnhU'></sub></form><legend id='WtnhU'></legend><bdo id='WtnhU'><pre id='WtnhU'><center id='WtnhU'></center></pre></bdo></b><th id='WtnhU'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='WtnhU'><tfoot id='WtnhU'></tfoot><dl id='WtnhU'><fieldset id='WtnhU'></fieldset></dl></div>
          <tbody id='WtnhU'></tbody>
        <tfoot id='WtnhU'></tfoot>

        <small id='WtnhU'></small><noframes id='WtnhU'>

          <bdo id='WtnhU'></bdo><ul id='WtnhU'></ul>

                • 本文介紹了如何創建沒有選項卡標題的 TabControl?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  如何制作不顯示選項卡標題的選項卡管理器?

                  How do I make a tab manager that doesn't show the tab headers?

                  這是一個winforms應用程序,使用標簽管理器的目的是為了顯示內容只能通過代碼來改變.它適用于各種菜單選項更改屏幕內容的菜單.

                  This is a winforms application, and the purpose of using a tab manager is so the display content can only be changed through code. It's good for menus where various menu options change the screen contents.

                  推薦答案

                  在標準 TabControl 上隱藏選項卡非常簡單,只要您知道訣竅.向選項卡控件發送 TCM_ADJUSTRECT 消息當它需要調整標簽大小時,我們只需要捕獲該消息.(我相信這個問題之前已經回答過了,但是發布代碼比搜索更容易.)

                  Hiding the tabs on a standard TabControl is pretty simple, once you know the trick. The tab control is sent a TCM_ADJUSTRECT message when it needs to adjust the tab size, so we just need to trap that message. (I'm sure this has been answered before, but posting the code is easier than searching for it.)

                  將以下代碼添加到項目中的新類中,重新編譯并使用 CustomTabControl 類而不是內置控件:

                  Add the following code to a new class in your project, recompile, and use the CustomTabControl class instead of the built-in control:

                  class CustomTabControl : TabControl
                  {
                      private const int TCM_ADJUSTRECT = 0x1328;
                  
                      protected override void WndProc(ref Message m)
                      {
                          // Hide the tab headers at run-time
                          if (m.Msg == TCM_ADJUSTRECT && !DesignMode)
                          {
                              m.Result = (IntPtr)1;
                              return;
                          }
                  
                          // call the base class implementation
                          base.WndProc(ref m);
                      }
                  }
                  

                  (代碼示例最初取自 Dot Net Thoughts.)

                  (Code sample originally taken from Dot Net Thoughts.)

                  請注意,這不適用于位于側面或底部的標簽頁眉.但這不僅看起來很奇怪,而且無論如何您都無法在運行時看到選項卡.只需將它們放在它們所屬的頂部即可.

                  Note that this will not work properly for tab headers positioned on the sides or the bottom. But not only does that just look weird, you won't be able to see the tabs at run-time anyway. Just put them on the top where they belong.

                  這篇關于如何創建沒有選項卡標題的 TabControl?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

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

                  相關文檔推薦

                  What are good algorithms for vehicle license plate detection?(車牌檢測有哪些好的算法?)
                  onClick event for Image in Unity(Unity中圖像的onClick事件)
                  Running Total C#(運行總 C#)
                  Deleting a directory when clicked on a hyperlink with JAvascript.ASP.NET C#(單擊帶有 JAvascript.ASP.NET C# 的超鏈接時刪除目錄)
                  asp.net listview highlight row on click(asp.net listview 在單擊時突出顯示行)
                  Calling A Button OnClick from a function(從函數調用按鈕 OnClick)
                    <tfoot id='GUtV6'></tfoot>

                      <tbody id='GUtV6'></tbody>

                          <bdo id='GUtV6'></bdo><ul id='GUtV6'></ul>
                          <legend id='GUtV6'><style id='GUtV6'><dir id='GUtV6'><q id='GUtV6'></q></dir></style></legend>
                          1. <small id='GUtV6'></small><noframes id='GUtV6'>

                          2. <i id='GUtV6'><tr id='GUtV6'><dt id='GUtV6'><q id='GUtV6'><span id='GUtV6'><b id='GUtV6'><form id='GUtV6'><ins id='GUtV6'></ins><ul id='GUtV6'></ul><sub id='GUtV6'></sub></form><legend id='GUtV6'></legend><bdo id='GUtV6'><pre id='GUtV6'><center id='GUtV6'></center></pre></bdo></b><th id='GUtV6'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='GUtV6'><tfoot id='GUtV6'></tfoot><dl id='GUtV6'><fieldset id='GUtV6'></fieldset></dl></div>
                            主站蜘蛛池模板: 国产精品一区二区久久 | 91综合在线视频 | 一区二区三区在线播放视频 | 欧美综合久久久 | 视频在线一区二区 | 国产成人精品免费视频大全最热 | 亚洲国产一区二区在线 | 一区二区三区在线观看免费视频 | 亚洲综合大片69999 | 在线观看第一区 | 91综合网 | 精品国产乱码久久久久久蜜柚 | 青青草综合网 | 国产免费国产 | 性欧美hd| 亚洲综合在线一区 | h视频免费在线观看 | 国产精品免费一区二区三区四区 | 6996成人影院网在线播放 | 亚洲一区视频在线播放 | 男女在线免费观看 | 九九亚洲 | 成人三级网址 | 精品一区在线 | 亚洲少妇综合网 | 亚洲国产欧美一区二区三区久久 | 国产精品欧美一区二区三区不卡 | 国产电影一区二区 | 国产欧美日韩 | 亚洲日本乱码在线观看 | 成人精品一区 | 亚洲国产成人精品久久久国产成人一区 | 99只有精品 | 久久88| 精品一区二区三区不卡 | 日本三级网站在线观看 | 在线中文字幕第一页 | 欧美精品在线一区二区三区 | 成人天堂 | 久草新视频 | 久久国产精品久久久久 |