[v6] 为ICCX(v6)做准备
This commit is contained in:
parent
0be11a9334
commit
06abccb9f7
@ -3,8 +3,7 @@
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Ink_Canvas"
|
||||
xmlns:tb="http://www.hardcodet.net/taskbar"
|
||||
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern"
|
||||
StartupUri="MainWindow.xaml">
|
||||
xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern">
|
||||
<Application.Resources>
|
||||
<ResourceDictionary>
|
||||
<Style TargetType="ui:ScrollViewerEx">
|
||||
|
@ -35,6 +35,7 @@ namespace Ink_Canvas
|
||||
}
|
||||
|
||||
private TaskbarIcon _taskbar;
|
||||
private MainWindow mainWin = null;
|
||||
|
||||
void App_Startup(object sender, StartupEventArgs e)
|
||||
{
|
||||
@ -53,6 +54,14 @@ namespace Ink_Canvas
|
||||
Environment.Exit(0);
|
||||
}
|
||||
|
||||
if (e.Args.Contains("--v6")) //-v6 进入ICCX(v6)
|
||||
{
|
||||
MessageBox.Show("检测到进入ICCX");
|
||||
} else {
|
||||
mainWin = new MainWindow();
|
||||
mainWin.Show();
|
||||
}
|
||||
|
||||
_taskbar = (TaskbarIcon)FindResource("TaskbarTrayIcon");
|
||||
|
||||
StartArgs = e.Args;
|
||||
|
@ -558,4 +558,7 @@
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="v6\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
@ -2,5 +2,9 @@
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<_LastSelectedProfileId>D:\vs\ica\Ink Canvas\Properties\PublishProfiles\FolderProfile.pubxml</_LastSelectedProfileId>
|
||||
<ActiveDebugProfile>InkCanvasForClass</ActiveDebugProfile>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
|
||||
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
|
||||
</PropertyGroup>
|
||||
</Project>
|
11
Ink Canvas/Properties/launchSettings.json
Normal file
11
Ink Canvas/Properties/launchSettings.json
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
"profiles": {
|
||||
"InkCanvasForClass": {
|
||||
"commandName": "Project"
|
||||
},
|
||||
"ICC v6": {
|
||||
"commandName": "Project",
|
||||
"commandLineArgs": "--v6"
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user