mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
* Improving the DPI handling for most forms, there are still issues with: * the AboutForm.Designer.cs where the title with the version scales differently. * the destination picker doesn't seem to scale the font correctly. Some parts are not tested yet... * Solved the issue with the destination picker font, and some other small issues. There still is an issue when using Powertoys (the feature which is experimental), that the capture is somehow skipping.
92 lines
3.4 KiB
C#
92 lines
3.4 KiB
C#
/*
|
|
* Greenshot - a free and open source screenshot tool
|
|
* Copyright (C) 2007-2020 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
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 1 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
namespace GreenshotPlugin.Controls {
|
|
partial class OAuthLoginForm {
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null)) {
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Windows Form Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent() {
|
|
this._addressTextBox = new System.Windows.Forms.TextBox();
|
|
this._browser = new ExtendedWebBrowser();
|
|
this.SuspendLayout();
|
|
//
|
|
// _addressTextBox
|
|
//
|
|
this._addressTextBox.Cursor = System.Windows.Forms.Cursors.Arrow;
|
|
this._addressTextBox.Dock = System.Windows.Forms.DockStyle.Top;
|
|
this._addressTextBox.Enabled = false;
|
|
this._addressTextBox.Location = new System.Drawing.Point(0, 0);
|
|
this._addressTextBox.Name = "addressTextBox";
|
|
this._addressTextBox.Size = new System.Drawing.Size(595, 20);
|
|
this._addressTextBox.TabIndex = 3;
|
|
this._addressTextBox.TabStop = false;
|
|
//
|
|
// _browser
|
|
//
|
|
this._browser.Dock = System.Windows.Forms.DockStyle.Fill;
|
|
this._browser.Location = new System.Drawing.Point(0, 20);
|
|
this._browser.MinimumSize = new System.Drawing.Size(100, 100);
|
|
this._browser.Name = "browser";
|
|
this._browser.Size = new System.Drawing.Size(595, 295);
|
|
this._browser.TabIndex = 4;
|
|
//
|
|
// OAuthLoginForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.ClientSize = new System.Drawing.Size(595, 315);
|
|
this.Controls.Add(this._browser);
|
|
this.Controls.Add(this._addressTextBox);
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "OAuthLoginForm";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox _addressTextBox;
|
|
private ExtendedWebBrowser _browser;
|
|
|
|
}
|
|
}
|