Skip to content

Commit 8b2e268

Browse files
committed
Update
1 parent 62160d5 commit 8b2e268

6 files changed

Lines changed: 20 additions & 20 deletions

File tree

Source/NETworkManager/MainWindow.xaml.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -410,10 +410,10 @@ private async void MetroWindowMain_Closing(object sender, CancelEventArgs e)
410410
RemoteDesktopView remoteDesktopView;
411411
SNMPView snmpView;
412412
WakeOnLANView wakeOnLANView;
413-
SubnetCalculatorView subnetCalculatorView;
413+
SubnetCalculatorHostView subnetCalculatorHostView;
414414
HTTPHeadersView httpHeadersView;
415415
ARPTableView arpTableView;
416-
LookupView lookupView;
416+
LookupHostView lookupHostView;
417417

418418
private ApplicationViewManager.Name? currentApplicationViewName = null;
419419

@@ -479,10 +479,10 @@ private void ChangeApplicationView(ApplicationViewManager.Name name)
479479
contentControlApplication.Content = wakeOnLANView;
480480
break;
481481
case ApplicationViewManager.Name.SubnetCalculator:
482-
if (subnetCalculatorView == null)
483-
subnetCalculatorView = new SubnetCalculatorView();
482+
if (subnetCalculatorHostView == null)
483+
subnetCalculatorHostView = new SubnetCalculatorHostView();
484484

485-
contentControlApplication.Content = subnetCalculatorView;
485+
contentControlApplication.Content = subnetCalculatorHostView;
486486
break;
487487
case ApplicationViewManager.Name.HTTPHeaders:
488488
if (httpHeadersView == null)
@@ -497,10 +497,10 @@ private void ChangeApplicationView(ApplicationViewManager.Name name)
497497
contentControlApplication.Content = arpTableView;
498498
break;
499499
case ApplicationViewManager.Name.Lookup:
500-
if (lookupView == null)
501-
lookupView = new LookupView();
500+
if (lookupHostView == null)
501+
lookupHostView = new LookupHostView();
502502

503-
contentControlApplication.Content = lookupView;
503+
contentControlApplication.Content = lookupHostView;
504504
break;
505505
}
506506

Source/NETworkManager/NETworkManager.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,8 @@
284284
<Compile Include="Views\Applications\SubnetCalculatorIPv4SplitterView.xaml.cs">
285285
<DependentUpon>SubnetCalculatorIPv4SplitterView.xaml</DependentUpon>
286286
</Compile>
287-
<Compile Include="Views\Applications\SubnetCalculatorView.xaml.cs">
288-
<DependentUpon>SubnetCalculatorView.xaml</DependentUpon>
287+
<Compile Include="Views\Applications\SubnetCalculatorHostView.xaml.cs">
288+
<DependentUpon>SubnetCalculatorHostView.xaml</DependentUpon>
289289
</Compile>
290290
<Compile Include="Views\Applications\LookupOUILookupView.xaml.cs">
291291
<DependentUpon>LookupOUILookupView.xaml</DependentUpon>
@@ -473,7 +473,7 @@
473473
<Generator>MSBuild:Compile</Generator>
474474
<SubType>Designer</SubType>
475475
</Page>
476-
<Page Include="Views\Applications\SubnetCalculatorView.xaml">
476+
<Page Include="Views\Applications\SubnetCalculatorHostView.xaml">
477477
<Generator>MSBuild:Compile</Generator>
478478
<SubType>Designer</SubType>
479479
</Page>
@@ -489,7 +489,7 @@
489489
<Generator>MSBuild:Compile</Generator>
490490
<SubType>Designer</SubType>
491491
</Page>
492-
<Page Include="Views\Applications\LookupView.xaml">
492+
<Page Include="Views\Applications\LookupHostView.xaml">
493493
<Generator>MSBuild:Compile</Generator>
494494
<SubType>Designer</SubType>
495495
</Page>
@@ -709,8 +709,8 @@
709709
<Compile Include="ViewModels\Settings\SettingsApplicationPingViewModel.cs" />
710710
<Compile Include="ViewModels\Settings\SettingsGeneralGeneralViewModel.cs" />
711711
<Compile Include="ViewModels\Settings\SettingsApplicationTracerouteViewModel.cs" />
712-
<Compile Include="Views\Applications\LookupView.xaml.cs">
713-
<DependentUpon>LookupView.xaml</DependentUpon>
712+
<Compile Include="Views\Applications\LookupHostView.xaml.cs">
713+
<DependentUpon>LookupHostView.xaml</DependentUpon>
714714
</Compile>
715715
<Compile Include="Views\ApplicationViewManager.cs" />
716716
<Compile Include="Views\ApplicationViewInfo.cs" />

Source/NETworkManager/Views/Applications/LookupView.xaml renamed to Source/NETworkManager/Views/Applications/LookupHostView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<UserControl x:Class="NETworkManager.Views.Applications.LookupView"
1+
<UserControl x:Class="NETworkManager.Views.Applications.LookupHostView"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

Source/NETworkManager/Views/Applications/LookupView.xaml.cs renamed to Source/NETworkManager/Views/Applications/LookupHostView.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
namespace NETworkManager.Views.Applications
44
{
5-
public partial class LookupView : UserControl
5+
public partial class LookupHostView : UserControl
66
{
7-
public LookupView()
7+
public LookupHostView()
88
{
99
InitializeComponent();
1010
}

Source/NETworkManager/Views/Applications/SubnetCalculatorView.xaml renamed to Source/NETworkManager/Views/Applications/SubnetCalculatorHostView.xaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<UserControl x:Class="NETworkManager.Views.Applications.SubnetCalculatorView"
1+
<UserControl x:Class="NETworkManager.Views.Applications.SubnetCalculatorHostView"
22
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
33
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
44
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"

Source/NETworkManager/Views/Applications/SubnetCalculatorView.xaml.cs renamed to Source/NETworkManager/Views/Applications/SubnetCalculatorHostView.xaml.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
namespace NETworkManager.Views.Applications
55
{
6-
public partial class SubnetCalculatorView : UserControl
6+
public partial class SubnetCalculatorHostView : UserControl
77
{
88
private SubnetCalculatorIPv4CalculatorViewModel viewModel = new SubnetCalculatorIPv4CalculatorViewModel();
99

10-
public SubnetCalculatorView()
10+
public SubnetCalculatorHostView()
1111
{
1212
InitializeComponent();
1313
DataContext = viewModel;

0 commit comments

Comments
 (0)