⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 childmgrinfo.cs

📁 报刊广告管理系统。CSharp编写
💻 CS
📖 第 1 页 / 共 3 页
字号:
using System;using System.Collections;using System.ComponentModel;using System.Drawing;using System.Windows.Forms;using System.Data;namespace WWAM.Forms.Child{	public class ChildMgrInfo : WWAM.Forms.Child.ChdBase	{
		#region ChildMgrInfo

		private DevExpress.XtraTab.XtraTabControl mainTabPages;
		private DevExpress.XtraTab.XtraTabPage pagePaper;
		private DevExpress.XtraTab.XtraTabPage pageClient;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientType_Code;
		private DevExpress.XtraGrid.GridControl gcClientType;
		private DevExpress.XtraGrid.Views.Grid.GridView gvClientType;
		private WWAM.BLL.NavBarBtns nbbPaper;
		private DevExpress.XtraGrid.GridControl gcClient;
		private DevExpress.XtraGrid.Views.Grid.GridView gvClient;
		private WWAM.BLL.NavBarBtns nbbClient;
		private DevExpress.XtraEditors.CheckEdit chkAllType;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientCode;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientClientType;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientLinkMan;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientPhone;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientFax;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientZipCode;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientAddress;
		private DevExpress.XtraGrid.Columns.GridColumn gcolClientMemo;
		private DevExpress.XtraGrid.Columns.GridColumn gcolType_Code;
		private DevExpress.XtraGrid.Columns.GridColumn gcolType_Memo;
		private DevExpress.XtraEditors.ImageComboBoxEdit txtTypeName;
		private DevExpress.XtraGrid.GridControl gcType;
		private DevExpress.XtraGrid.Views.Grid.GridView gvType;
		private WWAM.DBA.WWAMDS wwamds1;		private System.ComponentModel.IContainer components = null;		public ChildMgrInfo()		{			// 该调用是 Windows 窗体设计器所必需的。			InitializeComponent();			// TODO: 在 InitializeComponent 调用后添加任何初始化		}		public ChildMgrInfo(DevExpress.XtraNavBar.NavBarItem item):base(item)		{			// 该调用是 Windows 窗体设计器所必需的。			InitializeComponent();			// TODO: 在 InitializeComponent 调用后添加任何初始化		}		/// <summary>		/// 清理所有正在使用的资源。		/// </summary>		protected override void Dispose( bool disposing )		{			if( disposing )			{				if (components != null) 				{					components.Dispose();				}			}			base.Dispose( disposing );		}		#region 设计器生成的代码		/// <summary>		/// 设计器支持所需的方法 - 不要使用代码编辑器修改		/// 此方法的内容。		/// </summary>		private void InitializeComponent()		{			System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(ChildMgrInfo));
			this.mainTabPages = new DevExpress.XtraTab.XtraTabControl();
			this.pageClient = new DevExpress.XtraTab.XtraTabPage();
			this.chkAllType = new DevExpress.XtraEditors.CheckEdit();
			this.gcClient = new DevExpress.XtraGrid.GridControl();
			this.wwamds1 = new WWAM.DBA.WWAMDS();
			this.gvClient = new DevExpress.XtraGrid.Views.Grid.GridView();
			this.gcolClientClientType = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolClientCode = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolClientLinkMan = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolClientPhone = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolClientFax = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolClientAddress = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolClientZipCode = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolClientMemo = new DevExpress.XtraGrid.Columns.GridColumn();
			this.nbbClient = new WWAM.BLL.NavBarBtns();
			this.gcClientType = new DevExpress.XtraGrid.GridControl();
			this.gvClientType = new DevExpress.XtraGrid.Views.Grid.GridView();
			this.gcolClientType_Code = new DevExpress.XtraGrid.Columns.GridColumn();
			this.pagePaper = new DevExpress.XtraTab.XtraTabPage();
			this.txtTypeName = new DevExpress.XtraEditors.ImageComboBoxEdit();
			this.nbbPaper = new WWAM.BLL.NavBarBtns();
			this.gcType = new DevExpress.XtraGrid.GridControl();
			this.gvType = new DevExpress.XtraGrid.Views.Grid.GridView();
			this.gcolType_Code = new DevExpress.XtraGrid.Columns.GridColumn();
			this.gcolType_Memo = new DevExpress.XtraGrid.Columns.GridColumn();
			((System.ComponentModel.ISupportInitialize)(this.mainTabPages)).BeginInit();
			this.mainTabPages.SuspendLayout();
			this.pageClient.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.chkAllType.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gcClient)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.wwamds1)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gvClient)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gcClientType)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gvClientType)).BeginInit();
			this.pagePaper.SuspendLayout();
			((System.ComponentModel.ISupportInitialize)(this.txtTypeName.Properties)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gcType)).BeginInit();
			((System.ComponentModel.ISupportInitialize)(this.gvType)).BeginInit();
			this.SuspendLayout();
			// 
			// btnClose
			// 
			this.btnClose.Location = new System.Drawing.Point(512, 32);
			this.btnClose.Name = "btnClose";
			// 
			// mainTabPages
			// 
			this.mainTabPages.Dock = System.Windows.Forms.DockStyle.Fill;
			this.mainTabPages.Location = new System.Drawing.Point(0, 0);
			this.mainTabPages.Name = "mainTabPages";
			this.mainTabPages.SelectedTabPage = this.pageClient;
			this.mainTabPages.Size = new System.Drawing.Size(552, 382);
			this.mainTabPages.TabIndex = 0;
			this.mainTabPages.TabPages.AddRange(new DevExpress.XtraTab.XtraTabPage[] {
																						 this.pageClient,
																						 this.pagePaper});
			this.mainTabPages.SelectedPageChanged += new DevExpress.XtraTab.TabPageChangedEventHandler(this.mainTabPages_SelectedPageChanged);
			// 
			// pageClient
			// 
			this.pageClient.Controls.Add(this.chkAllType);
			this.pageClient.Controls.Add(this.gcClient);
			this.pageClient.Controls.Add(this.nbbClient);
			this.pageClient.Controls.Add(this.gcClientType);
			this.pageClient.Name = "pageClient";
			this.pageClient.Size = new System.Drawing.Size(543, 351);
			this.pageClient.Text = "客户资料";
			// 
			// chkAllType
			// 
			this.chkAllType.EditValue = true;
			this.chkAllType.Location = new System.Drawing.Point(8, 16);
			this.chkAllType.Name = "chkAllType";
			// 
			// chkAllType.Properties
			// 
			this.chkAllType.Properties.Caption = "查看所有分类";
			this.chkAllType.Size = new System.Drawing.Size(104, 19);
			this.chkAllType.TabIndex = 4;
			this.chkAllType.CheckedChanged += new System.EventHandler(this.chkAllType_CheckedChanged);
			// 
			// gcClient
			// 
			this.gcClient.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
				| System.Windows.Forms.AnchorStyles.Left) 
				| System.Windows.Forms.AnchorStyles.Right)));
			this.gcClient.DataSource = this.wwamds1.iClient;
			// 
			// gcClient.EmbeddedNavigator
			// 
			this.gcClient.EmbeddedNavigator.Buttons.Append.Visible = false;
			this.gcClient.EmbeddedNavigator.Buttons.CancelEdit.Visible = false;
			this.gcClient.EmbeddedNavigator.Buttons.Edit.Visible = false;
			this.gcClient.EmbeddedNavigator.Buttons.EndEdit.Visible = false;
			this.gcClient.EmbeddedNavigator.Buttons.NextPage.Visible = false;
			this.gcClient.EmbeddedNavigator.Buttons.PrevPage.Visible = false;
			this.gcClient.EmbeddedNavigator.Buttons.Remove.Visible = false;
			this.gcClient.EmbeddedNavigator.Name = "";
			this.gcClient.EmbeddedNavigator.TextStringFormat = "第 {0} 条 / 共 {1} 条";
			this.gcClient.Location = new System.Drawing.Point(120, 40);
			this.gcClient.MainView = this.gvClient;
			this.gcClient.Name = "gcClient";
			this.gcClient.Size = new System.Drawing.Size(416, 304);
			this.gcClient.TabIndex = 3;
			this.gcClient.UseEmbeddedNavigator = true;
			this.gcClient.ViewCollection.AddRange(new DevExpress.XtraGrid.Views.Base.BaseView[] {
																									this.gvClient});
			// 
			// wwamds1
			// 
			this.wwamds1.DataSetName = "WWAMDS";
			this.wwamds1.Locale = new System.Globalization.CultureInfo("en-US");
			// 
			// gvClient
			// 
			this.gvClient.Columns.AddRange(new DevExpress.XtraGrid.Columns.GridColumn[] {
																							this.gcolClientClientType,
																							this.gcolClientCode,
																							this.gcolClientLinkMan,
																							this.gcolClientPhone,
																							this.gcolClientFax,
																							this.gcolClientAddress,
																							this.gcolClientZipCode,
																							this.gcolClientMemo});
			this.gvClient.GridControl = this.gcClient;
			this.gvClient.Name = "gvClient";
			this.gvClient.OptionsCustomization.AllowFilter = false;
			this.gvClient.OptionsMenu.EnableFooterMenu = false;
			this.gvClient.OptionsMenu.EnableGroupPanelMenu = false;
			this.gvClient.OptionsView.ColumnAutoWidth = false;
			this.gvClient.OptionsView.ShowGroupPanel = false;
			this.gvClient.Layout += new System.EventHandler(this.View_Layout);
			// 
			// gcolClientClientType
			// 
			this.gcolClientClientType.Caption = "分类";
			this.gcolClientClientType.FieldName = "ClientType";
			this.gcolClientClientType.Name = "gcolClientClientType";
			this.gcolClientClientType.OptionsColumn.AllowEdit = false;
			this.gcolClientClientType.Visible = true;
			this.gcolClientClientType.VisibleIndex = 0;
			this.gcolClientClientType.Width = 64;
			// 
			// gcolClientCode
			// 
			this.gcolClientCode.Caption = "客户名称";
			this.gcolClientCode.FieldName = "Code";
			this.gcolClientCode.Name = "gcolClientCode";
			this.gcolClientCode.OptionsColumn.ReadOnly = true;
			this.gcolClientCode.Visible = true;
			this.gcolClientCode.VisibleIndex = 1;
			this.gcolClientCode.Width = 114;
			// 
			// gcolClientLinkMan
			// 
			this.gcolClientLinkMan.Caption = "联系人";
			this.gcolClientLinkMan.FieldName = "LinkMan";
			this.gcolClientLinkMan.Name = "gcolClientLinkMan";
			this.gcolClientLinkMan.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.gcolClientLinkMan.OptionsColumn.ReadOnly = true;
			this.gcolClientLinkMan.Visible = true;
			this.gcolClientLinkMan.VisibleIndex = 2;
			this.gcolClientLinkMan.Width = 79;
			// 
			// gcolClientPhone
			// 
			this.gcolClientPhone.Caption = "电话";
			this.gcolClientPhone.FieldName = "Phone";
			this.gcolClientPhone.Name = "gcolClientPhone";
			this.gcolClientPhone.OptionsColumn.ReadOnly = true;
			this.gcolClientPhone.Visible = true;
			this.gcolClientPhone.VisibleIndex = 3;
			this.gcolClientPhone.Width = 111;
			// 
			// gcolClientFax
			// 
			this.gcolClientFax.Caption = "传真";
			this.gcolClientFax.FieldName = "Fax";
			this.gcolClientFax.Name = "gcolClientFax";
			this.gcolClientFax.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.gcolClientFax.OptionsColumn.ReadOnly = true;
			this.gcolClientFax.Visible = true;
			this.gcolClientFax.VisibleIndex = 4;
			this.gcolClientFax.Width = 88;
			// 
			// gcolClientAddress
			// 
			this.gcolClientAddress.Caption = "地址";
			this.gcolClientAddress.FieldName = "Address";
			this.gcolClientAddress.Name = "gcolClientAddress";
			this.gcolClientAddress.OptionsColumn.AllowSort = DevExpress.Utils.DefaultBoolean.False;
			this.gcolClientAddress.OptionsColumn.ReadOnly = true;
			this.gcolClientAddress.Visible = true;
			this.gcolClientAddress.VisibleIndex = 5;
			this.gcolClientAddress.Width = 165;
			// 
			// gcolClientZipCode
			// 
			this.gcolClientZipCode.Caption = "邮编";
			this.gcolClientZipCode.FieldName = "ZipCode";
			this.gcolClientZipCode.Name = "gcolClientZipCode";
			this.gcolClientZipCode.OptionsColumn.ReadOnly = true;
			this.gcolClientZipCode.Visible = true;
			this.gcolClientZipCode.VisibleIndex = 6;
			this.gcolClientZipCode.Width = 61;
			// 
			// gcolClientMemo
			// 
			this.gcolClientMemo.Caption = "备注";
			this.gcolClientMemo.FieldName = "Memo";

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -