导入了一个idea project ,编译运行时候,提示Error:java: Compilation failed: internal java compiler error。查看了model的jdk版本,无异常,其实只需设置Setting->Compiler->Java Compiler,发现有的module是1...
分类:
编程语言 时间:
2014-12-24 12:06:31
阅读次数:
979
@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
super.onActivityResult(requestCode, resultCode, data);
if (resultCode == RESULT_OK) {
switch (requestC...
分类:
移动开发 时间:
2014-12-24 11:52:24
阅读次数:
233
fun2(); } public function fun3(){ echo 'b3'; } public function fun4(){ echo 'b4'; parent::fun3(); }}$b = new b(); ...
分类:
Web程序 时间:
2014-12-24 11:33:46
阅读次数:
270
div使用jqueryui 源码 | gridview多个功能的源码一、gridview 选中行 改变颜色,双击选中 改变颜色 protected void gv1_SelectedIndexChanged(object sender, EventArgs e) { ...
分类:
Web程序 时间:
2014-12-23 19:27:28
阅读次数:
160
1、UpdatePanel 使用中 protected void Button1_Click(object sender, EventArgs e) { this.Label1.Text = "测试时间:" + DateTime.Now.ToString(); ScriptManager.Regis...
分类:
Web程序 时间:
2014-12-23 19:03:09
阅读次数:
143
第一、objective C中继承的实现
在oc中只有实例变量会有权限控制,实例方法和类方法是没有权限控制的,这点与c++不同,OC默认的是protected,并且在声明权限控制时,没有分号
在OC中可以像C++一样用指针运算法来访问实例变量
Rectangle.h 文件代码:
#import
@interface Rectangle : NSObject
{
in...
分类:
其他好文 时间:
2014-12-23 17:31:15
阅读次数:
172
.Net 视频学习第3季C#面向对象面向对象 访问修饰符C#五种访问修饰符1)可以修饰类的访问修饰符只有两个:public,internal(默认)internal:只可以在当前程序集(先理解为项目)中访问public:公共的项目A访问项目B中的public类,首先要在项目A的引用中添加项目B,然后...
common.ps1
cls;
#Global is public
#Script is internal
#Script is Script
#Local is current stack level
#Numbered scopes are from 0..N where each step is up to stack level (and 0 is Local)
$...
分类:
系统相关 时间:
2014-12-23 10:31:10
阅读次数:
519
首先看下面的代码:
using System;
namespace Test
{
public class Base
{
public void Print()
{
Console.WriteLine(Operate(8, 4));
}
protected virtual int Operate(int x, int y)
{
return x + y;
...
第一种方法:1. 在设计页面,有一个button按钮,当用户单击按钮的时候,发生转换 View Code2. 发生转换的代码 protected void Export_Click(object sender, EventArgs e) { using (SqlCon...
分类:
其他好文 时间:
2014-12-22 19:26:32
阅读次数:
158