亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xmlvalidatingpanel.cs

?? C#實現(xiàn)DHTML編輯器功能!
?? CS
?? 第 1 頁 / 共 3 頁
字號:
// DINAMIC XML Editor
//
// Copyright (c) 2002-2003 Dusan Hlavaty
// mailto: duddo@atlas.cz
//
// This software is licensed under the terms of
// GNU General Public license
//
using System;
using System.Text;
using System.Windows.Forms;
using System.Drawing;
using System.Xml;
using System.Xml.Schema;
using System.IO;
using System.Collections;

using Crownwood.Magic.Docking;
 
using XML_editor.MyForms;
using XML_editor.TabPages;
using XML_editor.Common;

namespace XML_editor.DockingPanels
{
	/// <summary>
	/// Dokovaci panel obsahujuci tlacidla na validovanie XML dokumentu.
	/// </summary>
	public class XMLValidatingPanel : Crownwood.Magic.Docking.Content
	{

		/// <summary>
		/// Odkaz na hlavny formular aplikacie
		/// </summary>
		private MainForm mainForm = null;
		
		/// <summary>
		/// true = ak je dokument validny (spravny)
		/// </summary>
		private bool isValid = true;

		/// <summary>
		/// Pocet chyb pri validacii. Pri urcitom pocte zastavime validaciu.
		/// </summary>
		private int numOfErrors = 0;

		/// <summary>
		/// Kolekcia, v ktorej su nazvy suborov (aj s cestou) v takom poradi ako
		/// v <see cref="comboSchema"/>
		/// </summary>
		private ArrayList comboSchemaFileNames = new ArrayList();

		private XML_editor.MyComponents.AxGroupBox groupBox = new XML_editor.MyComponents.AxGroupBox(210);
		private System.Windows.Forms.RadioButton radioButtonWellFormed = new System.Windows.Forms.RadioButton();
		private System.Windows.Forms.RadioButton radioButtonDTD = new System.Windows.Forms.RadioButton();
		private System.Windows.Forms.RadioButton radioButtonSchema = new System.Windows.Forms.RadioButton();
		private System.Windows.Forms.Button buttonSchemaLoad = new System.Windows.Forms.Button();
		private string externalSchemaFileName = null;
		private System.Windows.Forms.Label labelSchema = new System.Windows.Forms.Label();
		private System.Windows.Forms.Button buttonValidate = new System.Windows.Forms.Button();
		private System.Windows.Forms.ComboBox comboSchema = new System.Windows.Forms.ComboBox();
		private System.Windows.Forms.Label labelInput = new System.Windows.Forms.Label();
		private System.Windows.Forms.PictureBox pictureLock = new System.Windows.Forms.PictureBox();
		private TextAreaTabPage lockedTextAreaTabPage = null;
		private bool inputLocked = false;

		private string externalDTDFileName = null;
		private ArrayList comboDTDFileNames = new ArrayList();
		private System.Windows.Forms.ComboBox comboDTD = new System.Windows.Forms.ComboBox();
		private System.Windows.Forms.Label labelDTD = new System.Windows.Forms.Label();
		private System.Windows.Forms.Button buttonDTDLoad = new System.Windows.Forms.Button();
		private System.Windows.Forms.Button buttonEmbeddedDTD = new System.Windows.Forms.Button();


		// -------------------------------------------------------------------------
		/// <summary>
		/// Vrati <see cref="TextAreaTabPage"/>, ktory bude vstupom pre validator
		/// </summary>
		private TextAreaTabPage inputTextAreaTabPage
		{
			get 
			{
				if (this.inputLocked == true) 
				{
#if DEBUG
					System.Diagnostics.Debug.Assert(this.lockedTextAreaTabPage != null);
#endif
					return this.lockedTextAreaTabPage;
				} 
				else 
				{
					return this.MainForm.SelectedTabPage;
				}
			}
		}

		// -------------------------------------------------------------------------
		/// <summary>
		/// Odkaz na hlavny formular aplikacie
		/// </summary>
		public MainForm MainForm
		{
			get 
			{
				return this.mainForm;
			}
		}

		// -------------------------------------------------------------------------
		/// <summary>
		/// Inicializuje dokovaci panel obsahujuci XML validator.
		/// </summary>
		/// <param name="mainForm">odkaz na hlavny formular aplikacie - <see cref="MainForm"/></param>
		/// <param name="manager">odkaz na <see cref="DockingManager"/>, ku ktoremu bude tento panel patrit</param>
		public XMLValidatingPanel(MainForm mainForm, DockingManager manager)
			: base(manager)
		{
			this.mainForm = mainForm;
			this.FullTitle = this.Title = "XML Validator";
			
			System.Windows.Forms.ImageList i = new System.Windows.Forms.ImageList();
			i.Images.Add( IconProvider.LoadBitmap(this, "XML_editor.Icons.xml_validator.bmp", true, new Point(15,15)) );
			this.ImageList = i;
			this.ImageIndex = 0;
			Size s = this.DisplaySize;
			s.Width = this.DisplaySize.Width + 20;
			this.DisplaySize = s;
			

			System.Windows.Forms.Label label1 = new System.Windows.Forms.Label();
			System.Windows.Forms.Label label2 = new System.Windows.Forms.Label();
			System.Windows.Forms.Label label3 = new System.Windows.Forms.Label();
			System.Windows.Forms.Label label4 = new System.Windows.Forms.Label();

			// 
			// groupBox
			// 
			this.groupBox.Controls.AddRange(new System.Windows.Forms.Control[] 
																		{
																			label3, labelInput, pictureLock,
																			label1,
																			this.radioButtonWellFormed,
																			this.radioButtonDTD,
																			this.radioButtonSchema,
																			label2,
																			this.comboSchema,
																			this.buttonSchemaLoad,
																			this.labelSchema,
																			label4, this.comboDTD, this.buttonDTDLoad, this.labelDTD,
																			this.buttonEmbeddedDTD, this.buttonValidate});
			this.groupBox.Name = "groupBox";
			this.groupBox.Size = new System.Drawing.Size(230, 256);
			this.groupBox.TabIndex = 1;
			this.groupBox.TabStop = false;

			// 
			// label3
			// 
			label3.AutoSize = true;
			label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(238)));
			label3.Location = new System.Drawing.Point(8, 16);
			label3.Name = "label3";
			label3.Size = new System.Drawing.Size(43, 13);
			label3.Text = "Input";

			// 
			// labelInput
			// 
			labelInput.AutoSize = true;
			labelInput.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(238)));
			labelInput.Location = new System.Drawing.Point(16, 35);
			labelInput.Name = "labelInput";
			labelInput.Size = new System.Drawing.Size(43, 13);

			// 
			// pictureLock
			// 
			this.pictureLock.Image = IconProvider.LoadBitmap(this, "XML_editor.Icons.lock_unlocked.png");
			this.pictureLock.Location = new System.Drawing.Point(125, 33);
			this.pictureLock.Name = "pictureLock";
			this.pictureLock.Size = new System.Drawing.Size(16, 16);
			this.pictureLock.TabStop = false;
			this.pictureLock.Click += new System.EventHandler(this.pictureLock_Click);

			// 
			// label1
			// 
			label1.AutoSize = true;
			label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(238)));
			label1.Location = new System.Drawing.Point(8, 70);
			label1.Name = "label1";
			label1.Size = new System.Drawing.Size(43, 13);
			label1.TabIndex = 3;
			label1.Text = "Validation type";

			// 
			// radioButtonWellForm
			// 
			this.radioButtonWellFormed.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this.radioButtonWellFormed.Checked = true;
			this.radioButtonWellFormed.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.radioButtonWellFormed.Location = new System.Drawing.Point(16, 86);
			this.radioButtonWellFormed.Name = "radioButtonWellFormed";
			this.radioButtonWellFormed.Size = new System.Drawing.Size(176, 32);
			this.radioButtonWellFormed.TabIndex = 0;
			this.radioButtonWellFormed.TabStop = true;
			this.radioButtonWellFormed.Text = "Well formed validation";
			this.radioButtonSchema.Text += new System.EventHandler(this.CheckedChanged_radioButtons);

			// 
			// radioButtonDTD
			// 
			this.radioButtonDTD.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this.radioButtonDTD.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.radioButtonDTD.Location = new System.Drawing.Point(16, 118);
			this.radioButtonDTD.Name = "radioButtonDTD";
			this.radioButtonDTD.Size = new System.Drawing.Size(176, 32);
			this.radioButtonDTD.TabIndex = 1;
			this.radioButtonDTD.TabStop = true;
			this.radioButtonDTD.Text = "DTD validation";
			this.radioButtonDTD.CheckedChanged += new System.EventHandler(this.CheckedChanged_radioButtons);
		
			// 
			// radioButtonSchema
			// 
			this.radioButtonSchema.Anchor = ((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right);
			this.radioButtonSchema.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.radioButtonSchema.Location = new System.Drawing.Point(16, 150);
			this.radioButtonSchema.Name = "radioButtonSchema";
			this.radioButtonSchema.Size = new System.Drawing.Size(176, 32);
			this.radioButtonSchema.TabIndex = 2;
			this.radioButtonSchema.TabStop = true;
			this.radioButtonSchema.Text = "XML Schema validation (XSD)";
			this.radioButtonSchema.CheckedChanged += new System.EventHandler(this.CheckedChanged_radioButtons);

			// 
			// label2
			// 
			label2.AutoSize = true;
			label2.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(238)));
			label2.Location = new System.Drawing.Point(8, 192);
			label2.Name = "label2";
			label2.Size = new System.Drawing.Size(43, 13);
			label2.Text = "XML Schema file (*.xsd)";

			//
			//	comboSchema
			//			
			this.comboSchema.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboSchema.Location = new System.Drawing.Point(16, 219);
			this.comboSchema.Size = new System.Drawing.Size(128, 21);
			this.comboSchema.DropDown += new System.EventHandler(this.DropDown_comboSchema);

			//
			// buttonSchemaLoad
			//
			this.buttonSchemaLoad.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.buttonSchemaLoad.Location = new System.Drawing.Point(120, 246);
			this.buttonSchemaLoad.Name = "buttonSchemaLoad";
			this.buttonSchemaLoad.Text = "...";
			this.buttonSchemaLoad.Size = new System.Drawing.Size(24, 20);
			this.buttonSchemaLoad.Click += new System.EventHandler(this.Clicked_buttonSchemaLoad);

			// 
			// labelSchema
			// 
			this.labelSchema.AutoSize = true;
			this.labelSchema.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((System.Byte)(238)));
			this.labelSchema.Location = new System.Drawing.Point(16, 249);
			this.labelSchema.Name = "labelSchema";
			this.labelSchema.Size = new System.Drawing.Size(43, 13);
			this.labelSchema.Text = "[internal]";

			// 
			// label4
			// 
			label4.AutoSize = true;
			label4.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((System.Byte)(238)));
			label4.Location = new System.Drawing.Point(8, 288);
			label4.Name = "label3";
			label4.Size = new System.Drawing.Size(43, 13);
			label4.Text = "DTD file (*.dtd)";

			//
			//	comboDTD
			//			
			this.comboDTD.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
			this.comboDTD.Location = new System.Drawing.Point(16, 288+8+19);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区三区视频在线播放| 国产精品成人免费精品自在线观看 | 99在线精品一区二区三区| 欧美精品一区二区高清在线观看| 久久99国产精品尤物| 久久精品免视看| 成人白浆超碰人人人人| 亚洲欧美日韩成人高清在线一区| 色欧美88888久久久久久影院| 一区二区三区在线免费播放| 欧美美女一区二区在线观看| 久久福利视频一区二区| 久久女同性恋中文字幕| 成人免费观看男女羞羞视频| 亚洲欧美视频在线观看视频| 欧美午夜影院一区| 狠狠色丁香久久婷婷综合_中 | 欧美三片在线视频观看| 图片区小说区区亚洲影院| 精品国产1区二区| 成人精品免费网站| 亚洲一区免费观看| 精品国产一区二区三区四区四| 国产毛片一区二区| 亚洲香肠在线观看| 日韩欧美电影在线| 91在线你懂得| 久久超碰97中文字幕| 亚洲欧美日韩国产综合| 日韩一区二区视频在线观看| 成人免费毛片a| 天堂久久一区二区三区| 国产精品美女一区二区在线观看| 欧美日韩国产片| 国产成人午夜99999| 日韩中文字幕不卡| 亚洲欧美电影一区二区| 亚洲精品在线免费观看视频| 欧美视频在线一区二区三区| 国产乱人伦偷精品视频不卡| 亚洲香肠在线观看| 国产精品久久看| 精品美女一区二区| 欧美无砖砖区免费| jlzzjlzz亚洲女人18| 美日韩一区二区| 一区二区成人在线视频| 国产精品蜜臀在线观看| 欧美xxxx在线观看| 91精品免费在线| 在线观看91视频| 99久久久免费精品国产一区二区| 极品少妇xxxx精品少妇| 日本成人在线网站| 亚洲一区二区av电影| 亚洲欧洲www| 一区在线中文字幕| 中文一区在线播放| 欧美激情一区二区三区不卡| 精品剧情v国产在线观看在线| 欧美日韩一区二区在线观看| 色综合网色综合| www.亚洲在线| 国产成人av电影在线| 国产精品18久久久久久久网站| 免费不卡在线观看| 午夜电影一区二区三区| 亚洲网友自拍偷拍| 亚洲午夜私人影院| 一区二区三区在线看| 亚洲精品中文在线影院| 中文字幕一区二区日韩精品绯色| 国产网红主播福利一区二区| 久久毛片高清国产| 国产日韩视频一区二区三区| 国产欧美日韩精品a在线观看| 久久久精品tv| 日本在线播放一区二区三区| 亚洲国产精品人人做人人爽| 亚洲一区二区三区在线| 亚洲高清久久久| 人禽交欧美网站| 精品中文字幕一区二区| 精彩视频一区二区三区| 国产东北露脸精品视频| 成人的网站免费观看| 不卡的av网站| 在线观看国产91| 91精品国产aⅴ一区二区| 日韩一区二区三区在线观看| 日韩视频一区二区三区| 欧美精品一区二| 中文一区二区在线观看| 国产精品免费免费| 亚洲精品国产精华液| 五月天亚洲婷婷| 九色porny丨国产精品| 国产1区2区3区精品美女| 99精品偷自拍| 欧美区视频在线观看| 欧美精品一区二区高清在线观看| 国产精品久久久久影院老司| 亚洲一区二区三区四区五区黄 | 26uuu色噜噜精品一区| 国产亚洲欧美激情| 亚洲精品ww久久久久久p站| 日韩成人一区二区三区在线观看| 久久99国产精品成人| 成人av在线看| 在线91免费看| 中文av一区二区| 午夜精品福利一区二区三区蜜桃| 精品无人码麻豆乱码1区2区 | 成人综合婷婷国产精品久久| 色综合天天综合色综合av| 91精品综合久久久久久| 国产精品你懂的在线欣赏| 视频在线观看国产精品| 国产91丝袜在线播放| 欧美日韩性生活| 国产精品美女久久久久久久| 天天色天天操综合| eeuss鲁片一区二区三区| 欧美精品xxxxbbbb| 国产精品嫩草影院av蜜臀| 日本va欧美va欧美va精品| 99riav一区二区三区| 日韩精品一区二区三区四区视频| 亚洲欧美一区二区三区国产精品| 美女看a上一区| 欧美性生活一区| 国产精品天天摸av网| 蜜臀a∨国产成人精品| 日本韩国欧美在线| 国产精品女主播在线观看| 久久精品国产在热久久| 欧美在线视频你懂得| 日本一区二区免费在线| 免费精品视频在线| 欧美在线你懂得| 中文字幕一区三区| 国产精品911| 2023国产一二三区日本精品2022| 五月婷婷色综合| 在线亚洲一区观看| 国产精品二区一区二区aⅴ污介绍| 久久se这里有精品| 欧美一级精品大片| 日韩av一区二| 欧美精品电影在线播放| 亚洲v中文字幕| 在线一区二区观看| 亚洲综合免费观看高清完整版在线| 福利一区二区在线| 国产欧美精品区一区二区三区| 国产在线精品国自产拍免费| 日韩三级在线观看| 人人爽香蕉精品| 欧美精品第1页| 午夜视频一区二区| 欧美日韩国产一二三| 亚洲aⅴ怡春院| 7777精品伊人久久久大香线蕉超级流畅| 一个色综合网站| 欧美最猛黑人xxxxx猛交| 亚洲一区在线看| 欧美日韩精品综合在线| 午夜伊人狠狠久久| 91精品久久久久久久99蜜桃 | 国内精品免费**视频| 91精品国产欧美一区二区18| 日韩精彩视频在线观看| 欧美日本一区二区| 日韩主播视频在线| 日韩欧美中文字幕制服| 韩国成人在线视频| 国产欧美精品在线观看| www.欧美日韩国产在线| 亚洲女同一区二区| 欧美丝袜丝交足nylons图片| 亚洲成人av资源| 欧美一区二区三区免费视频| 看片网站欧美日韩| 亚洲国产电影在线观看| 91免费版在线| 午夜精品一区二区三区免费视频 | 亚洲小少妇裸体bbw| 欧美电影一区二区| 国产一区二区三区综合| 国产精品午夜在线观看| 欧美在线综合视频| 捆绑调教一区二区三区| 国产网红主播福利一区二区| 色综合咪咪久久| 麻豆视频观看网址久久| 欧美激情资源网| 欧美群妇大交群中文字幕| 国产一区二区三区四区五区美女| 中文字幕日韩一区| 91精品欧美综合在线观看最新|