add:国际化

master
handefeng 7 months ago
parent ec2b8bd132
commit 26bd924c10
  1. 239
      .vs/DyuClient/v17/DocumentLayout.backup.json
  2. 235
      .vs/DyuClient/v17/DocumentLayout.json
  3. 3
      DyuClient.sln
  4. 5
      DyuClient/App.xaml
  5. 2
      DyuClient/DyuClient.csproj
  6. 3
      DyuClient/MainWindow.xaml.cs
  7. 25
      DyuClient/ViewPages/TabPages/Demo2.xaml
  8. 11
      DyuClient/ViewPages/TabPages/Demo2.xaml.cs
  9. 12
      DyuClient/language/en_US.xaml
  10. 14
      DyuClient/language/en_US.xaml.cs
  11. 12
      DyuClient/language/zh_CN.xaml
  12. 27
      DyuClient/language/zh_CN.xaml.cs

@ -1,71 +1,248 @@
{
"Version": 1,
"WorkspaceRootPath": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\",
"WorkspaceRootPath": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\privateproject\\wpf\\dyuclient\\helix-toolkit-core-wpf\\dyuclient\\viewpages\\tabpages\\demo1.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|",
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo1.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo1.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\privateproject\\wpf\\dyuclient\\helix-toolkit-core-wpf\\dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\app.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\app.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\language\\zh_cn.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\language\\zh_cn.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\language\\en_us.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\language\\en_us.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewmodel\\tabpages\\demo1model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewmodel\\tabpages\\demo1model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewmodel\\main\\viewmodellocator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewmodel\\main\\viewmodellocator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewmodel\\tabpages\\demo2model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewmodel\\tabpages\\demo2model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\dyuclient.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\dyuclient.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo2.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo2.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo2.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo2.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"Orientation": 1,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"DockedHeight": 200,
"SelectedChildIndex": 1,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
"$type": "Document",
"DocumentIndex": 1,
"Title": "MainWindow.xaml.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml.cs",
"RelativeDocumentMoniker": "DyuClient\\MainWindow.xaml.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml.cs",
"RelativeToolTip": "DyuClient\\MainWindow.xaml.cs",
"ViewState": "AgIAABMAAAAAAAAAAAAAwAMAAAAbAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-12T09:14:24.209Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Demo1.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-11T09:02:29.206Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 5,
"Title": "en_US.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\en_US.xaml",
"RelativeDocumentMoniker": "DyuClient\\language\\en_US.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\en_US.xaml",
"RelativeToolTip": "DyuClient\\language\\en_US.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-13T07:25:56.292Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Demo1.xaml.cs",
"DocumentMoniker": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"ToolTip": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"ViewState": "AgIAACUBAAAAAAAAAAAYwEcBAAAqAAAAAAAAAA==",
"ViewState": "AgIAANwAAAAAAAAAAAAqwO0AAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-11T09:03:40.771Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "Demo1.xaml",
"DocumentMoniker": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"ToolTip": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"DocumentIndex": 7,
"Title": "ViewModelLocator.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"RelativeToolTip": "DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-13T07:07:41.818Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "App.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\App.xaml",
"RelativeDocumentMoniker": "DyuClient\\App.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\App.xaml",
"RelativeToolTip": "DyuClient\\App.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-11T09:02:29.206Z",
"WhenOpened": "2024-11-12T08:37:00.354Z",
"EditorCaption": ""
}
]
},
{
"DockedWidth": 385,
"SelectedChildIndex": -1,
"Children": [
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "zh_CN.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\zh_CN.xaml",
"RelativeDocumentMoniker": "DyuClient\\language\\zh_CN.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\zh_CN.xaml",
"RelativeToolTip": "DyuClient\\language\\zh_CN.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-13T07:26:00.362Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 12,
"Title": "Demo2.xaml.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"ViewState": "AgIAABEAAAAAAAAAAAD4vx0AAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-12T08:03:36.797Z",
"EditorCaption": ""
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
"$type": "Document",
"DocumentIndex": 6,
"Title": "Demo1Model.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"RelativeToolTip": "DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"ViewState": "AgIAADEAAAAAAAAAAAAiwAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-13T06:22:43.149Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 10,
"Title": "MainWindow.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml",
"RelativeDocumentMoniker": "DyuClient\\MainWindow.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml",
"RelativeToolTip": "DyuClient\\MainWindow.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-12T08:52:42.184Z",
"EditorCaption": ""
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
"$type": "Document",
"DocumentIndex": 8,
"Title": "Demo2Model.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"RelativeToolTip": "DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"ViewState": "AgIAABEAAAAAAAAAAAAUwA0AAAARAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-12T08:02:31.471Z",
"EditorCaption": ""
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{a80febb4-e7e0-4147-b476-21aaf2453969}"
"$type": "Document",
"DocumentIndex": 9,
"Title": "DyuClient",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\DyuClient.csproj",
"RelativeDocumentMoniker": "DyuClient\\DyuClient.csproj",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\DyuClient.csproj",
"RelativeToolTip": "DyuClient\\DyuClient.csproj",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
"WhenOpened": "2024-11-13T06:32:33.315Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 13,
"Title": "Demo2.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-12T08:02:08.634Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 11,
"Title": "AssemblyInfo.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\AssemblyInfo.cs",
"RelativeDocumentMoniker": "DyuClient\\AssemblyInfo.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\AssemblyInfo.cs",
"RelativeToolTip": "DyuClient\\AssemblyInfo.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-13T05:11:31.188Z",
"EditorCaption": ""
}
]
}

@ -1,71 +1,240 @@
{
"Version": 1,
"WorkspaceRootPath": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\",
"WorkspaceRootPath": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\privateproject\\wpf\\dyuclient\\helix-toolkit-core-wpf\\dyuclient\\viewpages\\tabpages\\demo1.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|",
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\mainwindow.xaml.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo1.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo1.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\privateproject\\wpf\\dyuclient\\helix-toolkit-core-wpf\\dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo1.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\app.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\app.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewmodel\\tabpages\\demo1model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewmodel\\tabpages\\demo1model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewmodel\\main\\viewmodellocator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewmodel\\main\\viewmodellocator.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewmodel\\tabpages\\demo2model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewmodel\\tabpages\\demo2model.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\dyuclient.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\dyuclient.csproj||{FA3CD31E-987B-443A-9B81-186104E8DAC1}|"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\assemblyinfo.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo2.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo2.xaml.cs||{8B382828-6202-11D1-8870-0000F87579D2}|"
},
{
"AbsoluteMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|d:\\workspace\\dayuai\\diamonddetectionclientdemo\\dyuclient\\viewpages\\tabpages\\demo2.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}|DyuClient\\DyuClient.csproj|solutionrelative:dyuclient\\viewpages\\tabpages\\demo2.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\en_US.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:DyuClient\\language\\en_US.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
},
{
"AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\zh_CN.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
"RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:DyuClient\\language\\zh_CN.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"Orientation": 1,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 1,
"DockedHeight": 200,
"SelectedChildIndex": 2,
"Children": [
{
"$type": "Bookmark",
"Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}"
"Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}"
},
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Demo1.xaml.cs",
"DocumentMoniker": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"ToolTip": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"ViewState": "AgIAADoBAAAAAAAAAAAYwFABAAAqAAAAAAAAAA==",
"DocumentIndex": 1,
"Title": "MainWindow.xaml.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml.cs",
"RelativeDocumentMoniker": "DyuClient\\MainWindow.xaml.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml.cs",
"RelativeToolTip": "DyuClient\\MainWindow.xaml.cs",
"ViewState": "AgIAABMAAAAAAAAAAAAAwAMAAAAbAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-11T09:03:40.771Z",
"EditorCaption": ""
"WhenOpened": "2024-11-12T09:14:24.209Z"
},
{
"$type": "Document",
"DocumentIndex": 1,
"DocumentIndex": 0,
"Title": "Demo1.xaml",
"DocumentMoniker": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"ToolTip": "D:\\PrivateProject\\wpf\\DyuClient\\helix-toolkit-core-wpf\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-11T09:02:29.206Z",
"EditorCaption": ""
}
]
},
{
"DockedWidth": 385,
"SelectedChildIndex": -1,
"Children": [
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{d78612c7-9962-4b83-95d9-268046dad23a}"
"$type": "Document",
"DocumentIndex": 12,
"Title": "en_US.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\en_US.xaml",
"RelativeDocumentMoniker": "DyuClient\\language\\en_US.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\en_US.xaml",
"RelativeToolTip": "DyuClient\\language\\en_US.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-13T07:25:56.292Z"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{34e76e81-ee4a-11d0-ae2e-00a0c90fffc3}"
"$type": "Document",
"DocumentIndex": 2,
"Title": "Demo1.xaml.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo1.xaml.cs",
"ViewState": "AgIAANwAAAAAAAAAAAAqwO0AAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-11T09:03:40.771Z"
},
{
"$type": "Bookmark",
"Name": "ST:0:0:{a80febb4-e7e0-4147-b476-21aaf2453969}"
"$type": "Document",
"DocumentIndex": 5,
"Title": "ViewModelLocator.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"RelativeToolTip": "DyuClient\\ViewModel\\Main\\ViewModelLocator.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-13T07:07:41.818Z"
},
{
"$type": "Document",
"DocumentIndex": 3,
"Title": "App.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\App.xaml",
"RelativeDocumentMoniker": "DyuClient\\App.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\App.xaml",
"RelativeToolTip": "DyuClient\\App.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-12T08:37:00.354Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 13,
"Title": "zh_CN.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\zh_CN.xaml",
"RelativeDocumentMoniker": "DyuClient\\language\\zh_CN.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\language\\zh_CN.xaml",
"RelativeToolTip": "DyuClient\\language\\zh_CN.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-13T07:26:00.362Z"
},
{
"$type": "Document",
"DocumentIndex": 10,
"Title": "Demo2.xaml.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml.cs",
"ViewState": "AgIAABEAAAAAAAAAAAD4vx0AAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-12T08:03:36.797Z"
},
{
"$type": "Document",
"DocumentIndex": 4,
"Title": "Demo1Model.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"RelativeToolTip": "DyuClient\\ViewModel\\TabPages\\Demo1Model.cs",
"ViewState": "AgIAADEAAAAAAAAAAAAiwAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-13T06:22:43.149Z"
},
{
"$type": "Document",
"DocumentIndex": 8,
"Title": "MainWindow.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml",
"RelativeDocumentMoniker": "DyuClient\\MainWindow.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\MainWindow.xaml",
"RelativeToolTip": "DyuClient\\MainWindow.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-12T08:52:42.184Z"
},
{
"$type": "Document",
"DocumentIndex": 6,
"Title": "Demo2Model.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"RelativeDocumentMoniker": "DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"RelativeToolTip": "DyuClient\\ViewModel\\TabPages\\Demo2Model.cs",
"ViewState": "AgIAABEAAAAAAAAAAAAUwA0AAAARAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-12T08:02:31.471Z"
},
{
"$type": "Document",
"DocumentIndex": 7,
"Title": "DyuClient.csproj",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\DyuClient.csproj",
"RelativeDocumentMoniker": "DyuClient\\DyuClient.csproj",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\DyuClient.csproj",
"RelativeToolTip": "DyuClient\\DyuClient.csproj",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000758|",
"WhenOpened": "2024-11-13T06:32:33.315Z"
},
{
"$type": "Document",
"DocumentIndex": 11,
"Title": "Demo2.xaml",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"RelativeDocumentMoniker": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"RelativeToolTip": "DyuClient\\ViewPages\\TabPages\\Demo2.xaml",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
"WhenOpened": "2024-11-12T08:02:08.634Z"
},
{
"$type": "Document",
"DocumentIndex": 9,
"Title": "AssemblyInfo.cs",
"DocumentMoniker": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\AssemblyInfo.cs",
"RelativeDocumentMoniker": "DyuClient\\AssemblyInfo.cs",
"ToolTip": "D:\\workspace\\dayuAI\\DiamondDetectionClientDemo\\DyuClient\\AssemblyInfo.cs",
"RelativeToolTip": "DyuClient\\AssemblyInfo.cs",
"ViewState": "AgIAAAAAAAAAAAAAAAAAAAoAAAAAAAAAAAAAAA==",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-13T05:11:31.188Z"
}
]
}

@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.10.34916.146
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DyuClient", "DyuClient\DyuClient.csproj", "{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DyuClient", "DyuClient\DyuClient.csproj", "{8F7FCFA0-42FF-4420-BE47-E04CB4F4B4B9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -20,6 +20,7 @@ Global
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
RESX_NeutralResourcesLanguage = zh-CN
SolutionGuid = {A2C5AF7B-63BB-44EB-8335-1210D2FEEE2D}
EndGlobalSection
EndGlobal

@ -9,7 +9,10 @@
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/SkinDefault.xaml"/>
<ResourceDictionary Source="pack://application:,,,/HandyControl;component/Themes/Theme.xaml"/>
<ResourceDictionary Source="/language/en_US.xaml"/>
</ResourceDictionary.MergedDictionaries>
<ResourceDictionary x:Key="US" Source="/language/en_US.xaml"/>
<ResourceDictionary x:Key="CN" Source="/language/zh_CN.xaml"/>
</ResourceDictionary>
</Application.Resources>
</Application>
</Application>

@ -20,6 +20,8 @@
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
<PackageReference Include="HandyControl" Version="3.5.1" />
<PackageReference Include="HelixToolkit.Core.Wpf" Version="2.25.0" />
<PackageReference Include="LayUI.Wpf" Version="1.0.2.241023" />
<PackageReference Include="LayUI.Wpf.Extensions" Version="1.0.2.240505" />
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="8.0.10" />
<PackageReference Include="MySql.Data" Version="9.1.0" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.3" />

@ -6,6 +6,7 @@ using HandyControl.Controls;
using HandyControl.Tools;
using DyuClient.ViewModel.Main;
using DyuClient.ViewPages.Main;
using LayUI.Wpf.Extensions;
namespace DyuClient;
/// <summary>
@ -14,7 +15,7 @@ namespace DyuClient;
public partial class MainWindow {
public MainWindow() {
InitializeComponent();
LanguageExtension.LoadResourceKey("CN");
}

@ -5,9 +5,14 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:DyuClient.ViewPages.TabPages"
mc:Ignorable="d"
d:DesignHeight="450" d:DesignWidth="800">
d:DesignHeight="450" d:DesignWidth="800"
xmlns:lay="clr-namespace:LayUI.Wpf.Extensions;assembly=LayuI.Wpf.Extensions"
>
<Grid>
<Button Content="中" Width="40" Click="Button_Click_1" HorizontalAlignment="Left" Margin="0,60,0,0" Grid.Row="1" VerticalAlignment="Top"/>
<Button Content="英" Width="36" Click="Button_Click_2" Margin="40,60,0,0" HorizontalAlignment="Left" Grid.Row="1" VerticalAlignment="Top" RenderTransformOrigin="-0.986,0.188"/>
<StackPanel Width="400">
<Grid Margin="0,0,0,10">
<Grid.RowDefinitions>
@ -22,17 +27,23 @@
<ColumnDefinition Width="Auto"/>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<Label Content="{x:Static hc:Lang.NoData}" Width="100" Grid.Column="0" Grid.Row="0"/>
<!--<Label Content="{x:Static hc:Lang.NoData}" Width="100" Grid.Column="0" Grid.Row="0"/>-->
<Label Content="{lay:Language Key=NoData}" Width="100" Grid.Column="0" Grid.Row="0"/>
<TextBox Grid.Row="0" Grid.Column="1" Text="{Binding Path=DataBaseHost, Mode=TwoWay}"/>
<Label Content="用户名" Width="100" Grid.Column="0" Grid.Row="1"/>
<!--<Label Content="用户名" Width="100" Grid.Column="0" Grid.Row="1"/>-->
<Label Content="{lay:Language Key=Name}" Width="100" Grid.Column="0" Grid.Row="1"/>
<TextBox Grid.Row="1" Grid.Column="1" Text="{Binding DataBaseUser}"/>
<Label Content="密码" Width="100" Grid.Column="0" Grid.Row="2"/>
<!--<Label Content="密码" Width="100" Grid.Column="0" Grid.Row="2"/>-->
<Label Content="{lay:Language Key=Password}" Width="100" Grid.Column="0" Grid.Row="2"/>
<TextBox Grid.Row="2" Grid.Column="1" Text="{Binding DataBasePassword}"/>
<Label Content="端口" Width="100" Grid.Column="0" Grid.Row="3"/>
<!--<Label Content="端口" Width="100" Grid.Column="0" Grid.Row="3"/>-->
<Label Content="{lay:Language Key=Port}" Width="100" Grid.Column="0" Grid.Row="3"/>
<TextBox Grid.Row="3" Grid.Column="1" Text="{Binding DataBasePort}"/>
<Label Content="数据库" Width="100" Grid.Column="0" Grid.Row="4"/>
<!--<Label Content="数据库" Width="100" Grid.Column="0" Grid.Row="4"/>-->
<Label Content="{lay:Language Key=Database}" Width="100" Grid.Column="0" Grid.Row="4"/>
<TextBox Grid.Row="4" Grid.Column="1" Text="{Binding DataBase}"/>
<Button Grid.Row="5" Grid.Column="1" Content="测试连接" Command="{Binding TestConnectCommand}" HorizontalAlignment="Right" Margin="0 5 0 0"/>
<!--<Button Grid.Row="5" Grid.Column="1" Content="测试连接" Command="{Binding TestConnectCommand}" HorizontalAlignment="Right" Margin="0 5 0 0"/>-->
<Button Grid.Row="5" Grid.Column="1" Content="{lay:Language Key=TestConnection}" Command="{Binding TestConnectCommand}" HorizontalAlignment="Right" Margin="0 5 0 0"/>
</Grid>
<Grid Margin="0,0,0,20">
<Grid.ColumnDefinitions>

@ -13,6 +13,7 @@ using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using LayUI.Wpf.Extensions;
namespace DyuClient.ViewPages.TabPages {
/// <summary>
@ -25,5 +26,15 @@ namespace DyuClient.ViewPages.TabPages {
InitializeComponent();
DataContext = new Demo2Model();
}
private void Button_Click_1(object sender, RoutedEventArgs e)
{
LanguageExtension.LoadResourceKey("CN");
}
private void Button_Click_2(object sender, RoutedEventArgs e)
{
LanguageExtension.LoadResourceKey("US");
}
}
}

@ -0,0 +1,12 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=netstandard">
<sys:String x:Key="NoData">No data</sys:String>
<sys:String x:Key="Name">user name</sys:String>
<sys:String x:Key="Password">password</sys:String>
<sys:String x:Key="Port">port</sys:String>
<sys:String x:Key="Database">database</sys:String>
<sys:String x:Key="TestConnection">Test connection</sys:String>
</ResourceDictionary>

@ -0,0 +1,14 @@
using System.Windows.Controls;
namespace DyuClient.lang
{
/// <summary>
/// en_US.xaml 的交互逻辑
/// </summary>
public partial class en_US : Page
{
public en_US()
{
}
}
}

@ -0,0 +1,12 @@
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:sys="clr-namespace:System;assembly=netstandard">
<sys:String x:Key="NoData">暂无数据</sys:String>
<sys:String x:Key="Name">用户名"</sys:String>
<sys:String x:Key="Password">密码</sys:String>
<sys:String x:Key="Port">端口</sys:String>
<sys:String x:Key="Database">数据库</sys:String>
<sys:String x:Key="TestConnection">测试连接</sys:String>
</ResourceDictionary>

@ -0,0 +1,27 @@
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 DyuClient.lang
{
/// <summary>
/// zh_CN.xaml 的交互逻辑
/// </summary>
public partial class zh_CN : Page
{
public zh_CN()
{
}
}
}
Loading…
Cancel
Save