亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? chargemanageform.cs

?? C#電信管理系統
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace ChargeManageForm
{
	/// <summary>
	/// Form1的摘要說明。
	/// </summary>
	public class Form1 : System.Windows.Forms.Form
	{
		private System.Windows.Forms.GroupBox groupBox1;
		private System.Windows.Forms.GroupBox groupBox2;
		private System.Windows.Forms.GroupBox groupBox3;
		private System.Windows.Forms.GroupBox groupBox4;
		private System.Windows.Forms.TextBox textBox1;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.ComboBox comboBox1;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.ComboBox comboBox2;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.ComboBox comboBox3;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		private TeleCommServices.ChargeManageServices service=null;
		private System.Windows.Forms.GroupBox groupBox5;
		private System.Windows.Forms.RichTextBox richTextBox1;
		private DateTime StartTime;
		private int Duration;

		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;

		public Form1()
		{
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();
			init();
			service=new TeleCommServices.ChargeManageServices();
		}

		/// <summary>
		///清理所有正在使用的資源。
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if (components != null) 
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
			this.groupBox1 = new System.Windows.Forms.GroupBox();
			this.button2 = new System.Windows.Forms.Button();
			this.comboBox1 = new System.Windows.Forms.ComboBox();
			this.label2 = new System.Windows.Forms.Label();
			this.label1 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.groupBox2 = new System.Windows.Forms.GroupBox();
			this.button1 = new System.Windows.Forms.Button();
			this.groupBox4 = new System.Windows.Forms.GroupBox();
			this.comboBox3 = new System.Windows.Forms.ComboBox();
			this.label6 = new System.Windows.Forms.Label();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.label5 = new System.Windows.Forms.Label();
			this.groupBox3 = new System.Windows.Forms.GroupBox();
			this.label4 = new System.Windows.Forms.Label();
			this.comboBox2 = new System.Windows.Forms.ComboBox();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label3 = new System.Windows.Forms.Label();
			this.groupBox5 = new System.Windows.Forms.GroupBox();
			this.richTextBox1 = new System.Windows.Forms.RichTextBox();
			this.groupBox1.SuspendLayout();
			this.groupBox2.SuspendLayout();
			this.groupBox4.SuspendLayout();
			this.groupBox3.SuspendLayout();
			this.groupBox5.SuspendLayout();
			this.SuspendLayout();
			// 
			// groupBox1
			// 
			this.groupBox1.Controls.Add(this.button2);
			this.groupBox1.Controls.Add(this.comboBox1);
			this.groupBox1.Controls.Add(this.label2);
			this.groupBox1.Controls.Add(this.label1);
			this.groupBox1.Controls.Add(this.textBox1);
			this.groupBox1.Location = new System.Drawing.Point(24, 0);
			this.groupBox1.Name = "groupBox1";
			this.groupBox1.Size = new System.Drawing.Size(424, 88);
			this.groupBox1.TabIndex = 0;
			this.groupBox1.TabStop = false;
			this.groupBox1.Text = "發送短信";
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(312, 24);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(72, 23);
			this.button2.TabIndex = 4;
			this.button2.Text = "發送短信";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// comboBox1
			// 
			this.comboBox1.Location = new System.Drawing.Point(128, 56);
			this.comboBox1.Name = "comboBox1";
			this.comboBox1.Size = new System.Drawing.Size(152, 20);
			this.comboBox1.TabIndex = 3;
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(40, 56);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(80, 23);
			this.label2.TabIndex = 2;
			this.label2.Text = "短信狀態:";
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(40, 24);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(80, 23);
			this.label1.TabIndex = 1;
			this.label1.Text = "發送卡號:";
			// 
			// textBox1
			// 
			this.textBox1.Location = new System.Drawing.Point(128, 24);
			this.textBox1.Name = "textBox1";
			this.textBox1.Size = new System.Drawing.Size(152, 21);
			this.textBox1.TabIndex = 0;
			this.textBox1.Text = "";
			// 
			// groupBox2
			// 
			this.groupBox2.Controls.Add(this.button1);
			this.groupBox2.Controls.Add(this.groupBox4);
			this.groupBox2.Controls.Add(this.groupBox3);
			this.groupBox2.Location = new System.Drawing.Point(24, 88);
			this.groupBox2.Name = "groupBox2";
			this.groupBox2.Size = new System.Drawing.Size(424, 208);
			this.groupBox2.TabIndex = 1;
			this.groupBox2.TabStop = false;
			this.groupBox2.Text = "通話";
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(312, 40);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(80, 23);
			this.button1.TabIndex = 2;
			this.button1.Text = "開始通話";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// groupBox4
			// 
			this.groupBox4.Controls.Add(this.comboBox3);
			this.groupBox4.Controls.Add(this.label6);
			this.groupBox4.Controls.Add(this.textBox3);
			this.groupBox4.Controls.Add(this.label5);
			this.groupBox4.Location = new System.Drawing.Point(8, 112);
			this.groupBox4.Name = "groupBox4";
			this.groupBox4.Size = new System.Drawing.Size(288, 88);
			this.groupBox4.TabIndex = 1;
			this.groupBox4.TabStop = false;
			this.groupBox4.Text = "接聽者信息";
			// 
			// comboBox3
			// 
			this.comboBox3.Location = new System.Drawing.Point(120, 56);
			this.comboBox3.Name = "comboBox3";
			this.comboBox3.Size = new System.Drawing.Size(152, 20);
			this.comboBox3.TabIndex = 3;
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(24, 48);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(80, 23);
			this.label6.TabIndex = 2;
			this.label6.Text = "接聽狀態:";
			// 
			// textBox3
			// 
			this.textBox3.Location = new System.Drawing.Point(120, 24);
			this.textBox3.Name = "textBox3";
			this.textBox3.Size = new System.Drawing.Size(152, 21);
			this.textBox3.TabIndex = 1;
			this.textBox3.Text = "";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(24, 24);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(80, 23);
			this.label5.TabIndex = 0;
			this.label5.Text = "接聽卡號:";
			// 
			// groupBox3
			// 
			this.groupBox3.Controls.Add(this.label4);
			this.groupBox3.Controls.Add(this.comboBox2);
			this.groupBox3.Controls.Add(this.textBox2);
			this.groupBox3.Controls.Add(this.label3);
			this.groupBox3.Location = new System.Drawing.Point(8, 16);
			this.groupBox3.Name = "groupBox3";
			this.groupBox3.Size = new System.Drawing.Size(288, 88);
			this.groupBox3.TabIndex = 0;
			this.groupBox3.TabStop = false;
			this.groupBox3.Text = "呼出者信息";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(32, 56);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(72, 23);
			this.label4.TabIndex = 3;
			this.label4.Text = "呼出狀態:";
			// 
			// comboBox2
			// 
			this.comboBox2.Location = new System.Drawing.Point(120, 56);
			this.comboBox2.Name = "comboBox2";
			this.comboBox2.Size = new System.Drawing.Size(152, 20);
			this.comboBox2.TabIndex = 2;
			// 
			// textBox2
			// 
			this.textBox2.Location = new System.Drawing.Point(120, 24);
			this.textBox2.Name = "textBox2";
			this.textBox2.Size = new System.Drawing.Size(152, 21);
			this.textBox2.TabIndex = 1;
			this.textBox2.Text = "";
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(32, 24);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(72, 23);
			this.label3.TabIndex = 0;
			this.label3.Text = "呼出卡號:";
			// 
			// groupBox5
			// 
			this.groupBox5.Controls.Add(this.richTextBox1);
			this.groupBox5.Location = new System.Drawing.Point(24, 296);
			this.groupBox5.Name = "groupBox5";
			this.groupBox5.Size = new System.Drawing.Size(424, 152);
			this.groupBox5.TabIndex = 2;
			this.groupBox5.TabStop = false;
			this.groupBox5.Text = "操作結果信息";
			// 
			// richTextBox1
			// 
			this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
			this.richTextBox1.Location = new System.Drawing.Point(3, 17);
			this.richTextBox1.Name = "richTextBox1";
			this.richTextBox1.Size = new System.Drawing.Size(418, 132);
			this.richTextBox1.TabIndex = 0;
			this.richTextBox1.Text = "";
			// 
			// Form1
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(480, 453);
			this.Controls.Add(this.groupBox5);
			this.Controls.Add(this.groupBox2);
			this.Controls.Add(this.groupBox1);
			this.Name = "Form1";
			this.Text = "收費管理界面";
			this.groupBox1.ResumeLayout(false);
			this.groupBox2.ResumeLayout(false);
			this.groupBox4.ResumeLayout(false);
			this.groupBox3.ResumeLayout(false);
			this.groupBox5.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		/// <summary>
		/// 應用程序的主入口點。
		/// </summary>
		[STAThread]
		static void Main() 
		{
			Application.Run(new Form1());
		}
		private void init()
		{
			//初始化短信狀態
			comboBox1.Items.Add("InCell");
			comboBox1.Items.Add("InterCell");
			comboBox1.SelectedIndex=0;
			//初始化呼出狀態
			comboBox2.Items.Add("InCell");
			comboBox2.Items.Add("InterCell");
			comboBox2.Items.Add("Roaming");
			comboBox2.SelectedIndex=0;
			//初始化接聽狀態
			comboBox3.Items.Add("InCell");
			comboBox3.Items.Add("InterCell");
			comboBox3.Items.Add("Roaming");
			comboBox3.SelectedIndex=0;
		}
		//發送短信
		private void button2_Click(object sender, System.EventArgs e)
		{
			string CardNo=textBox1.Text;
			string SMStatus=comboBox1.SelectedItem.ToString();
			DateTime Time=DateTime.Now;
			bool result;
			result=service.SendSM(CardNo,SMStatus,Time);
			if(result)
			{
				richTextBox1.AppendText("短信發送成功!\r\n");				
			}
			else
			{
				richTextBox1.AppendText("短信發送失敗!\r\n");
			}
		}
		//通話
		private void button1_Click(object sender, System.EventArgs e)
		{
			Button source;
			source=(Button)sender;
			if(source.Text=="開始通話")
			{
				StartTime=DateTime.Now;
				source.Text="結束通話";
				richTextBox1.AppendText("通話正在進行中...\r\n");
				richTextBox1.AppendText("想結束通話,請按“結束通話”按鈕!\r\n");
				textBox2.Enabled=false;
				comboBox2.Enabled=false;
				textBox3.Enabled=false;
				comboBox3.Enabled=false;
			}
			else if(source.Text=="結束通話")
			{
				bool result;
				string FromCard=textBox2.Text;
				string ToCard=textBox3.Text;
				string CallStatus=comboBox2.SelectedItem.ToString();
				string ReceiveStatus=comboBox2.SelectedItem.ToString();
				Duration=(int)(DateTime.Now.Ticks-StartTime.Ticks)/10000000;
				result=service.Call(FromCard,ToCard,StartTime,Duration,CallStatus,ReceiveStatus);
				if(result)
				{
					richTextBox1.AppendText("通話成功!\r\n");
					richTextBox1.AppendText("通話開始時間是:"+StartTime+",通話時長:"+Duration+"秒\r\n");
				}
				else
				{
					richTextBox1.AppendText("通話失敗!\r\n");
				}
				source.Text="開始通話";
				textBox2.Enabled=true;
				comboBox2.Enabled=true;
				textBox3.Enabled=true;
				comboBox3.Enabled=true;
			}			
		}
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧洲日韩一区二区三区| 精品国产污污免费网站入口| 91在线国内视频| 91在线视频18| 欧美精品自拍偷拍| 精品粉嫩超白一线天av| 国产精品狼人久久影院观看方式| 国产欧美精品日韩区二区麻豆天美| 亚洲精品欧美在线| 亚洲精品一卡二卡| 美女看a上一区| av在线免费不卡| 日韩欧美卡一卡二| 国产精品久久久久影院老司 | 亚洲黄色性网站| 麻豆国产欧美日韩综合精品二区| 成人黄色大片在线观看| 欧美久久一二区| 日本一区免费视频| 亚洲国产精品久久不卡毛片 | 丝袜美腿亚洲综合| 懂色av中文一区二区三区| 欧美三级乱人伦电影| 久久精品视频一区二区三区| 一个色综合网站| 粉嫩一区二区三区在线看| 成人sese在线| 国产婷婷色一区二区三区四区 | 综合久久久久综合| 亚洲一区二区三区视频在线播放| 国产精品一区二区无线| 欧美日韩一区二区三区四区| 欧美激情中文字幕| 亚洲午夜视频在线| 成人美女视频在线观看| 91精品国产综合久久久久久| 国产婷婷一区二区| 国模娜娜一区二区三区| 色美美综合视频| 国产日本欧洲亚洲| 国内久久精品视频| 欧美一级黄色片| 同产精品九九九| 欧美亚洲一区二区在线| 亚洲免费看黄网站| 99久久免费国产| 国产精品久久久久久久岛一牛影视| 狠狠色丁香久久婷婷综合丁香| 欧美精品在线观看一区二区| 亚洲综合男人的天堂| 成人h动漫精品一区二| 久久精品这里都是精品| 天天射综合影视| 欧美精品自拍偷拍| 三级在线观看一区二区| 欧美日韩一区不卡| 天使萌一区二区三区免费观看| 在线观看av一区二区| 一区二区三区在线视频观看| 99精品视频在线播放观看| 中文字幕五月欧美| 成人开心网精品视频| 国产精品午夜在线| 色综合网站在线| 亚洲精品成人在线| 欧美日韩高清影院| 日本女人一区二区三区| 久久日韩精品一区二区五区| 国产精品12区| 亚洲欧洲日韩av| 欧美四级电影在线观看| 丝袜美腿亚洲一区| 久久美女艺术照精彩视频福利播放 | 久久蜜桃av一区精品变态类天堂| 国产激情精品久久久第一区二区| 国产精品免费视频观看| 在线观看欧美黄色| 亚洲免费观看高清| 欧美精品18+| 国产毛片精品视频| 一区二区免费在线| 欧美α欧美αv大片| 大美女一区二区三区| 亚洲国产精品久久不卡毛片 | 国产美女精品在线| 亚洲人成在线观看一区二区| 97se亚洲国产综合自在线| 国产精品久久久久久户外露出| 91视频精品在这里| 亚洲美女电影在线| 成人免费毛片嘿嘿连载视频| 精品国产露脸精彩对白| 成人一道本在线| 日韩影院免费视频| 国产精品嫩草影院com| 777久久久精品| 豆国产96在线|亚洲| 亚洲国产日韩在线一区模特| 国产三级精品视频| 日韩午夜精品视频| 91伊人久久大香线蕉| 久草精品在线观看| 亚洲成人久久影院| 亚洲日本丝袜连裤袜办公室| 日韩欧美色综合网站| 91福利社在线观看| 国产成人av自拍| 欧美96一区二区免费视频| 亚洲精品精品亚洲| 国产欧美精品一区二区色综合朱莉| 欧美二区三区91| 色婷婷久久综合| 国产成人精品三级| 久久99国产精品麻豆| 亚瑟在线精品视频| 亚洲色图20p| 国产精品久久久久久久久免费相片 | 91麻豆成人久久精品二区三区| 麻豆国产一区二区| 日韩综合一区二区| 一区二区三区在线免费视频| 中文字幕一区免费在线观看| 91精品欧美久久久久久动漫| 日本精品视频一区二区| 97久久超碰国产精品| 国产69精品久久久久777| 久草中文综合在线| 久久99精品网久久| 美女视频网站黄色亚洲| 日韩精品乱码av一区二区| 亚洲男帅同性gay1069| 91精品国产aⅴ一区二区| 欧美视频你懂的| 91网上在线视频| 春色校园综合激情亚洲| 国产成人av一区二区三区在线| 亚洲国产综合视频在线观看| 18成人在线视频| 国产精品系列在线| 亚洲人123区| 亚洲精品视频在线观看网站| 亚洲视频免费看| 亚洲一区二区视频在线观看| 一级精品视频在线观看宜春院 | 久久婷婷一区二区三区| 国产精品天天看| 自拍偷在线精品自拍偷无码专区| 亚洲色图在线播放| 一区二区三区不卡视频在线观看 | 日韩欧美另类在线| 久久久精品国产免大香伊 | 黄色日韩网站视频| 国产一区二区三区电影在线观看 | 日韩欧美国产1| 久久九九国产精品| 亚洲欧洲国产日韩| 天堂影院一区二区| 国产寡妇亲子伦一区二区| 色婷婷综合久久久中文字幕| 欧美性受xxxx黑人xyx性爽| 日韩女优电影在线观看| 2020日本不卡一区二区视频| 欧美国产日韩a欧美在线观看| 亚洲人成精品久久久久| 蜜臂av日日欢夜夜爽一区| 国产一区激情在线| 色综合天天综合给合国产| 777欧美精品| 国产嫩草影院久久久久| 亚洲女女做受ⅹxx高潮| 亚洲国产乱码最新视频 | 亚洲高清三级视频| 美女爽到高潮91| 欧美影院精品一区| 国产精品毛片a∨一区二区三区| 日本欧美在线观看| 欧美日韩视频不卡| 亚洲欧美一区二区三区极速播放 | 国产精品毛片高清在线完整版| 美女久久久精品| 777欧美精品| 亚洲第一在线综合网站| 一本一本久久a久久精品综合麻豆 一本一道波多野结衣一区二区 | 欧美一区二区三区四区在线观看 | 亚洲美女偷拍久久| 国产aⅴ综合色| 26uuu国产在线精品一区二区| 日韩精品福利网| 欧美日韩电影在线播放| 亚洲综合清纯丝袜自拍| 在线视频你懂得一区| 亚洲青青青在线视频| 99re热这里只有精品免费视频 | 亚洲人成网站在线| 国产精品99久久不卡二区| 欧美日韩一级片在线观看| 中文字幕一区在线观看| 国产成人亚洲综合a∨婷婷图片| 欧美日韩国产免费| 国产精品久久久久aaaa|