Пример #1
0
 /// <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(CfgFileEditDlg));
     this.textBox_content     = new DigitalPlatform.GUI.NoHasSelTextBox();
     this.button_OK           = new System.Windows.Forms.Button();
     this.button_Cancel       = new System.Windows.Forms.Button();
     this.textBox_path        = new System.Windows.Forms.TextBox();
     this.button_format       = new System.Windows.Forms.Button();
     this.label_message       = new System.Windows.Forms.Label();
     this.button_export       = new System.Windows.Forms.Button();
     this.button_import       = new System.Windows.Forms.Button();
     this.label1              = new System.Windows.Forms.Label();
     this.label2              = new System.Windows.Forms.Label();
     this.textBox_mime        = new System.Windows.Forms.TextBox();
     this.textBox_serverUrl   = new System.Windows.Forms.TextBox();
     this.label3              = new System.Windows.Forms.Label();
     this.checkBox_autoCreate = new System.Windows.Forms.CheckBox();
     this.SuspendLayout();
     //
     // textBox_content
     //
     this.textBox_content.AcceptsReturn = true;
     this.textBox_content.AcceptsTab    = true;
     this.textBox_content.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.textBox_content.HideSelection = false;
     this.textBox_content.ImeMode       = System.Windows.Forms.ImeMode.Off;
     this.textBox_content.Location      = new System.Drawing.Point(9, 82);
     this.textBox_content.MaxLength     = 2000000000;
     this.textBox_content.Multiline     = true;
     this.textBox_content.Name          = "textBox_content";
     this.textBox_content.ScrollBars    = System.Windows.Forms.ScrollBars.Both;
     this.textBox_content.Size          = new System.Drawing.Size(546, 237);
     this.textBox_content.TabIndex      = 4;
     this.textBox_content.TextChanged  += new System.EventHandler(this.textBox_content_TextChanged);
     this.textBox_content.KeyUp        += new System.Windows.Forms.KeyEventHandler(this.textBox_content_KeyUp);
     this.textBox_content.MouseDown    += new System.Windows.Forms.MouseEventHandler(this.textBox_content_MouseDown);
     this.textBox_content.MouseUp      += new System.Windows.Forms.MouseEventHandler(this.textBox_content_MouseUp);
     //
     // button_OK
     //
     this.button_OK.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_OK.Enabled  = false;
     this.button_OK.Location = new System.Drawing.Point(480, 356);
     this.button_OK.Name     = "button_OK";
     this.button_OK.Size     = new System.Drawing.Size(75, 24);
     this.button_OK.TabIndex = 9;
     this.button_OK.Text     = "保存";
     this.button_OK.Click   += new System.EventHandler(this.button_OK_Click);
     //
     // button_Cancel
     //
     this.button_Cancel.Anchor       = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
     this.button_Cancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.button_Cancel.Location     = new System.Drawing.Point(480, 384);
     this.button_Cancel.Name         = "button_Cancel";
     this.button_Cancel.Size         = new System.Drawing.Size(75, 22);
     this.button_Cancel.TabIndex     = 10;
     this.button_Cancel.Text         = "取消";
     this.button_Cancel.Click       += new System.EventHandler(this.button_Cancel_Click);
     //
     // textBox_path
     //
     this.textBox_path.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox_path.ImeMode  = System.Windows.Forms.ImeMode.Off;
     this.textBox_path.Location = new System.Drawing.Point(83, 33);
     this.textBox_path.Name     = "textBox_path";
     this.textBox_path.Size     = new System.Drawing.Size(472, 21);
     this.textBox_path.TabIndex = 1;
     //
     // button_format
     //
     this.button_format.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.button_format.Location = new System.Drawing.Point(104, 356);
     this.button_format.Name     = "button_format";
     this.button_format.Size     = new System.Drawing.Size(120, 23);
     this.button_format.TabIndex = 8;
     this.button_format.Text     = "整理XML格式(&F)";
     this.button_format.Click   += new System.EventHandler(this.button_format_Click);
     //
     // label_message
     //
     this.label_message.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.label_message.Location = new System.Drawing.Point(8, 328);
     this.label_message.Name     = "label_message";
     this.label_message.Size     = new System.Drawing.Size(544, 22);
     this.label_message.TabIndex = 5;
     //
     // button_export
     //
     this.button_export.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.button_export.Location = new System.Drawing.Point(9, 356);
     this.button_export.Name     = "button_export";
     this.button_export.Size     = new System.Drawing.Size(75, 23);
     this.button_export.TabIndex = 6;
     this.button_export.Text     = "导出(&E)...";
     this.button_export.Click   += new System.EventHandler(this.button_export_Click);
     //
     // button_import
     //
     this.button_import.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.button_import.Location = new System.Drawing.Point(9, 384);
     this.button_import.Name     = "button_import";
     this.button_import.Size     = new System.Drawing.Size(75, 22);
     this.button_import.TabIndex = 7;
     this.button_import.Text     = "导入(&I)...";
     this.button_import.Click   += new System.EventHandler(this.button_import_Click);
     //
     // label1
     //
     this.label1.AutoSize = true;
     this.label1.Location = new System.Drawing.Point(7, 36);
     this.label1.Name     = "label1";
     this.label1.Size     = new System.Drawing.Size(53, 12);
     this.label1.TabIndex = 0;
     this.label1.Text     = "路径(&P):";
     //
     // label2
     //
     this.label2.AutoSize = true;
     this.label2.Location = new System.Drawing.Point(7, 60);
     this.label2.Name     = "label2";
     this.label2.Size     = new System.Drawing.Size(35, 12);
     this.label2.TabIndex = 2;
     this.label2.Text     = "&MIME:";
     //
     // textBox_mime
     //
     this.textBox_mime.ImeMode      = System.Windows.Forms.ImeMode.Off;
     this.textBox_mime.Location     = new System.Drawing.Point(83, 58);
     this.textBox_mime.Name         = "textBox_mime";
     this.textBox_mime.Size         = new System.Drawing.Size(192, 21);
     this.textBox_mime.TabIndex     = 3;
     this.textBox_mime.TextChanged += new System.EventHandler(this.textBox_mime_TextChanged);
     //
     // textBox_serverUrl
     //
     this.textBox_serverUrl.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left)
                                                                           | System.Windows.Forms.AnchorStyles.Right)));
     this.textBox_serverUrl.ImeMode  = System.Windows.Forms.ImeMode.Off;
     this.textBox_serverUrl.Location = new System.Drawing.Point(83, 9);
     this.textBox_serverUrl.Name     = "textBox_serverUrl";
     this.textBox_serverUrl.Size     = new System.Drawing.Size(472, 21);
     this.textBox_serverUrl.TabIndex = 12;
     //
     // label3
     //
     this.label3.AutoSize = true;
     this.label3.Location = new System.Drawing.Point(7, 12);
     this.label3.Name     = "label3";
     this.label3.Size     = new System.Drawing.Size(65, 12);
     this.label3.TabIndex = 11;
     this.label3.Text     = "服务器(&U):";
     //
     // checkBox_autoCreate
     //
     this.checkBox_autoCreate.Anchor   = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
     this.checkBox_autoCreate.AutoSize = true;
     this.checkBox_autoCreate.Location = new System.Drawing.Point(104, 387);
     this.checkBox_autoCreate.Name     = "checkBox_autoCreate";
     this.checkBox_autoCreate.Size     = new System.Drawing.Size(138, 16);
     this.checkBox_autoCreate.TabIndex = 13;
     this.checkBox_autoCreate.Text     = "自动创建中间对象(&A)";
     //
     // CfgFileEditDlg
     //
     this.AcceptButton      = this.button_OK;
     this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
     this.CancelButton      = this.button_Cancel;
     this.ClientSize        = new System.Drawing.Size(564, 416);
     this.Controls.Add(this.checkBox_autoCreate);
     this.Controls.Add(this.textBox_serverUrl);
     this.Controls.Add(this.label3);
     this.Controls.Add(this.textBox_mime);
     this.Controls.Add(this.textBox_path);
     this.Controls.Add(this.textBox_content);
     this.Controls.Add(this.label2);
     this.Controls.Add(this.label1);
     this.Controls.Add(this.button_import);
     this.Controls.Add(this.button_export);
     this.Controls.Add(this.label_message);
     this.Controls.Add(this.button_format);
     this.Controls.Add(this.button_Cancel);
     this.Controls.Add(this.button_OK);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "CfgFileEditDlg";
     this.ShowInTaskbar = false;
     this.Text          = "编辑配置文件";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.CfgFileEditDlg_Closing);
     this.Closed       += new System.EventHandler(this.CfgFileEditDlg_Closed);
     this.Load         += new System.EventHandler(this.CfgFileEditDlg_Load);
     this.ResumeLayout(false);
     this.PerformLayout();
 }
Пример #2
0
 /// <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(CompileErrorDlg));
     this.textBox_code       = new DigitalPlatform.GUI.NoHasSelTextBox();
     this.textBox_errorInfo  = new DigitalPlatform.GUI.NoHasSelTextBox();
     this.label_codeFileName = new System.Windows.Forms.Label();
     this.label_message      = new System.Windows.Forms.Label();
     this.splitContainer1    = new System.Windows.Forms.SplitContainer();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).BeginInit();
     this.splitContainer1.Panel1.SuspendLayout();
     this.splitContainer1.Panel2.SuspendLayout();
     this.splitContainer1.SuspendLayout();
     this.SuspendLayout();
     //
     // textBox_code
     //
     this.textBox_code.Dock          = System.Windows.Forms.DockStyle.Fill;
     this.textBox_code.HideSelection = false;
     this.textBox_code.Location      = new System.Drawing.Point(0, 0);
     this.textBox_code.MaxLength     = 0;
     this.textBox_code.Multiline     = true;
     this.textBox_code.Name          = "textBox_code";
     this.textBox_code.ScrollBars    = System.Windows.Forms.ScrollBars.Vertical;
     this.textBox_code.Size          = new System.Drawing.Size(467, 168);
     this.textBox_code.TabIndex      = 2;
     this.textBox_code.WordWrap      = false;
     this.textBox_code.TextChanged  += new System.EventHandler(this.textBox_code_TextChanged);
     this.textBox_code.KeyDown      += new System.Windows.Forms.KeyEventHandler(this.textBox_code_KeyDown);
     this.textBox_code.MouseUp      += new System.Windows.Forms.MouseEventHandler(this.textBox_code_MouseUp);
     //
     // textBox_errorInfo
     //
     this.textBox_errorInfo.Dock         = System.Windows.Forms.DockStyle.Fill;
     this.textBox_errorInfo.Location     = new System.Drawing.Point(0, 0);
     this.textBox_errorInfo.MaxLength    = 0;
     this.textBox_errorInfo.Multiline    = true;
     this.textBox_errorInfo.Name         = "textBox_errorInfo";
     this.textBox_errorInfo.ScrollBars   = System.Windows.Forms.ScrollBars.Vertical;
     this.textBox_errorInfo.Size         = new System.Drawing.Size(467, 117);
     this.textBox_errorInfo.TabIndex     = 0;
     this.textBox_errorInfo.Text         = "textBox1";
     this.textBox_errorInfo.WordWrap     = false;
     this.textBox_errorInfo.DoubleClick += new System.EventHandler(this.textBox_errorInfo_DoubleClick);
     //
     // label_codeFileName
     //
     this.label_codeFileName.Location = new System.Drawing.Point(9, 7);
     this.label_codeFileName.Name     = "label_codeFileName";
     this.label_codeFileName.Size     = new System.Drawing.Size(404, 21);
     this.label_codeFileName.TabIndex = 1;
     //
     // label_message
     //
     this.label_message.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)
                                                                       | System.Windows.Forms.AnchorStyles.Right)));
     this.label_message.Location = new System.Drawing.Point(9, 321);
     this.label_message.Name     = "label_message";
     this.label_message.Size     = new System.Drawing.Size(467, 18);
     this.label_message.TabIndex = 2;
     //
     // splitContainer1
     //
     this.splitContainer1.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.splitContainer1.Location    = new System.Drawing.Point(9, 30);
     this.splitContainer1.Name        = "splitContainer1";
     this.splitContainer1.Orientation = System.Windows.Forms.Orientation.Horizontal;
     //
     // splitContainer1.Panel1
     //
     this.splitContainer1.Panel1.Controls.Add(this.textBox_code);
     //
     // splitContainer1.Panel2
     //
     this.splitContainer1.Panel2.Controls.Add(this.textBox_errorInfo);
     this.splitContainer1.Size             = new System.Drawing.Size(467, 289);
     this.splitContainer1.SplitterDistance = 168;
     this.splitContainer1.TabIndex         = 3;
     //
     // CompileErrorDlg
     //
     this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
     this.AutoScaleMode       = System.Windows.Forms.AutoScaleMode.Font;
     this.ClientSize          = new System.Drawing.Size(485, 346);
     this.Controls.Add(this.splitContainer1);
     this.Controls.Add(this.label_message);
     this.Controls.Add(this.label_codeFileName);
     this.Icon          = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
     this.Name          = "CompileErrorDlg";
     this.ShowInTaskbar = false;
     this.Text          = "编译错误";
     this.Closing      += new System.ComponentModel.CancelEventHandler(this.CompileErrorDlg_Closing);
     this.Load         += new System.EventHandler(this.CompileErrorDlg_Load);
     this.splitContainer1.Panel1.ResumeLayout(false);
     this.splitContainer1.Panel1.PerformLayout();
     this.splitContainer1.Panel2.ResumeLayout(false);
     this.splitContainer1.Panel2.PerformLayout();
     ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
     this.splitContainer1.ResumeLayout(false);
     this.ResumeLayout(false);
 }