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)
版权声明:本文标题:C#基本控件属性介绍全集 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.freenas.com.cn/free/1705205690h476874.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论