码迷,mamicode.com
首页 > Windows程序 > 周排行
Winfrom Panel Scroll End 的实现
场景:在一个panel里面有非常多的自定义绘制的控件,在拖拉滚动条的时候,控件的画面上有残影不知道大家遇到过这种情况没,一直做web的winform经验太少,有更好的解决办法请贡献首先放出我的解决思路:需要再滚动停止的时候重绘一下控件,panel的所有事件都加了一个打印输出,发现,滚动条在滚动的时候...
分类:Windows程序   时间:2015-05-06 13:03:01    阅读次数:129
C#关键字中的访问修饰符protected
https://msdn.microsoft.com/zh-cn/library/bcd5672a.aspx官方的说法Theprotectedkeyword is a member access modifier.A protected member is accessible within its...
分类:Windows程序   时间:2015-05-06 14:45:21    阅读次数:180
[精讲12] Windows Server 2012 DHCP高可用性
http://wenku.baidu.com/view/ea3173bbbb4cf7ec4afed087
分类:Windows程序   时间:2015-05-06 15:24:14    阅读次数:153
github for windows 简单的客户端托管代码
1)创建github账户登录https://github.com,只需用户名、注册邮箱和登录密码便能注册一个属于自己的github(之后需要到注册邮箱中进行确认,非常喜欢这种注册方式,简单而且安全)。之后便能通过github.com/用户名 的URL进行访问。2)安装github windows客户...
分类:Windows程序   时间:2015-05-06 22:49:45    阅读次数:218
C#的multi-casting delegate(委托)
using System;using System.IO;namespace ConsoleApplication2{ delegate void D(int x); class Program { static void Main(string[...
分类:Windows程序   时间:2015-05-07 07:34:44    阅读次数:196
WinForm学习 --简单的模拟时钟程序
写于2006-05-03 20:14,图片已丢失
分类:Windows程序   时间:2015-05-07 10:14:08    阅读次数:139
ASP.NET MVC API 路由生成规则
我们都知道调用ASP.NET MVC的某些API函数(诸如:Url.Action、RedirectToAction等)可以生成URL,ASP.NET MVC会根据调用API函数时传入的参数去匹配系统定义的路由(Route),然后通过匹配成功的路由去生成相应的URL。ASP.NET MVC会依次根据如...
分类:Windows程序   时间:2015-11-02 15:47:02    阅读次数:313
c#MD5珍藏
c#MD5珍藏using System;using System.Collections.Generic;using System.Text;namespace MD5{ public class Util { public string getMD5(string Wen...
分类:Windows程序   时间:2015-11-02 17:13:26    阅读次数:229
C#中让关闭按钮隐藏或失效的方法
1.将ControlBox属性设为False。这种方法是让标题栏中的除了标题名以外的其他的全部隐藏,也就是把图标,最小化、最大化和关闭按钮全部隐藏。2.让关闭按钮失效,方法是在事件里面找到FormCloseing事件,编辑该事件,在里面写上一条语句“e.Cancel = true;”,这样关闭按钮就...
分类:Windows程序   时间:2015-11-02 17:17:46    阅读次数:169
View requires API level 14 (current min is 8)
<GridLayoutandroid:columnCount="4"android:layout_width="wrap_content"android:layout_height="wrap_content"android:id="@+id/gridContainer"android:animateLayoutChanges="true"/>WhenIchangeandroid:columnCount="4"toandroid:columnCount="5",eclipseshowtheerro..
分类:Windows程序   时间:2015-11-03 23:09:05    阅读次数:319
c#中combox赋值
class item ? { ? public string Txt { get; set; } ? public string value { get; set; } ? public override string ToString() ? { ? return Txt; ? } ? } ? public partial class Form1 : Form ? { ...
分类:Windows程序   时间:2015-11-04 10:11:19    阅读次数:227
【Objective-C】Windows下Objective-C开发环境配置
【Objective-C】Windows下Objective-C开发环境配置ftp://ftpmain.gnustep.org/pub/gnustep/binaries/windows/ 最近打算针对iPhone、iPod touch和iPad开发一些应用,所以,需要开始学习Objective .....
分类:Windows程序   时间:2015-11-04 12:56:58    阅读次数:241
C# WinFrom 去掉groupbox的边框
代码如下: private void groupBox1_Paint(object sender, PaintEventArgs e) { e.Graphics.Clear(this.BackColor); } ?...
分类:Windows程序   时间:2015-11-04 13:20:36    阅读次数:208
C#占位符和格式化字符串
static void Main() { string c=Console.ReadLine(); string d=Console.ReadLine(); Console....
分类:Windows程序   时间:2015-11-04 14:39:48    阅读次数:402
WPF流程图制作系列相关基础二
我们现在知道 thumb ,可以让用户自行拖动其在 canvas上移动,在这个而基础上 我们可以试着往流程图方向靠近一下。我们知道,流程图,都是一个一个的流程块,然后用线连起来的,这一个一个的流程块可能会有各种各样的形状, 比如长方形,菱形这很简单 ,只需要设置 thumb使用不同的控件模板就ok....
分类:Windows程序   时间:2015-11-04 22:40:26    阅读次数:343
C#习题之一元二次方程
分类:Windows程序   时间:2015-11-05 20:19:52    阅读次数:209
windows 非窗口定时器
#ifndef _MYTIMER_H_#define _MYTIMER_H_#include #include #include #include #include #include "ttype.h"#include "lock.h"#pragma comment(lib, "Winmm.lib"...
分类:Windows程序   时间:2015-11-05 22:00:57    阅读次数:308
通读cheerio API ——NodeJs中的jquery
通读cheerio API ——NodeJs中的jquery所谓工欲善其事,必先利其器,所以通读了cheerio的API,顺便翻译了一遍,有些地方因为知道的比较少,不知道什么意思,保留了英文,希望各位不吝告诉我,然后一起把这个翻译完成。###cheerio 为服务器特别定制的,快速、灵活、实施的jQ...
分类:Windows程序   时间:2015-11-06 06:45:10    阅读次数:304
Window 通过cmd查看端口占用、相应进程、杀死进程等的命令
如何查看程序占用的端口一、 查看所有进程占用的端口在开始-运行-cmd,输入:netstat –ano可以查看所有进程二、查看占用指定端口的程序当你在用tomcat发布程序时,经常会遇到端口被占用的情况,我们想知道是哪个程序或进程占用了端口,可以用该命令 netstat –ano|findstr “...
分类:Windows程序   时间:2015-11-06 14:47:20    阅读次数:197
c#:类 相关练习;
1.2. int i = a.Length;//获取字符串的长度 a = a.ToLower();//将字符串中的大写英文字符转化为小写 a = a.ToUpper();//将字符串中的小写英文字符转化为大写 a = a.Substring(4,4); //索引是从0开始,长...
分类:Windows程序   时间:2015-11-07 00:59:50    阅读次数:358
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!