-
Zigbee智能家居完整的源代码
Zigbee智能家居完整的源代码,含有终端和协调器工程并带有汉语注释。非常适合Zigbee开发。-Zigbee Smart Home complete source code, containing the terminal and the coordinator works with Chinese comments. Very suitable for the Zigbee development.
- 2022-03-05 18:50:08下载
- 积分:1
-
C# 读取SQL Server数据库结构,包括表结构
Visual C# 2012读取SQL Server数据库结构,在SQL2000中可以顺利通过测试,获取到所有的数据库和指定库的数据表,本程序主要针对用户表进行操作,在进行操作时要求用户名为sa密码为空。
- 2022-03-15 16:11:23下载
- 积分:1
-
C# 向StatusBar状态栏控件中添加窗格面板
C# 向StatusBar状态栏控件中添加窗格面板及文字,也就是把窗口的状态栏分栏,分隔成若干个小区域,显示不同的信息,比如文字提示或图标等。
向StatusBar控件添加窗格面板
StatusBar statusBar1=new StatusBar();
statusBar1.Panels.Add("中华人民共和国");
statusBar1.Panels.Add("重庆市");
statusBar1.Panels.Add("罗斌");
statusBar1.Panels[0].AutoSize = StatusBarPanelAutoSize.Contents;
statusBar1.Panels[1].AutoSize = StatusBarPanelAutoSize.Spring;
statusBar1.Panels[2].AutoSize = StatusBarPanelAutoSize.Contents;
statusBar1.Panels[0].BorderStyle =StatusBarPanelBorderStyle.Raised;
statusBar1.Panels[1].BorderStyle = StatusBarPanelBorderStyle.Sunken;
statusBar1.Panels[2].BorderStyle = StatusBarPanelBorderStyle.Raised;
statusBar1.Panels[2].Icon = new System.Drawing.Icon( @"Error.ico");
statusBar1.ShowPanels = true;
this.Controls.Add(statusBar1);
- 2022-05-17 04:53:06下载
- 积分:1
-
PX4飞控机身主板源代码
配套硬件配置:
CPU:STM32F205
主频:168 MHz
RAM:256 KB
FLASH:2 MB闪存
传感器:3D ACC /陀螺仪/ MAG/气压
其它:
microSD插槽,5个UART,CAN,I2C,SPI,ADC,等
- 2022-01-28 08:21:53下载
- 积分:1
-
C# 显示DataGridView控件中选定的单元格、行和列
Visual C#显示选择的DataGridView单元格,获取DataGridView控件中选定的单元格、行和列,测试前请连接好数据库,实现此功能核心代码如下:
if (customersDataGridView.AreAllCellsSelected(true))
{
MessageBox.Show("所有单元格已经被选择!", "信息提示",MessageBoxButtons.OK);
}
else
{
System.Text.StringBuilder MyInfo =new System.Text.StringBuilder();
for (int i = 0;
i < MyCount; i++)
{
MyInfo.Append("行号: ");
MyInfo.Append(customersDataGridView.SelectedCells[i].RowIndex.ToString());
MyInfo.Append(", 列号: ");
MyInfo.Append(customersDataGridView.SelectedCells[i].ColumnIndex.ToString());
MyInfo.Append(", 单元格值: ");
MyInfo.Append(customersDataGridView.SelectedCells[i].Value.ToString());
MyInfo.Append(Environment.NewLine);
}
MyInfo.Append("一共选择了: " + MyCount.ToString()+"个单元格");
MessageBox.Show(MyInfo.ToString(), "信息提示", MessageBoxButtons.OK);
}
- 2022-03-18 13:11:05下载
- 积分:1
-
C# 模拟实现SSH命令
C# 模拟实现SSH命令,模拟实现LINUX相关操作,代码中包括了英文注释,代码比较完整,压缩包中还包括了例子和Bin可执行文件,演示效果如截图所示。我看到模拟程序中使用了以下的类库:DiffieHellman.dll、Org.Mentalis.Security.dll、Tamir.SharpSSH.dll。
- 2022-01-26 08:34:51下载
- 积分:1
-
C#编写winForm版的数据库创建数据表程序
C#编写winForm版的数据库创建数据表程序,通过查询语句来创建数据表,用户可在窗口内输入需要创建的数据表名称,点击操作按钮,转入程序执行阶段,将使用SQL语句来生成数据表,窗口运行效果如图所示。
- 2022-03-11 17:55:01下载
- 积分:1
-
C# 通用权限管理框架源码 ERP OA 快速开发框架
1、菜单导航管理2、操作按钮3、角色管理4、部门管理5、用户管理(用户权限)6、用户组管理(设置成员,用户组权限)7、系统配置(动态配置系统参数)8、附加属性(自定义属性)9、系统日志(异常记录)10、数据库备份/还原11、资源管理,(动态数据库)12、个人信息(基本信息,附加信息,用户角色,拥有权限)13、首页快捷14、数据回收站(业务功能删除过数据,全部保留在回收站)15、系统个性化设置(切换菜单导航)
- 2022-03-11 07:50:58下载
- 积分:1
-
C#操作数据库显示Customers数据表第3-7条记录
显示Customers数据表第3-7条记录,C#操作数据库显示Customers数据表第3-7条记录,其实做出来例子,才知道,很简单啊,不过需要把数据库先连接好,看如下代码:
private void button1_Click(object sender, EventArgs e)
{//显示Customers数据表第3-7条记录
SqlConnection MyConnection=new SqlConnection();
MyConnection.ConnectionString = @"Data Source =.SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True";
MyConnection.Open();
SqlCommand MyCommand =new SqlCommand("Select * From Customers ORDER BY CustomerID", MyConnection);
DataSet MySet = new DataSet();
SqlDataAdapter MyAdapter = new SqlDataAdapter(MyCommand);
MyAdapter.Fill(MySet, 2, 5, "Customers");
this.dataGridView1.DataSource=MySet.Tables["Customers"];
}
- 2022-03-03 23:39:45下载
- 积分:1
-
NUTTX操作系统源码
Nuttx 是一个实时嵌入式操作系统(Embedded RTOS),它很小巧,在微控制器环境中使用。Nuttx完全可扩展,可从从小型(8位)至中型嵌入式(32位)系统。它的设计目的还在于完全符合POSIX标准,完全实时,并完全开放。
- 2022-01-24 10:11:19下载
- 积分:1