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

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

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

      1. <small id='REDA1'></small><noframes id='REDA1'>

        <tfoot id='REDA1'></tfoot>
      2. <i id='REDA1'><tr id='REDA1'><dt id='REDA1'><q id='REDA1'><span id='REDA1'><b id='REDA1'><form id='REDA1'><ins id='REDA1'></ins><ul id='REDA1'></ul><sub id='REDA1'></sub></form><legend id='REDA1'></legend><bdo id='REDA1'><pre id='REDA1'><center id='REDA1'></center></pre></bdo></b><th id='REDA1'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='REDA1'><tfoot id='REDA1'></tfoot><dl id='REDA1'><fieldset id='REDA1'></fieldset></dl></div>
      3. 在 Winforms 中控制用戶工作流程

        Controlling user workflow in Winforms(在 Winforms 中控制用戶工作流程)
      4. <legend id='y8EmX'><style id='y8EmX'><dir id='y8EmX'><q id='y8EmX'></q></dir></style></legend>

            • <bdo id='y8EmX'></bdo><ul id='y8EmX'></ul>
                <tfoot id='y8EmX'></tfoot>
                  <tbody id='y8EmX'></tbody>

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

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

                  本文介紹了在 Winforms 中控制用戶工作流程的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時(shí)送ChatGPT賬號(hào)..

                  我正在用 C# 構(gòu)建一個(gè) Winforms 應(yīng)用程序,并且我添加了一個(gè)具有三個(gè)選項(xiàng)卡的選項(xiàng)卡控件.

                  I'm building a Winforms application in C# and I have added a tab control that has three tabs.

                  我想限制用戶訪問第二個(gè)標(biāo)簽頁的能力,直到用戶填寫第一個(gè)標(biāo)簽頁.

                  I want to restrict user's ability to access the second tab page until user fills out the first tab.

                  我在第一個(gè)選項(xiàng)卡上有一個(gè)提交按鈕,我希望在用戶單擊 submit 按鈕時(shí)能夠訪問第二個(gè)選項(xiàng)卡.

                  I have a submit button the first tab, I want the second tab to be able to be accessed when the user clicks on the submit button.

                  我怎樣才能做到這一點(diǎn)?

                  How can I accomplish this?

                  圖片不可用

                  推薦答案

                  阻止用戶選擇選項(xiàng)卡會(huì)導(dǎo)致用戶界面非常不直觀.考慮創(chuàng)建一個(gè)向?qū)?,這是一個(gè) UI 小工具,可通過下一步"按鈕將用戶從一個(gè)頁面帶到下一個(gè)頁面.和一個(gè)后退按鈕,可選.您可以通過設(shè)置 Next 按鈕的 Enabled 屬性來明確一個(gè)步驟已完成.

                  Preventing a user from selecting a tab makes for a very unintuitive user interface. Consider creating a "wizard", a UI gadget that takes the user from one page to the next with a Next button. And a Back button, optional. You can make it clear that a step is completed by setting the Next button's Enabled property.

                  可以使用 TabControl 創(chuàng)建這樣的向?qū)?向您的項(xiàng)目添加一個(gè)新類并粘貼如下所示的代碼.編譯.將新控件從工具箱頂部拖放到表單上.在設(shè)計(jì)時(shí),它看起來像一個(gè)普通的 TC,允許您添加每個(gè)向?qū)Р襟E所需的控件.在運(yùn)行時(shí)選項(xiàng)卡是隱藏的.實(shí)現(xiàn) Next 和 Back 按鈕很簡單,只需更改 SelectedIndex 屬性即可.

                  Creating such a wizard can be done with a TabControl. Add a new class to your project and paste the code shown below. Compile. Drop the new control from the top of the toolbox onto your form. At design time it looks like a normal TC, allowing you to add the controls needed for each wizard step. At runtime the tabs are hidden. Implementing the Next and Back buttons is simple, just change the SelectedIndex property.

                  using System;
                  using System.Windows.Forms;
                  
                  class WizardPages : TabControl {
                    protected override void WndProc(ref Message m) {
                      // Hide tabs by trapping the TCM_ADJUSTRECT message
                      if (m.Msg == 0x1328 && !DesignMode) m.Result = (IntPtr)1;
                      else base.WndProc(ref m);
                    }
                  }
                  

                  這篇關(guān)于在 Winforms 中控制用戶工作流程的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

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

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

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

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

                              <tbody id='ytxSL'></tbody>
                          1. 主站蜘蛛池模板: 亚洲精品高清视频 | av在线伊人 | 亚洲欧美在线一区 | 亚洲区一区二 | 欧美一区二区免费 | 欧美精品一区二区三区在线 | 天天色天天射天天干 | 欧美中文一区 | 久久一区二区三区四区 | 99re视频精品 | 久久精品一区二区 | 欧美视频成人 | 在线免费观看黄网 | 天天干夜夜操视频 | 精品网站999www | 国产精品激情 | 成人激情视频在线观看 | 久久久久久国产一区二区三区 | 国产精品成人一区二区三区吃奶 | 精品一区二区三区在线观看国产 | 国产精品.xx视频.xxtv | 九九热视频这里只有精品 | 一区二区三区视频 | 日韩在线国产精品 | 色婷婷亚洲国产女人的天堂 | 欧美日韩国产综合在线 | 亚洲男人的天堂网站 | 欧美久久一级特黄毛片 | 久久久久国产一区二区三区 | 国产精品久久久久一区二区三区 | 99国产精品99久久久久久 | 久久成人久久 | 婷婷激情五月网 | 国产清纯白嫩初高生在线播放视频 | 久久曰视频| 久久9久| av三级在线观看 | 亚洲一级视频在线 | av免费观看网站 | 中文字幕日韩一区二区 | 日韩在线一区二区三区 |