mirror of
https://github.com/greenshot/greenshot.git
synced 2025-03-12 05:25:25 -07:00
This change makes it possible to use Box, DropBox and Imgur with the default browser, instead of the embedded which causes many issues. Other plugins need to follow.
148 lines
6.9 KiB
C#
148 lines
6.9 KiB
C#
/*
|
|
* A GooglePhotos Plugin for Greenshot
|
|
* Copyright (C) 2011 Francis Noel
|
|
*
|
|
* For more information see: http://getgreenshot.org/
|
|
*
|
|
* 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 GreenshotGooglePhotosPlugin.Forms {
|
|
partial class SettingsForm {
|
|
/// <summary>
|
|
/// Designer variable used to keep track of non-visual components.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Disposes resources used by the form.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing) {
|
|
if (components != null) {
|
|
components.Dispose();
|
|
}
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
/// <summary>
|
|
/// This method is required for Windows Forms designer support.
|
|
/// Do not change the method contents inside the source code editor. The Forms designer might
|
|
/// not be able to load this method if it was changed manually.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.buttonOK = new GreenshotPlugin.Controls.GreenshotButton();
|
|
this.buttonCancel = new GreenshotPlugin.Controls.GreenshotButton();
|
|
this.combobox_uploadimageformat = new GreenshotPlugin.Controls.GreenshotComboBox();
|
|
this.label_upload_format = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.label_AfterUpload = new GreenshotPlugin.Controls.GreenshotLabel();
|
|
this.checkboxAfterUploadLinkToClipBoard = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// buttonOK
|
|
//
|
|
this.buttonOK.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonOK.DialogResult = System.Windows.Forms.DialogResult.OK;
|
|
this.buttonOK.LanguageKey = "OK";
|
|
this.buttonOK.Location = new System.Drawing.Point(267, 78);
|
|
this.buttonOK.Name = "buttonOK";
|
|
this.buttonOK.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonOK.TabIndex = 10;
|
|
this.buttonOK.UseVisualStyleBackColor = true;
|
|
//
|
|
// buttonCancel
|
|
//
|
|
this.buttonCancel.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
|
|
this.buttonCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
|
|
this.buttonCancel.LanguageKey = "CANCEL";
|
|
this.buttonCancel.Location = new System.Drawing.Point(348, 78);
|
|
this.buttonCancel.Name = "buttonCancel";
|
|
this.buttonCancel.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonCancel.TabIndex = 11;
|
|
this.buttonCancel.UseVisualStyleBackColor = true;
|
|
//
|
|
// combobox_uploadimageformat
|
|
//
|
|
this.combobox_uploadimageformat.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.combobox_uploadimageformat.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.combobox_uploadimageformat.FormattingEnabled = true;
|
|
this.combobox_uploadimageformat.Location = new System.Drawing.Point(197, 12);
|
|
this.combobox_uploadimageformat.Name = "combobox_uploadimageformat";
|
|
this.combobox_uploadimageformat.PropertyName = "UploadFormat";
|
|
this.combobox_uploadimageformat.SectionName = "GooglePhotos";
|
|
this.combobox_uploadimageformat.Size = new System.Drawing.Size(225, 21);
|
|
this.combobox_uploadimageformat.TabIndex = 1;
|
|
//
|
|
// label_upload_format
|
|
//
|
|
this.label_upload_format.LanguageKey = "googlephotos.label_upload_format";
|
|
this.label_upload_format.Location = new System.Drawing.Point(10, 18);
|
|
this.label_upload_format.Name = "label_upload_format";
|
|
this.label_upload_format.Size = new System.Drawing.Size(181, 33);
|
|
this.label_upload_format.TabIndex = 4;
|
|
//
|
|
// label_AfterUpload
|
|
//
|
|
this.label_AfterUpload.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.label_AfterUpload.LanguageKey = "googlephotos.label_AfterUpload";
|
|
this.label_AfterUpload.Location = new System.Drawing.Point(10, 51);
|
|
this.label_AfterUpload.Name = "label_AfterUpload";
|
|
this.label_AfterUpload.Size = new System.Drawing.Size(181, 29);
|
|
this.label_AfterUpload.TabIndex = 8;
|
|
//
|
|
// checkboxAfterUploadLinkToClipBoard
|
|
//
|
|
this.checkboxAfterUploadLinkToClipBoard.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
|
|
this.checkboxAfterUploadLinkToClipBoard.LanguageKey = "googlephotos.label_AfterUploadLinkToClipBoard";
|
|
this.checkboxAfterUploadLinkToClipBoard.Location = new System.Drawing.Point(197, 50);
|
|
this.checkboxAfterUploadLinkToClipBoard.Name = "checkboxAfterUploadLinkToClipBoard";
|
|
this.checkboxAfterUploadLinkToClipBoard.PropertyName = "AfterUploadLinkToClipBoard";
|
|
this.checkboxAfterUploadLinkToClipBoard.SectionName = "GooglePhotos";
|
|
this.checkboxAfterUploadLinkToClipBoard.Size = new System.Drawing.Size(104, 17);
|
|
this.checkboxAfterUploadLinkToClipBoard.TabIndex = 2;
|
|
this.checkboxAfterUploadLinkToClipBoard.UseVisualStyleBackColor = true;
|
|
//
|
|
// SettingsForm
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(96F, 96F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Dpi;
|
|
this.ClientSize = new System.Drawing.Size(432, 110);
|
|
this.Controls.Add(this.checkboxAfterUploadLinkToClipBoard);
|
|
this.Controls.Add(this.label_AfterUpload);
|
|
this.Controls.Add(this.label_upload_format);
|
|
this.Controls.Add(this.combobox_uploadimageformat);
|
|
this.Controls.Add(this.buttonCancel);
|
|
this.Controls.Add(this.buttonOK);
|
|
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
|
|
this.LanguageKey = "googlephotos.settings_title";
|
|
this.MaximizeBox = false;
|
|
this.MinimizeBox = false;
|
|
this.Name = "SettingsForm";
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
private GreenshotPlugin.Controls.GreenshotComboBox combobox_uploadimageformat;
|
|
private GreenshotPlugin.Controls.GreenshotLabel label_upload_format;
|
|
private GreenshotPlugin.Controls.GreenshotButton buttonCancel;
|
|
private GreenshotPlugin.Controls.GreenshotButton buttonOK;
|
|
private GreenshotPlugin.Controls.GreenshotLabel label_AfterUpload;
|
|
private GreenshotPlugin.Controls.GreenshotCheckBox checkboxAfterUploadLinkToClipBoard;
|
|
}
|
|
}
|