Windows-powershell / PowerShell-master /src /Microsoft.Management.UI.Internal /ShowCommand /Windows /MultipleSelectionDialog.xaml.cs
Download PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Windows/MultipleSelectionDialog.xaml.cs from MegaBites-AI/Windows-powershell: direct link, hf CLI and curl.
- Browser
- Download file 1.25 kB
-
https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Windows/MultipleSelectionDialog.xaml.cs
- Command line
-
hf download hf://datasets/MegaBites-AI/Windows-powershell/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Windows/MultipleSelectionDialog.xaml.cs
-
curl -L -o MultipleSelectionDialog.xaml.cs https://huggingface.co/datasets/MegaBites-AI/Windows-powershell/resolve/main/PowerShell-master/src/Microsoft.Management.UI.Internal/ShowCommand/Windows/MultipleSelectionDialog.xaml.cs
1.25 kB
| // Copyright (c) Microsoft Corporation. | |
| // Licensed under the MIT License. | |
| using System.Windows; | |
| namespace Microsoft.PowerShell.Commands.ShowCommandInternal | |
| { | |
| /// <summary> | |
| /// Interaction logic for MultipleSelectionDialog.xaml. | |
| /// </summary> | |
| public partial class MultipleSelectionDialog : Window | |
| { | |
| /// <summary> | |
| /// Initializes a new instance of the MultipleSelectionDialog class. | |
| /// </summary> | |
| public MultipleSelectionDialog() | |
| { | |
| this.InitializeComponent(); | |
| } | |
| /// <summary> | |
| /// OK Click event function. | |
| /// </summary> | |
| /// <param name="sender">Event sender.</param> | |
| /// <param name="e">Event arguments.</param> | |
| private void ButtonOK_Click(object sender, RoutedEventArgs e) | |
| { | |
| this.DialogResult = true; | |
| this.Close(); | |
| } | |
| /// <summary> | |
| /// Cancel Click event function. | |
| /// </summary> | |
| /// <param name="sender">Event sender.</param> | |
| /// <param name="e">Event arguments.</param> | |
| private void ButtonCancel_Click(object sender, RoutedEventArgs e) | |
| { | |
| this.DialogResult = false; | |
| this.Close(); | |
| } | |
| } | |
| } | |