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

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

?? editbookform.cs

?? windows mobile 基于XML存儲數據的圖書管理系統
?? CS
字號:
using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

namespace book
{
	/// <summary>
	/// EditbookForm 的摘要說明。
	/// </summary>
	public class EditbookForm : System.Windows.Forms.Form
	{
		private System.Windows.Forms.Button button2;
		private System.Windows.Forms.Button button1;
		private System.Windows.Forms.VScrollBar vScrollBar1;
		private System.Windows.Forms.Panel panel1;
		private System.Windows.Forms.Panel panel2;
		private System.Windows.Forms.Label label10;
		public System.Windows.Forms.TextBox textBox5;
		public System.Windows.Forms.DomainUpDown domainUpDown2;
		private System.Windows.Forms.Label label9;
		public System.Windows.Forms.DomainUpDown domainUpDown1;
		private System.Windows.Forms.Label label8;
		private System.Windows.Forms.Label label7;
		public System.Windows.Forms.TextBox textBox4;
		public System.Windows.Forms.NumericUpDown numericUpDown2;
		private System.Windows.Forms.Label label6;
		private System.Windows.Forms.Label label5;
		public System.Windows.Forms.NumericUpDown numericUpDown1;
		private System.Windows.Forms.Label label4;
		private System.Windows.Forms.Label label3;
		public System.Windows.Forms.TextBox textBox3;
		private System.Windows.Forms.Label label2;
		public System.Windows.Forms.TextBox textBox2;
		private System.Windows.Forms.Label label1;
		public System.Windows.Forms.TextBox textBox1;
		private Microsoft.WindowsCE.Forms.InputPanel inputPanel1;
		private System.Windows.Forms.MainMenu mainMenu1;
	
		private DataRow BookRecord;
		public EditbookForm(DataRow row)
		{
			//
			// Windows 窗體設計器支持所必需的
			//
			InitializeComponent();

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

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

		#region Windows 窗體設計器生成的代碼
		/// <summary>
		/// 設計器支持所需的方法 - 不要使用代碼編輯器修改
		/// 此方法的內容。
		/// </summary>
		private void InitializeComponent()
		{
			this.button2 = new System.Windows.Forms.Button();
			this.button1 = new System.Windows.Forms.Button();
			this.vScrollBar1 = new System.Windows.Forms.VScrollBar();
			this.panel1 = new System.Windows.Forms.Panel();
			this.panel2 = new System.Windows.Forms.Panel();
			this.label10 = new System.Windows.Forms.Label();
			this.textBox5 = new System.Windows.Forms.TextBox();
			this.domainUpDown2 = new System.Windows.Forms.DomainUpDown();
			this.label9 = new System.Windows.Forms.Label();
			this.domainUpDown1 = new System.Windows.Forms.DomainUpDown();
			this.label8 = new System.Windows.Forms.Label();
			this.label7 = new System.Windows.Forms.Label();
			this.textBox4 = new System.Windows.Forms.TextBox();
			this.numericUpDown2 = new System.Windows.Forms.NumericUpDown();
			this.label6 = new System.Windows.Forms.Label();
			this.label5 = new System.Windows.Forms.Label();
			this.numericUpDown1 = new System.Windows.Forms.NumericUpDown();
			this.label4 = new System.Windows.Forms.Label();
			this.label3 = new System.Windows.Forms.Label();
			this.textBox3 = new System.Windows.Forms.TextBox();
			this.label2 = new System.Windows.Forms.Label();
			this.textBox2 = new System.Windows.Forms.TextBox();
			this.label1 = new System.Windows.Forms.Label();
			this.textBox1 = new System.Windows.Forms.TextBox();
			this.inputPanel1 = new Microsoft.WindowsCE.Forms.InputPanel();
			this.mainMenu1 = new System.Windows.Forms.MainMenu();
			// 
			// button2
			// 
			this.button2.Location = new System.Drawing.Point(140, 152);
			this.button2.Size = new System.Drawing.Size(72, 24);
			this.button2.Text = "取 消";
			this.button2.Click += new System.EventHandler(this.button2_Click);
			// 
			// button1
			// 
			this.button1.Location = new System.Drawing.Point(36, 152);
			this.button1.Size = new System.Drawing.Size(72, 24);
			this.button1.Text = "確 認";
			this.button1.Click += new System.EventHandler(this.button1_Click);
			// 
			// vScrollBar1
			// 
			this.vScrollBar1.Location = new System.Drawing.Point(220, 8);
			this.vScrollBar1.Maximum = 91;
			this.vScrollBar1.Size = new System.Drawing.Size(16, 128);
			this.vScrollBar1.ValueChanged += new System.EventHandler(this.vScrollBar1_ValueChanged);
			// 
			// panel1
			// 
			this.panel1.Controls.Add(this.panel2);
			this.panel1.Location = new System.Drawing.Point(4, 8);
			this.panel1.Size = new System.Drawing.Size(216, 128);
			// 
			// panel2
			// 
			this.panel2.Controls.Add(this.label10);
			this.panel2.Controls.Add(this.textBox5);
			this.panel2.Controls.Add(this.domainUpDown2);
			this.panel2.Controls.Add(this.label9);
			this.panel2.Controls.Add(this.domainUpDown1);
			this.panel2.Controls.Add(this.label8);
			this.panel2.Controls.Add(this.label7);
			this.panel2.Controls.Add(this.textBox4);
			this.panel2.Controls.Add(this.numericUpDown2);
			this.panel2.Controls.Add(this.label6);
			this.panel2.Controls.Add(this.label5);
			this.panel2.Controls.Add(this.numericUpDown1);
			this.panel2.Controls.Add(this.label4);
			this.panel2.Controls.Add(this.label3);
			this.panel2.Controls.Add(this.textBox3);
			this.panel2.Controls.Add(this.label2);
			this.panel2.Controls.Add(this.textBox2);
			this.panel2.Controls.Add(this.label1);
			this.panel2.Controls.Add(this.textBox1);
			this.panel2.Size = new System.Drawing.Size(216, 272);
			// 
			// label10
			// 
			this.label10.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular);
			this.label10.Location = new System.Drawing.Point(8, 248);
			this.label10.Size = new System.Drawing.Size(48, 16);
			this.label10.Text = "書 號";
			// 
			// textBox5
			// 
			this.textBox5.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular);
			this.textBox5.Location = new System.Drawing.Point(56, 240);
			this.textBox5.Size = new System.Drawing.Size(152, 26);
			this.textBox5.Text = "";
			this.textBox5.LostFocus += new System.EventHandler(this.bookInfo_LostFocus);
			this.textBox5.GotFocus += new System.EventHandler(this.bookInfo_GotFocus);
			// 
			// domainUpDown2
			// 
			this.domainUpDown2.Items.Add("簡裝");
			this.domainUpDown2.Items.Add("精裝");
			this.domainUpDown2.Location = new System.Drawing.Point(72, 208);
			this.domainUpDown2.Size = new System.Drawing.Size(136, 21);
			this.domainUpDown2.Text = "簡裝";
			// 
			// label9
			// 
			this.label9.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular);
			this.label9.Location = new System.Drawing.Point(8, 208);
			this.label9.Size = new System.Drawing.Size(56, 16);
			this.label9.Text = "裝幀類型";
			// 
			// domainUpDown1
			// 
			this.domainUpDown1.Items.Add("小說 ");
			this.domainUpDown1.Items.Add("文藝 ");
			this.domainUpDown1.Items.Add("生活 ");
			this.domainUpDown1.Items.Add("經管社科 ");
			this.domainUpDown1.Items.Add("科技 ");
			this.domainUpDown1.Items.Add("教育 ");
			this.domainUpDown1.Items.Add("少兒 ");
			this.domainUpDown1.Items.Add("工具書");
			this.domainUpDown1.Location = new System.Drawing.Point(72, 176);
			this.domainUpDown1.Size = new System.Drawing.Size(136, 21);
			this.domainUpDown1.Text = "小說";
			// 
			// label8
			// 
			this.label8.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular);
			this.label8.Location = new System.Drawing.Point(8, 176);
			this.label8.Size = new System.Drawing.Size(56, 16);
			this.label8.Text = "圖書類型";
			// 
			// label7
			// 
			this.label7.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular);
			this.label7.Location = new System.Drawing.Point(8, 144);
			this.label7.Size = new System.Drawing.Size(48, 16);
			this.label7.Text = "價 格";
			// 
			// textBox4
			// 
			this.textBox4.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular);
			this.textBox4.Location = new System.Drawing.Point(56, 144);
			this.textBox4.Size = new System.Drawing.Size(152, 26);
			this.textBox4.Text = "";
			this.textBox4.LostFocus += new System.EventHandler(this.bookInfo_LostFocus);
			this.textBox4.GotFocus += new System.EventHandler(this.bookInfo_GotFocus);
			// 
			// numericUpDown2
			// 
			this.numericUpDown2.Location = new System.Drawing.Point(138, 112);
			this.numericUpDown2.Maximum = new System.Decimal(new int[] {
																		   12,
																		   0,
																		   0,
																		   0});
			this.numericUpDown2.Minimum = new System.Decimal(new int[] {
																		   1,
																		   0,
																		   0,
																		   0});
			this.numericUpDown2.Size = new System.Drawing.Size(54, 21);
			this.numericUpDown2.Value = new System.Decimal(new int[] {
																		 1,
																		 0,
																		 0,
																		 0});
			// 
			// label6
			// 
			this.label6.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular);
			this.label6.Location = new System.Drawing.Point(193, 112);
			this.label6.Size = new System.Drawing.Size(16, 16);
			this.label6.Text = "月";
			// 
			// label5
			// 
			this.label5.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular);
			this.label5.Location = new System.Drawing.Point(120, 112);
			this.label5.Size = new System.Drawing.Size(16, 16);
			this.label5.Text = "年";
			// 
			// numericUpDown1
			// 
			this.numericUpDown1.Location = new System.Drawing.Point(56, 112);
			this.numericUpDown1.Maximum = new System.Decimal(new int[] {
																		   2050,
																		   0,
																		   0,
																		   0});
			this.numericUpDown1.Minimum = new System.Decimal(new int[] {
																		   1950,
																		   0,
																		   0,
																		   0});
			this.numericUpDown1.Size = new System.Drawing.Size(64, 21);
			this.numericUpDown1.Value = new System.Decimal(new int[] {
																		 2000,
																		 0,
																		 0,
																		 0});
			// 
			// label4
			// 
			this.label4.Font = new System.Drawing.Font("宋體", 9F, System.Drawing.FontStyle.Regular);
			this.label4.Location = new System.Drawing.Point(0, 112);
			this.label4.Size = new System.Drawing.Size(56, 16);
			this.label4.Text = "出版時間";
			// 
			// label3
			// 
			this.label3.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular);
			this.label3.Location = new System.Drawing.Point(8, 80);
			this.label3.Size = new System.Drawing.Size(48, 16);
			this.label3.Text = "出版社";
			// 
			// textBox3
			// 
			this.textBox3.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular);
			this.textBox3.Location = new System.Drawing.Point(56, 72);
			this.textBox3.Size = new System.Drawing.Size(152, 26);
			this.textBox3.Text = "";
			this.textBox3.LostFocus += new System.EventHandler(this.bookInfo_LostFocus);
			this.textBox3.GotFocus += new System.EventHandler(this.bookInfo_GotFocus);
			// 
			// label2
			// 
			this.label2.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular);
			this.label2.Location = new System.Drawing.Point(8, 48);
			this.label2.Size = new System.Drawing.Size(48, 16);
			this.label2.Text = "作 者";
			// 
			// textBox2
			// 
			this.textBox2.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular);
			this.textBox2.Location = new System.Drawing.Point(56, 40);
			this.textBox2.Size = new System.Drawing.Size(152, 26);
			this.textBox2.Text = "";
			this.textBox2.LostFocus += new System.EventHandler(this.bookInfo_GotFocus);
			this.textBox2.GotFocus += new System.EventHandler(this.bookInfo_GotFocus);
			// 
			// label1
			// 
			this.label1.Font = new System.Drawing.Font("宋體", 10.5F, System.Drawing.FontStyle.Regular);
			this.label1.Location = new System.Drawing.Point(8, 16);
			this.label1.Size = new System.Drawing.Size(48, 16);
			this.label1.Text = "書 名";
			// 
			// textBox1
			// 
			this.textBox1.Font = new System.Drawing.Font("宋體", 12F, System.Drawing.FontStyle.Regular);
			this.textBox1.Location = new System.Drawing.Point(56, 8);
			this.textBox1.Size = new System.Drawing.Size(152, 26);
			this.textBox1.Text = "";
			this.textBox1.LostFocus += new System.EventHandler(this.bookInfo_LostFocus);
			this.textBox1.GotFocus += new System.EventHandler(this.bookInfo_GotFocus);
			// 
			// EditbookForm
			// 
			this.ClientSize = new System.Drawing.Size(240, 191);
			this.Controls.Add(this.button2);
			this.Controls.Add(this.button1);
			this.Controls.Add(this.vScrollBar1);
			this.Controls.Add(this.panel1);
			this.Menu = this.mainMenu1;
			this.Text = "編輯圖書";
			this.Load += new System.EventHandler(this.EditbookForm_Load);

		}
		#endregion

		private void EditbookForm_Load(object sender, System.EventArgs e)
		{
			String str;

			vScrollBar1.Minimum = 0;
			vScrollBar1.Maximum = panel2.Height - panel1.Height;
			vScrollBar1.LargeChange = vScrollBar1.Maximum / 5;
			vScrollBar1.SmallChange = vScrollBar1.Maximum / 10;
			vScrollBar1.Maximum += vScrollBar1.LargeChange;

			this.textBox1.Text = BookRecord["title"].ToString();
			this.textBox2.Text = BookRecord["author"].ToString();
			this.textBox3.Text = BookRecord["publisher"].ToString();
			str =  BookRecord["publishing_date"].ToString();
			this.numericUpDown1.Text = str.Substring(0, 4);  //year
			this.numericUpDown2.Text = str.Substring(5, str.Length-5); //month
			this.textBox4.Text = BookRecord["price"].ToString();
			this.domainUpDown1.Text = BookRecord["contentType"].ToString();
			this.domainUpDown2.Text = BookRecord["format"].ToString();
			this.textBox5.Text = BookRecord["isbn"].ToString();
		}

		private void button1_Click(object sender, System.EventArgs e)
		{
			this.DialogResult = DialogResult.OK;
		}

		private void button2_Click(object sender, System.EventArgs e)
		{
			this.DialogResult = DialogResult.Cancel;
		}
		private void bookInfo_GotFocus(object sender, System.EventArgs e)
		{
			inputPanel1.Enabled = true;
		}

		private void bookInfo_LostFocus(object sender, System.EventArgs e)
		{
			inputPanel1.Enabled = false;
		}
		private void vScrollBar1_ValueChanged(object sender, System.EventArgs e)
		{
			panel2.Top = -1 * vScrollBar1.Value;
		}
	}
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产成人在线看| 91免费观看在线| 91电影在线观看| 久久一区二区视频| 亚洲最色的网站| 国v精品久久久网| 欧美一区二区黄| 亚洲精品中文在线| 国产成人午夜片在线观看高清观看| 欧美性高清videossexo| 国产精品热久久久久夜色精品三区 | 久久久精品影视| 日韩黄色免费电影| 一本到高清视频免费精品| 国产亚洲精品aa| 激情都市一区二区| 精品免费视频一区二区| 午夜电影久久久| 欧美中文字幕不卡| 亚洲免费观看高清完整版在线 | 99久久99久久精品免费看蜜桃| 精品日韩成人av| 日产精品久久久久久久性色 | 成人性生交大片免费 | 制服.丝袜.亚洲.另类.中文| 国产精品美女久久久久久久久久久 | 欧美一级xxx| 亚洲va欧美va人人爽午夜| 91福利资源站| 亚洲激情在线播放| 在线观看视频欧美| 亚洲一区免费观看| 欧美色手机在线观看| 亚洲精品国产a| 在线观看一区二区精品视频| 伊人开心综合网| 日本韩国精品一区二区在线观看| 亚洲色图在线播放| 在线这里只有精品| 亚洲午夜在线电影| 在线播放中文字幕一区| 午夜成人免费电影| 日韩一区二区在线观看视频| 久久99精品国产麻豆婷婷| 日韩欧美国产麻豆| 国产一区不卡精品| 国产精品丝袜在线| 色婷婷激情久久| 天堂一区二区在线| 精品国产伦一区二区三区观看方式 | 欧美一区二区久久| 国产一区在线观看麻豆| 国产精品每日更新| 欧美中文一区二区三区| 琪琪久久久久日韩精品| 欧美精品一区二区在线播放| 床上的激情91.| 一区二区在线电影| 日韩一区二区在线观看| 国产精品资源站在线| 亚洲欧洲在线观看av| 欧美日韩不卡在线| 国产精品影视天天线| 综合在线观看色| 8x福利精品第一导航| 国产一区二区在线视频| 国产精品久久久久久久久搜平片| 在线观看一区日韩| 韩国精品免费视频| 亚洲精选在线视频| 精品盗摄一区二区三区| 色哟哟精品一区| 黄色日韩网站视频| 亚洲一区在线观看网站| 欧美大胆一级视频| 91黄视频在线| 国产馆精品极品| 五月激情六月综合| 亚洲欧美自拍偷拍| 精品国产一区二区三区久久久蜜月| 91免费视频大全| 精品夜夜嗨av一区二区三区| 亚洲免费资源在线播放| 精品日韩一区二区三区免费视频| 色香色香欲天天天影视综合网| 久久精品国产一区二区三 | 成人高清免费观看| 美女在线视频一区| 洋洋av久久久久久久一区| 国产性色一区二区| 日韩三级在线免费观看| 欧洲生活片亚洲生活在线观看| 国产自产高清不卡| 免费人成在线不卡| 亚洲成人三级小说| 亚洲色图制服丝袜| 中文字幕第一区二区| 精品日产卡一卡二卡麻豆| 欧美日韩高清一区| 91福利在线导航| 99re这里只有精品视频首页| 国产精品99久久久久久有的能看| 国产麻豆午夜三级精品| 首页欧美精品中文字幕| 亚洲精品成a人| 成人免费在线视频观看| 国产精品天天摸av网| 2021中文字幕一区亚洲| 精品伦理精品一区| 欧美一区二区人人喊爽| 欧美一区二区三区在线观看视频| 欧美日韩中文一区| 欧美午夜精品久久久| 日本精品免费观看高清观看| av动漫一区二区| 成人黄色一级视频| 成人av在线资源| 99久久精品免费精品国产| 成人激情综合网站| 99热精品一区二区| 91丨九色丨尤物| 在线观看日韩av先锋影音电影院| 色综合久久中文字幕综合网| 97久久精品人人做人人爽 | 欧美日韩一区二区三区四区| 欧美午夜电影在线播放| 欧美日韩国产高清一区二区| 欧美日韩一级大片网址| 欧美一区二区三区四区久久| 日韩欧美色电影| 国产亚洲欧洲一区高清在线观看| 国产人成一区二区三区影院| 国产精品天天看| 一区二区三区欧美久久| 日本不卡高清视频| 国产一区二区三区四区在线观看 | 久久久久九九视频| 国产精品成人午夜| 一区二区三区鲁丝不卡| 日韩在线播放一区二区| 国产乱人伦精品一区二区在线观看| 国产激情一区二区三区四区| 99re这里只有精品6| 欧美日本一区二区在线观看| 亚洲精品一线二线三线无人区| 国产精品私人自拍| 丝袜美腿亚洲色图| 国产精品一区二区久激情瑜伽| av动漫一区二区| 欧美一级在线观看| 国产精品二三区| 日本在线不卡一区| 成人av电影免费在线播放| 欧美日韩亚洲国产综合| 久久一日本道色综合| 亚洲精品免费在线| 狠狠网亚洲精品| 欧美亚洲综合色| 久久这里都是精品| 亚洲成人激情自拍| 成人黄色在线看| 日韩一区二区三区视频在线 | 日韩欧美一级片| 一区二区三区在线观看动漫| 久久99久久久欧美国产| 色老汉av一区二区三区| 久久综合久久综合九色| 亚洲成av人片观看| eeuss国产一区二区三区| 日韩欧美电影在线| 一区二区三区中文在线观看| 国产精品一区免费视频| 4438成人网| 亚洲黄色小说网站| 懂色av一区二区夜夜嗨| 日韩欧美国产综合在线一区二区三区 | 日韩久久久精品| 亚洲高清不卡在线| 99riav久久精品riav| 久久精品一区蜜桃臀影院| 轻轻草成人在线| 欧美日韩精品电影| 亚洲视频一二三区| 不卡高清视频专区| 国产色一区二区| 国模套图日韩精品一区二区 | 91久久精品网| 国产精品美女久久久久久| 国产精品一区二区在线观看不卡| 678五月天丁香亚洲综合网| 亚洲精品成人少妇| 91极品美女在线| 最新成人av在线| 91啪在线观看| 亚洲三级理论片| 91视频你懂的| 亚洲精品免费在线观看| 欧洲国内综合视频| 一区二区三区**美女毛片| 日本高清不卡视频|