This repository has been archived by the owner on Mar 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
52 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,44 @@ | ||
<Window | ||
Height="450" | ||
Title="SearchByContains" | ||
Width="800" | ||
Height="Auto" | ||
Title="SearchBy..." | ||
Width="350" | ||
mc:Ignorable="d" | ||
x:Class="AppInfo.View.SearchByContains" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:local="clr-namespace:AppInfo.View" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<Grid /> | ||
<Grid Margin="5,5,5,5"> | ||
<Grid.ColumnDefinitions> | ||
<ColumnDefinition Width="80"/> | ||
<ColumnDefinition/> | ||
</Grid.ColumnDefinitions> | ||
<Grid.RowDefinitions> | ||
<RowDefinition/> | ||
<RowDefinition/> | ||
<RowDefinition Height="30"/> | ||
</Grid.RowDefinitions> | ||
<Label Grid.Column="0" Grid.Row="0" >SnoopType:</Label> | ||
<ComboBox Grid.Column="1" | ||
Grid.Row="0" | ||
HorizontalContentAlignment="Center" | ||
VerticalContentAlignment="Center"> | ||
<ComboBoxItem IsSelected="True" Content="Item Guid"></ComboBoxItem> | ||
<ComboBoxItem Content="Item Guid"></ComboBoxItem> | ||
<ComboBoxItem Content="Clash Guid"></ComboBoxItem> | ||
<ComboBoxItem Content="Clash Name"></ComboBoxItem> | ||
<ComboBoxItem Content="ClashResult Name"></ComboBoxItem> | ||
</ComboBox> | ||
<Label Grid.Row="1" | ||
Content="Value:" | ||
Grid.Column="0"/> | ||
<TextBox Grid.Column="1" | ||
Grid.Row="1" | ||
/> | ||
<Button | ||
Grid.Row="2" | ||
Grid.Column="0" | ||
Grid.ColumnSpan="2" | ||
Content="Snoop"/> | ||
</Grid> | ||
</Window> |
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 |
---|---|---|
@@ -1,12 +1,16 @@ | ||
using System.Windows; | ||
using AppInfo.ViewModel; | ||
|
||
namespace AppInfo.View | ||
{ | ||
public partial class SearchByContains : Window | ||
{ | ||
public SearchByContains() | ||
private AppInfoViewModel _viewModel { get; } | ||
public SearchByContains(AppInfoViewModel viewModel) | ||
{ | ||
InitializeComponent(); | ||
this._viewModel = viewModel; | ||
this.DataContext = viewModel; | ||
} | ||
} | ||
} |