forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMultipleSelectionDialog.xaml.cs
More file actions
46 lines (42 loc) · 1.45 KB
/
Copy pathMultipleSelectionDialog.xaml.cs
File metadata and controls
46 lines (42 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
//-----------------------------------------------------------------------
// <copyright file="MultipleSelectionDialog.xaml.cs" company="Microsoft">
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandInternal
{
using System.Windows;
/// <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();
}
}
}