摘要:
1、简单控件 Label - 边框:1.边框颜色,2.边框样式,3.边框粗细。 作用:显示文字,编译后的元素span。Literal - 作用:显示文字,编译后不会形成任何元素。一般用来从后台输出JS代码 TextBox - 文字输入框 TextMode - SingleLine-单行 MultLi 阅读全文
摘要:
ASP.NET WebForm C/S B/S客人 - 用户 要土豆丝 - 给IIS发送请求 ,IIS就相当于是服务员 通知厨房 - IIS把用户要想看到的ASPX告知.NET框架 厨房炒菜 - .net框架将ASPX页面中的C#代码执行处理 喊服务员上菜 - .NET框架将处理好的页面给IIS,I 阅读全文
摘要:
窗体的事件:删除事件:先将事件页面里面的挂好的事件删除,再删后台代码里面的事件 Panel是一个容器 1、Label -- 文本显示工具Text:显示的文字取值、赋值:lable1.Text 2、TextBox -- 文本框取值、赋值:TextBox1.Text 3、RichTextBox --文本 阅读全文
摘要:
窗体的事件:删除事件:先将事件页面里面的挂好的事件删除,再删后台代码里面的事件 Panel是一个容器 1、Label -- 文本显示工具Text:显示的文字取值、赋值:lable1.Text 2、TextBox -- 文本框取值、赋值:TextBox1.Text 3、RichTextBox --文本 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Threading.Tasks;using System.Windows.Forms; namespace WindowsFormsApplica 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data.SqlClient; namespace 阅读全文
摘要:
using System;using System.Collections.Generic;using System.Linq;using System.Text;using System.Threading.Tasks;using System.Data.SqlClient; namespace 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Data.SqlClient; names 阅读全文
摘要:
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace ConsoleApplication26 { / 阅读全文
摘要:
委托:也称为代理,事件也是一种委托;定义在类的最外面 1、定义委托关键字:delegate函数签名:签名和函数保持一致定义委托的时候要根据函数来定义public delegate int First(int a,int b);指向的方法的返回类型,需要参数必须一致! 2、定义委托变量,指向方法 委托 阅读全文