首页
学习
活动
专区
圈层
工具
发布
    • 综合排序
    • 最热优先
    • 最新优先
    时间不限
  • 来自专栏痴者工良

    C# 特性 System.ComponentModel 命名空间属性方法大全,System.ComponentModel 命名空间的特性

    目录: System.ComponentModel 特性命名空间与常用类 System.ComponentModel.DataAnnotations ComponentModel - Classes 类 结构体 ComponentModel - Interfaces 界面 ComponentModel - Enums 枚举 ComponentModel - Delegates 委托 内容更新中  1,System.ComponentModel System.ComponentModel 命名空间提供用于实现组件和控件的运行时和设计时行为的类。 System.ComponentModel.Composition.ReflectionModel 命名空间为使用基于反射的编程模型的设计者提供 Managed Extensibility Framework (MEF) 类型 以上内容不能在 System.ComponentModel

    5.7K30发布于 2021-04-26
  • 来自专栏知识分享

    C#委托+回调详解

    窗体里面就放一个textbox 先这样写 using System; using System.Collections.Generic; using System.ComponentModel; using 蹦了 一起动就退出  说早了.......先说委托 using System; using System.Collections.Generic; using System.ComponentModel using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using 程序---崩了 好现在 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using

    3.9K40发布于 2018-04-17
  • C# WinForm 界面控件

    按钮与编辑框的使用 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data 100); } } } } listView using System; using System.Collections.Generic; using System.ComponentModel "); } } } } 浏览器控件的使用 using System; using System.Collections.Generic; using System.ComponentModel } } } } ListBox 遍历与选中 using System; using System.Collections.Generic; using System.ComponentModel using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using

    3.9K10编辑于 2022-12-28
  • 来自专栏CSharp编程大全

    C# 代码分两个窗体编写

    form1: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data (data.ToString()); } } } form2: using System; using System.Collections.Generic; using System.ComponentModel

    57230发布于 2020-08-19
  • 来自专栏liulun

    通过UDP的组播方式收发数据

    客户端代码 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; richTextBox1.Clear(); } } } 服务端代码 using System; using System.Collections.Generic; using System.ComponentModel

    1.5K20编辑于 2022-05-09
  • 来自专栏全栈程序员必看

    c#子窗口与父窗口_主窗体控制子窗体的显示

    方法较为简单,直接撸代码 父窗口代码 using System; using System.Collections.Generic; using System.ComponentModel; using this.Hide(); } } } 子窗口代码 using System; using System.Collections.Generic; using System.ComponentModel

    3.7K20编辑于 2022-09-23
  • 来自专栏快乐八哥

    委托(一个主窗体统计多个从窗体的按钮单击的次数)

    效果如下: frmMain  1 using System;  2 using System.Collections.Generic;  3 using System.ComponentModel 28         } 29     } 30 } frmOther  1 using System;  2 using System.Collections.Generic;  3 using System.ComponentModel

    2.5K80发布于 2018-01-18
  • 来自专栏CSharp编程大全

    C# 类中操作主窗体控件

    主窗体程序: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data 将窗体作为参数传入类,然后可以根据属性来对其进行相应的操作 实例修改如下: 主窗体程序: using System; using System.Collections.Generic; using System.ComponentModel

    1.2K21发布于 2020-08-19
  • 来自专栏静心物语313的Coding

    委托————窗体之间传值练习------引出事件的概念

    窗体1的代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data 10、接下来,就要在Form2中进行Test()方法的委托 } } 窗体2的代码: using System; using System.Collections.Generic; using System.ComponentModel

    78120发布于 2020-03-24
  • 来自专栏物联网知识

    网页上的账号、密码登陆验证,是如何实现的?(二)比对数据库中的账号密码

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using 账号密码不正确"); } } } 跳转界面 using System; using System.Collections.Generic; using System.ComponentModel

    2.7K10发布于 2021-04-25
  • 来自专栏菩提树下的杨过

    如何在多线程中调用winform窗体控件

    比如多个线程同时设置TextBox1的Text时,很难预计最终TextBox1的Text是什么) using System; using System.Collections.Generic; using System.ComponentModel             }         }     } } 解决办法二:通过委托安全调用 using System; using System.Collections.Generic; using System.ComponentModel

    3.2K100发布于 2018-01-22
  • 来自专栏静心物语313的Coding

    事件与委托的区别就是“+=”和“-="?

    Form1代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data 就可以避免这种情况的发生1 } } } userClick 代码: using System; using System.Collections.Generic; using System.ComponentModel Form 1代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data 这样的用法,所以就避免了,被赋值的事情的发生 } } userClick 代码: using System; using System.Collections.Generic; using System.ComponentModel

    1.6K20发布于 2020-03-24
  • 来自专栏静心物语313的Coding

    事件_窗体传值(使用系统自带的委托)

    模仿.netFrame系统的委托是如何实现功能的; Form1的代码: using System; using System.Collections.Generic; using System.ComponentModel //5、用以传值 //记得加上关键字public } } Form2的代码: using System; using System.Collections.Generic; using System.ComponentModel

    96220发布于 2020-03-24
  • 来自专栏CSharp编程大全

    C# Socket TCP发送图片与接收图片

    发送端代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data MessageBox.Show("发送成功"); } } } 接收端代码: using System; using System.Collections.Generic; using System.ComponentModel

    4.7K50发布于 2020-08-19
  • 来自专栏CSharp编程大全

    C# 线程中操作窗体控件

    在线程中给textBox1 using System; using System.Collections.Generic; using System.ComponentModel; using System.Data CheckForIllegalCrossThreadCalls = false; 运行ok 方法2:委托实现: using System; using System.Collections.Generic; using System.ComponentModel 试试看 主窗体代码: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data 主窗体: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data;

    1.5K31发布于 2020-08-19
  • 来自专栏dotNET编程大全

    C# 答群友:把窗体应用改成类库输出然后去引用

    Microsoft.CSharp; using System; using System.CodeDom.Compiler; using System.Collections.Generic; using System.ComponentModel 然后我把它的输出类型改为类库: 然后去新建第二个窗体应用,然后引用上面的项目 代码如下: using System; using System.Collections.Generic; using System.ComponentModel

    52130发布于 2021-11-01
  • 来自专栏.NET开发者社区

    C# WINFORM通过委托和事件窗体间(跨窗体)传值(自定义事件参数)--实例详解

    首先是赋值窗体,如下: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data return mZipCode; } } } } 其次,是主窗体(即要取得传递值的窗体),如下: using System; using System.Collections.Generic; using System.ComponentModel

    7.5K71发布于 2018-02-01
  • 来自专栏全栈程序员必看

    C#结合数据库开发通讯录管理系统

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using } } } 注销账号(在登录界面的注销事件中实例化此窗体):Logout using System; using System.Collections.Generic; using System.ComponentModel m.Show(); } } } 添加联系人:AddContact using System; using System.Collections.Generic; using System.ComponentModel } } } 修改密码:Modification_Password using System; using System.Collections.Generic; using System.ComponentModel ; } } } 联系人管理:Contact_Manage using System; using System.Collections.Generic; using System.ComponentModel

    2.8K20编辑于 2022-07-22
  • 来自专栏landv

    C#应用编程小例子-02-窗体最大化和最小化窗体大小

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using

    80040发布于 2019-03-01
  • 来自专栏liulun

    工作流学习笔记-ifElse活动;从工作流中取出返回值;计算器实例

    新建一个项目->顺序工作流库 设计面板拖放ifElse活动 点右键,添加三个分支 每个分支的条件设置为声明性规则条件 并设置他们的名称和表达式 代码如下: using System; using System.ComponentModel } 在解决方案中创建windows form项目 设计一个简单的计算器的界面 做代码如下 using System; using System.Collections.Generic; using System.ComponentModel

    87620编辑于 2022-05-09
领券