Skip to content
This repository has been archived by the owner on Mar 24, 2024. It is now read-only.

Commit

Permalink
add design snoop
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Sep 3, 2023
1 parent 3727935 commit 8da0f24
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 15 deletions.
20 changes: 11 additions & 9 deletions AppInfo.sln
Original file line number Diff line number Diff line change
Expand Up @@ -6,28 +6,28 @@ MinimumVisualStudioVersion = 10.0.40219.1
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "SolutionItem", "SolutionItem", "{4D4223F2-AEFC-4784-BC36-D809054DA0DF}"
ProjectSection(SolutionItems) = preProject
.gitignore = .gitignore
Readme.MD = Readme.MD
CHANGELOG.md = CHANGELOG.md
CODE_OF_CONDUCT.md = CODE_OF_CONDUCT.md
CONTRIBUTING.md = CONTRIBUTING.md
License.md = License.md
Readme.MD = Readme.MD
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AppInfo", "NavisAppInfo\AppInfo.csproj", "{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AppInfo", "NavisAppInfo\AppInfo.csproj", "{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Installer", "Installer\Installer.csproj", "{1D975D70-515E-477B-9F0B-1D411980E2C2}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Installer", "Installer\Installer.csproj", "{1D975D70-515E-477B-9F0B-1D411980E2C2}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Build", "build\Build.csproj", "{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Build", "build\Build.csproj", "{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug N20|Any CPU = Debug N20|Any CPU
Debug N21|Any CPU = Debug N21|Any CPU
Debug N22|Any CPU = Debug N22|Any CPU
Debug N23|Any CPU = Debug N23|Any CPU
Debug N23|Any CPU = Debug N23|Any CPU
Installer|Any CPU = Installer|Any CPU
Release N20|Any CPU = Release N20|Any CPU
Release N21|Any CPU = Release N21|Any CPU
Release N21|Any CPU = Release N21|Any CPU
Release N22|Any CPU = Release N22|Any CPU
Release N23|Any CPU = Release N23|Any CPU
EndGlobalSection
Expand All @@ -40,6 +40,8 @@ Global
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Debug N22|Any CPU.Build.0 = Debug N22|Any CPU
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Debug N23|Any CPU.ActiveCfg = Debug N23|Any CPU
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Debug N23|Any CPU.Build.0 = Debug N23|Any CPU
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Installer|Any CPU.ActiveCfg = Release N23|Any CPU
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Installer|Any CPU.Build.0 = Release N23|Any CPU
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Release N20|Any CPU.ActiveCfg = Release N20|Any CPU
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Release N20|Any CPU.Build.0 = Release N20|Any CPU
{C2BDCC8A-50A5-4BBC-9E4A-BC2580AECBCC}.Release N21|Any CPU.ActiveCfg = Release N21|Any CPU
Expand All @@ -52,22 +54,22 @@ Global
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Debug N21|Any CPU.ActiveCfg = Debug|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Debug N22|Any CPU.ActiveCfg = Debug|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Debug N23|Any CPU.ActiveCfg = Debug|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Installer|Any CPU.ActiveCfg = Release|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Installer|Any CPU.Build.0 = Release|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Release N20|Any CPU.ActiveCfg = Debug|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Release N21|Any CPU.ActiveCfg = Debug|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Release N22|Any CPU.ActiveCfg = Debug|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Release N23|Any CPU.ActiveCfg = Debug|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Installer|Any CPU.ActiveCfg = Release|Any CPU
{1D975D70-515E-477B-9F0B-1D411980E2C2}.Installer|Any CPU.Build.0 = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Debug N20|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Debug N21|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Debug N22|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Debug N23|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Installer|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Installer|Any CPU.Build.0 = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Release N20|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Release N21|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Release N22|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Release N23|Any CPU.ActiveCfg = Release|Any CPU
{150899E8-3EA7-4DBA-A18C-666ECEACA7FA}.Installer|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
41 changes: 36 additions & 5 deletions NavisAppInfo/View/SearchByContains.xaml
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>
6 changes: 5 additions & 1 deletion NavisAppInfo/View/SearchByContains.xaml.cs
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;
}
}
}

0 comments on commit 8da0f24

Please sign in to comment.