-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
View for Guild Wars Party Search (#880)
Closes #877
- Loading branch information
1 parent
bd422a8
commit 817af65
Showing
5 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<UserControl x:Class="Daybreak.Views.GuildWarsPartySearchView" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:local="clr-namespace:Daybreak.Views" | ||
xmlns:controls="clr-namespace:Daybreak.Controls" | ||
Loaded="UserControl_Loaded" | ||
mc:Ignorable="d" | ||
d:DesignHeight="450" d:DesignWidth="800"> | ||
<Grid> | ||
<controls:ChromiumBrowserWrapper Address="https://party.gwtoolbox.com/" | ||
ControlsEnabled="False" | ||
CanNavigate="True" | ||
CanDownloadFiles="False" | ||
CanDownloadBuild="False"/> | ||
</Grid> | ||
</UserControl> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using Daybreak.Services.Menu; | ||
using System.Core.Extensions; | ||
using System.Windows.Controls; | ||
|
||
namespace Daybreak.Views; | ||
/// <summary> | ||
/// Interaction logic for GuildWarsPartySearchView.xaml | ||
/// </summary> | ||
public partial class GuildWarsPartySearchView : UserControl | ||
{ | ||
private readonly IMenuService menuService; | ||
|
||
public GuildWarsPartySearchView( | ||
IMenuService menuService) | ||
{ | ||
this.menuService = menuService.ThrowIfNull(); | ||
this.InitializeComponent(); | ||
} | ||
|
||
private void UserControl_Loaded(object sender, System.Windows.RoutedEventArgs e) | ||
{ | ||
this.menuService.CloseMenu(); | ||
} | ||
} |