/// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PrintControlToolBar));
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.PrintToolBar = new System.Windows.Forms.ToolBar();
     this.SetupButton = new System.Windows.Forms.ToolBarButton();
     this.PreviewButton = new System.Windows.Forms.ToolBarButton();
     this.PrintButton = new System.Windows.Forms.ToolBarButton();
     this.CancelButton = new System.Windows.Forms.ToolBarButton();
     this.imageList1 = new System.Windows.Forms.ImageList(this.components);
     this.printLogic1 = new ReportPrinting.PrintLogic();
     this.SuspendLayout();
     //
     // PrintToolBar
     //
     this.PrintToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
                                                                                     this.SetupButton,
                                                                                     this.PreviewButton,
                                                                                     this.PrintButton,
                                                                                     this.CancelButton});
     this.PrintToolBar.Divider = false;
     this.PrintToolBar.DropDownArrows = true;
     this.PrintToolBar.ImageList = this.imageList1;
     this.PrintToolBar.Name = "PrintToolBar";
     this.PrintToolBar.ShowToolTips = true;
     this.PrintToolBar.Size = new System.Drawing.Size(210, 36);
     this.PrintToolBar.TabIndex = 4;
     this.PrintToolBar.ButtonClick += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.PrintToolBar_ButtonClick);
     //
     // SetupButton
     //
     this.SetupButton.ImageIndex = 0;
     this.SetupButton.ToolTipText = "Printer Setup";
     //
     // PreviewButton
     //
     this.PreviewButton.ImageIndex = 1;
     this.PreviewButton.ToolTipText = "Print Preview";
     //
     // PrintButton
     //
     this.PrintButton.ImageIndex = 2;
     this.PrintButton.ToolTipText = "Print";
     //
     // CancelButton
     //
     this.CancelButton.ImageIndex = 3;
     this.CancelButton.ToolTipText = "Cancel Printing";
     //
     // imageList1
     //
     this.imageList1.ColorDepth = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize = new System.Drawing.Size(16, 15);
     this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Silver;
     //
     // printLogic1
     //
     this.printLogic1.Document = null;
     this.printLogic1.Printing += new System.EventHandler(this.printLogic1_Printing);
     this.printLogic1.Printed += new System.EventHandler(this.printLogic1_Printed);
     //
     // PrintControlToolBar
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.PrintToolBar});
     this.Name = "PrintControlToolBar";
     this.Size = new System.Drawing.Size(210, 40);
     this.ResumeLayout(false);
 }
Esempio n. 2
0
 /// <summary> 
 /// Required method for Designer support - do not modify 
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     this.btnPreview = new System.Windows.Forms.Button();
     this.printLogic1 = new ReportPrinting.PrintLogic();
     this.btnCancel = new System.Windows.Forms.Button();
     this.btnOK = new System.Windows.Forms.Button();
     this.btnPageSetup = new System.Windows.Forms.Button();
     this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // btnPreview
     //
     this.btnPreview.Location = new System.Drawing.Point(112, 8);
     this.btnPreview.Name = "btnPreview";
     this.btnPreview.TabIndex = 1;
     this.btnPreview.Text = "Pre&view";
     this.btnPreview.Click += new System.EventHandler(this.Preview);
     this.toolTip1.SetToolTip(this.btnPreview, "Preivew the print job.");
     //
     // printLogic1
     //
     this.printLogic1.Document = null;
     this.printLogic1.PrintInBackground = false;
     this.printLogic1.Printing += new System.EventHandler(this.printLogic1_Printing);
     this.printLogic1.Printed += new System.EventHandler(this.printLogic1_Printed);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location = new System.Drawing.Point(304, 8);
     this.btnCancel.Name = "btnCancel";
     this.btnCancel.TabIndex = 3;
     this.btnCancel.Text = "&Cancel";
     this.toolTip1.SetToolTip(this.btnCancel, "Quit this dialog without printing.");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location = new System.Drawing.Point(208, 8);
     this.btnOK.Name = "btnOK";
     this.btnOK.TabIndex = 2;
     this.btnOK.Text = "&Print";
     this.btnOK.Click += new System.EventHandler(this.Print);
     this.toolTip1.SetToolTip(this.btnOK, "Print the selected document.");
     //
     // btnPageSetup
     //
     this.btnPageSetup.Location = new System.Drawing.Point(8, 8);
     this.btnPageSetup.Name = "btnPageSetup";
     this.btnPageSetup.Size = new System.Drawing.Size(88, 23);
     this.btnPageSetup.TabIndex = 0;
     this.btnPageSetup.Text = "Page &Setup";
     this.btnPageSetup.Click += new System.EventHandler(this.PageSetup);
     this.toolTip1.SetToolTip(this.btnPageSetup, "Setup page and printer settings.");
     //
     // PrintControl
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
                                                                   this.btnPreview,
                                                                   this.btnCancel,
                                                                   this.btnOK,
                                                                   this.btnPageSetup});
     this.Name = "PrintControl";
     this.Size = new System.Drawing.Size(384, 40);
     this.ResumeLayout(false);
 }
Esempio n. 3
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components   = new System.ComponentModel.Container();
     this.btnPreview   = new System.Windows.Forms.Button();
     this.printLogic1  = new ReportPrinting.PrintLogic();
     this.btnCancel    = new System.Windows.Forms.Button();
     this.btnOK        = new System.Windows.Forms.Button();
     this.btnPageSetup = new System.Windows.Forms.Button();
     this.toolTip1     = new System.Windows.Forms.ToolTip(this.components);
     this.SuspendLayout();
     //
     // btnPreview
     //
     this.btnPreview.Location = new System.Drawing.Point(112, 8);
     this.btnPreview.Name     = "btnPreview";
     this.btnPreview.TabIndex = 1;
     this.btnPreview.Text     = "Pre&view";
     this.btnPreview.Click   += new System.EventHandler(this.Preview);
     this.toolTip1.SetToolTip(this.btnPreview, "Preivew the print job.");
     //
     // printLogic1
     //
     this.printLogic1.Document          = null;
     this.printLogic1.PrintInBackground = false;
     this.printLogic1.Printing         += new System.EventHandler(this.printLogic1_Printing);
     this.printLogic1.Printed          += new System.EventHandler(this.printLogic1_Printed);
     //
     // btnCancel
     //
     this.btnCancel.DialogResult = System.Windows.Forms.DialogResult.Cancel;
     this.btnCancel.Location     = new System.Drawing.Point(304, 8);
     this.btnCancel.Name         = "btnCancel";
     this.btnCancel.TabIndex     = 3;
     this.btnCancel.Text         = "&Cancel";
     this.toolTip1.SetToolTip(this.btnCancel, "Quit this dialog without printing.");
     this.btnCancel.Click += new System.EventHandler(this.btnCancel_Click);
     //
     // btnOK
     //
     this.btnOK.DialogResult = System.Windows.Forms.DialogResult.OK;
     this.btnOK.Location     = new System.Drawing.Point(208, 8);
     this.btnOK.Name         = "btnOK";
     this.btnOK.TabIndex     = 2;
     this.btnOK.Text         = "&Print";
     this.btnOK.Click       += new System.EventHandler(this.Print);
     this.toolTip1.SetToolTip(this.btnOK, "Print the selected document.");
     //
     // btnPageSetup
     //
     this.btnPageSetup.Location = new System.Drawing.Point(8, 8);
     this.btnPageSetup.Name     = "btnPageSetup";
     this.btnPageSetup.Size     = new System.Drawing.Size(88, 23);
     this.btnPageSetup.TabIndex = 0;
     this.btnPageSetup.Text     = "Page &Setup";
     this.btnPageSetup.Click   += new System.EventHandler(this.PageSetup);
     this.toolTip1.SetToolTip(this.btnPageSetup, "Setup page and printer settings.");
     //
     // PrintControl
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.btnPreview,
         this.btnCancel,
         this.btnOK,
         this.btnPageSetup
     });
     this.Name = "PrintControl";
     this.Size = new System.Drawing.Size(384, 40);
     this.ResumeLayout(false);
 }
Esempio n. 4
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.Resources.ResourceManager resources = new System.Resources.ResourceManager(typeof(PrintControlToolBar));
     this.toolTip1      = new System.Windows.Forms.ToolTip(this.components);
     this.PrintToolBar  = new System.Windows.Forms.ToolBar();
     this.SetupButton   = new System.Windows.Forms.ToolBarButton();
     this.PreviewButton = new System.Windows.Forms.ToolBarButton();
     this.PrintButton   = new System.Windows.Forms.ToolBarButton();
     this.CancelButton  = new System.Windows.Forms.ToolBarButton();
     this.imageList1    = new System.Windows.Forms.ImageList(this.components);
     this.printLogic1   = new ReportPrinting.PrintLogic();
     this.SuspendLayout();
     //
     // PrintToolBar
     //
     this.PrintToolBar.Buttons.AddRange(new System.Windows.Forms.ToolBarButton[] {
         this.SetupButton,
         this.PreviewButton,
         this.PrintButton,
         this.CancelButton
     });
     this.PrintToolBar.Divider        = false;
     this.PrintToolBar.DropDownArrows = true;
     this.PrintToolBar.ImageList      = this.imageList1;
     this.PrintToolBar.Name           = "PrintToolBar";
     this.PrintToolBar.ShowToolTips   = true;
     this.PrintToolBar.Size           = new System.Drawing.Size(210, 36);
     this.PrintToolBar.TabIndex       = 4;
     this.PrintToolBar.ButtonClick   += new System.Windows.Forms.ToolBarButtonClickEventHandler(this.PrintToolBar_ButtonClick);
     //
     // SetupButton
     //
     this.SetupButton.ImageIndex  = 0;
     this.SetupButton.ToolTipText = "Printer Setup";
     //
     // PreviewButton
     //
     this.PreviewButton.ImageIndex  = 1;
     this.PreviewButton.ToolTipText = "Print Preview";
     //
     // PrintButton
     //
     this.PrintButton.ImageIndex  = 2;
     this.PrintButton.ToolTipText = "Print";
     //
     // CancelButton
     //
     this.CancelButton.ImageIndex  = 3;
     this.CancelButton.ToolTipText = "Cancel Printing";
     //
     // imageList1
     //
     this.imageList1.ColorDepth       = System.Windows.Forms.ColorDepth.Depth8Bit;
     this.imageList1.ImageSize        = new System.Drawing.Size(16, 15);
     this.imageList1.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
     this.imageList1.TransparentColor = System.Drawing.Color.Silver;
     //
     // printLogic1
     //
     this.printLogic1.Document  = null;
     this.printLogic1.Printing += new System.EventHandler(this.printLogic1_Printing);
     this.printLogic1.Printed  += new System.EventHandler(this.printLogic1_Printed);
     //
     // PrintControlToolBar
     //
     this.Controls.AddRange(new System.Windows.Forms.Control[] {
         this.PrintToolBar
     });
     this.Name = "PrintControlToolBar";
     this.Size = new System.Drawing.Size(210, 40);
     this.ResumeLayout(false);
 }