陈先生☁
码龄3年
  • 31,137
    被访问
  • 129
    原创
  • 40,784
    排名
  • 5
    粉丝
关注
提问 私信
  • 加入CSDN时间: 2019-05-13
博客简介:

qq_45057298的博客

查看详细资料
  • 4
    领奖
    总分 787 当月 3
个人成就
  • 获得97次点赞
  • 内容获得1次评论
  • 获得7次收藏
创作历程
  • 1篇
    2022年
  • 128篇
    2021年
成就勋章
TA的专栏
  • WPF
    19篇
  • 面试知识点
    28篇
  • 力扣
    23篇
  • 数据库
    1篇
  • 1
    2篇
兴趣领域 设置
  • 数据结构与算法
    排序算法
  • 大数据
    mysql
  • 微软技术
    sql
  • 最近
  • 文章
  • 资源
  • 问答
  • 帖子
  • 视频
  • 课程
  • 关注/订阅/互动
  • 收藏
搜TA的内容
搜索 取消

数组指针和指针数组

指针数组: 就是由指针变量组成的数组,它的成员是指针变量 int* arr[10]; 数组指针: 专门指向数组的指针 类型 (*arr)[长度] int (*arr)[10];
原创
发布博客 2022.03.08 ·
16 阅读 ·
0 点赞 ·
0 评论

已在“VisualTreeChanged”事件期间更改可视化树问题

需要修改设置: 工具->选项 ->调试->常规->下拉取消启用XMAL的UI调试工具
原创
发布博客 2021.12.13 ·
842 阅读 ·
1 点赞 ·
0 评论

AddRange

作用:在列表中添加元素的整个集合例如: resultTemp3.AddRange(resultTemp.Where(p => strategy_id == p.strategy_id));将resultTemp中经过where筛选的元素放入resultTemp3中
原创
发布博客 2021.12.10 ·
126 阅读 ·
0 点赞 ·
0 评论

try-catch

try-catch 语句包含一个后接一个或多个 catch 子句的 try 块,这些子句指定不同异常的处理程序。try { comm_id = ulong.Parse(command_id); } catch (Exception) { comm_id = 0; }...
原创
发布博客 2021.12.09 ·
209 阅读 ·
1 点赞 ·
0 评论

foreach循环

asp.net 中 foreach 语法_yanhexiao2221的博客-CSDN博客_asp.net foreachforeach (var allinfo in InfoList2){ //方法}
原创
发布博客 2021.12.07 ·
22 阅读 ·
1 点赞 ·
0 评论

LINQ检索结果作为Binding的源----查询

一、创建一个类 public class Student { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } }二、UI<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft
原创
发布博客 2021.12.03 ·
20 阅读 ·
1 点赞 ·
0 评论

一个TextBox显示另一个TextBox的文本长度

<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" .
原创
发布博客 2021.12.03 ·
126 阅读 ·
1 点赞 ·
0 评论

WPF Binding参数总结

1、ElementName 元素名,连接的目标2、Mode:绑定的方式 1、OneWay 单向绑定,当绑定源(源)更改时,更新绑定目标(目标)属性。 2、Default使用绑定目标的默认Mode值。每个依赖项属性的默认值都不同。 3、OneTime当应用程序启动或数据上下文更改时,更新绑定目标。 ...
原创
发布博客 2021.12.03 ·
190 阅读 ·
1 点赞 ·
0 评论

一个TextBox显示另一个TextBox的文本的第4个字符

<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" .
原创
发布博客 2021.12.03 ·
127 阅读 ·
1 点赞 ·
0 评论

WPF深入浅出学习笔记 控件

随缘更新,用到啥写啥,自己的理解如若有误,欢迎指正补充,谢谢
原创
发布博客 2021.12.02 ·
138 阅读 ·
1 点赞 ·
0 评论

WPF 快捷键

随缘更新,用到啥写啥,自己的理解如若有误,欢迎指正补充,谢谢
原创
发布博客 2021.12.02 ·
139 阅读 ·
1 点赞 ·
0 评论

WPF深入浅出学习笔记 UI布局

随缘更新,用到啥写啥,自己的理解如若有误,欢迎指正补充,谢谢
原创
发布博客 2021.12.01 ·
291 阅读 ·
1 点赞 ·
0 评论

深入浅出WPF笔记:路由事件------报告事件发生的时间

一、创建RoutedEventArgs类的派生类,为其添加ClickTime属性//承载时间信息的事件参数class ReportTimeEventArgs : RoutedEventArgs{ public ReportTimeEventArgs(RoutedEvent routedEvent, object source) : base(routedEvent, source) { } public DateTime ClickTime { get; set; }}二、
原创
发布博客 2021.12.01 ·
141 阅读 ·
1 点赞 ·
0 评论

声明和使用依赖属性

一、界面准备<Window x:Class="_1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
原创
发布博客 2021.12.01 ·
173 阅读 ·
1 点赞 ·
0 评论

控件作为Binding的源与Binding标记拓展

一、效果二、代码 MainWindow.xaml<Window x:Class="Student_Binding.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.micro.
原创
发布博客 2021.11.30 ·
101 阅读 ·
2 点赞 ·
0 评论

Student Binding

一、实现INotifyPropertyChanged接口的Student类 class Student : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private string name; public string Name { get { return name; }
原创
发布博客 2021.11.30 ·
16 阅读 ·
1 点赞 ·
0 评论

简单加法计算器MVVM

一、普通界面搭建 <Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="*"/> </Grid.RowDefinitions> <Button Content="Save"/> <Grid Grid.Row
原创
发布博客 2021.11.30 ·
189 阅读 ·
1 点赞 ·
0 评论

MVVM 设计模式

一、什么是MVVM设计模式:MVVM=Model一View-ViewModel。二、为什么要使用MVVM模式1、团队层面:统一思维方式和实现方法2、架构层面:稳定,解耦,富有禅意3、代码层面:可读,可测,可替换三、什么是Model1、现实世界中对象的抽象结果四、什么是View和ViewModelView=UIViewModel=ModelforView...
原创
发布博客 2021.11.29 ·
554 阅读 ·
1 点赞 ·
0 评论

wpf Binding

一、步骤1、创建接口类 class Student : INotifyPropertyChanged { public event PropertyChangedEventHandler PropertyChanged; private string name; public string Name { get { return name; } set
原创
发布博客 2021.11.29 ·
105 阅读 ·
1 点赞 ·
0 评论

VS2015重新打开solution Exploer(解决方案资源管理器)

解决方法:1、视图->解决方案资源管理器2、视图->Ctrl+Alt+L3、View->Solution Explorer(无汉化版)
原创
发布博客 2021.11.26 ·
288 阅读 ·
1 点赞 ·
0 评论
加载更多