forked from PowerShell/PowerShell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAllModulesControl.xaml.cs
More file actions
45 lines (40 loc) · 1.36 KB
/
Copy pathAllModulesControl.xaml.cs
File metadata and controls
45 lines (40 loc) · 1.36 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
//-----------------------------------------------------------------------
// <copyright file="AllModulesControl.xaml.cs" company="Microsoft">
// Copyright © Microsoft Corporation. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
namespace Microsoft.PowerShell.Commands.ShowCommandInternal
{
using System.Windows.Controls;
/// <summary>
/// Interaction logic for AllModulesControl.xaml
/// </summary>
public partial class AllModulesControl : UserControl
{
#region Construction and Destructor
/// <summary>
/// Initializes a new instance of the AllModulesControl class
/// </summary>
public AllModulesControl()
{
InitializeComponent();
}
#endregion
/// <summary>
/// Gets current control of the ShowModuleControl
/// </summary>
internal ShowModuleControl CurrentShowModuleControl
{
get { return this.ShowModuleControl; }
}
private void RefreshButton_Click(object sender, System.Windows.RoutedEventArgs e)
{
AllModulesViewModel viewModel = this.DataContext as AllModulesViewModel;
if (viewModel == null)
{
return;
}
viewModel.OnRefresh();
}
}
}