2016-05-20 10:57:49 +12:00
|
|
|
|
namespace ShareX.ScreenCaptureLib
|
|
|
|
|
{
|
|
|
|
|
partial class TextDrawingInputBox
|
|
|
|
|
{
|
|
|
|
|
/// <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.txtInput = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.btnTextColor = new ShareX.HelpersLib.ColorButton();
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.flpProperties = new System.Windows.Forms.FlowLayoutPanel();
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.lblTextSize = new System.Windows.Forms.Label();
|
|
|
|
|
this.nudTextSize = new System.Windows.Forms.NumericUpDown();
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.cbBold = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.cbItalic = new System.Windows.Forms.CheckBox();
|
|
|
|
|
this.cbUnderline = new System.Windows.Forms.CheckBox();
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.btnOK = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnCancel = new System.Windows.Forms.Button();
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.flpProperties.SuspendLayout();
|
2016-05-20 10:57:49 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudTextSize)).BeginInit();
|
|
|
|
|
this.SuspendLayout();
|
|
|
|
|
//
|
|
|
|
|
// txtInput
|
|
|
|
|
//
|
|
|
|
|
this.txtInput.Location = new System.Drawing.Point(8, 40);
|
|
|
|
|
this.txtInput.Multiline = true;
|
|
|
|
|
this.txtInput.Name = "txtInput";
|
|
|
|
|
this.txtInput.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;
|
|
|
|
|
this.txtInput.Size = new System.Drawing.Size(472, 280);
|
|
|
|
|
this.txtInput.TabIndex = 0;
|
|
|
|
|
//
|
|
|
|
|
// btnTextColor
|
|
|
|
|
//
|
|
|
|
|
this.btnTextColor.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
|
this.btnTextColor.Color = System.Drawing.Color.Empty;
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.btnTextColor.Location = new System.Drawing.Point(204, 3);
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.btnTextColor.Name = "btnTextColor";
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.btnTextColor.Size = new System.Drawing.Size(120, 24);
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.btnTextColor.TabIndex = 1;
|
|
|
|
|
this.btnTextColor.Text = "Text color";
|
|
|
|
|
this.btnTextColor.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
|
|
|
|
this.btnTextColor.UseVisualStyleBackColor = true;
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.btnTextColor.ColorChanged += new ShareX.HelpersLib.ColorButton.ColorChangedEventHandler(this.btnTextColor_ColorChanged);
|
2016-05-20 10:57:49 +12:00
|
|
|
|
//
|
2016-05-20 11:53:45 +12:00
|
|
|
|
// flpProperties
|
2016-05-20 10:57:49 +12:00
|
|
|
|
//
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.flpProperties.Controls.Add(this.lblTextSize);
|
|
|
|
|
this.flpProperties.Controls.Add(this.nudTextSize);
|
|
|
|
|
this.flpProperties.Controls.Add(this.cbBold);
|
|
|
|
|
this.flpProperties.Controls.Add(this.cbItalic);
|
|
|
|
|
this.flpProperties.Controls.Add(this.cbUnderline);
|
|
|
|
|
this.flpProperties.Controls.Add(this.btnTextColor);
|
|
|
|
|
this.flpProperties.Location = new System.Drawing.Point(8, 5);
|
|
|
|
|
this.flpProperties.Name = "flpProperties";
|
|
|
|
|
this.flpProperties.Size = new System.Drawing.Size(472, 32);
|
|
|
|
|
this.flpProperties.TabIndex = 2;
|
2016-05-20 10:57:49 +12:00
|
|
|
|
//
|
|
|
|
|
// lblTextSize
|
|
|
|
|
//
|
|
|
|
|
this.lblTextSize.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
|
|
|
|
this.lblTextSize.AutoSize = true;
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.lblTextSize.Location = new System.Drawing.Point(0, 8);
|
|
|
|
|
this.lblTextSize.Margin = new System.Windows.Forms.Padding(0);
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.lblTextSize.Name = "lblTextSize";
|
|
|
|
|
this.lblTextSize.Size = new System.Drawing.Size(52, 13);
|
|
|
|
|
this.lblTextSize.TabIndex = 2;
|
|
|
|
|
this.lblTextSize.Text = "Text size:";
|
|
|
|
|
//
|
|
|
|
|
// nudTextSize
|
|
|
|
|
//
|
|
|
|
|
this.nudTextSize.Anchor = System.Windows.Forms.AnchorStyles.Left;
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.nudTextSize.Location = new System.Drawing.Point(55, 5);
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.nudTextSize.Minimum = new decimal(new int[] {
|
|
|
|
|
5,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudTextSize.Name = "nudTextSize";
|
|
|
|
|
this.nudTextSize.Size = new System.Drawing.Size(53, 20);
|
|
|
|
|
this.nudTextSize.TabIndex = 3;
|
|
|
|
|
this.nudTextSize.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
|
|
this.nudTextSize.Value = new decimal(new int[] {
|
|
|
|
|
10,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0});
|
|
|
|
|
this.nudTextSize.ValueChanged += new System.EventHandler(this.nudTextSize_ValueChanged);
|
|
|
|
|
//
|
2016-05-20 11:53:45 +12:00
|
|
|
|
// cbBold
|
|
|
|
|
//
|
|
|
|
|
this.cbBold.Appearance = System.Windows.Forms.Appearance.Button;
|
|
|
|
|
this.cbBold.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_bold;
|
|
|
|
|
this.cbBold.Location = new System.Drawing.Point(114, 3);
|
|
|
|
|
this.cbBold.Name = "cbBold";
|
|
|
|
|
this.cbBold.Size = new System.Drawing.Size(24, 24);
|
|
|
|
|
this.cbBold.TabIndex = 4;
|
|
|
|
|
this.cbBold.UseVisualStyleBackColor = true;
|
|
|
|
|
this.cbBold.CheckedChanged += new System.EventHandler(this.cbBold_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// cbItalic
|
|
|
|
|
//
|
|
|
|
|
this.cbItalic.Appearance = System.Windows.Forms.Appearance.Button;
|
|
|
|
|
this.cbItalic.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_italic;
|
|
|
|
|
this.cbItalic.Location = new System.Drawing.Point(144, 3);
|
|
|
|
|
this.cbItalic.Name = "cbItalic";
|
|
|
|
|
this.cbItalic.Size = new System.Drawing.Size(24, 24);
|
|
|
|
|
this.cbItalic.TabIndex = 5;
|
|
|
|
|
this.cbItalic.UseVisualStyleBackColor = true;
|
|
|
|
|
this.cbItalic.CheckedChanged += new System.EventHandler(this.cbItalic_CheckedChanged);
|
|
|
|
|
//
|
|
|
|
|
// cbUnderline
|
|
|
|
|
//
|
|
|
|
|
this.cbUnderline.Appearance = System.Windows.Forms.Appearance.Button;
|
|
|
|
|
this.cbUnderline.Image = global::ShareX.ScreenCaptureLib.Properties.Resources.edit_underline;
|
|
|
|
|
this.cbUnderline.Location = new System.Drawing.Point(174, 3);
|
|
|
|
|
this.cbUnderline.Name = "cbUnderline";
|
|
|
|
|
this.cbUnderline.Size = new System.Drawing.Size(24, 24);
|
|
|
|
|
this.cbUnderline.TabIndex = 6;
|
|
|
|
|
this.cbUnderline.UseVisualStyleBackColor = true;
|
|
|
|
|
this.cbUnderline.CheckedChanged += new System.EventHandler(this.cbUnderline_CheckedChanged);
|
|
|
|
|
//
|
2016-05-20 10:57:49 +12:00
|
|
|
|
// btnOK
|
|
|
|
|
//
|
|
|
|
|
this.btnOK.Location = new System.Drawing.Point(264, 328);
|
|
|
|
|
this.btnOK.Name = "btnOK";
|
|
|
|
|
this.btnOK.Size = new System.Drawing.Size(104, 24);
|
|
|
|
|
this.btnOK.TabIndex = 3;
|
|
|
|
|
this.btnOK.Text = "OK";
|
|
|
|
|
this.btnOK.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnOK.Click += new System.EventHandler(this.btnOK_Click);
|
|
|
|
|
//
|
|
|
|
|
// btnCancel
|
|
|
|
|
//
|
|
|
|
|
this.btnCancel.Location = new System.Drawing.Point(376, 328);
|
|
|
|
|
this.btnCancel.Name = "btnCancel";
|
|
|
|
|
this.btnCancel.Size = new System.Drawing.Size(104, 24);
|
|
|
|
|
this.btnCancel.TabIndex = 4;
|
|
|
|
|
this.btnCancel.Text = "Cancel";
|
|
|
|
|
this.btnCancel.UseVisualStyleBackColor = true;
|
|
|
|
|
this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
|
|
|
|
|
//
|
|
|
|
|
// TextDrawingInputBox
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
|
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
|
|
|
this.ClientSize = new System.Drawing.Size(488, 360);
|
|
|
|
|
this.Controls.Add(this.btnCancel);
|
|
|
|
|
this.Controls.Add(this.btnOK);
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.Controls.Add(this.flpProperties);
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.Controls.Add(this.txtInput);
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.MaximizeBox = false;
|
|
|
|
|
this.MinimizeBox = false;
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.Name = "TextDrawingInputBox";
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
|
2016-05-20 10:57:49 +12:00
|
|
|
|
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
|
|
|
|
|
this.Text = "ShareX - Text input";
|
|
|
|
|
this.TopMost = true;
|
2016-05-20 11:53:45 +12:00
|
|
|
|
this.flpProperties.ResumeLayout(false);
|
|
|
|
|
this.flpProperties.PerformLayout();
|
2016-05-20 10:57:49 +12:00
|
|
|
|
((System.ComponentModel.ISupportInitialize)(this.nudTextSize)).EndInit();
|
|
|
|
|
this.ResumeLayout(false);
|
|
|
|
|
this.PerformLayout();
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
private System.Windows.Forms.TextBox txtInput;
|
|
|
|
|
private HelpersLib.ColorButton btnTextColor;
|
2016-05-20 11:53:45 +12:00
|
|
|
|
private System.Windows.Forms.FlowLayoutPanel flpProperties;
|
2016-05-20 10:57:49 +12:00
|
|
|
|
private System.Windows.Forms.Label lblTextSize;
|
|
|
|
|
private System.Windows.Forms.NumericUpDown nudTextSize;
|
|
|
|
|
private System.Windows.Forms.Button btnOK;
|
|
|
|
|
private System.Windows.Forms.Button btnCancel;
|
2016-05-20 11:53:45 +12:00
|
|
|
|
private System.Windows.Forms.CheckBox cbBold;
|
|
|
|
|
private System.Windows.Forms.CheckBox cbItalic;
|
|
|
|
|
private System.Windows.Forms.CheckBox cbUnderline;
|
2016-05-20 10:57:49 +12:00
|
|
|
|
}
|
|
|
|
|
}
|