窗体方法.cs
来源:互联网 发布:lte弱覆盖优化 编辑:程序博客网 时间:2024/06/06 15:53
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Windows.Forms;namespace _9_17{ public partial class Form1 : Form { public Form1() { InitializeComponent(); } private void Form1_Load(object sender, EventArgs e) { this.FormBorderStyle = FormBorderStyle.Sizable; this.Text = "装入窗体"; this.BackgroundImage = Image.FromFile("11.png"); } private void Form1_KeyPress(object sender, KeyPressEventArgs e) { this.Text = "接收按键"; this.Visible = false ; Form2 frm = new Form2(); frm.Show(); this.Visible = true; } private void Form1_DoubleClick(object sender, EventArgs e) { this.Text = "双击窗口"; Form2 frm = new Form2(); this.Visible = false; frm.ShowDialog(); this.Visible = true; } private void Form1_SizeChanged(object sender, EventArgs e) { this.Text = "窗体尺寸:" + this.Size.ToString(); } private void Form1_LoationChanged(object sender, EventArgs e) { this.Text = "窗体位置:" + this.Location.ToString(); } }}
0 0
- 窗体方法.cs
- 禁用CS窗体上的关闭按钮
- cs 界面多线程调用窗体控件
- 新方法登录后窗体跳转【Program.cs】
- C# windowsForm CS 窗体基础知识记录
- cs文件,外部类操作窗体控件
- C# winform窗体编程.cs类,窗体打不开问题
- cs文件编译方法
- Photoshop CS 5 注册方法
- cs 无法全屏修改方法
- 添加窗体切换的辅助类Helper.cs
- C#下移动winform窗体(cs文件)后导致.Designer.cs、.resx文件分离出来
- C# winform窗体(cs文件) .Designer.cs、.resx 文件分离出来 同级问题
- CS..........................
- cs
- cs
- cs
- Cs
- ShaderLab 笔计一
- solr 使用自定义的 QueryParser
- unix环境配置
- 国内外开源镜像服务器站点汇总
- Solr 使用自定义 Query Parser
- 窗体方法.cs
- Filedescriptor out of range in select
- 黑马程序员_java学习笔记 3.流程语句&函数
- 安卓JNI开发-01
- 《java遇到html--servlet篇》2015.09.16笔记
- css选择器
- 类型混用引发的血案(C语言)
- 从游戏到用户分类
- 矩阵乘法的意义