摘要: 右击工程->Properties,弹出对话框,点击Add 在接下来的对话框点击Workspace 然后找到自己新建头文件夹,点OK, 在头文件路径中就会增加一条新路径 阅读全文
posted @ 2020-04-29 10:30 阿坦 阅读(8436) 评论(0) 推荐(0)
摘要: 1、在启动操作系统之前osKernelStart()引用osDelay()延时函数触发硬件错误 2、没有勾选Systenm tick timer 两个Handler选项导致osDelay()延时函数一直死循环。参考https://www.cnblogs.com/lizhiqiang0204/p/12 阅读全文
posted @ 2020-04-28 11:16 阿坦 阅读(3921) 评论(0) 推荐(0)
摘要: 程序集整体框架如下: 其中XmlReader类如下: using System; using System.Collections.Generic; using System.Text; using System.Xml; namespace WpfApp4 { public class XmlRe 阅读全文
posted @ 2020-04-26 14:55 阿坦 阅读(3096) 评论(0) 推荐(1)
摘要: 程序集整体框架如下 MainWindow前台代码中Text="{Binding Stu.Name}", Text="{Binding Stu.Gender}" ,Text="{Binding Stu.Age}"都是绑定到类成员 <Window x:Class="WpfApp1.MainWindow" 阅读全文
posted @ 2020-04-26 09:52 阿坦 阅读(2883) 评论(0) 推荐(0)
摘要: 在上一篇文章中https://www.cnblogs.com/lizhiqiang0204/p/12367553.html我们使用按键Button来切换界面的,这次我们使用自定义的ItemsControl数据模板来切换页面。MainWindow.xaml如下 <Window.DataContext> 阅读全文
posted @ 2020-04-02 10:22 阿坦 阅读(3320) 评论(0) 推荐(1)
摘要: 源码下载地址:https://github.com/lizhiqiang0204/Static-and-non-static-property-changes 程序集整体结构如下 MainWindow.xaml布局如下 <Grid> <Grid.RowDefinitions> <RowDefinit 阅读全文
posted @ 2020-03-12 14:42 阿坦 阅读(1423) 评论(0) 推荐(0)
摘要: 原因在于没有勾选Systenm tick timer 两个Handler选项 阅读全文
posted @ 2020-03-03 11:16 阿坦 阅读(6999) 评论(2) 推荐(0)
摘要: 在前台UI创建一个Label绑定到myLabel <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schema 阅读全文
posted @ 2020-02-29 13:01 阿坦 阅读(3791) 评论(0) 推荐(0)
摘要: 程序集整体框架如下 主窗体UI文件MainWindow.xaml <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http: 阅读全文
posted @ 2020-02-26 16:15 阿坦 阅读(15334) 评论(5) 推荐(2)
摘要: 还是车牌识别的例子 read_image (Image, 'C:/Users/LiZhiqiang/Desktop/车牌2.jpg')//读取图像 rgb1_to_gray (Image, GrayImage)//转化成灰度图像 threshold (GrayImage, Regions, 21, 阅读全文
posted @ 2020-02-21 17:02 阿坦 阅读(3956) 评论(0) 推荐(0)