mirror of
https://gitee.com/akwkevin/aistudio.-wpf.-diagram
synced 2026-04-30 21:23:24 +08:00
将引用的源码变成安装包的形式引用
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFrameworks>net472</TargetFrameworks>
|
||||
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
@@ -121,20 +121,26 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Dragablz" Version="0.0.3.223" />
|
||||
<PackageReference Include="Fluent.Ribbon" Version="8.0.3" />
|
||||
<PackageReference Include="gong-wpf-dragdrop" Version="2.3.2" />
|
||||
<PackageReference Include="log4net" Version="2.0.12" />
|
||||
<PackageReference Include="MahApps.Metro" Version="2.0.0" />
|
||||
<PackageReference Include="MahApps.Metro.IconPacks" Version="4.8.0" />
|
||||
<PackageReference Include="MahApps.Metro.IconPacks.FontAwesome" Version="4.8.0" />
|
||||
<PackageReference Include="MahApps.Metro.IconPacks.VaadinIcons" Version="4.8.0" />
|
||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||
<PackageReference Include="Util.Svg2XamlTestExtension" Version="1.2.5" />
|
||||
<PackageReference Include="WpfAnimatedGif" Version="2.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Dragablz\Dragablz\Dragablz.csproj" />
|
||||
<ProjectReference Include="..\Fluent.Ribbon\Fluent.Ribbon\Fluent.Ribbon.csproj" />
|
||||
<ProjectReference Include="..\gong-wpf-dragdrop\src\GongSolutions.WPF.DragDrop\GongSolutions.WPF.DragDrop.csproj" />
|
||||
<ProjectReference Include="..\Util.DiagramDesigner\Util.DiagramDesigner.csproj" />
|
||||
<ProjectReference Include="..\zxing.core\zxing.core\zxing.core.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Reference Include="zxing.core">
|
||||
<HintPath>zxing.core.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
@@ -1154,18 +1154,18 @@ namespace AIStudio.Wpf.ADiagram.ViewModels
|
||||
List<Color> result = new List<Color>();
|
||||
for (var i = 0; i < count; i++)
|
||||
{
|
||||
var colors = ColorGallery.GetGradient(ColorGallery.StandardThemeColors[i], 10);
|
||||
for (var j = 9; j >= 0; j--)
|
||||
{
|
||||
result.Add(colors[j]);
|
||||
}
|
||||
//var colors = ColorGallery.GetGradient(ColorGallery.StandardThemeColors[i], 10);
|
||||
//for (var j = 9; j >= 0; j--)
|
||||
//{
|
||||
// result.Add(colors[j]);
|
||||
//}
|
||||
}
|
||||
{
|
||||
var colors = ColorGallery.GetGradient(Colors.Black, 10);
|
||||
for (var j = 9; j >= 0; j--)
|
||||
{
|
||||
result.Add(colors[j]);
|
||||
}
|
||||
//var colors = ColorGallery.GetGradient(Colors.Black, 10);
|
||||
//for (var j = 9; j >= 0; j--)
|
||||
//{
|
||||
// result.Add(colors[j]);
|
||||
//}
|
||||
}
|
||||
return result.ToArray();
|
||||
}
|
||||
|
||||
BIN
AIStudio.Wpf.ADiagram/zxing.core.dll
Normal file
BIN
AIStudio.Wpf.ADiagram/zxing.core.dll
Normal file
Binary file not shown.
Reference in New Issue
Block a user