mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Reused new OAuth 2 code for the Box plug-in, this was possible by adding the embedded browser. Also refactored code to be more readable, and have more reuse. Fixed problems with Picasa upload and pressing cancel on the PleaseWaitForm. [skip ci]
This commit is contained in:
parent
9d7299e5ea
commit
1f80d56b10
16 changed files with 408 additions and 277 deletions
|
@ -87,7 +87,7 @@ namespace GreenshotPlugin.Controls {
|
|||
/// <summary>
|
||||
/// When this is set, the form will be brought to the foreground as soon as it is shown.
|
||||
/// </summary>
|
||||
protected bool BringToFront {
|
||||
protected bool ToFront {
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
@ -162,7 +162,7 @@ namespace GreenshotPlugin.Controls {
|
|||
/// <param name="e">EventArgs</param>
|
||||
protected override void OnShown(EventArgs e) {
|
||||
base.OnShown(e);
|
||||
if (BringToFront) {
|
||||
if (ToFront) {
|
||||
WindowDetails.ToForeground(Handle);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue