mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Fixed copyright, fixed some spelling and updated some of the code to a newer syntax.
This commit is contained in:
parent
f116e5db54
commit
aff8ba2109
478 changed files with 972 additions and 1089 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* Greenshot - a free and open source screenshot tool
|
||||
* Copyright (C) 2007-2020 Thomas Braun, Jens Klingen, Robin Krom
|
||||
* Copyright (C) 2007-2021 Thomas Braun, Jens Klingen, Robin Krom
|
||||
*
|
||||
* For more information see: http://getgreenshot.org/
|
||||
* The Greenshot project is hosted on GitHub https://github.com/greenshot/greenshot
|
||||
|
@ -382,7 +382,7 @@ namespace GreenshotPlugin.Core {
|
|||
/// <param name="owner">The System.Windows.Forms.IWin32Window the dialog will display in front of.</param>
|
||||
private CredUi.INFO GetInfo(IWin32Window owner) {
|
||||
CredUi.INFO info = new CredUi.INFO();
|
||||
if (owner != null) info.hwndParent = owner.Handle;
|
||||
if (owner != null) info.hWndParent = owner.Handle;
|
||||
info.pszCaptionText = Caption;
|
||||
info.pszMessageText = Message;
|
||||
if (Banner != null) {
|
||||
|
@ -498,7 +498,7 @@ namespace GreenshotPlugin.Core {
|
|||
/// </summary>
|
||||
public struct INFO {
|
||||
public int cbSize;
|
||||
public IntPtr hwndParent;
|
||||
public IntPtr hWndParent;
|
||||
[MarshalAs(UnmanagedType.LPWStr)] public string pszMessageText;
|
||||
[MarshalAs(UnmanagedType.LPWStr)] public string pszCaptionText;
|
||||
public IntPtr hbmBanner;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue