www.pudn.com > PrintDataGridViewDemo.rar > Form1.Designer.cs, change:2013-07-08,size:4140b


namespace ColorDemo 
{ 
    partial class Form1 
    { 
        /// <summary> 
        /// 必需的设计器变量。 
        /// </summary> 
        private System.ComponentModel.IContainer components = null; 
 
        /// <summary> 
        /// 清理所有正在使用的资源。 
        /// </summary> 
        /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param> 
        protected override void Dispose(bool disposing) 
        { 
            if (disposing && (components != null)) 
            { 
                components.Dispose(); 
            } 
            base.Dispose(disposing); 
        } 
 
        #region Windows 窗体设计器生成的代码 
 
        /// <summary> 
        /// 设计器支持所需的方法 - 不要 
        /// 使用代码编辑器修改此方法的内容。 
        /// </summary> 
        private void InitializeComponent() 
        { 
            this.components = new System.ComponentModel.Container(); 
            this.dgvInfo2 = new System.Windows.Forms.DataGridView(); 
            this.pd = new System.Windows.Forms.Button(); 
            this.pdGrid = new ColorDemo.PrintDocumentDataGridView(this.components); 
            this.button1 = new System.Windows.Forms.Button(); 
            ((System.ComponentModel.ISupportInitialize)(this.dgvInfo2)).BeginInit(); 
            this.SuspendLayout(); 
            //  
            // dgvInfo2 
            //  
            this.dgvInfo2.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.dgvInfo2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; 
            this.dgvInfo2.Location = new System.Drawing.Point(12, 31); 
            this.dgvInfo2.Name = "dgvInfo2"; 
            this.dgvInfo2.RowTemplate.Height = 23; 
            this.dgvInfo2.Size = new System.Drawing.Size(392, 267); 
            this.dgvInfo2.TabIndex = 0; 
            //  
            // pd 
            //  
            this.pd.Location = new System.Drawing.Point(12, 2); 
            this.pd.Name = "pd"; 
            this.pd.Size = new System.Drawing.Size(75, 23); 
            this.pd.TabIndex = 1; 
            this.pd.Text = "打印1"; 
            this.pd.UseVisualStyleBackColor = true; 
            this.pd.Click += new System.EventHandler(this.btnPrint_Click); 
            //  
            // pdGrid 
            //  
            this.pdGrid.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.pdGrid_PrintPage); 
            //  
            // button1 
            //  
            this.button1.Location = new System.Drawing.Point(109, 2); 
            this.button1.Name = "button1"; 
            this.button1.Size = new System.Drawing.Size(75, 23); 
            this.button1.TabIndex = 1; 
            this.button1.Text = "打印2"; 
            this.button1.UseVisualStyleBackColor = true; 
            this.button1.Click += new System.EventHandler(this.button1_Click); 
            //  
            // Form1 
            //  
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); 
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; 
            this.ClientSize = new System.Drawing.Size(416, 335); 
            this.Controls.Add(this.button1); 
            this.Controls.Add(this.pd); 
            this.Controls.Add(this.dgvInfo2); 
            this.Name = "Form1"; 
            this.Text = "Form1"; 
            this.Load += new System.EventHandler(this.Form1_Load); 
            ((System.ComponentModel.ISupportInitialize)(this.dgvInfo2)).EndInit(); 
            this.ResumeLayout(false); 
 
        } 
 
        #endregion 
 
        private System.Windows.Forms.DataGridView dgvInfo2; 
        private System.Windows.Forms.Button pd; 
        private PrintDocumentDataGridView pdGrid; 
        private System.Windows.Forms.Button button1; 
    } 
}