About 47,900 results
Open links in new tab
  1. Form.ShowDialog Method (System.Windows.Forms) | Microsoft Learn

    This example requires that a Form named Form2 is created and that it contains a TextBox control named TextBox1. The example uses the version of ShowDialog that specifies an owner for the …

  2. showDialog function - material library - Dart API

    Returns a Future that resolves to the value (if any) that was passed to Navigator.pop when the dialog was closed. This sample demonstrates how to use showDialog to display a dialog box.

  3. c# - How do I use Form.ShowDialog? - Stack Overflow

    Sep 30, 2013 · How do I use Form.ShowDialog? Asked 13 years, 2 months ago Modified 4 years, 2 months ago Viewed 123k times

  4. Show () vs ShowDialog () in C# Windows Forms Application

    We will learn both methods Show () and ShowDialog () with an example in this c# post. In this example we need two forms for demo, one is main form works as parents and the form will be opened works …

  5. Window.ShowDialog Method (System.Windows) | Microsoft Learn

    ShowDialog shows the window, disables all other windows in the application, and returns only when the window is closed. This type of window is known as a modal window.

  6. C#.WinForms - Customized Dialog Box - Dot Net Perls

    Sep 27, 2022 · It hides and shows buttons based on the arguments to ShowDialog. ShowDialog This code example is part of the code of the custom dialog. Here we implement ShowDialog, and then call …

  7. c# - What's the difference between Show (), ShowDialog () and ...

    ShowDialog () method shows a window in a modal state and stops execution of the calling context until a result is returned from the windows form open by the method.

  8. XtraForm.ShowDialog (IWin32Window) Method | WinForms Controls ...

    When the modal dialog window is closed, the ShowDialog method returns one of the DialogResult values. To specify the dialog result to be returned when the modal form is closed, use the form’s …

  9. CommonDialog.ShowDialog Method (System.Windows.Forms)

    This version of the ShowDialog method allows you to specify a specific form or control that will own the dialog box that is shown. If you use the version of this method that has no parameters, the dialog box …

  10. Window - Avalonia Docs

    Nov 26, 2023 · The ShowDialog method will return immediately. If you want to wait for the dialog to be closed, you can await the call: