Control.BringToFront メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > Control.BringToFront メソッドの意味・解説 

Control.BringToFront メソッド

コントロールz オーダー最前面へ移動します

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Sub BringToFront
Dim instance As Control

instance.BringToFront
public void BringToFront ()
public:
void BringToFront ()
public void BringToFront ()
public function BringToFront ()
解説解説
使用例使用例

BringToFront メソッド呼び出すことによって Label表示するコード例次に示します。この例では、panel1 という Panel、および label1 という Label を持つ Form存在している必要があります

Private Sub MakeLabelVisible()
   ' If the panel contains label1, bring it 
   ' to the front to make sure it is visible. 
   If panel1.Contains(label1) Then
      label1.BringToFront()
   End If
End Sub
private void MakeLabelVisible()
{
   /* If the panel contains label1, bring it 
   * to the front to make sure it is visible. */
   if(panel1.Contains(label1))
   {
      label1.BringToFront();
   }
}
private:
   void MakeLabelVisible()
   {
      
      /* If the panel contains label1, bring it
         * to the front to make sure it is visible. */
      if ( panel1->Contains( label1 ) )
      {
         label1->BringToFront();
      }
   }
private void MakeLabelVisible()
{
    /* If the panel contains label1, bring it 
       to the front to make sure it is visible. 
     */
    if (panel1.Contains(label1)) {
        label1.BringToFront();
    }
} //MakeLabelVisible
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

Control.BringToFront メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



Control.BringToFront メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2024 Microsoft.All rights reserved.

©2024 GRAS Group, Inc.RSS