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

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

?? phonebookform.cs

?? 短消息二次開發接口以動態連接庫的形式提供
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using Sindasoft.GsmModem.PhoneBook;

namespace GsmModemDemo
{
	/// <summary>
	/// PhoneBookForm 的摘要說明。
	/// </summary>
	public class PhoneBookForm : System.Windows.Forms.Form
	{
		/// <summary>
		/// 必需的設計器變量。
		/// </summary>
		private System.ComponentModel.Container components = null;
		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.Panel panel1;
		private System.Windows.Forms.Label label2;
		private System.Windows.Forms.Label label3;
		private System.Windows.Forms.Label indexLab;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label phoneLab;
		private System.Windows.Forms.Label label5;
		private System.Windows.Forms.Label nameLab;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Button button3;
		private System.Windows.Forms.Button button4;
		private System.Windows.Forms.Button button5;
		private System.Windows.Forms.ComboBox nameList;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label7;
		private System.Windows.Forms.Button button6;
		private System.Windows.Forms.TextBox nameBox;
		private System.Windows.Forms.TextBox phoneBox;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label booknameLab;
		private System.Windows.Forms.Label label9;
		private System.Windows.Forms.Label label11;
		private System.Windows.Forms.Label countLab;
		private System.Windows.Forms.Label maxcountLab;

		private ModemPhoneBook phoneBook;

		public PhoneBookForm(ModemPhoneBook phoneBook)
		{
			this.phoneBook = phoneBook;
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();

			//
			// TODO: 在 InitializeComponent 調用后添加任何構造函數代碼
			//
		}

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

		#region Windows 窗體設計器生成的代碼
		/// <summary>
		/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內容。
		/// </summary>
		private void InitializeComponent()
		{
			this.nameList = new System.Windows.Forms.ComboBox();
			this.label1 = new System.Windows.Forms.Label();
			this.panel1 = new System.Windows.Forms.Panel();
			this.nameLab = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.phoneLab = new System.Windows.Forms.Label();
			this.label4 = new System.Windows.Forms.Label();
			this.indexLab = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.label2 = new System.Windows.Forms.Label();
			this.button1 = new System.Windows.Forms.Button();
			this.button2 = new System.Windows.Forms.Button();
			this.button3 = new System.Windows.Forms.Button();
			this.button4 = new System.Windows.Forms.Button();
			this.button5 = new System.Windows.Forms.Button();
			this.nameBox = new System.Windows.Forms.TextBox();
			this.phoneBox = new System.Windows.Forms.TextBox();
			this.label6 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.button6 = new System.Windows.Forms.Button();
			this.label8 = new System.Windows.Forms.Label();
			this.booknameLab = new System.Windows.Forms.Label();
			this.label9 = new System.Windows.Forms.Label();
			this.countLab = new System.Windows.Forms.Label();
			this.label11 = new System.Windows.Forms.Label();
			this.maxcountLab = new System.Windows.Forms.Label();
			this.panel1.SuspendLayout();
			this.SuspendLayout();
			// 
			// nameList
			// 
			this.nameList.Location = new System.Drawing.Point(112, 8);
			this.nameList.Name = "nameList";
			this.nameList.Size = new System.Drawing.Size(64, 20);
			this.nameList.TabIndex = 0;
			this.nameList.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
			// 
			// label1
			// 
			this.label1.Location = new System.Drawing.Point(32, 12);
			this.label1.Name = "label1";
			this.label1.Size = new System.Drawing.Size(80, 16);
			this.label1.TabIndex = 1;
			this.label1.Text = "當前電話本:";
			// 
			// panel1
			// 
			this.panel1.BackColor = System.Drawing.SystemColors.Info;
			this.panel1.Controls.Add(this.nameLab);
			this.panel1.Controls.Add(this.label5);
			this.panel1.Controls.Add(this.phoneLab);
			this.panel1.Controls.Add(this.label4);
			this.panel1.Controls.Add(this.indexLab);
			this.panel1.Controls.Add(this.label3);
			this.panel1.Location = new System.Drawing.Point(32, 80);
			this.panel1.Name = "panel1";
			this.panel1.Size = new System.Drawing.Size(384, 80);
			this.panel1.TabIndex = 2;
			// 
			// nameLab
			// 
			this.nameLab.BackColor = System.Drawing.SystemColors.ControlLight;
			this.nameLab.Location = new System.Drawing.Point(64, 56);
			this.nameLab.Name = "nameLab";
			this.nameLab.Size = new System.Drawing.Size(168, 16);
			this.nameLab.TabIndex = 5;
			this.nameLab.Text = "label6";
			// 
			// label5
			// 
			this.label5.Location = new System.Drawing.Point(16, 56);
			this.label5.Name = "label5";
			this.label5.Size = new System.Drawing.Size(56, 16);
			this.label5.TabIndex = 4;
			this.label5.Text = "姓名:";
			// 
			// phoneLab
			// 
			this.phoneLab.BackColor = System.Drawing.SystemColors.ControlLight;
			this.phoneLab.Location = new System.Drawing.Point(64, 32);
			this.phoneLab.Name = "phoneLab";
			this.phoneLab.Size = new System.Drawing.Size(168, 16);
			this.phoneLab.TabIndex = 3;
			this.phoneLab.Text = "label5";
			// 
			// label4
			// 
			this.label4.Location = new System.Drawing.Point(16, 32);
			this.label4.Name = "label4";
			this.label4.Size = new System.Drawing.Size(56, 16);
			this.label4.TabIndex = 2;
			this.label4.Text = "號碼:";
			// 
			// indexLab
			// 
			this.indexLab.BackColor = System.Drawing.SystemColors.ControlLight;
			this.indexLab.Location = new System.Drawing.Point(64, 8);
			this.indexLab.Name = "indexLab";
			this.indexLab.Size = new System.Drawing.Size(168, 16);
			this.indexLab.TabIndex = 1;
			// 
			// label3
			// 
			this.label3.Location = new System.Drawing.Point(16, 8);
			this.label3.Name = "label3";
			this.label3.Size = new System.Drawing.Size(64, 16);
			this.label3.TabIndex = 0;
			this.label3.Text = "索引號";
			// 
			// label2
			// 
			this.label2.Location = new System.Drawing.Point(32, 64);
			this.label2.Name = "label2";
			this.label2.Size = new System.Drawing.Size(120, 16);
			this.label2.TabIndex = 3;
			this.label2.Text = "電話本當前項信息";
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(40, 168);
			this.button1.Name = "button1";
			this.button1.Size = new System.Drawing.Size(56, 23);
			this.button1.TabIndex = 4;
			this.button1.Text = "第一項";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(104, 168);
			this.button2.Name = "button2";
			this.button2.Size = new System.Drawing.Size(56, 23);
			this.button2.TabIndex = 5;
			this.button2.Text = "最末項";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// button3
			// 
			this.button3.Location = new System.Drawing.Point(168, 168);
			this.button3.Name = "button3";
			this.button3.Size = new System.Drawing.Size(56, 23);
			this.button3.TabIndex = 6;
			this.button3.Text = "下一項";
			this.button3.Click += new System.EventHandler(this.button3_Click);
			// 
			// button4
			// 
			this.button4.Location = new System.Drawing.Point(232, 168);
			this.button4.Name = "button4";
			this.button4.Size = new System.Drawing.Size(56, 23);
			this.button4.TabIndex = 7;
			this.button4.Text = "前一項";
			this.button4.Click += new System.EventHandler(this.button4_Click);
			// 
			// button5
			// 
			this.button5.Location = new System.Drawing.Point(296, 168);
			this.button5.Name = "button5";
			this.button5.Size = new System.Drawing.Size(56, 23);
			this.button5.TabIndex = 8;
			this.button5.Text = "刪除";
			this.button5.Click += new System.EventHandler(this.button5_Click);
			// 
			// nameBox
			// 
			this.nameBox.Location = new System.Drawing.Point(32, 240);
			this.nameBox.Name = "nameBox";
			this.nameBox.Size = new System.Drawing.Size(144, 21);
			this.nameBox.TabIndex = 9;
			this.nameBox.Text = "";
			// 
			// phoneBox
			// 
			this.phoneBox.Location = new System.Drawing.Point(200, 240);
			this.phoneBox.Name = "phoneBox";
			this.phoneBox.Size = new System.Drawing.Size(144, 21);
			this.phoneBox.TabIndex = 10;
			this.phoneBox.Text = "";
			// 
			// label6
			// 
			this.label6.Location = new System.Drawing.Point(32, 224);
			this.label6.Name = "label6";
			this.label6.Size = new System.Drawing.Size(100, 16);
			this.label6.TabIndex = 11;
			this.label6.Text = "姓名:";
			// 
			// label7
			// 
			this.label7.Location = new System.Drawing.Point(200, 224);
			this.label7.Name = "label7";
			this.label7.Size = new System.Drawing.Size(100, 16);
			this.label7.TabIndex = 12;
			this.label7.Text = "電話號碼:";
			// 
			// button6
			// 
			this.button6.Location = new System.Drawing.Point(32, 272);
			this.button6.Name = "button6";
			this.button6.TabIndex = 13;
			this.button6.Text = "添加記錄";
			this.button6.Click += new System.EventHandler(this.button6_Click);
			// 
			// label8
			// 
			this.label8.Location = new System.Drawing.Point(208, 8);
			this.label8.Name = "label8";
			this.label8.Size = new System.Drawing.Size(80, 16);
			this.label8.TabIndex = 14;
			this.label8.Text = "電話本名稱:";
			// 
			// booknameLab
			// 
			this.booknameLab.Location = new System.Drawing.Point(280, 8);
			this.booknameLab.Name = "booknameLab";
			this.booknameLab.Size = new System.Drawing.Size(152, 24);
			this.booknameLab.TabIndex = 15;
			this.booknameLab.Text = "label9";
			// 
			// label9
			// 
			this.label9.Location = new System.Drawing.Point(32, 40);
			this.label9.Name = "label9";
			this.label9.Size = new System.Drawing.Size(56, 16);
			this.label9.TabIndex = 16;
			this.label9.Text = "記錄數:";
			// 
			// countLab
			// 
			this.countLab.Location = new System.Drawing.Point(88, 40);
			this.countLab.Name = "countLab";
			this.countLab.Size = new System.Drawing.Size(112, 16);
			this.countLab.TabIndex = 17;
			// 
			// label11
			// 
			this.label11.Location = new System.Drawing.Point(208, 40);
			this.label11.Name = "label11";
			this.label11.Size = new System.Drawing.Size(80, 16);
			this.label11.TabIndex = 18;
			this.label11.Text = "最大記錄數:";
			// 
			// maxcountLab
			// 
			this.maxcountLab.Location = new System.Drawing.Point(280, 40);
			this.maxcountLab.Name = "maxcountLab";
			this.maxcountLab.Size = new System.Drawing.Size(120, 16);
			this.maxcountLab.TabIndex = 19;
			// 
			// PhoneBookForm
			// 
			this.AutoScaleBaseSize = new System.Drawing.Size(6, 14);
			this.ClientSize = new System.Drawing.Size(440, 341);
			this.Controls.Add(this.maxcountLab);
			this.Controls.Add(this.label11);
			this.Controls.Add(this.countLab);
			this.Controls.Add(this.label9);
			this.Controls.Add(this.booknameLab);
			this.Controls.Add(this.label8);
			this.Controls.Add(this.button6);
			this.Controls.Add(this.label7);
			this.Controls.Add(this.label6);
			this.Controls.Add(this.phoneBox);
			this.Controls.Add(this.nameBox);
			this.Controls.Add(this.button5);
			this.Controls.Add(this.button4);
			this.Controls.Add(this.button3);
			this.Controls.Add(this.button2);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.label2);
			this.Controls.Add(this.panel1);
			this.Controls.Add(this.label1);
			this.Controls.Add(this.nameList);
			this.Name = "PhoneBookForm";
			this.ShowInTaskbar = false;
			this.Text = "電話本管理";
			this.Load += new System.EventHandler(this.PhoneBookForm_Load);
			this.panel1.ResumeLayout(false);
			this.ResumeLayout(false);

		}
		#endregion

		private void comboBox1_SelectedIndexChanged(object sender, System.EventArgs e)
		{
			int i = this.nameList.SelectedIndex;
			string s = this.nameList.Items[i].ToString();
			this.phoneBook[s].SetToCurrent();
			this.SetPhoneBookInfo();
			this.ShowPhoneBookItem(this.phoneBook.Current);
		}

		private void SetPhoneBookInfo()
		{
			this.booknameLab.Text = this.phoneBook.PhoneBookName;
			this.countLab.Text = this.phoneBook.Count.ToString();
			this.maxcountLab.Text = this.phoneBook.MaxCount.ToString();
		}

		private void PhoneBookForm_Load(object sender, System.EventArgs e)
		{
			foreach (string s in this.phoneBook.StorageNames)
			{
				this.nameList.Items.Add(s);
			}
			this.nameList.SelectedIndex = 0;

			PhoneBookItem pbi = phoneBook.Current;
			this.ShowPhoneBookItem(pbi);
		}

		private void ShowPhoneBookItem(PhoneBookItem pbi)
		{
			if (pbi != null)
			{
				this.phoneLab.Text = pbi.PhoneNumber;
				this.nameLab.Text = pbi.Name;
				this.indexLab.Text = pbi.IndexNo.ToString();
			}
		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			this.ShowPhoneBookItem(this.phoneBook.FirstItem);
		}

		private void button2_Click(object sender, System.EventArgs e)
		{
			this.ShowPhoneBookItem(this.phoneBook.LastItem);
		}

		private void button3_Click(object sender, System.EventArgs e)
		{
			this.ShowPhoneBookItem(this.phoneBook.Next);
		}

		private void button4_Click(object sender, System.EventArgs e)
		{
			this.ShowPhoneBookItem(this.phoneBook.Previous);
		}

		private void button6_Click(object sender, System.EventArgs e)
		{
			this.phoneBook.Add(this.phoneBox.Text,this.nameBox.Text);
			this.SetPhoneBookInfo();
		}

		private void button5_Click(object sender, System.EventArgs e)
		{
			this.phoneBook.Remove();
			this.SetPhoneBookInfo();
		}
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲一区二区三区激情| 色欧美日韩亚洲| 日韩久久精品一区| 三级不卡在线观看| 91精品国产综合久久久久| 婷婷久久综合九色国产成人 | 欧美午夜精品一区| 亚洲欧美日韩系列| 在线视频欧美区| 琪琪一区二区三区| 精品99一区二区| 成人激情电影免费在线观看| 亚洲三级在线免费| 欧美性xxxxxx少妇| 久久精品国产99国产精品| 久久精品一区二区三区四区| 成人的网站免费观看| 亚洲精品成a人| 日韩亚洲欧美在线观看| 极品美女销魂一区二区三区免费| 国产欧美一区二区三区在线看蜜臀 | 夜色激情一区二区| 91精品国产综合久久香蕉麻豆| 精品亚洲成av人在线观看| 国产精品高潮呻吟久久| 欧美视频一区二区在线观看| 看片的网站亚洲| 亚洲欧洲日产国产综合网| 欧美午夜一区二区| 国内外成人在线| 亚洲精品国产a| 亚洲精品一区二区精华| 色视频一区二区| 狠狠久久亚洲欧美| 一区二区三区自拍| 精品99一区二区| 中文字幕第一区| 欧美日韩精品三区| 成人动漫在线一区| 蜜臀av亚洲一区中文字幕| 中文字幕一区二区三区四区| 777午夜精品视频在线播放| 成人黄色片在线观看| 免费视频一区二区| 亚洲精品乱码久久久久久| 久久综合九色综合97婷婷| 91国偷自产一区二区使用方法| 国产主播一区二区三区| 亚洲一级电影视频| 国产精品对白交换视频 | 久久这里只有精品6| 欧美系列亚洲系列| 99国产精品国产精品久久| 久久精品999| 亚洲成av人片| 亚洲欧美电影院| 久久久欧美精品sm网站| 这里是久久伊人| 欧美最猛黑人xxxxx猛交| 成人永久看片免费视频天堂| 久久精品国产一区二区| 亚洲一区二区三区四区五区黄 | 欧美成人福利视频| 色国产精品一区在线观看| 成人av午夜影院| 久久精工是国产品牌吗| 日韩和欧美的一区| 亚洲成人免费在线观看| 亚洲一区自拍偷拍| 亚洲黄一区二区三区| 中文字幕一区二区三区在线不卡| 久久蜜桃香蕉精品一区二区三区| 日韩一区二区三区免费看 | 91精品国产麻豆国产自产在线| 91久久精品一区二区三区| 91老师国产黑色丝袜在线| 成人免费毛片a| 成人国产一区二区三区精品| 国产成人8x视频一区二区| 国产美女av一区二区三区| 国产真实乱子伦精品视频| 韩国v欧美v日本v亚洲v| 国产在线日韩欧美| 国产成人免费在线视频| 国产精品一级在线| 成人免费视频一区| www.激情成人| 日本道在线观看一区二区| 91精品1区2区| 欧美日韩视频在线一区二区| 欧美日韩国产成人在线91| 欧美精品少妇一区二区三区| 91精品国产综合久久久久久漫画 | 成人app下载| 99re热这里只有精品视频| 91啪亚洲精品| 欧美性高清videossexo| 欧美精品在线观看一区二区| 51精品国自产在线| 欧美精品一区二区三区在线播放| 久久蜜臀精品av| 18涩涩午夜精品.www| 亚洲一区免费在线观看| 免费日韩伦理电影| 国产高清成人在线| 色偷偷成人一区二区三区91| 欧美人妖巨大在线| 26uuu亚洲综合色欧美| 中文字幕一区二区三区色视频| 亚洲午夜久久久久久久久久久| 视频一区二区三区中文字幕| 久久精品国产久精国产爱| 国产91露脸合集magnet| 91国偷自产一区二区开放时间| 91麻豆精品国产91久久久使用方法| 日韩色在线观看| 国产精品妹子av| 婷婷夜色潮精品综合在线| 国产河南妇女毛片精品久久久| 91热门视频在线观看| 日韩免费性生活视频播放| 亚洲欧美在线视频| 免费成人在线视频观看| 99热这里都是精品| 日韩欧美另类在线| 亚洲免费观看在线观看| 久久99精品视频| 色一区在线观看| 久久久久综合网| 午夜av一区二区三区| 国产91精品露脸国语对白| 欧美日本乱大交xxxxx| 国产蜜臀av在线一区二区三区| 亚洲福利国产精品| voyeur盗摄精品| 欧美成人一区二区三区| 一区二区三区在线看| 国产盗摄视频一区二区三区| 欧美电影影音先锋| 亚洲啪啪综合av一区二区三区| 黄页视频在线91| 欧美精品123区| 亚洲婷婷国产精品电影人久久| 麻豆久久久久久久| 欧美色偷偷大香| 亚洲欧洲成人精品av97| 国产一区二区在线观看免费| 欧美日韩免费一区二区三区视频| 国产精品麻豆视频| 国产一区二区0| 日韩精品在线一区| 日韩综合小视频| 欧美午夜精品久久久| 亚洲色图制服丝袜| 精品久久国产字幕高潮| 亚洲一区二区三区四区不卡| 91网上在线视频| 国产精品午夜久久| 高清视频一区二区| 久久久不卡网国产精品一区| 美女一区二区在线观看| 欧美猛男超大videosgay| 亚洲激情自拍偷拍| 91网址在线看| 亚洲色图另类专区| 99久久婷婷国产综合精品电影 | 国产精品的网站| 国产69精品久久99不卡| 久久九九久久九九| 国产福利一区二区三区| 久久久亚洲国产美女国产盗摄| 久久99国产精品免费| 欧美成人bangbros| 韩国欧美一区二区| 国产午夜精品久久| 丁香六月久久综合狠狠色| 欧美经典一区二区| av在线综合网| 伊人色综合久久天天人手人婷| 91黄色小视频| 亚洲va欧美va人人爽| 制服丝袜中文字幕一区| 毛片不卡一区二区| 久久精品一区二区三区不卡牛牛| 岛国av在线一区| 日韩一区在线看| 欧美性videosxxxxx| 免费成人在线影院| 欧美国产精品中文字幕| 97久久超碰国产精品电影| 一级特黄大欧美久久久| 欧美男人的天堂一二区| 老司机午夜精品| 欧美国产视频在线| 色呦呦网站一区| 奇米影视一区二区三区| 国产亚洲欧美色| 日本国产一区二区| 秋霞国产午夜精品免费视频| 久久日韩粉嫩一区二区三区|