随笔分类 -  Programming

上一页 1 2 3 4 5 6 ··· 8 下一页
.Net(C#, WPF), OpenGL
摘要:标准控件1 btn Button2 chk CheckBox3 ckl CheckedListBox4 cmb ComboBox5 dtp DateTimePicker6 lbl Label7 llb LinkLabel8 lst ListBox9 lvw ListView10 mtx Masked 阅读全文
posted @ 2018-07-19 11:34 马语者 阅读(621) 评论(0) 推荐(0) 编辑
摘要:Stopwatch 类命名空间:System.Diagnostics.Stopwatch实例化:Stopwatch getTime=new Stopwatch();开始计时:getTime.Start(); getTime.Stop(); Console.WriteLine("getTime:"+totleTime .ElapsedMillise... 阅读全文
posted @ 2018-07-11 17:55 马语者 阅读(508) 评论(0) 推荐(0) 编辑
摘要:VsVim - Shortcut Key (快捷键) Enable / Disable 还可以通过 Ctrl+Shift+F12 在 Visual Studio 中实现 Enable / Disable。 vim和记事本或WORD不一样,不是一打开后就可以输入文字,此时它处于正常模式。 vim一共有 阅读全文
posted @ 2018-07-11 15:28 马语者 阅读(2187) 评论(0) 推荐(0) 编辑
摘要:首先:这版本需要.NetFrameWork SP1的支持 WPF Toolkit - February 2010 Release 下载地址:http://wpf.codeplex.com/releases/view/40535 下载安装文件,安装以后,在目录: C:\Program Files\WP 阅读全文
posted @ 2018-04-25 16:34 马语者 阅读(1854) 评论(0) 推荐(0) 编辑
摘要:VS菜单: 工具 > 选项 > 调试 > 常规 > 启用Xaml 的UI调试工具。把勾勾去掉。 阅读全文
posted @ 2018-03-29 17:06 马语者 阅读(411) 评论(0) 推荐(0) 编辑
摘要:volatile这个关键字可能很多朋友都听说过,或许也都用过。在Java 5之前,它是一个备受争议的关键字,因为在程序中使用它往往会导致出人意料的结果。在Java 5之后,volatile关键字才得以重获生机。 volatile关键字虽然从字面上理解起来比较简单,但是要用好不是一件容易的事情。由于v 阅读全文
posted @ 2018-02-27 16:02 马语者 阅读(200) 评论(0) 推荐(0) 编辑
摘要:一、查看当前使用的exlipse 版本型号 在exlpse 选项栏找到Help --> about Eclipse 选项即可看到当前exlipse 的版本型号。如图: 二、到官网上去下载相匹配的SWT插件,或者直接在线安装 SWT插件的下载地址:http://www.eclipse.org/windowbuilder/download.php 找到和你使用的exlipse版... 阅读全文
posted @ 2018-02-27 12:08 马语者 阅读(1011) 评论(0) 推荐(0) 编辑
摘要:別スレッドにするタスクの作成 別にスレッドにしたい処理を、Runnable インタフェースを実装したクラスのrumメソッドに実装する。 public class TestRunnable implements Runnable { public void run() { // スレッドIDを出力する 阅读全文
posted @ 2017-10-30 12:42 马语者 阅读(196) 评论(0) 推荐(0) 编辑
摘要:介绍new Thread的弊端及Java四种线程池的使用,对Android同样适用。本文是基础篇,后面会分享下线程池一些高级功能。 1、new Thread的弊端执行一个异步任务你还只是如下new Thread吗? Java 1 2 3 4 5 6 7 new Thread(new Runnable 阅读全文
posted @ 2017-10-30 10:37 马语者 阅读(207) 评论(0) 推荐(0) 编辑
摘要:直接写用Excel打开时会乱码,需要加上下面代码中注释的三行 fos = new FileOutputStream(file, false); //fos.write( 0xef ); //fos.write( 0xbb ); //fos.write( 0xbf ); iowriter = new 阅读全文
posted @ 2017-10-30 09:11 马语者 阅读(1613) 评论(0) 推荐(0) 编辑
摘要:写Java也有n年了,现在还是有不少的坏的代码习惯,也通过学习别人的代码学到了不少好的习惯。这篇文章主要是整理的资料。留给自己做个警戒,提示以后写代码的时候注意!在文章的后面,会提供整理的原材料下载。 一、类和对象使用技巧 1、尽量少用new生成新对象 用new创建类的实例时,构造雨数链中所有构造函 阅读全文
posted @ 2017-10-17 14:49 马语者 阅读(285) 评论(0) 推荐(0) 编辑
摘要:C++ Convert String to Double Speed (There is also a string-to-int performance test.) A performance benchmark of which method is faster of converting a 阅读全文
posted @ 2017-09-27 01:27 马语者 阅读(1345) 评论(1) 推荐(0) 编辑
摘要:Find 方法在区域中查找特定信息。 语法 表达式.Find(What, After, LookIn, LookAt, SearchOrder, SearchDirection, MatchCase, MatchByte, SearchFormat) 表达式 一个代表 Range 对象的变量。 参数 阅读全文
posted @ 2017-08-24 18:25 马语者 阅读(19739) 评论(0) 推荐(0) 编辑
摘要:Excel Add-in - How to automate installation Thursday, 20 October 2011 Automatic Approach ​The best way to automate the adding of the Sharperlight Exce 阅读全文
posted @ 2017-08-18 18:14 马语者 阅读(1107) 评论(0) 推荐(0) 编辑
摘要:Set wsh = VBA.CreateObject("WScript.Shell") 'wsh.Run strExePath & " g", vbHide, True Set wshOut = wsh.exec(strExePath & " g").StdOut While Not wshOut. 阅读全文
posted @ 2017-05-29 22:26 马语者 阅读(2468) 评论(0) 推荐(0) 编辑
摘要:C#对象序列化与反序列化(转载自:http://www.cnblogs.com/LiZhiW/p/3622365.html) 1. 对象序列化的介绍.................................................................... 2 (1) . 阅读全文
posted @ 2016-08-30 14:02 马语者 阅读(766) 评论(1) 推荐(0) 编辑
摘要:C#与C++交互,总体来说可以有两种方法: 利用C++/CLI作为代理中间层 利用PInvoke实现直接调用 第一种方法:实现起来比较简单直观,并且可以实现C#调用C++所写的类,但是问题是MONO构架不支持C++/CLI功能,因此无法实现脱离Microsoft .NET Framework跨平台运 阅读全文
posted @ 2016-08-23 21:41 马语者 阅读(8075) 评论(0) 推荐(0) 编辑
摘要:TranslateTransformを対象に、DoubleAnimation型のアニメーションを使用して、TranslateTransform.Xプロパティを ”-1 * Imageコントロールの幅” → 0 に変化させます。 -- MainWindow.xaml.cs -- Storyboard 阅读全文
posted @ 2016-07-12 19:53 马语者 阅读(365) 评论(0) 推荐(0) 编辑
摘要:[摘要:msvcr100.dll:MS Visual C Runtime 100 msvcp100.dll:MS Visual CPp 100 vs建立的工程,运转时库的范例有MD(MDd)战MT(MTd)。 个中,MD(MDd)运转时库由操纵体系供应dll,顺序没有会静态天将库链进,构建出的程] msvcr100.dll:MS Visual C Runtime 100 msvcp100... 阅读全文
posted @ 2016-05-03 22:07 马语者 阅读(2075) 评论(0) 推荐(0) 编辑
摘要:Appears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA. In VBA select menu item T 阅读全文
posted @ 2016-05-03 13:40 马语者 阅读(879) 评论(0) 推荐(0) 编辑

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