码迷,mamicode.com
首页 >  
搜索关键字:click    ( 10709个结果
pictureBox
private void pictureBox1_Click(object sender, EventArgs e) { openFileDialog1.Filter="*.jpg|*.jpg|*.bmp|*.bmp";//设置筛选列表 ...
分类:其他好文   时间:2014-12-15 13:28:47    阅读次数:170
C# 读取IE缓存文件(2)
private void button1_Click(object sender, EventArgs e) { int nNeeded = 0, nBufSize; IntPtr buf; INTERNET_CA...
分类:Windows程序   时间:2014-12-15 13:28:32    阅读次数:329
[leetcode]Simplify Path
问题描述: Given an absolute path for a file (Unix-style), simplify it. For example, path = "/home/", => "/home" path = "/a/./b/../../c/", => "/c" click to show corner cases. Corner Cases: D...
分类:其他好文   时间:2014-12-15 10:29:29    阅读次数:140
浅析c#中登录窗体和欢迎窗体关闭的问题
在c#的winform编程中,我们经常会做登录窗体或欢迎窗体,并把他们作为启动窗体。但是,我们有可能会遇到一些问题。请看下面的代码:private void button1_Click(object sender, EventArgs e) { this.Close(); ...
分类:Windows程序   时间:2014-12-15 10:16:12    阅读次数:222
Palindrome Number -- leetcode
Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindromes? (ie, -1) If you are thinking of convertin...
分类:其他好文   时间:2014-12-15 09:03:15    阅读次数:154
确定文件的位置--浏览文件夹对话框folderBrowserDialog
private void button1_Click(object sender, EventArgs e) { folderBrowserDialog1.ShowNewFolderButton = true;//是否显示新建的文件夹选项 D...
分类:其他好文   时间:2014-12-15 00:05:18    阅读次数:202
saveFileDialog对话框
private void button1_Click(object sender, EventArgs e) { saveFileDialog1.Filter = "*.txt|*.txt|*.exe|*.exe";//设置文件筛选条件,只保存文本和可执行文件 ...
分类:其他好文   时间:2014-12-14 23:58:56    阅读次数:334
如何找到文件的家-打开文件对话框openFileDialog
private void button1_Click(object sender, EventArgs e) { openFileDialog1.Filter = "*.txt|*.txt";//设置文件 DialogResult dr = ...
分类:其他好文   时间:2014-12-14 22:37:12    阅读次数:179
messagebox
private void button1_Click(object sender, EventArgs e) { /*//弹出消息对话框,包含确定按钮 MessageBox.Show("消息","标题"); //弹出消息...
分类:其他好文   时间:2014-12-14 21:13:48    阅读次数:156
jquery中index实现列表中元素的显示和隐藏
var last = ""; var lastIndex = ""; $(".ykyw_list2 ul li").click(function(){ var current = $(this); var currentIndex = $(this).inde...
分类:Web程序   时间:2014-12-14 21:13:16    阅读次数:194
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!