mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
code_style: private functions should appear after all public functions
This commit is contained in:
parent
c0b13bdc8c
commit
d64b7a7824
1 changed files with 10 additions and 10 deletions
|
@ -78,16 +78,6 @@ namespace SourceGit.Native
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void ExtendWindowFrame(Window w)
|
|
||||||
{
|
|
||||||
var platformHandle = w.TryGetPlatformHandle();
|
|
||||||
if (platformHandle == null)
|
|
||||||
return;
|
|
||||||
|
|
||||||
var margins = new MARGINS { cxLeftWidth = 1, cxRightWidth = 1, cyTopHeight = 1, cyBottomHeight = 1 };
|
|
||||||
DwmExtendFrameIntoClientArea(platformHandle.Handle, ref margins);
|
|
||||||
}
|
|
||||||
|
|
||||||
public string FindGitExecutable()
|
public string FindGitExecutable()
|
||||||
{
|
{
|
||||||
var reg = Microsoft.Win32.RegistryKey.OpenBaseKey(
|
var reg = Microsoft.Win32.RegistryKey.OpenBaseKey(
|
||||||
|
@ -220,6 +210,16 @@ namespace SourceGit.Native
|
||||||
Process.Start(start);
|
Process.Start(start);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private void ExtendWindowFrame(Window w)
|
||||||
|
{
|
||||||
|
var platformHandle = w.TryGetPlatformHandle();
|
||||||
|
if (platformHandle == null)
|
||||||
|
return;
|
||||||
|
|
||||||
|
var margins = new MARGINS { cxLeftWidth = 1, cxRightWidth = 1, cyTopHeight = 1, cyBottomHeight = 1 };
|
||||||
|
DwmExtendFrameIntoClientArea(platformHandle.Handle, ref margins);
|
||||||
|
}
|
||||||
|
|
||||||
// There are two versions of PowerShell : pwsh.exe (preferred) and powershell.exe (system default)
|
// There are two versions of PowerShell : pwsh.exe (preferred) and powershell.exe (system default)
|
||||||
private string ChoosePowerShell()
|
private string ChoosePowerShell()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue