상속: System.Windows.Forms.UserControl
예제 #1
0
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TiffViewerCtl));
     this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
     this.tStrip              = new System.Windows.Forms.ToolStrip();
     this.tsStretch           = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
     this.tsZoomActual        = new System.Windows.Forms.ToolStripButton();
     this.tsZoomPlus          = new System.Windows.Forms.ToolStripButton();
     this.tsZoomOut           = new System.Windows.Forms.ToolStripButton();
     this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
     this.tsZoom              = new System.Windows.Forms.ToolStripLabel();
     this.tiffviewer1         = new NAPS2.WinForms.TiffViewer();
     this.toolStripContainer1.ContentPanel.SuspendLayout();
     this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
     this.toolStripContainer1.SuspendLayout();
     this.tStrip.SuspendLayout();
     this.SuspendLayout();
     //
     // toolStripContainer1
     //
     //
     // toolStripContainer1.ContentPanel
     //
     this.toolStripContainer1.ContentPanel.Controls.Add(this.tiffviewer1);
     resources.ApplyResources(this.toolStripContainer1.ContentPanel, "toolStripContainer1.ContentPanel");
     resources.ApplyResources(this.toolStripContainer1, "toolStripContainer1");
     this.toolStripContainer1.Name = "toolStripContainer1";
     //
     // toolStripContainer1.TopToolStripPanel
     //
     this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.tStrip);
     //
     // tStrip
     //
     resources.ApplyResources(this.tStrip, "tStrip");
     this.tStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
         this.tsStretch,
         this.toolStripSeparator1,
         this.tsZoomActual,
         this.tsZoomPlus,
         this.tsZoomOut,
         this.toolStripSeparator2,
         this.tsZoom
     });
     this.tStrip.Name = "tStrip";
     //
     // tsStretch
     //
     this.tsStretch.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsStretch.Image        = Icons.arrow_out;
     resources.ApplyResources(this.tsStretch, "tsStretch");
     this.tsStretch.Name            = "tsStretch";
     this.tsStretch.CheckedChanged += new System.EventHandler(this.tsStretch_CheckedChanged);
     this.tsStretch.Click          += new System.EventHandler(this.tsStretch_Click);
     //
     // toolStripSeparator1
     //
     this.toolStripSeparator1.Name = "toolStripSeparator1";
     resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
     //
     // tsZoomActual
     //
     this.tsZoomActual.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsZoomActual.Image        = Icons.zoom_actual;
     resources.ApplyResources(this.tsZoomActual, "tsZoomActual");
     this.tsZoomActual.Name   = "tsZoomActual";
     this.tsZoomActual.Click += new System.EventHandler(this.tsZoomActual_Click);
     //
     // tsZoomPlus
     //
     this.tsZoomPlus.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsZoomPlus.Image        = Icons.zoom_in;
     resources.ApplyResources(this.tsZoomPlus, "tsZoomPlus");
     this.tsZoomPlus.Name   = "tsZoomPlus";
     this.tsZoomPlus.Click += new System.EventHandler(this.tsZoomPlus_Click);
     //
     // tsZoomOut
     //
     this.tsZoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
     this.tsZoomOut.Image        = Icons.zoom_out;
     resources.ApplyResources(this.tsZoomOut, "tsZoomOut");
     this.tsZoomOut.Name   = "tsZoomOut";
     this.tsZoomOut.Click += new System.EventHandler(this.tsZoomOut_Click);
     //
     // toolStripSeparator2
     //
     this.toolStripSeparator2.Name = "toolStripSeparator2";
     resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");
     //
     // tsZoom
     //
     this.tsZoom.Name = "tsZoom";
     resources.ApplyResources(this.tsZoom, "tsZoom");
     //
     // tiffviewer1
     //
     resources.ApplyResources(this.tiffviewer1, "tiffviewer1");
     this.tiffviewer1.BackColor = System.Drawing.Color.White;
     this.tiffviewer1.Name      = "tiffviewer1";
     this.tiffviewer1.Zoom      = 0;
     //
     // TiffViewerCtl
     //
     this.Controls.Add(this.toolStripContainer1);
     this.Name = "TiffViewerCtl";
     resources.ApplyResources(this, "$this");
     this.SizeChanged += new System.EventHandler(this.TiffViewer_SizeChanged);
     this.toolStripContainer1.ContentPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
     this.toolStripContainer1.TopToolStripPanel.PerformLayout();
     this.toolStripContainer1.ResumeLayout(false);
     this.toolStripContainer1.PerformLayout();
     this.tStrip.ResumeLayout(false);
     this.tStrip.PerformLayout();
     this.ResumeLayout(false);
 }
예제 #2
0
        /// <summary> 
        /// Required method for Designer support - do not modify 
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(TiffViewerCtl));
            this.toolStripContainer1 = new System.Windows.Forms.ToolStripContainer();
            this.tiffviewer1 = new NAPS2.WinForms.TiffViewer();
            this.tStrip = new System.Windows.Forms.ToolStrip();
            this.tsStretch = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
            this.tsZoomActual = new System.Windows.Forms.ToolStripButton();
            this.tsZoomPlus = new System.Windows.Forms.ToolStripButton();
            this.tsZoomOut = new System.Windows.Forms.ToolStripButton();
            this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
            this.tsZoom = new System.Windows.Forms.ToolStripLabel();
            this.toolStripContainer1.ContentPanel.SuspendLayout();
            this.toolStripContainer1.TopToolStripPanel.SuspendLayout();
            this.toolStripContainer1.SuspendLayout();
            this.tStrip.SuspendLayout();
            this.SuspendLayout();
            // 
            // toolStripContainer1
            // 
            // 
            // toolStripContainer1.ContentPanel
            // 
            this.toolStripContainer1.ContentPanel.Controls.Add(this.tiffviewer1);
            resources.ApplyResources(this.toolStripContainer1.ContentPanel, "toolStripContainer1.ContentPanel");
            resources.ApplyResources(this.toolStripContainer1, "toolStripContainer1");
            this.toolStripContainer1.Name = "toolStripContainer1";
            // 
            // toolStripContainer1.TopToolStripPanel
            // 
            this.toolStripContainer1.TopToolStripPanel.Controls.Add(this.tStrip);
            // 
            // tiffviewer1
            // 
            resources.ApplyResources(this.tiffviewer1, "tiffviewer1");
            this.tiffviewer1.BackColor = System.Drawing.Color.White;
            this.tiffviewer1.Name = "tiffviewer1";
            this.tiffviewer1.Zoom = 0;
            this.tiffviewer1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.tiffviewer1_KeyDown);
            // 
            // tStrip
            // 
            resources.ApplyResources(this.tStrip, "tStrip");
            this.tStrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsStretch,
            this.toolStripSeparator1,
            this.tsZoomActual,
            this.tsZoomPlus,
            this.tsZoomOut,
            this.toolStripSeparator2,
            this.tsZoom});
            this.tStrip.Name = "tStrip";
            // 
            // tsStretch
            // 
            this.tsStretch.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tsStretch.Image = global::NAPS2.Icons.arrow_out;
            resources.ApplyResources(this.tsStretch, "tsStretch");
            this.tsStretch.Name = "tsStretch";
            this.tsStretch.CheckedChanged += new System.EventHandler(this.tsStretch_CheckedChanged);
            this.tsStretch.Click += new System.EventHandler(this.tsStretch_Click);
            // 
            // toolStripSeparator1
            // 
            this.toolStripSeparator1.Name = "toolStripSeparator1";
            resources.ApplyResources(this.toolStripSeparator1, "toolStripSeparator1");
            // 
            // tsZoomActual
            // 
            this.tsZoomActual.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tsZoomActual.Image = global::NAPS2.Icons.zoom_actual;
            resources.ApplyResources(this.tsZoomActual, "tsZoomActual");
            this.tsZoomActual.Name = "tsZoomActual";
            this.tsZoomActual.Click += new System.EventHandler(this.tsZoomActual_Click);
            // 
            // tsZoomPlus
            // 
            this.tsZoomPlus.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tsZoomPlus.Image = global::NAPS2.Icons.zoom_in;
            resources.ApplyResources(this.tsZoomPlus, "tsZoomPlus");
            this.tsZoomPlus.Name = "tsZoomPlus";
            this.tsZoomPlus.Click += new System.EventHandler(this.tsZoomPlus_Click);
            // 
            // tsZoomOut
            // 
            this.tsZoomOut.DisplayStyle = System.Windows.Forms.ToolStripItemDisplayStyle.Image;
            this.tsZoomOut.Image = global::NAPS2.Icons.zoom_out;
            resources.ApplyResources(this.tsZoomOut, "tsZoomOut");
            this.tsZoomOut.Name = "tsZoomOut";
            this.tsZoomOut.Click += new System.EventHandler(this.tsZoomOut_Click);
            // 
            // toolStripSeparator2
            // 
            this.toolStripSeparator2.Name = "toolStripSeparator2";
            resources.ApplyResources(this.toolStripSeparator2, "toolStripSeparator2");
            // 
            // tsZoom
            // 
            this.tsZoom.Name = "tsZoom";
            resources.ApplyResources(this.tsZoom, "tsZoom");
            // 
            // TiffViewerCtl
            // 
            this.Controls.Add(this.toolStripContainer1);
            this.Name = "TiffViewerCtl";
            resources.ApplyResources(this, "$this");
            this.SizeChanged += new System.EventHandler(this.TiffViewer_SizeChanged);
            this.toolStripContainer1.ContentPanel.ResumeLayout(false);
            this.toolStripContainer1.TopToolStripPanel.ResumeLayout(false);
            this.toolStripContainer1.TopToolStripPanel.PerformLayout();
            this.toolStripContainer1.ResumeLayout(false);
            this.toolStripContainer1.PerformLayout();
            this.tStrip.ResumeLayout(false);
            this.tStrip.PerformLayout();
            this.ResumeLayout(false);

        }