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

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

?? xslpanel.cs

?? C#實現DHTML編輯器功能!
?? CS
?? 第 1 頁 / 共 2 頁
字號:
// 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.Xml.Xsl;
using System.Collections;
using System.Windows.Forms;
using System.IO;
using System.Text;

using Crownwood.Magic.Docking;

using XML_editor.Common;
using XML_editor.MyForms;
using XML_editor.TabPages;

namespace XML_editor.DockingPanels
{
	/// <summary>
	/// Dokovaci panel obsahujuci XSLT transformacie
	/// </summary>
	public class XSLPanel : Crownwood.Magic.Docking.Content
	{
		/// <summary>
		/// Odkaz na hlavny formular aplikacie
		/// </summary>
		private MainForm mainForm = null;

		private XML_editor.MyComponents.AxGroupBox groupBox = new XML_editor.MyComponents.AxGroupBox(210);
		private System.Windows.Forms.ComboBox comboXSLT = new System.Windows.Forms.ComboBox();
		private System.Windows.Forms.ComboBox comboOutput = new System.Windows.Forms.ComboBox();
		private System.Windows.Forms.Button buttonTransform = new System.Windows.Forms.Button();
		private System.Windows.Forms.Label labelInput = new System.Windows.Forms.Label();
		private System.Windows.Forms.Label labelOutput = new System.Windows.Forms.Label();
		private System.Windows.Forms.Label labelXSLT = new System.Windows.Forms.Label();
		private System.Windows.Forms.Button buttonOutputLoad = new System.Windows.Forms.Button();
		private System.Windows.Forms.Button buttonXSLTLoad = new System.Windows.Forms.Button();
		private string externalXSLFileName = null;
		private string externalOutputFileName = null;
		private TextAreaTabPage lockedTextAreaTabPage = null;
		private System.Windows.Forms.PictureBox pictureLock = new System.Windows.Forms.PictureBox();
		private bool inputLocked = false;

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

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

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

		// -------------------------------------------------------------------------
		/// <summary>
		/// Vrati nazov suboru (aj s plnou cestou) k XSL suboru. Vrati <c>null</c> ak uzivatel
		/// nic nevybral. Ak vybral z otvorenych tak ho ulozi najprv ulozi subor na disk.
		/// </summary>
		string XSLFullFileName 
		{
			get 
			{
				if (this.externalXSLFileName != null) 
				{
					return this.externalXSLFileName;
				}

				if (this.comboXSLT.SelectedIndex < 0) 
				{
					return null;
				}

				string fileName = ((string)this.comboXSLTFileNames[this.comboXSLT.SelectedIndex]);
				XML_editor.TabPages.TextAreaTabPage tab = this.MainForm.GetTabPageByFileName(fileName);
				System.Diagnostics.Debug.Assert(tab != null);
				this.MainForm.FileSave(tab);

				return tab.TextAreaControl.FileName;
			}
		}

		// -------------------------------------------------------------------------
		/// <summary>
		/// Vrati nazov suboru (aj s plnou cestou) k output suboru.
		/// Vrati <c>null</c> ak uzivatel nic nevybral. Ak vybral z otvorenych tak ho ulozi najprv ulozi subor na disk.
		/// </summary>
		string OutputFullFileName 
		{
			get 
			{
				if (this.externalOutputFileName != null) 
				{
					return this.externalOutputFileName;
				}

				if (this.comboOutput.SelectedIndex < 0) 
				{
					return null;
				}

				string fileName = ((string)this.comboOutputFileNames[this.comboOutput.SelectedIndex]);
				XML_editor.TabPages.TextAreaTabPage tab = this.MainForm.GetTabPageByFileName(fileName);
				System.Diagnostics.Debug.Assert(tab != null);
				this.MainForm.FileSave(tab);

				return tab.TextAreaControl.FileName;
			}
		}

		// -------------------------------------------------------------------------
		/// <summary>
		/// Inicializuje instanciu <see cref="XSLPanel"/>
		/// </summary>
		/// <param name="mainForm"></param>
		/// <param name="manager"></param>
		public XSLPanel(MainForm mainForm, DockingManager manager) : base(manager)
		{
			this.mainForm = mainForm;
			this.FullTitle = this.Title = "XSLT Transformations";


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

			// 
			// groupBox
			//
			this.groupBox.SuspendLayout();
			this.groupBox.Controls.AddRange(new System.Windows.Forms.Control[] 
																		{
																			label3, labelInput, pictureLock, label1, this.comboXSLT, this.buttonXSLTLoad, this.labelXSLT, this.buttonTransform, label2, this.comboOutput, this.buttonOutputLoad, labelOutput});
			this.groupBox.Name = "groupBox";
			this.groupBox.Size = new System.Drawing.Size(208, 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 = "XSLT Stylesheet";

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

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

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


			// 
			// 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, 144);
			label2.Name = "label1";
			label2.Size = new System.Drawing.Size(43, 13);
			label2.TabIndex = 3;
			label2.Text = "Output";

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

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

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

			//
			// buttonTransform
			//
			this.buttonTransform.Anchor = (System.Windows.Forms.AnchorStyles.Top);
			this.buttonTransform.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
			this.buttonTransform.Location = new System.Drawing.Point(67, 256);
			this.buttonTransform.Name = "buttonTransform";
			this.buttonTransform.TabIndex = 3;
			this.buttonTransform.Text = "Transform";
			this.buttonTransform.Size = new System.Drawing.Size(75, 23);
			this.buttonTransform.Click += new System.EventHandler(this.Clicked_buttonTransform);


			this.Control = this.groupBox;
		
			this.groupBox.ResumeLayout();

			this.ActualTextAreaControlChanged(null, null);

			this.MainForm.ActualTextAreaControlChanged += new System.EventHandler(this.ActualTextAreaControlChanged);
			this.MainForm.TextAreaControlClosed += new TextAreaControlClosedHandler(this.TextAreaControlClosed);

			this.MainForm.DockingManager.Contents.Add(this);
			this.MainForm.DockingManager.AddContentWithState(this, Crownwood.Magic.Docking.State.DockLeft);
		}

		// -------------------------------------------------------------------------
		/// <summary>
		/// Vyvola sa po zatvoreni nejakeho <see cref="XML_editor.TabPages.TextAreaTabPage"/>
		/// </summary>
		/// <param name="tab"><see cref="XML_editor.TabPages.TextAreaTabPage"/>, ktory sa zatvara.
		/// Ak je <c>null</c>, tak sa zatvaraju fsetky</param>
		private void TextAreaControlClosed(XML_editor.TabPages.TextAreaTabPage tab)
		{
			if (tab == null) 
			{
				this.groupBox.Enabled = false;

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲精品免费在线播放| 久久美女高清视频| 亚洲国产精品久久不卡毛片| 欧美日韩午夜精品| 欧美aaaaaa午夜精品| 日韩欧美亚洲另类制服综合在线 | 成人免费小视频| 91污片在线观看| 亚洲二区视频在线| 91精品国产一区二区| 国模一区二区三区白浆| 国产精品麻豆一区二区 | 色婷婷精品大在线视频| 亚洲图片欧美视频| 日韩欧美在线不卡| 成人黄色在线网站| 亚洲一二三区在线观看| 宅男在线国产精品| 国产精品白丝av| 一区二区三区在线看| 制服视频三区第一页精品| 久久超碰97中文字幕| 国产精品高清亚洲| 在线不卡中文字幕播放| 国产成人在线视频网址| 亚洲大片免费看| 国产色爱av资源综合区| 欧美视频中文字幕| 国产九色精品成人porny| 一区二区成人在线视频| 欧美videos中文字幕| 色狠狠色噜噜噜综合网| 激情图片小说一区| 亚洲综合无码一区二区| 久久久久99精品一区| 欧美综合色免费| 国产精品一区二区三区四区| 亚洲成av人在线观看| 欧美国产日韩亚洲一区| 日韩一区国产二区欧美三区| 91日韩精品一区| 精品亚洲porn| 亚洲成av人**亚洲成av**| 国产亚洲午夜高清国产拍精品| 欧美自拍偷拍午夜视频| 成人免费福利片| 免费日本视频一区| 亚洲一区二区在线免费看| 国产日韩欧美精品在线| 日韩精品中午字幕| 欧美视频一区二| av在线一区二区| 国产精品一色哟哟哟| 另类欧美日韩国产在线| 亚洲高清免费一级二级三级| 亚洲三级小视频| 国产女人水真多18毛片18精品视频| 91精品国产欧美日韩| 欧美日韩国产三级| 91啪亚洲精品| 99久久er热在这里只有精品66| 激情小说欧美图片| 久久精品国产秦先生| 日日骚欧美日韩| 亚洲国产精品久久久久婷婷884 | 精品一区二区国语对白| 天天操天天干天天综合网| 亚洲一区二区三区自拍| 一区二区三区四区高清精品免费观看| 久久亚洲精华国产精华液| 日韩精品一区二区三区四区视频| 欧美男男青年gay1069videost| 在线亚洲高清视频| 在线视频国内自拍亚洲视频| 色综合天天综合网天天看片| 成人精品视频一区二区三区 | 天天操天天色综合| 午夜精品久久久久久久蜜桃app| 亚洲专区一二三| 亚洲国产一区二区在线播放| 一区二区三区在线不卡| 亚洲激情自拍视频| 午夜激情一区二区| 日韩国产高清在线| 激情六月婷婷久久| 国产精品亚洲人在线观看| 国产精品一区一区| www.色综合.com| 色菇凉天天综合网| 欧美日韩激情一区| 精品日韩99亚洲| 欧美极品aⅴ影院| 亚洲色欲色欲www在线观看| 一区二区三区中文字幕精品精品| 亚洲网友自拍偷拍| 美脚の诱脚舐め脚责91| 国产精品一区免费视频| 成人app软件下载大全免费| 91在线porny国产在线看| 欧美性视频一区二区三区| 91精品在线麻豆| 久久精品综合网| 亚洲卡通动漫在线| 麻豆精品精品国产自在97香蕉| 国产不卡视频在线观看| 欧美在线观看一二区| 日韩欧美电影在线| 亚洲欧洲av色图| 蜜桃视频第一区免费观看| 懂色av中文一区二区三区| 在线免费观看日韩欧美| 日韩精品影音先锋| 亚洲日本在线观看| 日本vs亚洲vs韩国一区三区二区 | 国产色产综合产在线视频| 亚洲色图欧美在线| 青青草成人在线观看| 成人污视频在线观看| 欧美日韩视频第一区| 国产亚洲va综合人人澡精品| 亚洲综合色在线| 国产精品资源站在线| 欧美日韩国产经典色站一区二区三区| 2023国产一二三区日本精品2022| 亚洲人成伊人成综合网小说| 寂寞少妇一区二区三区| 色婷婷av久久久久久久| 久久久亚洲欧洲日产国码αv| 亚洲免费三区一区二区| 国产乱理伦片在线观看夜一区| 在线观看免费视频综合| 国产午夜精品久久久久久久| 亚洲成人av在线电影| 99久久综合99久久综合网站| 国产精品久久777777| 免费高清成人在线| 色偷偷久久一区二区三区| 欧美电视剧免费全集观看| 亚洲高清视频的网址| 91蜜桃传媒精品久久久一区二区| 精品久久久久香蕉网| 午夜精品爽啪视频| 色狠狠综合天天综合综合| 国产日韩欧美精品一区| 久久99国产乱子伦精品免费| 欧美剧情片在线观看| 亚洲激情图片小说视频| www.欧美.com| 国产目拍亚洲精品99久久精品| 久久国产精品免费| 制服丝袜av成人在线看| 天天综合网 天天综合色| 91极品美女在线| 亚洲女人的天堂| 99精品国产99久久久久久白柏| 中文在线一区二区| 成人午夜精品一区二区三区| 国产亚洲精品超碰| 国产在线精品免费| 日韩欧美一区在线观看| 日本成人中文字幕在线视频| 欧美高清视频www夜色资源网| 亚洲精品免费一二三区| 色综合中文综合网| 亚洲国产视频网站| 欧美午夜片在线看| 亚洲国产精品一区二区久久| 欧美午夜理伦三级在线观看| 亚洲永久免费av| 欧美人与z0zoxxxx视频| 日韩精品福利网| 欧美大片在线观看一区二区| 精品在线观看免费| 日韩精品综合一本久道在线视频| 久久激情五月激情| 2024国产精品| 国产a区久久久| 国产精品传媒视频| 欧美色视频一区| 日韩黄色小视频| 久久老女人爱爱| aaa亚洲精品| 亚洲1区2区3区视频| 日韩欧美中文字幕精品| 国产剧情一区二区三区| 最新国产成人在线观看| 在线精品亚洲一区二区不卡| 午夜视频在线观看一区二区三区| 欧美一卡2卡3卡4卡| 国产福利一区二区三区视频在线| 国产精品乱码妇女bbbb| 99精品国产视频| 日韩二区三区在线观看| 久久久久久电影| 97精品国产露脸对白| 亚洲成人av在线电影| 久久免费精品国产久精品久久久久| 成人性生交大片免费看中文| 一片黄亚洲嫩模| 久久久精品欧美丰满|