182 lines
8.2 KiB
C#
182 lines
8.2 KiB
C#
namespace VSoft.Tools
|
|
{
|
|
partial class FrmTrans
|
|
{
|
|
/// <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()
|
|
{
|
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(FrmTrans));
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.RichText = new ryControls.Controls.RichTextBox2();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.RichResult = new ryControls.Controls.RichTextBox2();
|
|
this.CbbLngFrom = new ryControls.RyComboBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.label4 = new System.Windows.Forms.Label();
|
|
this.CbbLngTo = new ryControls.RyComboBox();
|
|
this.SuspendLayout();
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(10, 69);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(65, 12);
|
|
this.label1.TabIndex = 0;
|
|
this.label1.Text = "待翻译文本";
|
|
//
|
|
// RichText
|
|
//
|
|
this.RichText.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
|
|
| System.Windows.Forms.AnchorStyles.Right)));
|
|
this.RichText.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.RichText.DetectUrls = false;
|
|
this.RichText.EmptyText = "";
|
|
this.RichText.Font = new System.Drawing.Font("Courier New", 10F);
|
|
this.RichText.Location = new System.Drawing.Point(12, 84);
|
|
this.RichText.Name = "RichText";
|
|
this.RichText.OnlyInputText = false;
|
|
this.RichText.Size = new System.Drawing.Size(686, 181);
|
|
this.RichText.TabIndex = 1;
|
|
this.RichText.Text = "";
|
|
this.RichText.WordWrap = false;
|
|
this.RichText.TextChanged += new System.EventHandler(this.RichText_TextChanged);
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(10, 269);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(65, 12);
|
|
this.label2.TabIndex = 2;
|
|
this.label2.Text = "待翻译文本";
|
|
//
|
|
// RichResult
|
|
//
|
|
this.RichResult.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.RichResult.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
|
this.RichResult.DetectUrls = false;
|
|
this.RichResult.EmptyText = "";
|
|
this.RichResult.Font = new System.Drawing.Font("Courier New", 10F);
|
|
this.RichResult.Location = new System.Drawing.Point(12, 285);
|
|
this.RichResult.Name = "RichResult";
|
|
this.RichResult.OnlyInputText = false;
|
|
this.RichResult.Size = new System.Drawing.Size(686, 260);
|
|
this.RichResult.TabIndex = 3;
|
|
this.RichResult.Text = "";
|
|
this.RichResult.WordWrap = false;
|
|
//
|
|
// CbbLngFrom
|
|
//
|
|
this.CbbLngFrom.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
|
this.CbbLngFrom.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.CbbLngFrom.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.CbbLngFrom.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.CbbLngFrom.FormattingEnabled = true;
|
|
this.CbbLngFrom.Items.AddRange(new object[] {
|
|
"自动",
|
|
"英文",
|
|
"中文",
|
|
"韩语",
|
|
"日语"});
|
|
this.CbbLngFrom.Location = new System.Drawing.Point(33, 36);
|
|
this.CbbLngFrom.Name = "CbbLngFrom";
|
|
this.CbbLngFrom.Size = new System.Drawing.Size(93, 24);
|
|
this.CbbLngFrom.TabIndex = 4;
|
|
this.CbbLngFrom.SelectedIndexChanged += new System.EventHandler(this.CbbFrom_SelectedIndexChanged);
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(10, 41);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(17, 12);
|
|
this.label3.TabIndex = 5;
|
|
this.label3.Text = "从";
|
|
//
|
|
// label4
|
|
//
|
|
this.label4.AutoSize = true;
|
|
this.label4.Location = new System.Drawing.Point(132, 41);
|
|
this.label4.Name = "label4";
|
|
this.label4.Size = new System.Drawing.Size(41, 12);
|
|
this.label4.TabIndex = 6;
|
|
this.label4.Text = "翻译成";
|
|
//
|
|
// CbbLngTo
|
|
//
|
|
this.CbbLngTo.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
|
|
this.CbbLngTo.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.CbbLngTo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
this.CbbLngTo.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
this.CbbLngTo.FormattingEnabled = true;
|
|
this.CbbLngTo.Items.AddRange(new object[] {
|
|
"英文",
|
|
"中文",
|
|
"韩语",
|
|
"日语"});
|
|
this.CbbLngTo.Location = new System.Drawing.Point(179, 36);
|
|
this.CbbLngTo.Name = "CbbLngTo";
|
|
this.CbbLngTo.Size = new System.Drawing.Size(93, 24);
|
|
this.CbbLngTo.TabIndex = 7;
|
|
this.CbbLngTo.SelectedIndexChanged += new System.EventHandler(this.CbbTo_SelectedIndexChanged);
|
|
//
|
|
// FrmTrans
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.ClientSize = new System.Drawing.Size(714, 559);
|
|
this.Controls.Add(this.CbbLngTo);
|
|
this.Controls.Add(this.label4);
|
|
this.Controls.Add(this.label3);
|
|
this.Controls.Add(this.CbbLngFrom);
|
|
this.Controls.Add(this.RichResult);
|
|
this.Controls.Add(this.label2);
|
|
this.Controls.Add(this.RichText);
|
|
this.Controls.Add(this.label1);
|
|
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
|
this.Name = "FrmTrans";
|
|
this.Text = "快速翻译";
|
|
this.Load += new System.EventHandler(this.FrmTrans_Load);
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
private ryControls.Controls.RichTextBox2 RichText;
|
|
private System.Windows.Forms.Label label2;
|
|
private ryControls.Controls.RichTextBox2 RichResult;
|
|
private ryControls.RyComboBox CbbLngFrom;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Label label4;
|
|
private ryControls.RyComboBox CbbLngTo;
|
|
}
|
|
} |