代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/114696/15041671
java circle.java
// Circle.java
// Circle类定义
public class Circle extends Point { //继承点类
protected double radius;
// 构造函数
public Circle()
{
// 隐含调用父类的构造函数
setRadius( 0 );
}
www.eeworm.com/read/114696/15041677
java test.java
// Test.java
//Employee主程序模块
import javax.swing.JOptionPane;
import java.text.DecimalFormat;
public class Test {
public static void main( String args[] )
{
Employee ref; // ref为E
www.eeworm.com/read/114696/15041680
java pieceworker.java
// PieceWorker.java
// PieceWorker类是由 Employee继承
public final class PieceWorker extends Employee {
private double wagePerPiece; // 生产量
private int quantity; // 工作周数
// Construct
www.eeworm.com/read/114696/15041682
java hourlyworker.java
// HourlyWorker.java
// Definition of class HourlyWorker
public final class HourlyWorker extends Employee {
private double wage; //每小时工资
private double hours; //每周工作时间
// Construc
www.eeworm.com/read/114696/15041688
java boss.java
// Boss.java
// Boss 类是Employee继承
public final class Boss extends Employee {
private double weeklySalary;
// 经理Boss类的构造函数
public Boss( String first, String last, double s)
{
www.eeworm.com/read/114690/15041782
txt 插入命令.txt
string myExecuteQuery="INSERT INTO Customer (客户号,邮编,地址,客户名,身份证,卡号,商务电话,家庭电话,手机) VALUES ("+thenum+",'"+thisDataSet.Tables["ExcelInfo"].Rows[i][0].ToString()+"','"+thisDataSet.Tables["ExcelInfo"].
www.eeworm.com/read/114690/15041868
txt listview填充数据.txt
//
//填充数据
listViewReco.Items.Clear();
ListViewItem lvi;
listViewReco.BeginUpdate();
for (int i=0; i
www.eeworm.com/read/114690/15041922
txt 清空控件.txt
string mytext;
foreach(Control co in this.Controls)
{
mytext=co.GetType().ToString();
if(mytext=="System.Windows.Forms.TextBox")
((TextBox)co).Text="";
}
www.eeworm.com/read/114690/15041951
txt ipaddress类.txt
using System.Net;
IPAddress ia=IPAddress.Parse("192.168.1.2");
int iAddress=(int)ia.Address;
string sAddress=ia.ToString();
tbIPAddress.Text=sAddress;
www.eeworm.com/read/114690/15041954
txt 抓取client的mac(網卡的號碼).txt
ManagementObjectSearcher query =new ManagementObjectSearcher("SELECT * FROM Win32_NetworkAdapterConfiguration") ;
ManagementObjectCollection queryCollection = query.Get();
foreach( ManagementObject