Form1.Designer.cs
上传用户:lfy307
上传日期:2022-07-17
资源大小:79k
文件大小:5k
源码类别:

打印编程

开发平台:

Visual C++

  1. namespace xiaopiaodayin
  2. {
  3.     partial class Form1
  4.     {
  5.         /// <summary>
  6.         /// 必需的设计器变量。
  7.         /// </summary>
  8.         private System.ComponentModel.IContainer components = null;
  9.         /// <summary>
  10.         /// 清理所有正在使用的资源。
  11.         /// </summary>
  12.         /// <param name="disposing">如果应释放托管资源,为 true;否则为 false。</param>
  13.         protected override void Dispose(bool disposing)
  14.         {
  15.             if (disposing && (components != null))
  16.             {
  17.                 components.Dispose();
  18.             }
  19.             base.Dispose(disposing);
  20.         }
  21.         #region Windows 窗体设计器生成的代码
  22.         /// <summary>
  23.         /// 设计器支持所需的方法 - 不要
  24.         /// 使用代码编辑器修改此方法的内容。
  25.         /// </summary>
  26.         private void InitializeComponent()
  27.         {
  28.             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
  29.             this.button1 = new System.Windows.Forms.Button();
  30.             this.printDialog1 = new System.Windows.Forms.PrintDialog();
  31.             this.printDocument1 = new System.Drawing.Printing.PrintDocument();
  32.             this.printPreviewDialog1 = new System.Windows.Forms.PrintPreviewDialog();
  33.             this.dataGridView1 = new System.Windows.Forms.DataGridView();
  34.             this.button2 = new System.Windows.Forms.Button();
  35.             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).BeginInit();
  36.             this.SuspendLayout();
  37.             // 
  38.             // button1
  39.             // 
  40.             this.button1.Location = new System.Drawing.Point(449, 393);
  41.             this.button1.Name = "button1";
  42.             this.button1.Size = new System.Drawing.Size(75, 23);
  43.             this.button1.TabIndex = 0;
  44.             this.button1.Text = "打印小票";
  45.             this.button1.UseVisualStyleBackColor = true;
  46.             this.button1.Click += new System.EventHandler(this.button1_Click);
  47.             // 
  48.             // printDialog1
  49.             // 
  50.             this.printDialog1.UseEXDialog = true;
  51.             // 
  52.             // printDocument1
  53.             // 
  54.             this.printDocument1.PrintPage += new System.Drawing.Printing.PrintPageEventHandler(this.xiaopiao_PrintPage);
  55.             // 
  56.             // printPreviewDialog1
  57.             // 
  58.             this.printPreviewDialog1.AutoScrollMargin = new System.Drawing.Size(0, 0);
  59.             this.printPreviewDialog1.AutoScrollMinSize = new System.Drawing.Size(0, 0);
  60.             this.printPreviewDialog1.ClientSize = new System.Drawing.Size(400, 300);
  61.             this.printPreviewDialog1.Enabled = true;
  62.             this.printPreviewDialog1.Icon = ((System.Drawing.Icon)(resources.GetObject("printPreviewDialog1.Icon")));
  63.             this.printPreviewDialog1.Name = "printPreviewDialog1";
  64.             this.printPreviewDialog1.Visible = false;
  65.             // 
  66.             // dataGridView1
  67.             // 
  68.             this.dataGridView1.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
  69.             this.dataGridView1.Location = new System.Drawing.Point(36, 27);
  70.             this.dataGridView1.Name = "dataGridView1";
  71.             this.dataGridView1.RowTemplate.Height = 23;
  72.             this.dataGridView1.Size = new System.Drawing.Size(488, 340);
  73.             this.dataGridView1.TabIndex = 1;
  74.             // 
  75.             // button2
  76.             // 
  77.             this.button2.Location = new System.Drawing.Point(36, 393);
  78.             this.button2.Name = "button2";
  79.             this.button2.Size = new System.Drawing.Size(75, 23);
  80.             this.button2.TabIndex = 2;
  81.             this.button2.Text = "button2";
  82.             this.button2.UseVisualStyleBackColor = true;
  83.             this.button2.Click += new System.EventHandler(this.button2_Click);
  84.             // 
  85.             // Form1
  86.             // 
  87.             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
  88.             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
  89.             this.ClientSize = new System.Drawing.Size(558, 438);
  90.             this.Controls.Add(this.button2);
  91.             this.Controls.Add(this.dataGridView1);
  92.             this.Controls.Add(this.button1);
  93.             this.Name = "Form1";
  94.             this.Text = "Form1";
  95.             this.Load += new System.EventHandler(this.Form1_Load);
  96.             ((System.ComponentModel.ISupportInitialize)(this.dataGridView1)).EndInit();
  97.             this.ResumeLayout(false);
  98.         }
  99.         #endregion
  100.         private System.Windows.Forms.Button button1;
  101.         private System.Windows.Forms.PrintDialog printDialog1;
  102.         private System.Drawing.Printing.PrintDocument printDocument1;
  103.         private System.Windows.Forms.PrintPreviewDialog printPreviewDialog1;
  104.         private System.Windows.Forms.DataGridView dataGridView1;
  105.         private System.Windows.Forms.Button button2;
  106.     }
  107. }