文本编辑器(c#)源码

上传者: cxl06 | 上传时间: 2022-05-10 10:14:46 | 文件大小: 98KB | 文件类型: RAR
c#
自己的程序源码namespace zdm { partial class formFindReplace { /// /// 必需的设计器变量。 /// private System.ComponentModel.IContainer components = null; /// /// 清理所有正在使用的资源。 /// /// 如果应释放托管资源,为 true;否则为 false。 protected override void Dispose(bool disposing) { if (disposing && (components != null)) { components.Dispose(); } base.Dispose(disposing); } #region Windows 窗体设计器生成的代码 /// /// 设计器支持所需的方法 - 不要 /// 使用代码编辑器修改此方法的内容。 /// private void InitializeComponent() { this.label1 = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.textBox1 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox(); this.buttonFind = new System.Windows.Forms.Button(); this.buttonReplace = new System.Windows.Forms.Button(); this.SuspendLayout(); // // label1 // this.label1.AutoSize = true; this.label1.Location = new System.Drawing.Point(35, 15); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(65, 12); this.label1.TabIndex = 0; this.label1.Text = "查找字符串"; // // label2 // this.label2.AutoSize = true; this.label2.Location = new System.Drawing.Point(35, 60); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(65, 12); this.label2.TabIndex = 1; this.label2.Text = "替换字符串"; // // textBox1 // this.textBox1.Location = new System.Drawing.Point(135, 12); this.textBox1.Name = "textBox1"; this.textBox1.Size = new System.Drawing.Size(120, 21); this.textBox1.TabIndex = 2; // // textBox2 // this.textBox2.Location = new System.Drawing.Point(135, 51); this.textBox2.Name = "textBox2"; this.textBox2.Size = new System.Drawing.Size(120, 21); this.textBox2.TabIndex = 3; // // buttonFind // this.buttonFind.Location = new System.Drawing.Point(49, 110); this.buttonFind.Name = "buttonFind"; this.buttonFind.Size = new System.Drawing.Size(75, 23); this.buttonFind.TabIndex = 4; this.buttonFind.Text = "查找下一处"; this.buttonFind.UseVisualStyleBackColor = true; this.buttonFind.Click += new System.EventHandler(this.buttonFind_Click); // // buttonReplace // this.buttonReplace.Location = new System.Drawing.Point(164, 110); this.buttonReplace.Name = "buttonReplace"; this.buttonReplace.Size = new System.Drawing.Size(91, 23); this.buttonReplace.TabIndex = 5; this.buttonReplace.Text = "替换查到字符"; this.buttonReplace.UseVisualStyleBackColor = true; this.buttonReplace.Click += new System.EventHandler(this.buttonReplace_Click); // // formFindReplace // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; this.ClientSize = new System.Drawing.Size(292, 169); this.Controls.Add(this.buttonReplace); this.Controls.Add(this.buttonFind); this.Controls.Add(this.textBox2); this.Controls.Add(this.textBox1); this.Controls.Add(this.label2); this.Controls.Add(this.label1); this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog; this.MaximizeBox = false; this.MinimizeBox = false; this.Name = "formFindReplace"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.Text = "查找和替换"; this.TopMost = true; this.ResumeLayout(false); this.PerformLayout(); } #endregion private System.Windows.Forms.Label label1; private System.Windows.Forms.Label label2; private System.Windows.Forms.TextBox textBox1; private System.Windows.Forms.TextBox textBox2; private System.Windows.Forms.Button buttonFind; private System.Windows.Forms.Button buttonReplace; } }

文件下载

资源详情

[{"title":"( 40 个子文件 98KB ) 文本编辑器(c#)源码","children":[{"title":"文本编辑器","children":[{"title":"文本编辑器.suo <span style='color:#111;'> 17.50KB </span>","children":null,"spread":false},{"title":"文本编辑器.sln <span style='color:#111;'> 934B </span>","children":null,"spread":false},{"title":"文本编辑器","children":[{"title":"FileEdit.cs <span style='color:#111;'> 12.32KB </span>","children":null,"spread":false},{"title":"文本编辑器.csproj.user <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"formAbout.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"FileEdit.Designer.cs <span style='color:#111;'> 21.63KB </span>","children":null,"spread":false},{"title":"bin","children":[{"title":"Debug","children":[{"title":"文本编辑器.vshost.exe <span style='color:#111;'> 5.50KB </span>","children":null,"spread":false},{"title":"文本编辑器.pdb <span style='color:#111;'> 65.50KB </span>","children":null,"spread":false},{"title":"文本编辑器.exe <span style='color:#111;'> 48.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"formAbout.Designer.cs <span style='color:#111;'> 2.93KB </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"文本编辑器.csproj.FileList.txt <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"zdm.formAbout.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"文本编辑器.csproj.GenerateResource.Cache <span style='color:#111;'> 1.19KB </span>","children":null,"spread":false},{"title":"zdm.formFindReplace.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"zdm.FindFile.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"Refactor","children":null,"spread":false},{"title":"zdm.Properties.Resources.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false},{"title":"TempPE","children":[{"title":"Properties.Resources.Designer.cs.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"zdm.FileEdit.resources <span style='color:#111;'> 10.48KB </span>","children":null,"spread":false},{"title":"文本编辑器.pdb <span style='color:#111;'> 65.50KB </span>","children":null,"spread":false},{"title":"文本编辑器.exe <span style='color:#111;'> 48.00KB </span>","children":null,"spread":false},{"title":"zdm.CreateThread.resources <span style='color:#111;'> 180B </span>","children":null,"spread":false}],"spread":false},{"title":"文本编辑器.csproj.FileListAbsolute.txt <span style='color:#111;'> 831B </span>","children":null,"spread":false}],"spread":true},{"title":"formFindReplace.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"Resources.Designer.cs <span style='color:#111;'> 2.76KB </span>","children":null,"spread":false},{"title":"Settings.settings <span style='color:#111;'> 249B </span>","children":null,"spread":false},{"title":"Resources.resx <span style='color:#111;'> 5.48KB </span>","children":null,"spread":false},{"title":"Settings.Designer.cs <span style='color:#111;'> 1.08KB </span>","children":null,"spread":false},{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false}],"spread":true},{"title":"Program.cs <span style='color:#111;'> 465B </span>","children":null,"spread":false},{"title":"formFindReplace.Designer.cs <span style='color:#111;'> 4.97KB </span>","children":null,"spread":false},{"title":"FindFile.Designer.cs <span style='color:#111;'> 6.42KB </span>","children":null,"spread":false},{"title":"FileEdit.resx <span style='color:#111;'> 22.81KB </span>","children":null,"spread":false},{"title":"formFindReplace.cs <span style='color:#111;'> 1.17KB </span>","children":null,"spread":false},{"title":"CreateThread.cs <span style='color:#111;'> 1.85KB </span>","children":null,"spread":false},{"title":"FindFile.cs <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"formAbout.cs <span style='color:#111;'> 451B </span>","children":null,"spread":false},{"title":"文本编辑器.csproj <span style='color:#111;'> 4.64KB </span>","children":null,"spread":false},{"title":"CreateThread.Designer.cs <span style='color:#111;'> 3.48KB </span>","children":null,"spread":false},{"title":"CreateThread.resx <span style='color:#111;'> 5.68KB </span>","children":null,"spread":false},{"title":"FindFile.resx <span style='color:#111;'> 5.88KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • cph953926 :
    一般般,打开一个TXT后修改后保存和另存为都是新建一个而不是直接保存在打开的那个TXT里
    2016-12-14
  • yangzaitao14 :
    代码简单了点·但也了解思路了
    2013-12-26
  • hancuiyun :
    资料还行,不过没有类的思想
    2013-12-08
  • deallyge :
    参考一下你的代码
    2013-11-10
  • chenkun5885 :
    我局的对我还是很不错的 挺好的
    2013-07-18

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明