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

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

?? mainform.cs

?? 文本編輯器 編輯文本格式文件
?? CS
?? 第 1 頁 / 共 2 頁
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;
using System.IO;
using System.Text;

namespace Editor
{
	/// <summary>
	/// Form1 的摘要說明。
	/// </summary>
	public class MainForm : System.Windows.Forms.Form
	{
		#region windows controls
		private System.Windows.Forms.MainMenu mainMenu;
		private System.Windows.Forms.MenuItem menu_File;
		private System.Windows.Forms.MenuItem menu_Edit;
		private System.Windows.Forms.MenuItem menu_Help;
		private System.Windows.Forms.MenuItem menu_FileOpen;
		private System.Windows.Forms.MenuItem menu_FileSave;
		private System.Windows.Forms.MenuItem menu_FileSaveAs;
		private System.Windows.Forms.MenuItem menu_Format;
		private System.Windows.Forms.MenuItem menuItem2;
		private System.Windows.Forms.MenuItem menu_EditCut;
		private System.Windows.Forms.MenuItem menu_EditCopy;
		private System.Windows.Forms.MenuItem menu_EditPaste;
		private System.Windows.Forms.MenuItem menuItem3;
		private System.Windows.Forms.MenuItem menu_EditDel;
		private System.Windows.Forms.MenuItem menu_EditSelAll;
		private System.Windows.Forms.MenuItem menuItem4;
		private System.Windows.Forms.MenuItem menu_EditFind;
		private System.Windows.Forms.MenuItem menu_EditReplace;
		public System.Windows.Forms.RichTextBox txtMain;
		private System.Windows.Forms.MenuItem menuItem5;
		private System.Windows.Forms.MenuItem menu_FileExit;
		private System.Windows.Forms.MenuItem menu_HelpAbout;
		private System.Windows.Forms.MenuItem menu_FileNew;
		private System.Windows.Forms.StatusBar mainStatus;
		private System.Windows.Forms.StatusBarPanel statusBarSaveTime;
		private System.Windows.Forms.OpenFileDialog dlg_openFile;
		private System.Windows.Forms.SaveFileDialog dlg_saveFile;
		private System.Windows.Forms.FontDialog dlg_font;
		private System.Windows.Forms.MenuItem menu_EditUndo;
		private System.Windows.Forms.MenuItem menu_EditRedo;
		private System.Windows.Forms.MenuItem menu_FormatFont;
		private System.Windows.Forms.MenuItem menuItem7;
		private System.Windows.Forms.MenuItem menu_EncodeGB;
		private System.Windows.Forms.MenuItem menu_EncodeASCII;
		private System.Windows.Forms.MenuItem menu_EncodeUTF7;
		private System.Windows.Forms.MenuItem menu_EncodeUTF8;
		private System.Windows.Forms.MenuItem menu_EncodeUni;
		#endregion

		#region 定義的field和attribute
		private bool IsChanged; // 文檔是否被修改
		private bool IsSaved;	// 文檔是否被保存過
		private Encoding TextEncoding = Encoding.GetEncoding("GB2312");
		private SearchAndReplace searchForm;
		private string fileName;// 文檔的文件名
		public string FileName
		{
			get
			{
				if(this.fileName == null)
				{
					return "無標題";
				}
				return this.fileName;
			}
			set
			{
				this.fileName = value;
			}
		}
		#endregion
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;
		public MainForm()
		{
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 調用后添加任何構造函數代碼
			//
		}

		/// <summary>
		/// 清理所有正在使用的資源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if(!AlertSaveFile())
			{
				return;
			}
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows 窗體設計器生成的代碼
		/// <summary>
		/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內容。
		/// </summary>
		private void InitializeComponent()
		{
			this.mainMenu = new System.Windows.Forms.MainMenu();
			this.menu_File = new System.Windows.Forms.MenuItem();
			this.menu_FileNew = new System.Windows.Forms.MenuItem();
			this.menu_FileOpen = new System.Windows.Forms.MenuItem();
			this.menu_FileSave = new System.Windows.Forms.MenuItem();
			this.menu_FileSaveAs = new System.Windows.Forms.MenuItem();
			this.menuItem5 = new System.Windows.Forms.MenuItem();
			this.menu_FileExit = new System.Windows.Forms.MenuItem();
			this.menu_Edit = new System.Windows.Forms.MenuItem();
			this.menu_EditUndo = new System.Windows.Forms.MenuItem();
			this.menu_EditRedo = new System.Windows.Forms.MenuItem();
			this.menuItem2 = new System.Windows.Forms.MenuItem();
			this.menu_EditCut = new System.Windows.Forms.MenuItem();
			this.menu_EditCopy = new System.Windows.Forms.MenuItem();
			this.menu_EditPaste = new System.Windows.Forms.MenuItem();
			this.menu_EditDel = new System.Windows.Forms.MenuItem();
			this.menuItem3 = new System.Windows.Forms.MenuItem();
			this.menu_EditFind = new System.Windows.Forms.MenuItem();
			this.menu_EditReplace = new System.Windows.Forms.MenuItem();
			this.menuItem4 = new System.Windows.Forms.MenuItem();
			this.menu_EditSelAll = new System.Windows.Forms.MenuItem();
			this.menu_Format = new System.Windows.Forms.MenuItem();
			this.menu_FormatFont = new System.Windows.Forms.MenuItem();
			this.menuItem7 = new System.Windows.Forms.MenuItem();
			this.menu_EncodeGB = new System.Windows.Forms.MenuItem();
			this.menu_EncodeUni = new System.Windows.Forms.MenuItem();
			this.menu_EncodeUTF7 = new System.Windows.Forms.MenuItem();
			this.menu_EncodeUTF8 = new System.Windows.Forms.MenuItem();
			this.menu_EncodeASCII = new System.Windows.Forms.MenuItem();
			this.menu_Help = new System.Windows.Forms.MenuItem();
			this.menu_HelpAbout = new System.Windows.Forms.MenuItem();
			this.txtMain = new System.Windows.Forms.RichTextBox();
			this.mainStatus = new System.Windows.Forms.StatusBar();
			this.statusBarSaveTime = new System.Windows.Forms.StatusBarPanel();
			this.dlg_openFile = new System.Windows.Forms.OpenFileDialog();
			this.dlg_saveFile = new System.Windows.Forms.SaveFileDialog();
			this.dlg_font = new System.Windows.Forms.FontDialog();
			((System.ComponentModel.ISupportInitialize)(this.statusBarSaveTime)).BeginInit();
			this.SuspendLayout();
			// 
			// mainMenu
			// 
			this.mainMenu.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					 this.menu_File,
																					 this.menu_Edit,
																					 this.menu_Format,
																					 this.menu_Help});
			// 
			// menu_File
			// 
			this.menu_File.Index = 0;
			this.menu_File.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.menu_FileNew,
																					  this.menu_FileOpen,
																					  this.menu_FileSave,
																					  this.menu_FileSaveAs,
																					  this.menuItem5,
																					  this.menu_FileExit});
			this.menu_File.Text = "文件(&F)";
			// 
			// menu_FileNew
			// 
			this.menu_FileNew.Index = 0;
			this.menu_FileNew.Text = "新建文件";
			this.menu_FileNew.Click += new System.EventHandler(this.menu_FileNew_Click);
			// 
			// menu_FileOpen
			// 
			this.menu_FileOpen.Index = 1;
			this.menu_FileOpen.Text = "打開文件";
			this.menu_FileOpen.Click += new System.EventHandler(this.menu_FileOpen_Click);
			// 
			// menu_FileSave
			// 
			this.menu_FileSave.Index = 2;
			this.menu_FileSave.Text = "保存";
			this.menu_FileSave.Click += new System.EventHandler(this.menu_FileSave_Click);
			// 
			// menu_FileSaveAs
			// 
			this.menu_FileSaveAs.Index = 3;
			this.menu_FileSaveAs.Text = "另存為...";
			this.menu_FileSaveAs.Click += new System.EventHandler(this.menu_FileSaveAs_Click);
			// 
			// menuItem5
			// 
			this.menuItem5.Index = 4;
			this.menuItem5.Text = "-";
			// 
			// menu_FileExit
			// 
			this.menu_FileExit.Index = 5;
			this.menu_FileExit.Text = "退出";
			this.menu_FileExit.Click += new System.EventHandler(this.menu_FileExit_Click);
			// 
			// menu_Edit
			// 
			this.menu_Edit.Index = 1;
			this.menu_Edit.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.menu_EditUndo,
																					  this.menu_EditRedo,
																					  this.menuItem2,
																					  this.menu_EditCut,
																					  this.menu_EditCopy,
																					  this.menu_EditPaste,
																					  this.menu_EditDel,
																					  this.menuItem3,
																					  this.menu_EditFind,
																					  this.menu_EditReplace,
																					  this.menuItem4,
																					  this.menu_EditSelAll});
			this.menu_Edit.Text = "編輯(&E)";
			// 
			// menu_EditUndo
			// 
			this.menu_EditUndo.Index = 0;
			this.menu_EditUndo.Text = "撤銷";
			this.menu_EditUndo.Click += new System.EventHandler(this.menu_EditUndo_Click);
			// 
			// menu_EditRedo
			// 
			this.menu_EditRedo.Index = 1;
			this.menu_EditRedo.Text = "重復";
			this.menu_EditRedo.Click += new System.EventHandler(this.menu_EditRedo_Click);
			// 
			// menuItem2
			// 
			this.menuItem2.Index = 2;
			this.menuItem2.Text = "-";
			// 
			// menu_EditCut
			// 
			this.menu_EditCut.Index = 3;
			this.menu_EditCut.Text = "剪切";
			this.menu_EditCut.Click += new System.EventHandler(this.menu_EditCut_Click);
			// 
			// menu_EditCopy
			// 
			this.menu_EditCopy.Index = 4;
			this.menu_EditCopy.Text = "復制";
			this.menu_EditCopy.Click += new System.EventHandler(this.menu_EditCopy_Click);
			// 
			// menu_EditPaste
			// 
			this.menu_EditPaste.Index = 5;
			this.menu_EditPaste.Text = "粘貼";
			this.menu_EditPaste.Click += new System.EventHandler(this.menu_EditPaste_Click);
			// 
			// menu_EditDel
			// 
			this.menu_EditDel.Index = 6;
			this.menu_EditDel.Text = "刪除";
			this.menu_EditDel.Click += new System.EventHandler(this.menu_EditDel_Click);
			// 
			// menuItem3
			// 
			this.menuItem3.Index = 7;
			this.menuItem3.Text = "-";
			// 
			// menu_EditFind
			// 
			this.menu_EditFind.Index = 8;
			this.menu_EditFind.Text = "查找";
			this.menu_EditFind.Click += new System.EventHandler(this.menu_EditFind_Click);
			// 
			// menu_EditReplace
			// 
			this.menu_EditReplace.Index = 9;
			this.menu_EditReplace.Text = "替換";
			this.menu_EditReplace.Click += new System.EventHandler(this.menu_EditFind_Click);
			// 
			// menuItem4
			// 
			this.menuItem4.Index = 10;
			this.menuItem4.Text = "-";
			// 
			// menu_EditSelAll
			// 
			this.menu_EditSelAll.Index = 11;
			this.menu_EditSelAll.Text = "全選";
			this.menu_EditSelAll.Click += new System.EventHandler(this.menu_EditSelAll_Click);
			// 
			// menu_Format
			// 
			this.menu_Format.Index = 2;
			this.menu_Format.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																						this.menu_FormatFont,
																						this.menuItem7});
			this.menu_Format.Text = "格式(&O)";
			// 
			// menu_FormatFont
			// 
			this.menu_FormatFont.Index = 0;
			this.menu_FormatFont.Text = "字體";
			this.menu_FormatFont.Click += new System.EventHandler(this.menu_FormatFont_Click);
			// 
			// menuItem7
			// 
			this.menuItem7.Index = 1;
			this.menuItem7.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.menu_EncodeGB,
																					  this.menu_EncodeUni,
																					  this.menu_EncodeUTF7,
																					  this.menu_EncodeUTF8,
																					  this.menu_EncodeASCII});
			this.menuItem7.Text = "編碼";
			// 
			// menu_EncodeGB
			// 
			this.menu_EncodeGB.Index = 0;
			this.menu_EncodeGB.Text = "GB2312";
			this.menu_EncodeGB.Click += new System.EventHandler(this.menu_EncodeGB_Click);
			// 
			// menu_EncodeUni
			// 
			this.menu_EncodeUni.Index = 1;
			this.menu_EncodeUni.Text = "Unicode";
			this.menu_EncodeUni.Click += new System.EventHandler(this.menu_EncodeUni_Click);
			// 
			// menu_EncodeUTF7
			// 
			this.menu_EncodeUTF7.Index = 2;
			this.menu_EncodeUTF7.Text = "UTF7";
			this.menu_EncodeUTF7.Click += new System.EventHandler(this.menu_EncodeUTF7_Click);
			// 
			// menu_EncodeUTF8
			// 
			this.menu_EncodeUTF8.Index = 3;
			this.menu_EncodeUTF8.Text = "UTF8";
			this.menu_EncodeUTF8.Click += new System.EventHandler(this.menu_EncodeUTF8_Click);
			// 
			// menu_EncodeASCII
			// 
			this.menu_EncodeASCII.Index = 4;
			this.menu_EncodeASCII.Text = "ASCII";
			this.menu_EncodeASCII.Click += new System.EventHandler(this.menu_EncodeASCII_Click);
			// 
			// menu_Help
			// 
			this.menu_Help.Index = 3;
			this.menu_Help.MenuItems.AddRange(new System.Windows.Forms.MenuItem[] {
																					  this.menu_HelpAbout});
			this.menu_Help.Text = "幫助(&H)";
			// 
			// menu_HelpAbout
			// 
			this.menu_HelpAbout.Index = 0;
			this.menu_HelpAbout.Text = "關于";
			this.menu_HelpAbout.Click += new System.EventHandler(this.menu_HelpAbout_Click);
			// 
			// txtMain
			// 
			this.txtMain.AcceptsTab = true;
			this.txtMain.AllowDrop = true;
			this.txtMain.Location = new System.Drawing.Point(0, 0);
			this.txtMain.Name = "txtMain";
			this.txtMain.Size = new System.Drawing.Size(408, 256);
			this.txtMain.TabIndex = 0;
			this.txtMain.Text = "";
			this.txtMain.TextChanged += new System.EventHandler(this.txtMain_TextChanged);
			// 
			// mainStatus
			// 
			this.mainStatus.Location = new System.Drawing.Point(0, 261);
			this.mainStatus.Name = "mainStatus";
			this.mainStatus.Panels.AddRange(new System.Windows.Forms.StatusBarPanel[] {
																						  this.statusBarSaveTime});
			this.mainStatus.ShowPanels = true;
			this.mainStatus.Size = new System.Drawing.Size(408, 20);
			this.mainStatus.TabIndex = 1;
			// 
			// statusBarSaveTime

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人午夜大片免费观看| 在线电影国产精品| av在线综合网| 国产婷婷色一区二区三区四区 | 精品国产91洋老外米糕| 男女性色大片免费观看一区二区| 欧美日韩国产首页| 天天做天天摸天天爽国产一区| 在线一区二区三区四区| 亚洲精品老司机| 色综合久久久久久久| 免费在线成人网| 日韩欧美国产一区二区三区| 日本中文字幕一区| 欧美一区二区三区啪啪| 蜜臀av性久久久久蜜臀av麻豆| 制服丝袜成人动漫| 日本中文字幕一区| 欧美成人精品1314www| 麻豆一区二区99久久久久| 欧美一区二区福利在线| 老司机一区二区| 国产夜色精品一区二区av| 成人黄动漫网站免费app| 国产精品天美传媒沈樵| 99精品久久只有精品| 亚洲美女屁股眼交| 欧美撒尿777hd撒尿| 日本一区二区三区在线不卡| 国产成人免费av在线| 中文字幕在线免费不卡| 色av综合在线| 欧美日韩国产一级片| 精品国产电影一区二区| 国产福利不卡视频| 中文字幕亚洲精品在线观看| 在线亚洲免费视频| 丝袜国产日韩另类美女| 欧美成人vps| 国产成人免费xxxxxxxx| 亚洲美腿欧美偷拍| 亚洲欧美日韩国产中文在线| av毛片久久久久**hd| 一区二区三区久久久| 538prom精品视频线放| 国产一区 二区| 中文字幕色av一区二区三区| 欧美色大人视频| 精品一区二区三区免费播放| 国产精品久久久久精k8| 欧美在线不卡一区| 久久国产人妖系列| 国产精品久久免费看| 欧美色图激情小说| 久久99精品国产麻豆婷婷洗澡| 中文字幕一区二区三区不卡在线 | 99热国产精品| 肉丝袜脚交视频一区二区| 成人app在线观看| 亚洲午夜视频在线观看| 日韩精品一区二区在线| 99久久综合色| 日本麻豆一区二区三区视频| 日本一区二区三区视频视频| 欧美三级电影在线看| 日韩无一区二区| 午夜精品一区二区三区电影天堂 | 精品国产一区二区亚洲人成毛片| 麻豆久久久久久| 成人欧美一区二区三区视频网页| 欧美日韩精品欧美日韩精品| 国产精品99久久久久久宅男| 樱桃国产成人精品视频| 久久综合狠狠综合久久综合88 | 久久久久久久网| 欧美午夜电影一区| 国产不卡视频一区二区三区| 午夜精品久久久久久久久久久| 国产亚洲欧美中文| 欧美肥妇bbw| 91麻豆精品在线观看| 九色porny丨国产精品| 一区二区在线观看免费| 97成人超碰视| 精品一区二区三区欧美| 香蕉久久一区二区不卡无毒影院| 国产欧美va欧美不卡在线| 91麻豆精品国产91| 色综合久久中文综合久久97| 国产精品白丝jk白祙喷水网站| 日韩中文字幕不卡| 亚洲少妇屁股交4| 久久久不卡影院| 91精品国产福利在线观看| 国产欧美一区二区精品仙草咪| 国产资源在线一区| 日韩vs国产vs欧美| 亚洲人成亚洲人成在线观看图片 | av在线播放成人| 麻豆freexxxx性91精品| 亚洲专区一二三| 日韩一区中文字幕| 国产欧美一区二区在线观看| 欧美成人精品高清在线播放| 欧美久久婷婷综合色| 日本久久一区二区三区| 成人一区二区三区中文字幕| 精品亚洲aⅴ乱码一区二区三区| 视频一区欧美精品| 亚洲午夜在线视频| 亚洲毛片av在线| 国产精品久久久久aaaa樱花| 国产欧美日韩精品a在线观看| 欧美成人bangbros| 成人深夜视频在线观看| 国产一区久久久| 韩国av一区二区| 精品一区二区综合| 麻豆精品久久精品色综合| 午夜精品福利久久久| 亚洲国产乱码最新视频| 亚洲精品视频免费看| 亚洲天堂成人网| 中文字幕日韩精品一区| 成人欧美一区二区三区1314| 国产精品免费av| 国产精品色眯眯| 国产精品二三区| 国产精品国产三级国产专播品爱网| 激情深爱一区二区| 国产一区二区精品在线观看| 日产欧产美韩系列久久99| 日本不卡中文字幕| 日本亚洲免费观看| 久久精品久久综合| 狠狠色丁香婷婷综合| 国产一区激情在线| 国产成人免费在线观看不卡| 成人免费视频一区| 99精品久久99久久久久| 色综合视频一区二区三区高清| 91免费视频大全| 欧美性色综合网| 欧美一区二区三区视频在线观看| 日韩免费电影一区| 精品国产污污免费网站入口 | 日韩一区二区在线看| 欧美一级生活片| 日韩精品一区二区三区视频播放| 日韩精品一区二区三区蜜臀 | 这里只有精品免费| 日韩一级片在线观看| 久久综合色之久久综合| 欧美国产日本韩| 亚洲欧美在线另类| 亚洲香蕉伊在人在线观| 久久国产尿小便嘘嘘| 丰满少妇久久久久久久| 日本乱人伦aⅴ精品| 911精品产国品一二三产区| 日韩欧美中文字幕一区| 久久久久国产精品麻豆ai换脸| 国产精品狼人久久影院观看方式| 亚洲免费色视频| 日韩欧美国产一区二区在线播放 | 91蜜桃婷婷狠狠久久综合9色| 欧美一区二区三区的| 日韩欧美一区电影| 中文字幕欧美激情| 亚洲国产一区二区三区青草影视| 男人操女人的视频在线观看欧美| 国产一区福利在线| 一本到不卡免费一区二区| 911国产精品| 日本一区二区三级电影在线观看| 一区二区视频在线| 强制捆绑调教一区二区| 岛国精品在线观看| 欧美日韩一区二区在线观看 | 老色鬼精品视频在线观看播放| 国产福利精品一区二区| 欧美在线观看一区二区| 国产成人精品亚洲777人妖| 欧日韩精品视频| 国产亚洲一二三区| 一二三四社区欧美黄| 麻豆国产精品777777在线| 成人黄色免费短视频| 欧美日韩精品一区二区三区蜜桃| 久久精品男人的天堂| 亚洲超丰满肉感bbw| 国产成人午夜精品影院观看视频| 欧美综合视频在线观看| 精品国产精品一区二区夜夜嗨| 亚洲免费色视频| 国产精品一区二区视频| 欧美午夜电影在线播放| 国产免费久久精品| 免费成人深夜小野草| 91浏览器入口在线观看|