Control.DoubleClick Control.DoubleClick Control.DoubleClick Control.DoubleClick Event

Definition

コントロールがダブルクリックされたときに発生します。 Occurs when the control is double-clicked.

public:
 event EventHandler ^ DoubleClick;
public event EventHandler DoubleClick;
member this.DoubleClick : EventHandler 
Public Custom Event DoubleClick As EventHandler 

Examples

次のコード例では、DoubleClickのイベントをListBoxが記載されたテキスト ファイルを読み込む、ListBoxに、TextBoxコントロール。The following code example uses the DoubleClick event of a ListBox to load text files listed in the ListBox into a TextBox control.

   // This example uses the DoubleClick event of a ListBox to load text files
   // listed in the ListBox into a TextBox control. This example
   // assumes that the ListBox, named listBox1, contains a list of valid file
   // names with path and that this event handler method
   // is connected to the DoublClick event of a ListBox control named listBox1.
   // This example requires code access permission to access files.
private:
   void listBox1_DoubleClick( Object^ /*sender*/, System::EventArgs^ /*e*/ )
   {
      // Get the name of the file to open from the ListBox.
      String^ file = listBox1->SelectedItem->ToString();
      try
      {
         // Determine if the file exists before loading.
         if ( System::IO::File::Exists( file ) )
         {
            
            // Open the file and use a TextReader to read the contents into the TextBox.
            System::IO::FileInfo^ myFile = gcnew System::IO::FileInfo( listBox1->SelectedItem->ToString() );
            System::IO::TextReader^ myData = myFile->OpenText();
            ;
            textBox1->Text = myData->ReadToEnd();
            myData->Close();
         }
      }
      // Exception is thrown by the OpenText method of the FileInfo class.
      catch ( System::IO::FileNotFoundException^ ) 
      {
         MessageBox::Show( "The file you specified does not exist." );
      }
      // Exception is thrown by the ReadToEnd method of the TextReader class.
      catch ( System::IO::IOException^ ) 
      {
         MessageBox::Show( "There was a problem loading the file into the TextBox. Ensure that the file is a valid text file." );
      }
   }
// This example uses the DoubleClick event of a ListBox to load text files
// listed in the ListBox into a TextBox control. This example
// assumes that the ListBox, named listBox1, contains a list of valid file
// names with path and that this event handler method
// is connected to the DoublClick event of a ListBox control named listBox1.
// This example requires code access permission to access files.
private void listBox1_DoubleClick(object sender, System.EventArgs e)
{
    // Get the name of the file to open from the ListBox.
    String file = listBox1.SelectedItem.ToString();

    try
    {
        // Determine if the file exists before loading.
        if (System.IO.File.Exists(file))
        {
            // Open the file and use a TextReader to read the contents into the TextBox.
            System.IO.FileInfo myFile = new System.IO.FileInfo(listBox1.SelectedItem.ToString());
            System.IO.TextReader myData = myFile.OpenText();;

            textBox1.Text = myData.ReadToEnd();
            myData.Close();
        }
    }
        // Exception is thrown by the OpenText method of the FileInfo class.
    catch(System.IO.FileNotFoundException)
    {
        MessageBox.Show("The file you specified does not exist.");
    }
        // Exception is thrown by the ReadToEnd method of the TextReader class.
    catch(System.IO.IOException)
    {
        MessageBox.Show("There was a problem loading the file into the TextBox. Ensure that the file is a valid text file.");
    }
}
' This example uses the DoubleClick event of a ListBox to load text files  
' listed in the ListBox into a TextBox control. This example
' assumes that the ListBox, named listBox1, contains a list of valid file 
' names with path and that this event handler method
' is connected to the DoublClick event of a ListBox control named listBox1.
' This example requires code access permission to access files.
Private Sub listBox1_DoubleClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles listBox1.DoubleClick
    ' Get the name of the file to open from the ListBox.
    Dim file As [String] = listBox1.SelectedItem.ToString()

    Try
        ' Determine if the file exists before loading.
        If System.IO.File.Exists(file) Then
            ' Open the file and use a TextReader to read the contents into the TextBox.
            Dim myFile As New System.IO.FileInfo(listBox1.SelectedItem.ToString())
            Dim myData As System.IO.TextReader = myFile.OpenText()

            textBox1.Text = myData.ReadToEnd()
            myData.Close()
        End If
        ' Exception is thrown by the OpenText method of the FileInfo class.
    Catch
        MessageBox.Show("The file you specified does not exist.")
        ' Exception is thrown by the ReadToEnd method of the TextReader class.
    Catch
     MessageBox.Show("There was a problem loading the file into the TextBox. Ensure that the file is a valid text file.")
    End Try
End Sub

Remarks

ダブルクリックは、ユーザーのオペレーティング システムのマウス設定によって決まります。A double-click is determined by the mouse settings of the user's operating system. ユーザーは、2 回のクリックではなくダブルクリックと見なされるマウス ボタンのクリック間隔を設定できます。The user can set the time between clicks of a mouse button that should be considered a double-click rather than two clicks. Clickたびに、コントロールがダブルクリックされたイベントが発生します。The Click event is raised every time a control is double-clicked. などのイベント ハンドラーがある場合、ClickDoubleClickのイベントをFormClickDoubleClickフォームをダブルクリックし、両方のメソッドが呼び出されるイベントが発生します。For example, if you have event handlers for the Click and DoubleClick events of a Form, the Click and DoubleClick events are raised when the form is double-clicked and both methods are called. コントロールがダブルクリックされたかどうか、コントロールがサポートされていないこと、 DoubleClick 、イベント、Clickイベントを 2 回発生する可能性があります。If a control is double-clicked and that control does not support the DoubleClick event, the Click event might be raised twice.

設定する必要があります、StandardDoubleClickStandardClickの値ControlStylestrueこのイベントが発生します。You must set the StandardDoubleClick and StandardClick values of ControlStyles to true for this event to be raised. これらの値を設定することがあります既にtrue既存のものから継承している場合は Windows フォームを制御します。These values might already be set to true if you are inheriting from existing Windows Forms controls.

注意

に対して、次のイベントは発生しません、TabControlクラスの 1 つ以上ある場合を除き、TabPageで、TabControl.TabPagesコレクション: ClickDoubleClickMouseDownMouseUpMouseHoverMouseEnterMouseLeaveMouseMoveします。The following events are not raised for the TabControl class unless there is at least one TabPage in the TabControl.TabPages collection: Click, DoubleClick, MouseDown, MouseUp, MouseHover, MouseEnter, MouseLeave and MouseMove. 少なくとも 1 つを使用する必要がある場合TabPage、コレクション内でユーザーがタブ コントロールのヘッダーを操作し、(場所、TabPage名前が表示されます)、TabControl適切なイベントを発生させます。If there is at least one TabPage in the collection, and the user interacts with the tab control's header (where the TabPage names appear), the TabControl raises the appropriate event. ただし、タブ ページのクライアント領域内のユーザーとの対話がの場合、TabPage適切なイベントを発生させます。However, if the user interaction is within the client area of the tab page, the TabPage raises the appropriate event.

イベントの処理の詳細については、「処理とイベントの発生」を参照してください。For more information about handling events, see Handling and Raising Events.

Notes to Inheritors

標準の Windows フォーム コントロールから継承して、変更、StandardClickまたはStandardDoubleClickControlStylestrue予期しない動作が発生したり、影響を与えるありませんすべてのコントロールがサポートされていない場合、ClickまたはDoubleClickイベント。 Inheriting from a standard Windows Forms control and changing the StandardClick or StandardDoubleClick values of ControlStyles to true can cause unexpected behavior or have no effect at all if the control does not support the Click or DoubleClick events. 次の表に、Windows フォーム コントロールとイベント (ClickまたはDoubleClick) で指定したマウス アクションへの応答が発生します。 The following table lists Windows Forms controls and which event (Click or DoubleClick) is raised in response to the mouse action specified.

コントロール Control マウスの左クリック Left Mouse Click

             <span data-ttu-id="91042-989">マウスの左ダブル クリックします</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-989">Left Mouse Double Click</span>
             </span>

             <span data-ttu-id="91042-990">マウスの右クリックします</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-990">Right Mouse Click</span>
             </span>

             <span data-ttu-id="91042-991">マウスの右ダブル クリックします</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-991">Right Mouse Double Click</span>
             </span>

             <span data-ttu-id="91042-992">マウスの中央クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-992">Middle Mouse Click</span>
             </span>

             <span data-ttu-id="91042-993">マウスの中央をダブルクリックします。</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-993">Middle Mouse Double Click</span>
             </span>

             <span data-ttu-id="91042-994">XButton1 マウスのクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-994">XButton1 Mouse Click</span>
             </span>

             <span data-ttu-id="91042-995">マウスの XButton1 ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-995">XButton1 Mouse Double-Click</span>
             </span>

             <span data-ttu-id="91042-996">XButton2 マウスのクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-996">XButton2 Mouse Click</span>
             </span>

             <span data-ttu-id="91042-997">XButton2 マウスのダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-997">XButton2 Mouse Double-Click</span>
             </span>
           </th></tr></thead><tbody><tr><td>
             <span data-ttu-id="91042-998">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.MonthCalendar"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-998">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.MonthCalendar"></xref>,</span>
             </span>
             <span data-ttu-id="91042-999">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.DateTimePicker"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-999">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.DateTimePicker"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1000">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.RichTextBox"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1000">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.RichTextBox"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1001">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.HScrollBar"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1001">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.HScrollBar"></xref>,</span>
             </span>
             <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.VScrollBar"></xref>
           </td><td>
             <span data-ttu-id="91042-1002">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1002">none</span>
             </span>

             <span data-ttu-id="91042-1003">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1003">none</span>
             </span>

             <span data-ttu-id="91042-1004">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1004">none</span>
             </span>

             <span data-ttu-id="91042-1005">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1005">none</span>
             </span>

             <span data-ttu-id="91042-1006">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1006">none</span>
             </span>

             <span data-ttu-id="91042-1007">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1007">none</span>
             </span>

             <span data-ttu-id="91042-1008">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1008">none</span>
             </span>

             <span data-ttu-id="91042-1009">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1009">none</span>
             </span>

             <span data-ttu-id="91042-1010">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1010">none</span>
             </span>

             <span data-ttu-id="91042-1011">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1011">none</span>
             </span>
           </td></tr><tr><td>
             <span data-ttu-id="91042-1012">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Button"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1012">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Button"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1013">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.CheckBox"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1013">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.CheckBox"></xref>,</span>
             </span>
             <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.RadioButton"></xref>
           </td><td>
             <span data-ttu-id="91042-1014">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1014">Click</span>
             </span>

             <span data-ttu-id="91042-1015">をクリックしてください</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1015">Click, Click</span>
             </span>

             <span data-ttu-id="91042-1016">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1016">none</span>
             </span>

             <span data-ttu-id="91042-1017">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1017">none</span>
             </span>

             <span data-ttu-id="91042-1018">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1018">none</span>
             </span>

             <span data-ttu-id="91042-1019">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1019">none</span>
             </span>

             <span data-ttu-id="91042-1020">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1020">none</span>
             </span>

             <span data-ttu-id="91042-1021">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1021">none</span>
             </span>

             <span data-ttu-id="91042-1022">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1022">none</span>
             </span>

             <span data-ttu-id="91042-1023">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1023">none</span>
             </span>
           </td></tr><tr><td>
             <span data-ttu-id="91042-1024">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ListBox"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1024">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ListBox"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1025">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.CheckedListBox"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1025">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.CheckedListBox"></xref>,</span>
             </span>
             <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ComboBox"></xref>
           </td><td>
             <span data-ttu-id="91042-1026">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1026">Click</span>
             </span>

             <span data-ttu-id="91042-1027">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1027">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1028">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1028">none</span>
             </span>

             <span data-ttu-id="91042-1029">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1029">none</span>
             </span>

             <span data-ttu-id="91042-1030">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1030">none</span>
             </span>

             <span data-ttu-id="91042-1031">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1031">none</span>
             </span>

             <span data-ttu-id="91042-1032">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1032">none</span>
             </span>

             <span data-ttu-id="91042-1033">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1033">none</span>
             </span>

             <span data-ttu-id="91042-1034">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1034">none</span>
             </span>

             <span data-ttu-id="91042-1035">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1035">none</span>
             </span>
           </td></tr><tr><td>
             <span data-ttu-id="91042-1036">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TextBox"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1036">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TextBox"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1037">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.DomainUpDown"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1037">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.DomainUpDown"></xref>,</span>
             </span>
             <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.NumericUpDown"></xref>
           </td><td>
             <span data-ttu-id="91042-1038">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1038">Click</span>
             </span>

             <span data-ttu-id="91042-1039">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1039">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1040">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1040">none</span>
             </span>

             <span data-ttu-id="91042-1041">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1041">none</span>
             </span>

             <span data-ttu-id="91042-1042">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1042">none</span>
             </span>

             <span data-ttu-id="91042-1043">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1043">none</span>
             </span>

             <span data-ttu-id="91042-1044">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1044">none</span>
             </span>

             <span data-ttu-id="91042-1045">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1045">none</span>
             </span>

             <span data-ttu-id="91042-1046">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1046">none</span>
             </span>

             <span data-ttu-id="91042-1047">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1047">none</span>
             </span>
           </td></tr><tr><td>
             <span data-ttu-id="91042-1048">\* <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TreeView"></xref>,</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1048">\* <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TreeView"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1049">\* <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ListView"></xref></span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1049">\* <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ListView"></xref></span>
             </span>
           </td><td>
             <span data-ttu-id="91042-1050">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1050">Click</span>
             </span>

             <span data-ttu-id="91042-1051">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1051">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1052">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1052">Click</span>
             </span>

             <span data-ttu-id="91042-1053">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1053">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1054">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1054">none</span>
             </span>

             <span data-ttu-id="91042-1055">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1055">none</span>
             </span>

             <span data-ttu-id="91042-1056">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1056">none</span>
             </span>

             <span data-ttu-id="91042-1057">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1057">none</span>
             </span>

             <span data-ttu-id="91042-1058">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1058">none</span>
             </span>

             <span data-ttu-id="91042-1059">none</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1059">none</span>
             </span>
           </td></tr><tr><td>
             <span data-ttu-id="91042-1060">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ProgressBar"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1060">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ProgressBar"></xref>,</span>
             </span>
             <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TrackBar"></xref>
           </td><td>
             <span data-ttu-id="91042-1061">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1061">Click</span>
             </span>

             <span data-ttu-id="91042-1062">をクリックしてください</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1062">Click, Click</span>
             </span>

             <span data-ttu-id="91042-1063">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1063">Click</span>
             </span>

             <span data-ttu-id="91042-1064">をクリックしてください</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1064">Click, Click</span>
             </span>

             <span data-ttu-id="91042-1065">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1065">Click</span>
             </span>

             <span data-ttu-id="91042-1066">をクリックしてください</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1066">Click, Click</span>
             </span>

             <span data-ttu-id="91042-1067">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1067">Click</span>
             </span>

             <span data-ttu-id="91042-1068">をクリックしてください</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1068">Click, Click</span>
             </span>

             <span data-ttu-id="91042-1069">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1069">Click</span>
             </span>

             <span data-ttu-id="91042-1070">をクリックしてください</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1070">Click, Click</span>
             </span>
           </td></tr><tr><td>
             <span data-ttu-id="91042-1071">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Form"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1071">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Form"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1072">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.DataGrid"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1072">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.DataGrid"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1073">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Label"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1073">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Label"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1074">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.LinkLabel"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1074">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.LinkLabel"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1075">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Panel"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1075">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Panel"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1076">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.GroupBox"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1076">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.GroupBox"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1077">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.PictureBox"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1077">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.PictureBox"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1078">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Splitter"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1078">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.Splitter"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1079">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.StatusBar"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1079">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.StatusBar"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1080">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ToolBar"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1080">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ToolBar"></xref>,</span>
             </span>
             <span data-ttu-id="91042-1081">
               <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabPage"></xref>、</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1081">
                 <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabPage"></xref>,</span>
             </span> 

** TabControl

クリック Click

             <span data-ttu-id="91042-1083">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1083">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1084">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1084">Click</span>
             </span>

             <span data-ttu-id="91042-1085">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1085">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1086">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1086">Click</span>
             </span>

             <span data-ttu-id="91042-1087">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1087">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1088">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1088">Click</span>
             </span>

             <span data-ttu-id="91042-1089">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1089">Click, DoubleClick</span>
             </span>

             <span data-ttu-id="91042-1090">クリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1090">Click</span>
             </span>

             <span data-ttu-id="91042-1091">クリック、ダブルクリック</span>
             <span class="sxs-lookup">
               <span data-stu-id="91042-1091">Click, DoubleClick</span>
             </span>
           </td></tr></tbody></table>
       <span data-ttu-id="91042-1092">\* 子オブジェクトの上にマウス ポインターがある必要があります (<xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TreeNode"></xref>または<xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ListViewItem"></xref>)。</span>
       <span class="sxs-lookup">
         <span data-stu-id="91042-1092">\* The mouse pointer must be over a child object (<xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TreeNode"></xref> or <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.ListViewItem"></xref>).</span>
       </span>
       <span data-ttu-id="91042-1093">\* \*、<xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabControl"></xref>が少なくとも 1 つ<xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabPage"></xref>でその<xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabControl.TabPages"></xref>コレクション。</span>
       <span class="sxs-lookup">
         <span data-stu-id="91042-1093">\*\* The <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabControl"></xref> must have at least one <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabPage"></xref> in its <xref data-throw-if-not-resolved="true" uid="System.Windows.Forms.TabControl.TabPages"></xref> collection.</span>
       </span>

Applies to

See Also