?? form1.cs
字號(hào):
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace PhoneTest
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
string num = textBox1.Text;
PhoneDailing.MakeCall(num);
}
private void button2_Click(object sender, EventArgs e)
{
string s = ControlTapi.GetIMEINumber() + "\n" + ControlTapi.GetIMSINumber();
this.labNum.Text = s;
}
private void button3_Click(object sender, EventArgs e)
{
try
{
PhoneAddress pa = Sim.GetPhoneNumber();
this.tb_num.Text = pa.AddressType.ToString()+" "+pa.Address;
}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
}
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -