瀏覽代碼

修改提示错误

wyq 1 年之前
父節點
當前提交
a22a1bb8eb
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 2 2
      XdCxRhDW.App/EditForms/RHDTOParamEditor.cs
  2. 0 1
      XdCxRhDW.App/XdCxRhDW.App.csproj

+ 2 - 2
XdCxRhDW.App/EditForms/RHDTOParamEditor.cs

@@ -173,7 +173,7 @@ namespace XdCxRhDW.App.EditForms
             catch (Exception ex)
             {
                 Serilog.Log.Error(ex, $"绘制{info.PosResType.GetEnumDisplayName()}时差线失败.PosID={info.ID},SigTime={info.SigTime}");
-                DxHelper.MsgBoxHelper.ShowWarning($"绘制{info.PosResType.GetEnumDisplayName()}时差线失败,{ex.Message}");
+                DxHelper.MsgBoxHelper.ShowError($"绘制{info.PosResType.GetEnumDisplayName()}时差线失败,{ex.Message}");
             }
         }
 
@@ -281,7 +281,7 @@ namespace XdCxRhDW.App.EditForms
             catch (Exception ex)
             {
                 Serilog.Log.Error(ex, $"{info.PosResType.GetEnumDisplayName()}手动定位失败.PosID={info.ID},SigTime={info.SigTime}");
-                DxHelper.MsgBoxHelper.ShowWarning($"{info.PosResType.GetEnumDisplayName()}手动定位失败,{ex.Message}");
+                DxHelper.MsgBoxHelper.ShowError($"{info.PosResType.GetEnumDisplayName()}手动定位失败,{ex.Message}");
             }
         }
     }

+ 0 - 1
XdCxRhDW.App/XdCxRhDW.App.csproj

@@ -544,7 +544,6 @@
     <EmbeddedResource Include="PopupControl\ShowCxCtrl.resx">
       <DependentUpon>ShowCxCtrl.cs</DependentUpon>
     </EmbeddedResource>
-    <EmbeddedResource Include="Properties\licenses.licx" />
     <EmbeddedResource Include="Properties\Resources.resx">
       <Generator>ResXFileCodeGenerator</Generator>
       <LastGenOutput>Resources.Designer.cs</LastGenOutput>