Skip to content

Commit

Permalink
#31 Added new sample project : WpfHexEditor.Sample.InsertByteAnywhere
Browse files Browse the repository at this point in the history
THE NEXT MAJOR EVOLUTION OF THE HEXEDITOR
  • Loading branch information
abbaye committed Jan 13, 2021
1 parent 81ca2c3 commit 4ff965a
Show file tree
Hide file tree
Showing 8 changed files with 122 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
<Project Sdk="Microsoft.NET.Sdk">
<!--
Apache 2.0 - 2021
Author : Derek Tremblay (derektremblay666@gmail.com)
BINARY FILE DIFFERENCE SAMPLE USING WPF HEXEDITOR
-->

<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<OutputType>WinExe</OutputType>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<Application x:Class="WpfHexEditor.Sample.InsertByteAnywhere.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WpfHexEditor.Sample.InsertByteAnywhere"
StartupUri="MainWindow.xaml">
<Application.Resources>

</Application.Resources>
</Application>
17 changes: 17 additions & 0 deletions Sources/Samples/WpfHexEditor.Sample.InsertByteAnywhere/App.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;

namespace WpfHexEditor.Sample.InsertByteAnywhere
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
using System.Windows;

[assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page,
// or application resource dictionaries)
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
//(used if a resource is not found in the page,
// app, or any theme specific resource dictionaries)
)]
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<Window x:Class="WpfHexEditor.Sample.InsertByteAnywhere.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:WpfHexEditor.Sample.InsertByteAnywhere"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800">
<Grid>

</Grid>
</Window>
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace WpfHexEditor.Sample.InsertByteAnywhere
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public partial class MainWindow : Window
{
public MainWindow()
{
InitializeComponent();
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!--
Apache 2.0 - 2021
Author : Derek Tremblay (derektremblay666@gmail.com)
INSERT BYTE ANYWHERE SAMPLE USING WPF HEXEDITOR
(WILL BE THE NEXT MAJOR EVOLUTION OF THE HEXEDITOR)
-->

<Project Sdk="Microsoft.NET.Sdk.WindowsDesktop">

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net50-windows</TargetFramework>
<UseWPF>true</UseWPF>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\..\WPFHexaEditor\WpfHexEditorCore.csproj" />
</ItemGroup>

</Project>
17 changes: 16 additions & 1 deletion Sources/WpfHexEditorControl.sln
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfHexEditor.Sample.AvalonD
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfHexEditor.Sample.BarChart", "Samples\WpfHexEditor.Sample.BarChart\WpfHexEditor.Sample.BarChart.csproj", "{61C30859-C234-4AC4-BCCB-1BFE8202C2A6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfHexEditor.Sample.BinaryFilesDifference", "Samples\WpfHexEditor.Sample.BinaryFilesDifference\WpfHexEditor.Sample.BinaryFilesDifference.csproj", "{2652120F-9599-44A4-95F2-CBD71F6134F6}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "WpfHexEditor.Sample.BinaryFilesDifference", "Samples\WpfHexEditor.Sample.BinaryFilesDifference\WpfHexEditor.Sample.BinaryFilesDifference.csproj", "{2652120F-9599-44A4-95F2-CBD71F6134F6}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WpfHexEditor.Sample.InsertByteAnywhere", "Samples\WpfHexEditor.Sample.InsertByteAnywhere\WpfHexEditor.Sample.InsertByteAnywhere.csproj", "{3D2FA808-7163-4103-ADBE-9912D28F7ECE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand Down Expand Up @@ -113,6 +115,18 @@ Global
{2652120F-9599-44A4-95F2-CBD71F6134F6}.Release|x64.Build.0 = Release|Any CPU
{2652120F-9599-44A4-95F2-CBD71F6134F6}.Release|x86.ActiveCfg = Release|Any CPU
{2652120F-9599-44A4-95F2-CBD71F6134F6}.Release|x86.Build.0 = Release|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Debug|x64.ActiveCfg = Debug|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Debug|x64.Build.0 = Debug|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Debug|x86.ActiveCfg = Debug|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Debug|x86.Build.0 = Debug|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Release|Any CPU.Build.0 = Release|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Release|x64.ActiveCfg = Release|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Release|x64.Build.0 = Release|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Release|x86.ActiveCfg = Release|Any CPU
{3D2FA808-7163-4103-ADBE-9912D28F7ECE}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand All @@ -124,6 +138,7 @@ Global
{6E3E68D0-8C8E-495E-84AC-A0DC9D52F369} = {E7C58EBD-5476-4A12-83EB-235DE68AF079}
{61C30859-C234-4AC4-BCCB-1BFE8202C2A6} = {E7C58EBD-5476-4A12-83EB-235DE68AF079}
{2652120F-9599-44A4-95F2-CBD71F6134F6} = {E7C58EBD-5476-4A12-83EB-235DE68AF079}
{3D2FA808-7163-4103-ADBE-9912D28F7ECE} = {E7C58EBD-5476-4A12-83EB-235DE68AF079}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {5B382CAE-4846-466E-A3D3-0842043B4012}
Expand Down

0 comments on commit 4ff965a

Please sign in to comment.