mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-28 23:42:13 +12:00
Added QR code to tools menu too
This commit is contained in:
parent
982fc9e421
commit
74c9ce58f2
12 changed files with 130 additions and 42 deletions
27
HelpersLib/Forms/QRCodeForm.Designer.cs
generated
27
HelpersLib/Forms/QRCodeForm.Designer.cs
generated
|
@ -29,38 +29,55 @@ protected override void Dispose(bool disposing)
|
|||
private void InitializeComponent()
|
||||
{
|
||||
this.qrMain = new Gma.QrCodeNet.Encoding.Windows.Forms.QrCodeGraphicControl();
|
||||
this.txtQRCode = new System.Windows.Forms.TextBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// qrMain
|
||||
//
|
||||
this.qrMain.Cursor = System.Windows.Forms.Cursors.Hand;
|
||||
this.qrMain.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.qrMain.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
|
||||
| System.Windows.Forms.AnchorStyles.Left)
|
||||
| System.Windows.Forms.AnchorStyles.Right)));
|
||||
this.qrMain.ErrorCorrectLevel = Gma.QrCodeNet.Encoding.ErrorCorrectionLevel.M;
|
||||
this.qrMain.Location = new System.Drawing.Point(0, 0);
|
||||
this.qrMain.Location = new System.Drawing.Point(2, 26);
|
||||
this.qrMain.Name = "qrMain";
|
||||
this.qrMain.QuietZoneModule = Gma.QrCodeNet.Encoding.Windows.Render.QuietZoneModules.Two;
|
||||
this.qrMain.Size = new System.Drawing.Size(384, 362);
|
||||
this.qrMain.TabIndex = 0;
|
||||
this.qrMain.Size = new System.Drawing.Size(380, 334);
|
||||
this.qrMain.TabIndex = 1;
|
||||
this.qrMain.Click += new System.EventHandler(this.qrMain_Click);
|
||||
//
|
||||
// txtQRCode
|
||||
//
|
||||
this.txtQRCode.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
|
||||
this.txtQRCode.Dock = System.Windows.Forms.DockStyle.Top;
|
||||
this.txtQRCode.Location = new System.Drawing.Point(2, 2);
|
||||
this.txtQRCode.Name = "txtQRCode";
|
||||
this.txtQRCode.Size = new System.Drawing.Size(380, 20);
|
||||
this.txtQRCode.TabIndex = 0;
|
||||
this.txtQRCode.Visible = false;
|
||||
this.txtQRCode.TextChanged += new System.EventHandler(this.txtQRCode_TextChanged);
|
||||
//
|
||||
// QRCodeForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.Color.White;
|
||||
this.ClientSize = new System.Drawing.Size(384, 362);
|
||||
this.Controls.Add(this.txtQRCode);
|
||||
this.Controls.Add(this.qrMain);
|
||||
this.Name = "QRCodeForm";
|
||||
this.Padding = new System.Windows.Forms.Padding(2);
|
||||
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
||||
this.Text = "ShareX - QR code";
|
||||
this.TopMost = true;
|
||||
this.Resize += new System.EventHandler(this.QRCodeForm_Resize);
|
||||
this.ResumeLayout(false);
|
||||
this.PerformLayout();
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private Gma.QrCodeNet.Encoding.Windows.Forms.QrCodeGraphicControl qrMain;
|
||||
private System.Windows.Forms.TextBox txtQRCode;
|
||||
}
|
||||
}
|
|
@ -36,13 +36,30 @@ namespace HelpersLib
|
|||
{
|
||||
public partial class QRCodeForm : Form
|
||||
{
|
||||
public QRCodeForm(string text)
|
||||
public QRCodeForm(string text = null)
|
||||
{
|
||||
InitializeComponent();
|
||||
Icon = ShareXResources.Icon;
|
||||
Text = "QR code: " + text;
|
||||
qrMain.Text = text;
|
||||
ClientSize = new Size(400, 400);
|
||||
|
||||
if (!string.IsNullOrEmpty(text))
|
||||
{
|
||||
qrMain.Dock = DockStyle.Fill;
|
||||
qrMain.Cursor = Cursors.Hand;
|
||||
Text = "QR code: " + text;
|
||||
qrMain.Text = text;
|
||||
}
|
||||
else
|
||||
{
|
||||
txtQRCode.Visible = true;
|
||||
txtQRCode.Text = "Text";
|
||||
txtQRCode.SelectAll();
|
||||
}
|
||||
}
|
||||
|
||||
private void txtQRCode_TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
qrMain.Text = txtQRCode.Text;
|
||||
}
|
||||
|
||||
private void QRCodeForm_Resize(object sender, EventArgs e)
|
||||
|
@ -52,7 +69,10 @@ private void QRCodeForm_Resize(object sender, EventArgs e)
|
|||
|
||||
private void qrMain_Click(object sender, EventArgs e)
|
||||
{
|
||||
Close();
|
||||
if (qrMain.Cursor == Cursors.Hand)
|
||||
{
|
||||
Close();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -27,7 +27,7 @@ namespace HelpersLib
|
|||
{
|
||||
public static class Links
|
||||
{
|
||||
public const string URL_WEBSITE = "http://getsharex.com";
|
||||
public const string URL_WEBSITE = "http://www.getsharex.com";
|
||||
public const string URL_PROJECT = "https://github.com/ShareX/ShareX";
|
||||
public const string URL_ISSUES = "https://github.com/ShareX/ShareX/issues";
|
||||
public const string URL_CALLBACK = URL_WEBSITE + "/callback/";
|
||||
|
|
|
@ -175,7 +175,9 @@ public enum HotkeyType
|
|||
[Description("Index folder")]
|
||||
IndexFolder,
|
||||
[Description("Image effects")]
|
||||
ImageEffects
|
||||
ImageEffects,
|
||||
[Description("QR code")]
|
||||
QRCode
|
||||
}
|
||||
|
||||
public enum HotkeyStatus
|
||||
|
|
42
ShareX/Forms/MainForm.Designer.cs
generated
42
ShareX/Forms/MainForm.Designer.cs
generated
|
@ -74,6 +74,7 @@ private void InitializeComponent()
|
|||
this.tsmiImageEffects = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiMonitorTest = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiDNSChanger = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiQRCode = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsbScreenshotsFolder = new System.Windows.Forms.ToolStripButton();
|
||||
this.tsbHistory = new System.Windows.Forms.ToolStripButton();
|
||||
this.tsbImageHistory = new System.Windows.Forms.ToolStripButton();
|
||||
|
@ -139,6 +140,7 @@ private void InitializeComponent()
|
|||
this.tsmiCopyFolder = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tssCopy5 = new System.Windows.Forms.ToolStripSeparator();
|
||||
this.tsmiShowResponse = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiShowQRCode = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiUploadSelectedFile = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiClearList = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tssUploadInfo1 = new System.Windows.Forms.ToolStripSeparator();
|
||||
|
@ -201,7 +203,7 @@ private void InitializeComponent()
|
|||
this.tsmiTrayShow = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiTrayExit = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.ssToolStripMenuItem = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiShowQRCode = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsmiTrayQRCode = new System.Windows.Forms.ToolStripMenuItem();
|
||||
this.tsMain.SuspendLayout();
|
||||
this.scMain.Panel1.SuspendLayout();
|
||||
this.scMain.Panel2.SuspendLayout();
|
||||
|
@ -552,7 +554,8 @@ private void InitializeComponent()
|
|||
this.tsmiImageEditor,
|
||||
this.tsmiImageEffects,
|
||||
this.tsmiMonitorTest,
|
||||
this.tsmiDNSChanger});
|
||||
this.tsmiDNSChanger,
|
||||
this.tsmiQRCode});
|
||||
this.tsddbTools.Image = global::ShareX.Properties.Resources.toolbox;
|
||||
this.tsddbTools.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
this.tsddbTools.ImageTransparentColor = System.Drawing.Color.Magenta;
|
||||
|
@ -632,6 +635,14 @@ private void InitializeComponent()
|
|||
this.tsmiDNSChanger.Text = "DNS changer...";
|
||||
this.tsmiDNSChanger.Click += new System.EventHandler(this.tsmiDNSChanger_Click);
|
||||
//
|
||||
// tsmiQRCode
|
||||
//
|
||||
this.tsmiQRCode.Image = global::ShareX.Properties.Resources.barcode_2d;
|
||||
this.tsmiQRCode.Name = "tsmiQRCode";
|
||||
this.tsmiQRCode.Size = new System.Drawing.Size(183, 22);
|
||||
this.tsmiQRCode.Text = "QR code...";
|
||||
this.tsmiQRCode.Click += new System.EventHandler(this.tsmiQRCode_Click);
|
||||
//
|
||||
// tsbScreenshotsFolder
|
||||
//
|
||||
this.tsbScreenshotsFolder.Image = global::ShareX.Properties.Resources.folder_open_image;
|
||||
|
@ -909,7 +920,7 @@ private void InitializeComponent()
|
|||
this.tsmiHidePreview});
|
||||
this.cmsUploadInfo.Name = "cmsHistory";
|
||||
this.cmsUploadInfo.ShowImageMargin = false;
|
||||
this.cmsUploadInfo.Size = new System.Drawing.Size(155, 302);
|
||||
this.cmsUploadInfo.Size = new System.Drawing.Size(155, 280);
|
||||
//
|
||||
// tsmiShowErrors
|
||||
//
|
||||
|
@ -1191,6 +1202,13 @@ private void InitializeComponent()
|
|||
this.tsmiShowResponse.Text = "Show response";
|
||||
this.tsmiShowResponse.Click += new System.EventHandler(this.tsmiShowResponse_Click);
|
||||
//
|
||||
// tsmiShowQRCode
|
||||
//
|
||||
this.tsmiShowQRCode.Name = "tsmiShowQRCode";
|
||||
this.tsmiShowQRCode.Size = new System.Drawing.Size(154, 22);
|
||||
this.tsmiShowQRCode.Text = "Show QR code";
|
||||
this.tsmiShowQRCode.Click += new System.EventHandler(this.tsmiShowQRCode_Click);
|
||||
//
|
||||
// tsmiUploadSelectedFile
|
||||
//
|
||||
this.tsmiUploadSelectedFile.Name = "tsmiUploadSelectedFile";
|
||||
|
@ -1278,7 +1296,7 @@ private void InitializeComponent()
|
|||
this.tsmiTrayShow,
|
||||
this.tsmiTrayExit});
|
||||
this.cmsTray.Name = "cmsTray";
|
||||
this.cmsTray.Size = new System.Drawing.Size(200, 462);
|
||||
this.cmsTray.Size = new System.Drawing.Size(200, 484);
|
||||
//
|
||||
// tsmiTrayClipboardUpload
|
||||
//
|
||||
|
@ -1560,7 +1578,8 @@ private void InitializeComponent()
|
|||
this.tsmiTrayImageEditor,
|
||||
this.tsmiTrayImageEffects,
|
||||
this.tsmiTrayMonitorTest,
|
||||
this.tsmiTrayDNSChanger});
|
||||
this.tsmiTrayDNSChanger,
|
||||
this.tsmiTrayQRCode});
|
||||
this.tsmiTrayTools.Image = global::ShareX.Properties.Resources.toolbox;
|
||||
this.tsmiTrayTools.Name = "tsmiTrayTools";
|
||||
this.tsmiTrayTools.Size = new System.Drawing.Size(199, 22);
|
||||
|
@ -1705,12 +1724,13 @@ private void InitializeComponent()
|
|||
this.ssToolStripMenuItem.Size = new System.Drawing.Size(152, 22);
|
||||
this.ssToolStripMenuItem.Text = "ss";
|
||||
//
|
||||
// tsmiShowQRCode
|
||||
// tsmiTrayQRCode
|
||||
//
|
||||
this.tsmiShowQRCode.Name = "tsmiShowQRCode";
|
||||
this.tsmiShowQRCode.Size = new System.Drawing.Size(154, 22);
|
||||
this.tsmiShowQRCode.Text = "Show QR code";
|
||||
this.tsmiShowQRCode.Click += new System.EventHandler(this.tsmiShowQRCode_Click);
|
||||
this.tsmiTrayQRCode.Image = global::ShareX.Properties.Resources.barcode_2d;
|
||||
this.tsmiTrayQRCode.Name = "tsmiTrayQRCode";
|
||||
this.tsmiTrayQRCode.Size = new System.Drawing.Size(183, 22);
|
||||
this.tsmiTrayQRCode.Text = "QR code...";
|
||||
this.tsmiTrayQRCode.Click += new System.EventHandler(this.tsmiQRCode_Click);
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
|
@ -1916,5 +1936,7 @@ private void InitializeComponent()
|
|||
private System.Windows.Forms.ToolStripDropDownButton tsddbWorkflows;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiTrayWorkflows;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiShowQRCode;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiQRCode;
|
||||
private System.Windows.Forms.ToolStripMenuItem tsmiTrayQRCode;
|
||||
}
|
||||
}
|
|
@ -801,6 +801,11 @@ private void tsmiDNSChanger_Click(object sender, EventArgs e)
|
|||
TaskHelpers.OpenDNSChanger();
|
||||
}
|
||||
|
||||
private void tsmiQRCode_Click(object sender, EventArgs e)
|
||||
{
|
||||
TaskHelpers.OpenQRCode();
|
||||
}
|
||||
|
||||
private void tsbScreenshotsFolder_Click(object sender, EventArgs e)
|
||||
{
|
||||
if (Directory.Exists(Program.ScreenshotsFolder))
|
||||
|
|
|
@ -154,6 +154,9 @@ private void HandleTask(TaskSettings taskSettings)
|
|||
case HotkeyType.ImageEffects:
|
||||
TaskHelpers.OpenImageEffects();
|
||||
break;
|
||||
case HotkeyType.QRCode:
|
||||
TaskHelpers.OpenQRCode();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
10
ShareX/Properties/Resources.Designer.cs
generated
10
ShareX/Properties/Resources.Designer.cs
generated
|
@ -180,6 +180,16 @@ public static System.Drawing.Bitmap au {
|
|||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
public static System.Drawing.Bitmap barcode_2d {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("barcode_2d", resourceCulture);
|
||||
return ((System.Drawing.Bitmap)(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Drawing.Bitmap.
|
||||
/// </summary>
|
||||
|
|
|
@ -202,15 +202,12 @@
|
|||
<data name="keyboard_pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\keyboard--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="folder_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\folder--plus.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="application_network" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-network.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="hammer" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\hammer.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Window" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Window.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Polygon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Polygon.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -247,6 +244,9 @@
|
|||
<data name="address_book_blue" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\address-book-blue.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="block" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\block.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -274,9 +274,6 @@
|
|||
<data name="ruler_triangle" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\ruler-triangle.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="navigation_090_button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\navigation-090-button.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="upload_cloud" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\upload-cloud.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -286,23 +283,23 @@
|
|||
<data name="clipboard_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\clipboard--plus.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="application_network" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-network.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="cross_button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\cross-button.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="Diamond" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\diamond.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="fr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\fr.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="gear" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\gear.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="color" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\color.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="CameraSound" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Camera.wav;System.IO.MemoryStream, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
<data name="folder_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\folder--plus.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="drive_globe" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\drive-globe.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -310,6 +307,9 @@
|
|||
<data name="checkbox_check" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\checkbox_check.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="application_wave" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-wave.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="application_browser" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-browser.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
|
@ -319,11 +319,14 @@
|
|||
<data name="folder_tree" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\folder-tree.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="clock_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\clock--plus.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="globe_share" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\globe-share.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="fr" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\fr.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="CameraSound" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Camera.wav;System.IO.MemoryStream, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="application_pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application--pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -331,11 +334,11 @@
|
|||
<data name="pipette" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pipette.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="pencil" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\pencil.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="Window" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Window.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="clock_plus" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\clock--plus.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="navigation_090_button" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\navigation-090-button.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="checkbox_uncheck" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\checkbox_uncheck.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
|
@ -358,7 +361,7 @@
|
|||
<data name="application_task" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-task.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="application_wave" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\application-wave.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
<data name="barcode_2d" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\barcode-2d.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
</root>
|
BIN
ShareX/Resources/barcode-2d.png
Normal file
BIN
ShareX/Resources/barcode-2d.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 321 B |
|
@ -498,6 +498,7 @@
|
|||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="Resources\application-wave.png" />
|
||||
<None Include="Resources\barcode-2d.png" />
|
||||
<Content Include="ShareX_Icon.ico" />
|
||||
<None Include="Resources\ru.png" />
|
||||
<None Include="Resources\keyboard--pencil.png" />
|
||||
|
|
|
@ -547,6 +547,11 @@ public static void OpenDNSChanger()
|
|||
catch { }
|
||||
}
|
||||
|
||||
public static void OpenQRCode()
|
||||
{
|
||||
new QRCodeForm().Show();
|
||||
}
|
||||
|
||||
public static void OpenFTPClient()
|
||||
{
|
||||
if (Program.UploadersConfig != null && Program.UploadersConfig.FTPAccountList.IsValidIndex(Program.UploadersConfig.FTPSelectedImage))
|
||||
|
|
Loading…
Reference in a new issue