随笔分类 -  Programming

1 2 3 4 5 ··· 8 下一页
.Net(C#, WPF), OpenGL
摘要:1.删除第一个匹配数据: >>> a = [0, 2, 3, 2] >>> a.remove(2) >>> a [0, 3, 2] 2.根据index删除数据: >>> a = [9, 8, 7, 6] >>> del a[1] >>> a [9, 7, 6] 3.根据index删除数据并返回该数据 阅读全文
posted @ 2020-07-30 10:27 马语者 阅读(45368) 评论(0) 推荐(2) 编辑
摘要:PS:网上看到的AS配置国内镜像源的博客版本有点老了,就想着做个比较新的博客了推荐的几个国内镜像源地址:1、东软信息学院(笔者当前在用)mirrors.neusoft.edu.cn 端口:802、北京化工大学ubuntu.buct.edu.cn/ubuntu.buct.cn 端口:803、中国科学院 阅读全文
posted @ 2020-07-29 14:44 马语者 阅读(3362) 评论(0) 推荐(0) 编辑
摘要:PICT安装与介绍PICT,全称是Pairwise Independent Combinatorial Testing tool,是一个免费的小工具。PICT接收一个纯文本的Model文件作为输入,然后输出测试用例集合。Model文件的格式如下:<ParamName> : <Value1>, <Va 阅读全文
posted @ 2020-07-10 14:25 马语者 阅读(1712) 评论(1) 推荐(0) 编辑
摘要:For years, NVDA has used Py2exe to package Python code into something that is executable on a system that doesn't have Python installed. For Python 2. 阅读全文
posted @ 2019-07-22 09:00 马语者 阅读(679) 评论(0) 推荐(1) 编辑
摘要:System是Windows页面内存管理进程,拥有0级优先权,没有它系统无法启动 就是说,System进程是无法关闭的,所以不要尝试去强行关闭,可能引起电脑异常查看是否是IIS占用的, 进入电脑控制面板 → 程序 → 启动或者关闭Windows功能 取消勾选Internet Information 阅读全文
posted @ 2019-02-23 14:05 马语者 阅读(1103) 评论(0) 推荐(1) 编辑
摘要:图形上下文导论(Introduction to SWT Graphics) 摘要: org.eclipse.swt.graphics包(package),包含了管理图形资源的类。只要实现了org.eclipse.swt.graphics.Drawable接口,就可在上面绘画,包括 org.eclip 阅读全文
posted @ 2019-02-18 22:17 马语者 阅读(303) 评论(0) 推荐(0) 编辑
摘要:Java is a multi-threaded programming language which means we can develop multi-threaded program using Java. A multi-threaded program contains two or m 阅读全文
posted @ 2019-02-18 20:49 马语者 阅读(300) 评论(0) 推荐(0) 编辑
摘要:使用时ObservableCollection必须使用get set属性声明,才能成功的绑定到控件。 阅读全文
posted @ 2019-01-14 15:01 马语者 阅读(1758) 评论(0) 推荐(0) 编辑
摘要:1)、C#语法中一个个问号(?)的运算符是指:可以为 null 的类型。 MSDN上面的解释: 在处理数据库和其他包含不可赋值的元素的数据类型时,将 null 赋值给数值类型或布尔型以及日期类型的功能特别有用。例如,数据库中的布尔型字段可以存储值 true 或 false,或者,该字段也可以未定义。 阅读全文
posted @ 2019-01-05 13:00 马语者 阅读(2321) 评论(0) 推荐(1) 编辑
摘要:通过python获取当前mac地址的方法如下:(1)通用方法,借助uuid模块def get_mac_address(): import uuid node = uuid.getnode() mac = uuid.UUID(int = node).hex[-12:] return mac (2)按照 阅读全文
posted @ 2018-12-20 08:28 马语者 阅读(530) 评论(0) 推荐(0) 编辑
摘要:原文地址:http://www.vonwei.com/post/UniqueDeviceIDforWindows.html 唯一的标识一个设备是一个基本功能,可以拥有很多应用场景,比如软件授权(如何保证你的软件在授权后才能在特定机器上使用)、软件License,设备标识,设备身份识别等。下面列举一下 阅读全文
posted @ 2018-12-02 15:22 马语者 阅读(31362) 评论(1) 推荐(5) 编辑
摘要:Then, used an extension method like this: You can then just call 阅读全文
posted @ 2018-11-25 15:11 马语者 阅读(2409) 评论(0) 推荐(0) 编辑
摘要:アプリケーション ドメインにおいて起動時に読み込まれない別のアセンブリ (.dll や .exe) を読み込む場合、System.Reflection.Assemby クラスの Load メソッドを使用します。この場合はアセンブリ名を指定しますが、特定の場所に保持しているファイルからアセンブリをロー 阅读全文
posted @ 2018-11-04 12:17 马语者 阅读(1719) 评论(0) 推荐(0) 编辑
摘要:「C#を使う最大のメリットって、やっぱり、Visual Studioですよね!」って自信を持って言いたいですね。 という心境ではあるんですが、私の仕事はどっちかというとC++よりなので、どうしても、DllImportはお友達という側面があります。そうすると、プログラム実行時に、 AnyCPUなアセン 阅读全文
posted @ 2018-11-04 11:39 马语者 阅读(890) 评论(0) 推荐(0) 编辑
摘要:namespace PostViewer { using System.Collections.ObjectModel; using System.ComponentModel; /// <summary> /// 数据类型ViewModel. /// </summary> public class 阅读全文
posted @ 2018-08-23 17:59 马语者 阅读(1371) 评论(1) 推荐(0) 编辑
摘要:需要两个属性: 1. Grid.IsSharedSizeScope="True" 2. SharedSizeGroup=名称 <StackPanel Margin="15" Grid.IsSharedSizeScope="True"> <Grid> <Grid.ColumnDefinitions> 阅读全文
posted @ 2018-08-23 17:56 马语者 阅读(2867) 评论(0) 推荐(1) 编辑
摘要:(1)、C#语法中一个个问号(?)的运算符是指:可以为 null 的类型。 MSDN上面的解释: 在处理数据库和其他包含不可赋值的元素的数据类型时,将 null 赋值给数值类型或布尔型以及日期类型的功能特别有用。例如,数据库中的布尔型字段可以存储值 true 或 false,或者,该字段也可以未定义 阅读全文
posted @ 2018-08-22 11:41 马语者 阅读(4789) 评论(0) 推荐(0) 编辑
摘要:<toolkit:DataGridComboBoxColumn x:Name="DgCbcSignal" Header="信号源" SelectedItemBinding="{Binding SelectedSignal}" > <toolkit:DataGridComboBoxColumn.Ele 阅读全文
posted @ 2018-08-21 16:23 马语者 阅读(1418) 评论(0) 推荐(0) 编辑
摘要:添加下面引用即可: https://github.com/SaladLab/NetLegacySupport 阅读全文
posted @ 2018-08-01 19:16 马语者 阅读(462) 评论(0) 推荐(0) 编辑
摘要:步骤 阅读全文
posted @ 2018-07-27 16:28 马语者 阅读(3307) 评论(0) 推荐(0) 编辑

1 2 3 4 5 ··· 8 下一页