Skip to content

Commit 65ea4ef

Browse files
author
Martin Fischer
committed
3.1.4
2 parents 1011443 + 000e19d commit 65ea4ef

34 files changed

+8866
-3872
lines changed
-258 Bytes
Binary file not shown.
-2.99 KB
Binary file not shown.
-337 Bytes
Binary file not shown.
-704 Bytes
Binary file not shown.
-905 Bytes
Binary file not shown.

PEunion/App.xaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@
44
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
55
xmlns:local="clr-namespace:PEunion"
66
xmlns:api="clr-namespace:BytecodeApi;assembly=BytecodeApi"
7+
xmlns:controls="clr-namespace:BytecodeApi.UI.Controls;assembly=BytecodeApi.UI"
8+
xmlns:effects="clr-namespace:BytecodeApi.UI.Effects;assembly=BytecodeApi.UI"
79
StartupUri="Windows/WindowMain.xaml" ShutdownMode="OnMainWindowClose" Startup="Application_Startup">
810
<Application.Resources>
911
<ResourceDictionary>
1012
<ResourceDictionary.MergedDictionaries>
11-
<ResourceDictionary Source="/BytecodeApi;component/Resources.xaml" />
13+
<ResourceDictionary Source="/BytecodeApi.UI;component/Converters.xaml" />
1214
</ResourceDictionary.MergedDictionaries>
1315
<Style TargetType="{x:Type Image}">
1416
<Setter Property="Stretch" Value="None" />
@@ -17,7 +19,7 @@
1719
<Setter Property="Opacity" Value=".5" />
1820
<Setter Property="Effect">
1921
<Setter.Value>
20-
<api:GrayscaleEffect />
22+
<effects:GrayscaleEffect />
2123
</Setter.Value>
2224
</Setter>
2325
</Trigger>
@@ -134,7 +136,7 @@
134136
</Trigger>
135137
<MultiTrigger>
136138
<MultiTrigger.Conditions>
137-
<Condition Property="api:TreeViewItemHelper.IsMouseDirectlyOverItem" Value="True" />
139+
<Condition Property="controls:TreeViewItemService.IsMouseDirectlyOverItem" Value="True" />
138140
<Condition Property="IsSelected" Value="False" />
139141
</MultiTrigger.Conditions>
140142
<Setter Property="Background" Value="#e5f3fb" />

PEunion/App.xaml.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ private void Application_Startup(object sender, StartupEventArgs e)
3030
}
3131
private static Assembly AppDomain_ResolveAssembly(object sender, ResolveEventArgs e)
3232
{
33-
return new AssemblyName(e.Name).Name == "BytecodeApi" ? Assembly.Load(PEunion.Properties.Resources.BytecodeApi) : null;
33+
string name = new AssemblyName(e.Name).Name;
34+
35+
if (name == "BytecodeApi") return Assembly.Load(PEunion.Properties.Resources.BytecodeApi);
36+
else if (name == "BytecodeApi.UI") return Assembly.Load(PEunion.Properties.Resources.BytecodeApiUI);
37+
else return null;
3438
}
3539
}
3640
}

PEunion/BytecodeApi.UI.dll

54.5 KB
Binary file not shown.

PEunion/BytecodeApi.UI.xml

Lines changed: 2249 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PEunion/BytecodeApi.dll

-3.46 MB
Binary file not shown.

0 commit comments

Comments
 (0)