using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace TabControl实用工具
{
public partial class Tools : Form
{
MobileWebService.MobileCodeWSSoapClient Mobile_huang = new
MobileWebService.MobileCodeWSSoapClient("MobileCodeWSSoap");
TrainWebService.TrainTimeWebServiceSoapClient Train_huang = new
TrainWebService.TrainTimeWebServiceSoapClient("TrainTimeWebServiceSoap");
AirWebService.DomesticAirlineSoapClient Air_huang = new
AirWebService.DomesticAirlineSoapClient("DomesticAirlineSoap");
IpWebservice.IpAddressSearchWebServiceSoapClient IpAdd_huang = new
IpWebservice.IpAddressSearchWebServiceSoapClient("IpAddressSearchWebServiceSoap");
QQWebService.qqOnlineWebServiceSoapClient QQline_huang = new
QQWebService.qqOnlineWebServiceSoapClient("qqOnlineWebServiceSoap");
StockWebService.ChinaStockWebServiceSoapClient Stock_huang = new
StockWebService.ChinaStockWebServiceSoapClient("ChinaStockWebServiceSoap");
string qqNumber;
DataSet ds = new DataSet();
public Tools()
{
InitializeComponent();
timer1.Interval = 1000;
timer1.Tick += new EventHandler(timer1_Tick);
timer1.Start();
}
private void timer1_Tick(object sender, EventArgs e)
{
if (System.DateTime.Now.Second > 9)
lb_time.Text = System.DateTime.Now.Hour.ToString() + ":" +
System.DateTime.Now.Minute.ToString() + ":" + System.DateTime.Now.Second.ToString();
else
lb_time.Text = System.DateTime.Now.Hour.ToString() + ":" +
System.DateTime.Now.Minute.ToString() + ":" + "0" +
System.DateTime.Now.Second.ToString();
}
private void mobile_bn_Click(object sender, EventArgs e)
{
//MobileWebService.MobileCodeWSSoapClient Mobile_huang = new
MobileWebService.MobileCodeWSSoapClient("MobileCodeWSSoap");
label3.Text = Mobile_huang.getMobileCodeInfo(tb_phonenum.Text.Trim(),"");
- 1
- 2
- 3
前往页