admin 管理员组

文章数量: 887021


2024年1月14日发(作者:iphone进入开发者模式)

using System;using c;using entModel;using ;using g;using ;using ;using ;using ;using ;namespace WindowsFormsApplication1{ public partial class Form2 : Form { public Form2() { InitializeComponent(); } private string _FileName=""; private void 新建NToolStripMenuItem_Click(object sender, EventArgs e) { = ""; _FileName = ""; }

private void 打开OToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult result = alog(); if (result == ) { _FileName = me; StreamReader reader = null; try {

{ Close(); }

private void 全选AToolStripMenuItem_Click(object sender, EventArgs e) { All(); }

private void 剪切XToolStripMenuItem_Click(object sender, EventArgs e) { (); }

private void 粘贴PToolStripMenuItem_Click(object sender, EventArgs e) { (); }

private void 复制CToolStripMenuItem_Click(object sender, EventArgs e) { (); }

private void 字体ToolStripMenuItem_Click(object sender, EventArgs e) { DialogResult result = alog(); if (result == ) { = ; } }

private void menuStrip1_ItemClicked(object sender, ToolStripItemClickedEventArgs e)

namespace 计算器去{ public partial class 多按钮操作 : Form { public 多按钮操作() { InitializeComponent(); }

private void tableLayoutPanel1_Paint(object sender, PaintEventArgs e) {

}

private void 多按钮操作_Load(object sender, EventArgs e) { Shezhitablelayout(); Addbutton(); } private void Addbutton() { Random rand=new Random (); for(int i=1; i<401;i++) { Button btn=new Button (); = ng(); = ; (btn); if ((100) % 5 == 0) { = 10; } else if ((100) % 7 == 0)


本文标签: 进入 开发者 操作 按钮 模式