代码搜索:toString
找到约 10,000 项符合「toString」的源代码
代码结果 10,000
www.eeworm.com/read/103250/15738828
cs rtfdocument.cs
using System;
using System.Drawing;
namespace RichTextBoxSupportsXHTML
{
///
/// Summary description for RtfDocument.
///
public class RtfDocument
{
private RtfF
www.eeworm.com/read/103038/15748354
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/103038/15748371
txt 变量初始化.txt
--------------------------正确
int i;
string text;
text="";
for(i=0;i
www.eeworm.com/read/103038/15748379
txt 日期比较.txt
DateTime t1 = new DateTime(2002,5,30);
DateTime t2 = new DateTime(2002,5,23);
TimeSpan diff=t1-t2;
MessageBox.Show(diff.Days.ToString());
www.eeworm.com/read/103038/15748410
txt listview填充数据.txt
//
//填充数据
listViewReco.Items.Clear();
ListViewItem lvi;
listViewReco.BeginUpdate();
for (int i=0; i
www.eeworm.com/read/103038/15748422
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/103038/15748440
txt 字符串下标调用控件.txt
//调用
private void button1_Click(object sender, System.EventArgs e)
{
for(int i=1;i
www.eeworm.com/read/103038/15748445
txt 定自已的格式化类.txt
public class Vector:IFormattable
{
public double x,y,z;
public Vector(double dx,double dy,double dz)
{
x=dx;
y=dy;
z=dz;
}
public string ToString(string format,IFormatProv
www.eeworm.com/read/103035/15749077
java readfile.java
import java.io.*;
public class ReadFile{
Word w;
Data d;
Interpunction i;
public ReadFile(File F1)throws IOException{
try{
if(!F1.exists())throw new FileExistError();
if(!F1.isFi
www.eeworm.com/read/103035/15749079
java readdictionary.java
import java.io.*;
import java.util.Hashtable;
public class ReadDictionary{
Hashtable dictionary;
public ReadDictionary(File F1){
try{
if(!F1.exists())throw new FileExistError();