- 博客(9)
- 收藏
- 关注
原创 WPF的MVVM下的下拉框设计
采用MVVM需要将下拉显示内容放在VM中实现,这里需要注意的是,在构建过程中发现在前端采用 的形式,前端界面可以点击操作显示出下拉项,但是在VM端采用绑定的形式下拉项不出现。VM文件代码,需要在该文件写绑定的事件,数据结构也可以放在该文件,如果下拉项绑定的数据是相关联的可以定义数据结构,先写定义好属性。随后定义的逻辑代码和显示代码放在函数里面实现,该函数最后在构造函数中调用。以下只是本人开发过程中的经历和思考,仅供参考!不正确之处,敬请批评指正。
2024-09-27 09:43:12 100
转载 2018 Asia and Pacific Mathematical Contest in Modeling Problem A
Real-time training model for elderly people balance abilityFalls are common in the elderly population. Falls may cause many complications in elderly peoplebecause they generally have poor rehabilit...
2018-11-22 12:23:18 927 2
转载 2018 Asia and Pacific Mathematical Contest in Modeling Problem B
Talents and Urban DevelopmentInviting wits and attracting talents is one of the highlights for many cities over the past couple ofyears. Beijing, Shanghai, Wuhan, Chengdu, Xi'an, and Shenzhen are a...
2018-11-22 12:23:00 865
原创 三:Leetcode 第三题
c版int lengthOfLongestSubstring(char* s) { int n = strlen(s); int indexes[128] = {0}; int max = 0; int len; for (int i = 0, j = 0; j < n; j++) { if (indexes[s[j]] >...
2018-10-12 00:55:57 445
原创 二:Leetcode 第二题
用的是队列,并不是自己写的,惭愧c版和c++版struct ListNode* addTwoNumbers(struct ListNode* l1, struct ListNode* l2) { struct ListNode*head=(struct ListNode*)malloc(sizeof(struct ListNode)), *tail = head;...
2018-10-12 00:37:12 240
原创 一:Leetcode 第一题
从现在开始刷了,非ACM参赛者,大三,非计算机专业1、C语言版/** * Note: The returned array must be malloced, assume caller calls free(). */#include <stdio.h>#include <stdlib.h>int* twoSum(int* nums, int num...
2018-10-08 12:51:29 177
原创 Linux:动态库操作的四种方式
1、放到系统库目录中--不允许使用(不详细讨论)2、临时测试 环境变量 :LD_LIBRARY_PATH .将动态库的路径设置给该变量 将设置的值,导入到系统环境变量:export LD_LIBRARY_PATH =路径(可为相对路径) 当终端关闭,设置会失效 或是使用以下语句:...
2018-10-03 01:08:54 283
原创 二:STM32ADC_Arduio
The STM32 is a family of microcontroller ICs based on the 32-bit RISC ARM Cortex-M7F, Cortex-M4F, Cortex-M3, Cortex-M0+, and Cortex-M0 cores.[1]STMicroelectronics licenses the ARM Processor IP from AR...
2018-10-02 16:25:09 322
原创 一:Arduino 控制STM32调试输出PWM
The First:Using Arduino IDE to run STM32’PWM Step 1: Getting ready . Download package for STM32 at http://github.com...
2018-09-30 20:46:52 4780 3
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人