码迷,mamicode.com
首页 >  
搜索关键字:public    ( 82854个结果
WinForm跨窗体传值
1、另一窗体建公共变量listdataRow public List<DataGridViewRow> listdataRow = new List<DataGridViewRow>(); FRM_TR_CurrencyQueryEx_View2_DLCR frmTrCurrencyQueryEx ...
分类:Windows程序   时间:2016-05-25 16:53:13    阅读次数:174
一个数分解因式
importjava.util.Scanner;publicclassDemo1{ publicstaticvoidmain(String[]args){ Scannerinput=newScanner(System.in); System.out.println("请输入一个数"); intnum=input.nextInt(); Stringstr=""; inti; for(i=2;i<num;i++){ if(num%i==0){ str+=i+"*";//st..
分类:其他好文   时间:2016-05-25 15:19:12    阅读次数:130
javascript 实现table展开折叠
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> < ...
分类:编程语言   时间:2016-05-25 15:08:35    阅读次数:462
spring boot 拦截器添加
@Configuration public class WebMvcConfig extends WebMvcConfigurerAdapter { @Override public void addInterceptors(InterceptorRegistry registry) { regis ...
分类:编程语言   时间:2016-05-25 14:49:47    阅读次数:304
二叉树--根据遍历构造二叉树
二叉树中的三种遍历方式,是我们最为熟知的,通过先序遍历+中序遍历或者是中序遍历+后序遍历都可以唯一确定一棵二叉树;但是注意,先序遍历+后序遍历不能确定一棵二叉树,但是如果一棵二叉树中只有度为0和度为2的节点,那么这种遍历方式也是可以确定一棵确定的二叉树的。先序+中序–>构造二叉树下面我们分别来看一下,根据先序+中序遍历的顺序,如何恢复一棵二叉树,代码如下://首先采用递归的方式 public Tre...
分类:其他好文   时间:2016-05-25 13:28:22    阅读次数:230
注册码倒计时
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o ...
分类:其他好文   时间:2016-05-25 12:58:36    阅读次数:245
DataTable数据导出Excel 并且下载
public string Excel(System.Data.DataTable dt) { //模板的路径 string strUploadPath = HttpContext.Current.Server.MapPath("../template/"); //模板的名称 string strF ...
分类:其他好文   时间:2016-05-25 12:52:17    阅读次数:135
Android Java语法学习
Activity中有一个名称叫onCreate的方法。该方法是在Activity创建时被系统调用,是一个Activity生命周期的开始。 onCreate方法的参数savedInstanceState onCreate方法的完整定义如下: public void onCreate(Bundle sa ...
分类:移动开发   时间:2016-05-25 12:51:42    阅读次数:193
jq时间戳动画
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or ...
分类:其他好文   时间:2016-05-25 11:11:27    阅读次数:668
自己搭建git 代码服务器
使用git服务器的工程师都需要生成一个ssh的公钥 ~/.ssh$ ssh-keygen Generating public/private rsa key pair. …………………… …………………… 然后一律按回车,完成后会在home目录下的.ssh目录中生成两个文件id_rsa(私有密钥)和 ...
分类:其他好文   时间:2016-05-25 10:52:15    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!