summaryrefslogtreecommitdiff
path: root/windows/WinUI/NetworksPage.xaml.cs
diff options
context:
space:
mode:
authorGrant Limberg <grant.limberg@zerotier.com>2016-11-08 16:31:07 -0800
committerGrant Limberg <grant.limberg@zerotier.com>2016-11-08 16:31:07 -0800
commit7cf3d2caa19da076ebd3539c8786ce62a53d35f9 (patch)
tree7d0821d9ac2ba0b1e40a1a0e7903356bf2ea4dab /windows/WinUI/NetworksPage.xaml.cs
parente1f9f7b6dc80a5ad0db3fedc8f5b92d47cbdb1fe (diff)
downloadinfinitytier-7cf3d2caa19da076ebd3539c8786ce62a53d35f9.tar.gz
infinitytier-7cf3d2caa19da076ebd3539c8786ce62a53d35f9.zip
Network list window opens with click on the menu item
Diffstat (limited to 'windows/WinUI/NetworksPage.xaml.cs')
-rw-r--r--windows/WinUI/NetworksPage.xaml.cs8
1 files changed, 0 insertions, 8 deletions
diff --git a/windows/WinUI/NetworksPage.xaml.cs b/windows/WinUI/NetworksPage.xaml.cs
index 5a0dc19d..e6961350 100644
--- a/windows/WinUI/NetworksPage.xaml.cs
+++ b/windows/WinUI/NetworksPage.xaml.cs
@@ -20,18 +20,11 @@ namespace WinUI
/// </summary>
public partial class NetworksPage : UserControl
{
- private APIHandler handler;
-
public NetworksPage()
{
InitializeComponent();
}
- public void SetAPIHandler(APIHandler handler)
- {
- this.handler = handler;
- }
-
public void setNetworks(List<ZeroTierNetwork> networks)
{
this.wrapPanel.Children.Clear();
@@ -44,7 +37,6 @@ namespace WinUI
{
this.wrapPanel.Children.Add(
new NetworkInfoView(
- handler,
networks.ElementAt<ZeroTierNetwork>(i)));
}
}