
/*----------------------------------------------------------------
// 版权所有。 
//
// 文 件 名：Customers
// 功能描述：
//
// 
// 创建标识：
//
// 修改标识：
// 修改描述：
//
// 修改标识：
// 修改描述：
//----------------------------------------------------------------*/

using System;

namespace  Test
{
	public class CustomersTableStyle : System.Windows.Forms.DataGridTableStyle
	{
		
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtCustomerID;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtCompanyName;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtContactName;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtContactTitle;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtAddress;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtCity;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtRegion;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtPostalCode;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtCountry;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtPhone;
		private System.Windows.Forms.DataGridTextBoxColumn dgtxtFax;

		private void InitializeComponent()
		{
			this.dgtxtCustomerID = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtCompanyName = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtContactName = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtContactTitle = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtAddress = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtCity = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtRegion = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtPostalCode = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtCountry = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtPhone = new System.Windows.Forms.DataGridTextBoxColumn();
			this.dgtxtFax = new System.Windows.Forms.DataGridTextBoxColumn();
			// 
			// dgtxtCustomerID
			// 
			this.dgtxtCustomerID.Format = "";
			this.dgtxtCustomerID.FormatInfo = null;
			this.dgtxtCustomerID.HeaderText = "CustomerID";
			this.dgtxtCustomerID.MappingName = "CustomerID";
			this.dgtxtCustomerID.NullText = "";
			this.dgtxtCustomerID.Width = 75;
			// 
			// dgtxtCompanyName
			// 
			this.dgtxtCompanyName.Format = "";
			this.dgtxtCompanyName.FormatInfo = null;
			this.dgtxtCompanyName.HeaderText = "CompanyName";
			this.dgtxtCompanyName.MappingName = "CompanyName";
			this.dgtxtCompanyName.NullText = "";
			this.dgtxtCompanyName.Width = 75;
			// 
			// dgtxtContactName
			// 
			this.dgtxtContactName.Format = "";
			this.dgtxtContactName.FormatInfo = null;
			this.dgtxtContactName.HeaderText = "ContactName";
			this.dgtxtContactName.MappingName = "ContactName";
			this.dgtxtContactName.NullText = "";
			this.dgtxtContactName.Width = 75;
			// 
			// dgtxtContactTitle
			// 
			this.dgtxtContactTitle.Format = "";
			this.dgtxtContactTitle.FormatInfo = null;
			this.dgtxtContactTitle.HeaderText = "ContactTitle";
			this.dgtxtContactTitle.MappingName = "ContactTitle";
			this.dgtxtContactTitle.NullText = "";
			this.dgtxtContactTitle.Width = 75;
			// 
			// dgtxtAddress
			// 
			this.dgtxtAddress.Format = "";
			this.dgtxtAddress.FormatInfo = null;
			this.dgtxtAddress.HeaderText = "Address";
			this.dgtxtAddress.MappingName = "Address";
			this.dgtxtAddress.NullText = "";
			this.dgtxtAddress.Width = 75;
			// 
			// dgtxtCity
			// 
			this.dgtxtCity.Format = "";
			this.dgtxtCity.FormatInfo = null;
			this.dgtxtCity.HeaderText = "City";
			this.dgtxtCity.MappingName = "City";
			this.dgtxtCity.NullText = "";
			this.dgtxtCity.Width = 75;
			// 
			// dgtxtRegion
			// 
			this.dgtxtRegion.Format = "";
			this.dgtxtRegion.FormatInfo = null;
			this.dgtxtRegion.HeaderText = "Region";
			this.dgtxtRegion.MappingName = "Region";
			this.dgtxtRegion.NullText = "";
			this.dgtxtRegion.Width = 75;
			// 
			// dgtxtPostalCode
			// 
			this.dgtxtPostalCode.Format = "";
			this.dgtxtPostalCode.FormatInfo = null;
			this.dgtxtPostalCode.HeaderText = "PostalCode";
			this.dgtxtPostalCode.MappingName = "PostalCode";
			this.dgtxtPostalCode.NullText = "";
			this.dgtxtPostalCode.Width = 75;
			// 
			// dgtxtCountry
			// 
			this.dgtxtCountry.Format = "";
			this.dgtxtCountry.FormatInfo = null;
			this.dgtxtCountry.HeaderText = "Country";
			this.dgtxtCountry.MappingName = "Country";
			this.dgtxtCountry.NullText = "";
			this.dgtxtCountry.Width = 75;
			// 
			// dgtxtPhone
			// 
			this.dgtxtPhone.Format = "";
			this.dgtxtPhone.FormatInfo = null;
			this.dgtxtPhone.HeaderText = "Phone";
			this.dgtxtPhone.MappingName = "Phone";
			this.dgtxtPhone.NullText = "";
			this.dgtxtPhone.Width = 75;
			// 
			// dgtxtFax
			// 
			this.dgtxtFax.Format = "";
			this.dgtxtFax.FormatInfo = null;
			this.dgtxtFax.HeaderText = "Fax";
			this.dgtxtFax.MappingName = "Fax";
			this.dgtxtFax.NullText = "";
			this.dgtxtFax.Width = 75;
			// 
			// CustomersTableStyle
			// 
			this.GridColumnStyles.AddRange(new System.Windows.Forms.DataGridColumnStyle[] {
																							  this.dgtxtCustomerID,
																							  this.dgtxtCompanyName,
																							  this.dgtxtContactName,
																							  this.dgtxtContactTitle,
																							  this.dgtxtAddress,
																							  this.dgtxtCity,
																							  this.dgtxtRegion,
																							  this.dgtxtPostalCode,
																							  this.dgtxtCountry,
																							  this.dgtxtPhone,
																							  this.dgtxtFax});
			this.ReadOnly = true;
			this.RowHeadersVisible = false;

		}
		
		#region 构造函数
		public CustomersTableStyle()
		{
			//
			// TODO: 在此处添加构造函数逻辑
			//
			InitializeComponent();
		}
		
		#endregion
	}
}
