Skip to content

Commit

Permalink
修复文件引入
Browse files Browse the repository at this point in the history
  • Loading branch information
Jayshonyves committed Jan 13, 2021
1 parent c3e7295 commit baa8af8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Shared.JxCode.Windows/Shared.JxCode.Windows.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<Compile Include="$(MSBuildThisFileDirectory)NotifyIcon.cs" />
<Compile Include="$(MSBuildThisFileDirectory)SoftUtility\JavaInfo.cs" />
<Compile Include="$(MSBuildThisFileDirectory)WinformMessageProc.cs" />
<Compile Include="..\Shared.JxCode.Windows\WindowForm.cs" />
<Compile Include="$(MSBuildThisFileDirectory)WindowForm.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ProcessHandle.cs" />
<Compile Include="$(MSBuildThisFileDirectory)RegeditConfiguration.cs" />
<Compile Include="$(MSBuildThisFileDirectory)App.cs" />
Expand Down
2 changes: 1 addition & 1 deletion Shared.JxCode.Windows/WindowForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ public static WindowForm CreateFromPID(IntPtr pid)
/// 从当前程序的窗体创建
/// </summary>
/// <returns></returns>
public static WindowForm CreateFromCurrent()
public static WindowForm CreateFromCurrentPid()
{
IntPtr PID = new IntPtr(System.Diagnostics.Process.GetCurrentProcess().Id);
return CreateFromPID(PID);
Expand Down

0 comments on commit baa8af8

Please sign in to comment.